/* ========================================
   Alisa Willrich — Med. Kosmetikerin
   Elegant, refined luxury aesthetic
   ======================================== */

:root {
    --color-cream: #FAF7F2;
    --color-warm-white: #F5F0E8;
    --color-taupe: #B8A99A;
    --color-taupe-light: #D4C8BB;
    --color-taupe-dark: #8B7D6E;
    --color-charcoal: #2C2825;
    --color-charcoal-soft: #3D3835;
    --color-text: #4A4340;
    --color-text-light: #7A7270;
    --color-gold: #C5AA7A;
    --color-gold-light: #D8C49E;

    --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-body: 'Manrope', -apple-system, sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 10rem;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-cream);
    line-height: 1.7;
    font-weight: 300;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ---- Typography ---- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-taupe);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--color-charcoal);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.section-title em {
    font-style: italic;
    color: var(--color-taupe-dark);
}

.section-intro {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 560px;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

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

/* ---- Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1s var(--ease-out-expo) forwards;
}
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.25s; }
.reveal-d3 { animation-delay: 0.4s; }
.reveal-d4 { animation-delay: 0.55s; }
.reveal-d5 { animation-delay: 0.7s; }

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

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem var(--space-md);
    transition: all 0.5s var(--ease-out-expo);
}

.nav.scrolled {
    background: rgba(250, 247, 242, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem var(--space-md);
    box-shadow: 0 1px 0 rgba(184, 169, 154, 0.15);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-charcoal);
    letter-spacing: 0.05em;
}

.nav-logo-dot {
    color: var(--color-taupe);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-light);
    position: relative;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-taupe);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-links a:hover {
    color: var(--color-charcoal);
}

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--color-charcoal);
    transition: all 0.3s ease;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 2px;
    background: rgba(184, 169, 154, 0.1);
    border-radius: 6px;
    padding: 2px;
}

.lang-btn {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-light);
    background: none;
    border: none;
    padding: 0.35rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.lang-btn.active {
    background: var(--color-cream);
    color: var(--color-charcoal);
    box-shadow: 0 1px 3px rgba(44, 40, 37, 0.08);
}

.nav.scrolled .lang-btn.active {
    background: white;
}

.lang-switcher--mobile {
    margin-top: var(--space-md);
    justify-content: center;
}

.lang-switcher--mobile .lang-btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.9rem;
}

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: var(--color-cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu a {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-charcoal);
    letter-spacing: 0.05em;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-cream) 0%, var(--color-warm-white) 50%, #EDE6DB 100%);
}

.hero-grain {
    position: absolute;
    inset: 0;
    opacity: 0.3;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    padding: 8rem var(--space-md) var(--space-lg);
    width: 100%;
}

.hero-text {
    padding-right: var(--space-lg);
}

.hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-taupe);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.05;
    margin-bottom: var(--space-md);
}

.hero-title span {
    display: block;
}

.hero-title span:first-child {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--color-charcoal);
    letter-spacing: 0.06em;
}

.hero-title span:last-child {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    color: var(--color-taupe-dark);
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
}

.hero-line {
    width: 60px;
    height: 1px;
    background: var(--color-taupe);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.02em;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    transition: all 0.4s ease;
}

.hero-cta svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.hero-cta:hover svg {
    transform: translateY(4px);
}

.hero-cta:hover {
    color: var(--color-taupe-dark);
}

.hero-image-wrap {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 2;
    border-radius: 200px 200px 20px 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    max-height: 600px;
    box-shadow:
        0 25px 50px rgba(44, 40, 37, 0.12),
        0 10px 20px rgba(44, 40, 37, 0.08);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: contrast(1.02) brightness(1.01);
}

.hero-image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border-radius: 200px 200px 20px 20px;
    border: 1px solid var(--color-taupe-light);
    z-index: 1;
    opacity: 0.5;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--color-taupe), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ---- About ---- */
.about {
    padding: var(--space-2xl) 0;
    background: var(--color-cream);
}

.about-single {
    max-width: 900px;
    margin: 0 auto;
}

.about-body-wide {
    margin-bottom: var(--space-md);
}

.about-columns {
    columns: 2;
    column-gap: var(--space-lg);
}

.about-columns p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.85;
    margin-bottom: var(--space-md);
    break-inside: avoid;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(184, 169, 154, 0.25);
}

.about-stat {
    display: flex;
    flex-direction: column;
}

.about-stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--color-charcoal);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-taupe-dark);
    margin-top: 0.6rem;
}

.about-stat-detail {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.3rem;
}

/* ---- Treatments ---- */
.treatments {
    padding: var(--space-2xl) 0;
    background: var(--color-warm-white);
    position: relative;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-taupe-light), transparent);
}

.treatments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.treatment-category {
    background: var(--color-cream);
    border-radius: 16px;
    padding: var(--space-lg);
    border: 1px solid rgba(184, 169, 154, 0.15);
    transition: box-shadow 0.5s var(--ease-out-expo);
}

.treatment-category:hover {
    box-shadow: 0 20px 40px rgba(44, 40, 37, 0.06);
}

.treatment-category-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(184, 169, 154, 0.2);
}

.treatment-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-warm-white);
    color: var(--color-taupe-dark);
    flex-shrink: 0;
}

.treatment-category-header h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-charcoal);
}

.treatment-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.treatment-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(184, 169, 154, 0.1);
}

.treatment-list li:last-child {
    border-bottom: none;
}

.treatment-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--color-charcoal-soft);
}

.treatment-devices {
    font-size: 0.75rem;
    color: var(--color-taupe);
    letter-spacing: 0.05em;
    text-align: right;
    flex-shrink: 0;
    margin-left: var(--space-sm);
}

/* Devices Marquee */
.devices-marquee {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(184, 169, 154, 0.2);
    overflow: hidden;
}

.devices-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-taupe);
    margin-bottom: var(--space-md);
    text-align: center;
}

.marquee-track {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-inner {
    display: flex;
    gap: 0.5rem;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.marquee-inner span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-taupe-dark);
    white-space: nowrap;
    font-style: italic;
}

.marquee-dot {
    color: var(--color-taupe-light) !important;
    font-style: normal !important;
    padding: 0 0.3rem;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ---- Qualifications ---- */
.qualifications {
    padding: var(--space-2xl) 0;
    background: var(--color-cream);
}

.timeline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-md);
}

.timeline-block-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-taupe-dark);
    font-style: italic;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(184, 169, 154, 0.25);
}

.timeline-items {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(184, 169, 154, 0.1);
    position: relative;
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-year {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-taupe);
    padding-top: 0.15rem;
    white-space: nowrap;
}

.timeline-content h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--color-charcoal);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.timeline-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgba(197, 170, 122, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* ---- Reviews ---- */
.reviews {
    padding: var(--space-2xl) 0;
    background: var(--color-charcoal);
    color: var(--color-cream);
    position: relative;
}

.reviews .section-eyebrow {
    color: var(--color-gold-light);
}

.reviews .section-title {
    color: var(--color-cream);
}

.reviews .section-title em {
    color: var(--color-gold-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.review-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: var(--space-md) var(--space-md) var(--space-md);
    transition: all 0.5s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
}

.review-stars {
    font-size: 0.9rem;
    color: var(--color-gold);
    letter-spacing: 0.15em;
    margin-bottom: var(--space-sm);
}

.review-text {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.7;
    color: rgba(250, 247, 242, 0.8);
    flex: 1;
    margin-bottom: var(--space-md);
}

.review-author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.review-name {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-taupe-light);
}

.review-card--featured {
    background: rgba(197, 170, 122, 0.08);
    border-color: rgba(197, 170, 122, 0.15);
}

/* ---- Footer ---- */
.footer {
    padding: var(--space-lg) 0;
    background: var(--color-charcoal);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--color-cream);
    letter-spacing: 0.08em;
}

.footer-title {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-taupe);
}

.footer-social {
    margin-top: var(--space-xs);
}

.footer-ig {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-taupe-light);
    padding: 0.6rem 1.4rem;
    border: 1px solid rgba(184, 169, 154, 0.2);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.footer-ig:hover {
    color: var(--color-cream);
    border-color: rgba(184, 169, 154, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
    font-size: 0.7rem;
    color: var(--color-taupe-dark);
    letter-spacing: 0.05em;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
    .hero-content {
        gap: var(--space-md);
    }

    .hero-text {
        padding-right: var(--space-md);
    }

    .about-grid {
        gap: var(--space-lg);
    }

    .timeline {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav > .lang-switcher {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 7rem var(--space-md) var(--space-lg);
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        order: 2;
    }

    .hero-image-wrap {
        order: 1;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-image {
        max-height: 420px;
    }

    .hero-image-accent {
        top: -12px;
        right: -12px;
    }

    .hero-cta {
        justify-content: center;
    }

    .about-columns {
        columns: 1;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .treatment-category {
        padding: var(--space-md);
    }

    .timeline {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        gap: var(--space-sm);
    }

    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-title span:first-child,
    .hero-title span:last-child {
        font-size: clamp(2.8rem, 10vw, 4.5rem);
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
        text-align: center;
    }

    .treatment-list li {
        flex-direction: column;
        gap: 0.25rem;
    }

    .treatment-devices {
        text-align: left;
        margin-left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .timeline-year {
        padding-top: 0;
    }
}
