/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
   :root {
    /* Color Palette */
    --clr-navy: #1F2430;
    --clr-taupe: #CBB8A9;
    --clr-rose: #E6D4CA;
    --clr-bg: #F7F6F5;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Transitions */
    --transition-slow: 0.5s ease;
    --transition-fast: 0.3s ease;
}

/* Make logo transparent (freigestellt) globally */
img[src*="logo.png"] {
    mix-blend-mode: multiply;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--clr-navy);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-sm);
    color: rgba(31, 36, 48, 0.8);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.section {
    padding: var(--space-xl) 0;
}

.bg-light { background-color: var(--clr-white); }
.bg-navy { background-color: var(--clr-navy); }

.text-center { text-align: center; }
.text-white { color: var(--clr-white); }
.text-white p { color: rgba(255, 255, 255, 0.8); }

.mt-xl { margin-top: var(--space-xl); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-navy) 0%, #3a4256 100%);
    color: var(--clr-bg);
    box-shadow: 0 4px 15px rgba(31, 36, 48, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-taupe) 0%, #bca594 100%);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(203, 184, 169, 0.4);
}

.btn-outline {
    border: 1px solid var(--clr-navy);
    color: var(--clr-navy);
}

.btn-outline:hover {
    background-color: var(--clr-navy);
    color: var(--clr-bg);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 36, 48, 0.15);
}

.btn-text {
    text-transform: none;
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    padding: 0;
    border-bottom: 1px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--clr-navy);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 0;
    box-shadow: 0 10px 30px rgba(31, 36, 48, 0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Adjust based on actual logo proportion */
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--clr-navy);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    padding: 0 var(--space-md);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Soft gradient overlay to ensure text readability over the warm image */
    background: linear-gradient(to right, rgba(247, 246, 245, 0.95) 0%, rgba(247, 246, 245, 0.4) 50%, rgba(247, 246, 245, 0.1) 100%);
}

.hero-content {
    max-width: 700px;
    margin-left: 5%;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--space-md);
    color: var(--clr-navy);
}

.hero p {
    font-size: 1.1rem;
    max-width: 550px;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* ==========================================================================
   TRUST BAR
   ========================================================================== */
.trust-bar {
    padding: var(--space-md) 0;
    background-color: var(--clr-white);
    border-bottom: 1px solid rgba(203, 184, 169, 0.3);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.trust-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-line {
    width: 30px;
    height: 1px;
    background-color: var(--clr-taupe);
}

.trust-item p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* ==========================================================================
   PHILOSOPHY SECTION
   ========================================================================== */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.philosophy h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    color: var(--clr-taupe);
}

.philosophy p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.quote {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--clr-navy);
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    font-weight: 400;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-header h2 {
    font-size: 2.5rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background-color: var(--clr-bg);
    padding: var(--space-lg) var(--space-md);
    border: 1px solid transparent;
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    background-color: var(--clr-white);
    border-color: rgba(203, 184, 169, 0.4);
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 25px 50px rgba(31, 36, 48, 0.08);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.service-link {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.1rem;
    color: var(--clr-taupe);
}

.service-card:hover .service-link {
    color: var(--clr-navy);
}

/* ==========================================================================
   FOUNDER SECTION
   ========================================================================== */
.founder-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-xl);
    align-items: center;
}

.founder-image-wrapper {
    position: relative;
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--clr-taupe);
    z-index: -1;
}

.founder-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/5;
    object-fit: cover;
}

.founder-content h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.founder-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.signature {
    display: flex;
    flex-direction: column;
}

.signature strong {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--clr-navy);
}

.signature span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-taupe);
    margin-top: 5px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
    padding: var(--space-xl) 0;
    background-color: var(--clr-white);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(203, 184, 169, 0.3);
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--clr-navy);
    cursor: pointer;
    text-align: left;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--clr-taupe);
    transition: transform var(--transition-fast);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer p {
    padding-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* ==========================================================================
   CTA SECTION (LEAD CAPTURE)
   ========================================================================== */
.cta-section {
    padding: 8rem 0;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clr-rose);
}

.cta-subtitle {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    font-size: 1.1rem;
}

.lead-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: var(--clr-white);
    padding: var(--space-lg);
    border-radius: 2px;
}

.form-group {
    margin-bottom: var(--space-sm);
}

.lead-form input,
.lead-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #E2E8F0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-navy);
    background-color: var(--clr-bg);
    transition: border-color var(--transition-fast);
}

.lead-form input:focus,
.lead-form select:focus {
    outline: none;
    border-color: var(--clr-taupe);
}

.lead-form .btn-primary {
    background: linear-gradient(135deg, var(--clr-navy) 0%, #3a4256 100%);
    color: var(--clr-bg);
    box-shadow: 0 4px 15px rgba(31, 36, 48, 0.15);
}

.lead-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--clr-taupe) 0%, #bca594 100%);
    color: var(--clr-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(203, 184, 169, 0.4);
}

/* ==========================================================================
   QUIZ FUNNEL (MULTI-STEP FORM)
   ========================================================================== */
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-btn {
    padding: 1.2rem;
    background-color: transparent;
    border: 1px solid var(--clr-taupe);
    color: var(--clr-navy);
    font-family: var(--font-body);
    font-size: 1.05rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: left;
}

.quiz-btn:hover {
    background-color: var(--clr-taupe);
    color: var(--clr-white);
}

.quiz-step {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: var(--clr-white);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    height: 50px;
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--clr-taupe);
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-taupe);
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-links p {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: var(--clr-taupe);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.lang-btn {
    text-decoration: none;
    color: var(--clr-text);
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: var(--clr-taupe);
}

.lang-btn.active {
    color: var(--clr-navy);
    font-weight: 600;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(203, 184, 169, 0.3);
    padding-top: var(--space-md);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: var(--space-md);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .philosophy-grid,
    .founder-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .founder-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* In a real scenario, add a hamburger menu */
    }
    
    .hero-content {
        margin-left: 0;
        text-align: center;
    }
    
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(247, 246, 245, 0.9) 0%, rgba(247, 246, 245, 0.7) 100%);
    }
    
    .hero-ctas {
        flex-direction: column;
        justify-content: center;
    }
    
    .trust-grid {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   CUSTOM CURSOR (Ultra Premium)
   ========================================================================== */
@media (hover: hover) and (pointer: fine) {
    body, a, button, input, .btn {
        cursor: none !important;
    }
    
    .custom-cursor {
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background-color: var(--clr-navy);
        border-radius: 50%;
        pointer-events: none;
        z-index: 100000;
        margin: -3px 0 0 -3px;
        transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    }

    .custom-cursor-follower {
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 1px solid rgba(31, 36, 48, 0.5);
        border-radius: 50%;
        pointer-events: none;
        z-index: 99999;
        margin: -18px 0 0 -18px;
        transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
    }

    .custom-cursor.hover {
        width: 0px;
        height: 0px;
    }

    .custom-cursor-follower.hover {
        width: 50px;
        height: 50px;
        margin: -25px 0 0 -25px;
        background-color: rgba(203, 184, 169, 0.2);
        border-color: var(--clr-taupe);
        backdrop-filter: blur(2px);
    }
}

/* ==========================================================================
   FILM GRAIN (Magazin-Papier Effekt)
   ========================================================================== */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    pointer-events: none;
    z-index: 9997;
    opacity: 0.04;
    background-image: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* ==========================================================================
   KEN BURNS EFFECT (Atmende Website)
   ========================================================================== */
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-bg img {
    animation: kenBurns 20s ease-in-out infinite alternate;
    transform-origin: center;
}

/* ==========================================================================
   VIEWPORT EDGE SHIMMER (Premium Atelier Glow)
   ========================================================================== */
@keyframes viewportShimmer {
    0%   { opacity: 0.55; }
    50%  { opacity: 1; }
    100% { opacity: 0.55; }
}

@media (hover: hover) and (pointer: fine) {
    body::before {
        content: '';
        position: fixed;
        inset: 0;
        pointer-events: none;
        z-index: 9995;
        box-shadow:
            inset 0   0   60px  4px  rgba(201, 168, 124, 0.22),
            inset 0   0   140px 10px rgba(201, 168, 124, 0.10),
            inset 0   0   220px 30px rgba(203, 184, 169, 0.06);
        animation: viewportShimmer 5s ease-in-out infinite;
    }
}

