/* === GOOGLE FONT IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Montserrat:wght@400;600;700&display=swap');

/* === CSS VARIABLES === */
:root {
    --royal-blue: #1e3a8a;
    --metallic-gold: #d4af37;
    --white-smoke: #f5f5f5;
    --dark-text: #333333;
    --light-text: #ffffff;
    --header-font: 'Montserrat', sans-serif;
    --body-font: 'Merriweather', serif;
    --transition-speed: 0.3s;
}

/* === GENERAL RESET & BODY STYLES === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--body-font);
    color: var(--dark-text);
    line-height: 1.7;
    background-color: #fff;
}

/* === UTILITY & CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-section {
    padding: 80px 0;
}

.bg-whitesmoke {
    background-color: var(--white-smoke);
}

h1, h2, h3 {
    font-family: var(--header-font);
    font-weight: 700;
    color: var(--royal-blue);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 60px; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1.2rem; }
a { color: var(--metallic-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* === HEADER === */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    transition: all var(--transition-speed) ease;
}

#main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--header-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--royal-blue);
    text-decoration: none;
}
.logo:hover { text-decoration: none; }

#main-header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

#main-header nav a {
    font-family: var(--header-font);
    font-weight: 600;
    color: var(--royal-blue);
    text-decoration: none;
    transition: color var(--transition-speed);
}

#main-header nav a:hover {
    color: var(--metallic-gold);
}

/* === HERO SECTION === */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    position: relative;
    background-image: url('images/hero-background.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 138, 0.7); /* Royal Blue with opacity */
}

.hero-content {
    position: relative;
    z-index: 2;
}

#hero h1 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.subline {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-family: var(--header-font);
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-family: var(--header-font);
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--metallic-gold);
    color: var(--royal-blue);
    border-color: var(--metallic-gold);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--metallic-gold);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--royal-blue);
    text-decoration: none;
}

/* === PHILOSOPHIE SECTION === */
#philosophie .highlight-box {
    background-color: var(--white-smoke);
    border-left: 5px solid var(--metallic-gold);
    padding: 30px;
    margin: 40px 0;
}

#philosophie blockquote {
    font-size: 1.4rem;
    font-style: italic;
    text-align: center;
    margin: 60px auto;
    max-width: 80%;
    color: var(--royal-blue);
    border-left: 3px solid var(--metallic-gold);
    padding-left: 20px;
}

/* === LEISTUNGEN (SERVICE CARDS) === */
.service-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.floating-card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.service-card h3 {
    margin-bottom: 20px;
    color: var(--royal-blue);
}

/* === PROZESS TIMELINE === */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}
.process-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--metallic-gold);
    top: 0;
    bottom: 0;
    left: 40px;
}

.process-step {
    padding: 10px 40px 30px 100px;
    position: relative;
}

.step-number {
    position: absolute;
    left: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--royal-blue);
    color: white;
    font-size: 1.5rem;
    font-family: var(--header-font);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.step-content h3 {
    margin-top: 0;
}

/* === ÜBER MICH === */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    flex: 1;
    max-width: 400px;
}
.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.about-text {
    flex: 2;
}
.about-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

/* === TESTIMONIALS === */
#klienten {
    position: relative;
    background-image: url('https://images.pexels.com/photos/1181406/pexels-photo-1181406.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--light-text);
}
#klienten .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 138, 0.85);
}
#klienten .container {
    position: relative;
    z-index: 2;
}
#klienten h2 {
    color: var(--light-text);
}
.testimonials-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light-text);
    padding: 30px;
}
.testimonial-card h3 {
    color: var(--metallic-gold);
}
.client-quote {
    border-left: 3px solid var(--metallic-gold);
    padding-left: 20px;
    margin-top: 20px;
    font-style: italic;
}
.client-quote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
}

/* === FAQ ACCORDION === */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #ddd;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 0;
    font-family: var(--header-font);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--royal-blue);
    cursor: pointer;
    position: relative;
    padding-right: 40px;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
}
.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.faq-answer p {
    padding: 0 0 20px 0;
}

/* === KONTAKT & FORMULAR === */
.contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}
.contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 10px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-family: var(--header-font);
    font-weight: 600;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
}
.checkbox-group {
    display: flex;
    align-items: center;
}
.checkbox-group input {
    width: auto;
    margin-right: 10px;
}
.checkbox-group label {
    margin-bottom: 0;
    font-family: var(--body-font);
    font-weight: 400;
}
.full-width {
    width: 100%;
}
.contact-info {
    padding-top: 80px;
}
.contact-info address {
    font-style: normal;
}

/* === MAP & FOOTER === */
.map-container {
    width: 100%;
}
footer {
    background-color: var(--royal-blue);
    color: var(--light-text);
    padding: 40px 0;
    text-align: center;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: var(--light-text);
    margin: 0 15px;
    text-decoration: none;
}
.footer-links a:hover {
    color: var(--metallic-gold);
    text-decoration: underline;
}
.footer-disclaimer, .footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 10px;
}

/* === MODAL STYLES === */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    animation: fadeIn 0.5s;
}
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
}
.modal-content h2 { margin-top: 0; }
.modal-content h3 { margin-top: 20px; }

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .about-container, .contact-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .contact-info { padding-top: 0; }
    .testimonials-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    #main-header .container {
        flex-direction: column;
        gap: 10px;
    }
    #main-header nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-content {
        padding: 0 10px;
    }
    h1 { font-size: 2rem; }
    .cta-buttons {
        flex-direction: column;
    }
    .process-timeline::after { left: 25px; }
    .process-step { padding-left: 70px; }
    .step-number { left: 0; width: 50px; height: 50px; }
}
/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background-color: #fff;
    padding: 20px 30px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    border-left: 5px solid var(--royal-blue);
}

.cookie-banner p {
    margin: 0;
    margin-right: 20px;
    font-family: var(--body-font);
    font-size: 0.95rem;
    color: var(--dark-text);
}

.btn-small {
    padding: 10px 25px;
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        bottom: 10px;
    }
    .cookie-banner p {
        margin-right: 0;
        margin-bottom: 15px;
    }
}
