/* PALORAH — Praxis Dr. Weber */
/* styles.css */

/* ===================== DESIGN TOKENS ===================== */
:root {
    --color-primary:      #1C3F5E;
    --color-primary-rgb:  28, 63, 94;
    --color-primary-dark: #122A40;
    --color-accent:       #3BA4A0;
    --color-accent-rgb:   59, 164, 160;
    --color-accent-light: #5BBFBB;
    --color-bg:           #FFFFFF;
    --color-surface:      #F0F6F8;
    --color-text:         #1C2B3A;
    --color-text-muted:   #5A7184;
    --color-border:       rgba(28, 63, 94, 0.12);

    --font-heading: 'Lora', Georgia, serif;
    --font-body:    'Inter', -apple-system, sans-serif;

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

    --nav-height:      80px;
    --section-padding: clamp(4rem, 8vw, 7rem);

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.6s ease;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-sm: 0 2px 8px  rgba(28, 63, 94, 0.08);
    --shadow-md: 0 8px 32px rgba(28, 63, 94, 0.12);
    --shadow-lg: 0 24px 64px rgba(28, 63, 94, 0.18);
}

/* ===================== RESET ===================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
    scrollbar-gutter: stable;
}
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    line-height: 1.6;
}
img  { max-width: 100%; height: auto; display: block; }
ul   { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
[hidden] { display: none !important; }

/* ===================== ACCESSIBILITY ===================== */
.skip-link {
    position: absolute; top: -100%; left: 1rem;
    background: var(--color-primary); color: #fff;
    padding: 0.5rem 1rem; border-radius: 0 0 4px 4px;
    z-index: 10000; text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
a, button { min-height: 44px; display: inline-flex; align-items: center; touch-action: manipulation; }
p a, li a { display: inline; min-height: unset; }

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===================== MOBILE — disable reveal animations ===================== */
@media (max-width: 767px) {
    .reveal, [class*="animate"] {
        animation: none !important; opacity: 1 !important;
        transform: none !important; transition: none !important;
    }
}

/* ===================== SCROLL REVEAL ===================== */
.reveal {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: var(--section-padding) 0; }
.section--surface { background: var(--color-surface); }
.section--dark    { background: var(--color-primary); }

.section__eyebrow {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-accent);
    margin-bottom: 0.75rem;
}
.section__heading {
    font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700; line-height: 1.2; margin-bottom: 1.25rem;
    color: var(--color-primary);
}
.section__heading--light { color: #fff; }
.section__sub {
    font-size: 1rem; color: var(--color-text-muted); max-width: 56ch;
    line-height: 1.7; margin-bottom: var(--space-md);
}

/* ===================== BUTTONS ===================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.85rem 2rem; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 600; text-decoration: none;
    transition: background var(--transition-fast), transform var(--transition-fast),
                box-shadow var(--transition-fast);
    white-space: nowrap; border: 2px solid transparent; min-height: 44px;
}
.btn--primary {
    background: var(--color-primary); color: #fff;
}
.btn--accent {
    background: var(--color-accent); color: #fff;
}
.btn--outline {
    background: transparent; color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn--outline-light {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.6);
}
.btn--ghost {
    background: rgba(255,255,255,0.12); color: #fff;
    border-color: rgba(255,255,255,0.3); backdrop-filter: blur(4px);
}
@media (hover: hover) {
    .btn--primary:hover { background: var(--color-primary-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
    .btn--accent:hover  { background: var(--color-accent-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
    .btn--outline:hover { background: var(--color-primary); color: #fff; }
    .btn--outline-light:hover { background: rgba(255,255,255,0.15); }
    .btn--ghost:hover   { background: rgba(255,255,255,0.22); }
}

/* ===================== NAV ===================== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-height); transition: background var(--transition-base),
    box-shadow var(--transition-base);
}
.nav--transparent { background: transparent; }
.nav.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 var(--color-border), 0 4px 24px rgba(28,63,94,0.08);
    backdrop-filter: blur(12px);
}
.nav__inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nav-height); max-width: 1180px; margin: 0 auto; padding: 0 1.5rem;
}
.nav__logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none; min-height: unset;
}
.nav__logo-mark {
    width: 40px; height: 40px; background: var(--color-accent);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
    border-radius: var(--radius-sm); flex-shrink: 0;
}
.nav__logo-text {
    font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700;
    line-height: 1.2; color: #fff; transition: color var(--transition-base);
}
.nav__logo-text span { font-weight: 400; font-style: italic; }
.nav.scrolled .nav__logo-text { color: var(--color-primary); }

.nav__links {
    display: flex; align-items: center; gap: 0.25rem;
    transition: transform var(--transition-base);
}
.nav__links a {
    padding: 0.5rem 0.85rem; font-size: 0.9rem; font-weight: 500;
    text-decoration: none; color: rgba(255,255,255,0.9);
    border-radius: var(--radius-sm); min-height: unset;
    transition: color var(--transition-fast), background var(--transition-fast);
}
.nav.scrolled .nav__links a { color: var(--color-text-muted); }
@media (hover: hover) {
    .nav__links a:hover { background: rgba(59,164,160,0.1); color: var(--color-accent); }
}
.nav__cta {
    background: var(--color-accent) !important;
    color: #fff !important; border-radius: var(--radius-sm) !important;
    padding: 0.55rem 1.25rem !important; font-weight: 600 !important;
}
@media (hover: hover) {
    .nav__cta:hover { background: var(--color-accent-light) !important; }
}

.nav__burger {
    display: none; flex-direction: column; gap: 5px;
    width: 44px; height: 44px; justify-content: center; align-items: center;
    border-radius: var(--radius-sm);
}
.nav__burger span {
    display: block; width: 22px; height: 2px;
    background: currentColor; border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
    color: inherit;
}
.nav__burger { color: #fff; }
.nav.scrolled .nav__burger { color: var(--color-primary); }

@media (max-width: 900px) {
    .nav__burger { display: flex; }
    .nav__links {
        position: fixed; top: var(--nav-height); left: 0; right: 0;
        flex-direction: column; align-items: flex-start;
        background: #fff; padding: 1.5rem; gap: 0.25rem;
        box-shadow: 0 8px 32px rgba(28,63,94,0.15);
        transform: translateY(-110%); opacity: 0;
        transition: transform var(--transition-base), opacity var(--transition-base);
        z-index: 999; pointer-events: none;
    }
    .nav__links.is-open {
        transform: translateY(0); opacity: 1; pointer-events: all;
    }
    .nav__links a { color: var(--color-text-muted) !important; width: 100%; padding: 0.75rem 1rem; }
    .nav__cta { width: 100%; justify-content: center; margin-top: 0.5rem; }
}

/* ===================== HERO ===================== */
.hero {
    position: relative; height: 100svh; min-height: 580px;
    display: flex; align-items: center; overflow: hidden;
}
.hero__bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
    transform-origin: center center;
}
@media (prefers-reduced-motion: no-preference) {
    .hero__bg img { animation: kenburns 18s ease-in-out infinite alternate; }
}
@keyframes kenburns {
    from { transform: scale(1.0) translate(0, 0); }
    to   { transform: scale(1.08) translate(-1%, 1%); }
}
.hero__overlay {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(18, 42, 64, 0.80) 0%,
        rgba(28, 63, 94, 0.65) 50%,
        rgba(59, 164, 160, 0.30) 100%
    );
}
.hero__content {
    position: relative; z-index: 2; max-width: 700px;
}
.hero__eyebrow {
    display: inline-flex; align-items: center; gap: 0.6rem;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--color-accent-light);
    margin-bottom: 1.25rem;
}
.hero__eyebrow::before {
    content: ''; display: block; width: 28px; height: 2px;
    background: var(--color-accent-light);
}
.hero h1 {
    font-family: var(--font-heading); font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 700; line-height: 1.1; color: #fff;
    margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--color-accent-light); }
.hero__sub {
    font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(255,255,255,0.82);
    line-height: 1.7; margin-bottom: 2rem; max-width: 52ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; flex-direction: column; align-items: center;
    gap: 0.4rem; color: rgba(255,255,255,0.6); font-size: 0.75rem;
    letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__scroll-arrow {
    width: 24px; height: 24px; border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor; transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.6; }
    50%       { transform: rotate(45deg) translate(4px,4px); opacity: 1; }
}

/* ===================== WILLKOMMEN ===================== */
.willkommen { padding: var(--section-padding) 0; }
.willkommen__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.willkommen__image {
    position: relative;
}
.willkommen__img-wrap {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.willkommen__img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
}
@media (hover: hover) {
    .willkommen__img-wrap:hover img { transform: scale(1.04); }
}
.willkommen__badge {
    position: absolute; bottom: -1.5rem; right: -1.5rem;
    background: var(--color-accent); color: #fff;
    padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); max-width: 180px; text-align: center;
}
.willkommen__badge strong {
    display: block; font-family: var(--font-heading);
    font-size: 1.75rem; font-weight: 700; line-height: 1;
}
.willkommen__badge span { font-size: 0.8rem; opacity: 0.9; }

.willkommen__text { display: flex; flex-direction: column; gap: 0; }
.willkommen__text p {
    color: var(--color-text-muted); line-height: 1.8; margin-bottom: 1.5rem;
}
.willkommen__stats {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; margin: 2rem 0;
}
.stat { text-align: center; }
.stat__number-wrap {
    display: flex; align-items: baseline; justify-content: center; gap: 0.1rem;
    font-family: var(--font-heading); color: var(--color-accent);
}
.stat__number { font-size: 2.4rem; font-weight: 700; line-height: 1; }
.stat__suffix { font-size: 1.4rem; font-weight: 700; }
.stat__label {
    font-size: 0.8rem; color: var(--color-text-muted);
    margin-top: 0.25rem; display: block; text-transform: uppercase;
    letter-spacing: 0.05em; font-weight: 500;
}

@media (max-width: 900px) {
    .willkommen__grid { grid-template-columns: 1fr; gap: 3rem; }
    .willkommen__badge { bottom: 1rem; right: 1rem; }
}
@media (max-width: 600px) {
    .willkommen__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .stat__number { font-size: 1.8rem; }
}

/* ===================== LEISTUNGEN ===================== */
.leistungen__header { text-align: center; margin-bottom: 3rem; }
.leistungen__header .section__sub { margin: 0 auto; text-align: left; }
.leistungen__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
}
.leistung-card {
    background: #fff; border-radius: var(--radius-md);
    border: 1px solid var(--color-border); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    display: flex; flex-direction: column;
}
@media (hover: hover) {
    .leistung-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
    .leistung-card:hover .leistung-card__img img { transform: scale(1.06); }
}
.leistung-card__img {
    aspect-ratio: 16/9; overflow: hidden;
}
.leistung-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.leistung-card__body {
    padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem;
}
.leistung-card__icon {
    width: 44px; height: 44px; background: rgba(59,164,160,0.1);
    border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; margin-bottom: 0.25rem; flex-shrink: 0;
}
.leistung-card__title {
    font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
    color: var(--color-primary); line-height: 1.3;
}
.leistung-card__desc {
    font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.65; flex: 1;
}
.leistung-card__link {
    margin-top: auto; font-size: 0.85rem; font-weight: 600;
    color: var(--color-accent); text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.3rem; min-height: unset;
}
@media (hover: hover) { .leistung-card__link:hover { gap: 0.6rem; } }

@media (max-width: 900px) { .leistungen__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .leistungen__grid { grid-template-columns: 1fr; } }

/* ===================== TEAM ===================== */
.team { padding: var(--section-padding) 0; background: var(--color-surface); }
.team__grid { display: grid; grid-template-columns: 420px 1fr; gap: 5rem; align-items: start; }
.team__photo-wrap {
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-lg); aspect-ratio: 3/4; position: sticky; top: calc(var(--nav-height) + 2rem);
}
.team__photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team__info {}
.team__name {
    font-family: var(--font-heading); font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700; color: var(--color-primary); margin-bottom: 0.25rem;
}
.team__title {
    font-size: 1rem; color: var(--color-accent); font-weight: 500; margin-bottom: 1.5rem;
}
.team__bio { color: var(--color-text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.team__quals {
    display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem;
}
.team__qual {
    display: flex; align-items: flex-start; gap: 0.75rem;
    font-size: 0.9rem; color: var(--color-text-muted);
}
.team__qual-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent);
    flex-shrink: 0; margin-top: 0.4rem;
}
.team__quote {
    border-left: 3px solid var(--color-accent); padding-left: 1.5rem;
    font-family: var(--font-heading); font-style: italic;
    font-size: 1.1rem; color: var(--color-primary); line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 1000px) { .team__grid { grid-template-columns: 340px 1fr; gap: 3rem; } }
@media (max-width: 780px) {
    .team__grid { grid-template-columns: 1fr; }
    .team__photo-wrap { aspect-ratio: 1/1; max-width: 380px; position: static; }
}

/* ===================== PRAXIS GALLERY ===================== */
.praxis { padding: var(--section-padding) 0; }
.praxis__header { margin-bottom: 2.5rem; }
.praxis__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 280px 280px;
    gap: 1rem;
    border-radius: var(--radius-lg); overflow: hidden;
}
.praxis__item { overflow: hidden; position: relative; }
.praxis__item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.7s ease;
}
@media (hover: hover) { .praxis__item:hover img { transform: scale(1.06); } }
.praxis__item--wide  { grid-column: span 2; }
.praxis__item--tall  { grid-row: span 2; }

@media (max-width: 700px) {
    .praxis__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .praxis__item--wide { grid-column: span 2; }
    .praxis__item--tall { grid-row: span 1; }
    .praxis__item img { height: 200px; }
}
@media (max-width: 450px) {
    .praxis__grid { grid-template-columns: 1fr; }
    .praxis__item--wide { grid-column: span 1; }
}

/* ===================== ÖFFNUNGSZEITEN ===================== */
.oeffnungszeiten {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}
.oeffnungszeiten__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.oeffnungszeiten__text .section__eyebrow { color: var(--color-accent-light); }
.oeffnungszeiten__text .section__heading { color: #fff; }
.oeffnungszeiten__text p { color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 2rem; }

.oeffnungszeiten__table { width: 100%; border-collapse: collapse; }
.oeffnungszeiten__table tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.oeffnungszeiten__table tr:last-child { border-bottom: none; }
.oeffnungszeiten__table td {
    padding: 0.85rem 0; color: rgba(255,255,255,0.85); font-size: 0.95rem;
}
.oeffnungszeiten__table td:first-child { font-weight: 600; color: #fff; width: 40%; }
.oeffnungszeiten__table .closed { color: rgba(255,255,255,0.4); font-style: italic; }
.oeffnungszeiten__table .today td { color: var(--color-accent-light) !important; }
.oeffnungszeiten__table .today td:first-child { color: var(--color-accent-light) !important; }

.oeffnungszeiten__cta {
    display: flex; flex-direction: column; gap: 1rem;
    padding: 2.5rem; background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md);
}
.oeffnungszeiten__cta p { color: rgba(255,255,255,0.75); font-size: 0.95rem; line-height: 1.6; }
.oeffnungszeiten__cta strong { color: #fff; display: block; margin-bottom: 0.35rem; font-size: 1.1rem; }
.oeffnungszeiten__cta-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (max-width: 800px) {
    .oeffnungszeiten__grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* ===================== KONTAKT ===================== */
.kontakt { padding: var(--section-padding) 0; background: var(--color-surface); }
.kontakt__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 5rem; align-items: start; }

.kontakt__form-wrap {
    background: #fff; border-radius: var(--radius-md);
    padding: 2.5rem; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form__label { font-size: 0.85rem; font-weight: 600; color: var(--color-text); }
.form__input, .form__select, .form__textarea {
    width: 100%; padding: 0.75rem 1rem; font-size: 0.95rem; font-family: var(--font-body);
    border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
    background: var(--color-surface); color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59,164,160,0.15);
}
.form__textarea { resize: vertical; min-height: 130px; }
.form__submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; }
.form__privacy {
    font-size: 0.78rem; color: var(--color-text-muted); margin-top: 1rem; line-height: 1.5;
}
.form__privacy a { color: var(--color-accent); display: inline; min-height: unset; }

.kontakt__info { display: flex; flex-direction: column; gap: 2rem; }
.kontakt__info-item {}
.kontakt__info-label {
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.4rem;
}
.kontakt__info-val {
    font-size: 0.95rem; color: var(--color-text-muted); line-height: 1.7;
}
.kontakt__info-val a { color: var(--color-primary); font-weight: 500; display: inline; min-height: unset; }
@media (hover: hover) { .kontakt__info-val a:hover { color: var(--color-accent); } }
.kontakt__map {
    border-radius: var(--radius-md); overflow: hidden;
    background: var(--color-border); aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--color-border);
}
.kontakt__map-placeholder {
    text-align: center; color: var(--color-text-muted); font-size: 0.9rem; padding: 2rem;
}
.kontakt__map-placeholder svg { margin: 0 auto 0.75rem; opacity: 0.4; }

@media (max-width: 900px) { .kontakt__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ===================== FOOTER ===================== */
.footer {
    background: var(--color-primary-dark);
    padding: 3rem 0 2rem;
}
.footer__inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
}
.footer__copy { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer__legal {
    display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
}
.footer__legal a {
    font-size: 0.82rem; color: rgba(255,255,255,0.5); text-decoration: none;
    min-height: unset; transition: color var(--transition-fast);
}
@media (hover: hover) { .footer__legal a:hover { color: var(--color-accent-light); } }

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
    position: fixed; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
    max-width: 520px; z-index: 9000;
    background: var(--color-primary-dark); color: #fff;
    border-radius: var(--radius-md); padding: 1.5rem;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 1.25rem; }
.cookie-banner p a { color: var(--color-accent-light); display: inline; min-height: unset; }
.cookie-banner__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cookie-banner__btns button { flex: 1; min-width: 120px; justify-content: center; font-size: 0.85rem; padding: 0.65rem 1rem; }

/* ===================== COOKIE MODAL ===================== */
.cookie-modal-overlay {
    position: fixed; inset: 0; z-index: 9500;
    background: rgba(18,42,64,0.7); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 1rem;
}
.cookie-modal {
    background: #fff; border-radius: var(--radius-md); max-width: 640px; width: 100%;
    max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg);
}
.cookie-modal__header {
    padding: 1.75rem 2rem 1rem; border-bottom: 1px solid var(--color-border);
    position: sticky; top: 0; background: #fff; z-index: 1;
}
.cookie-modal__header h2 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--color-primary); }
.cookie-modal__header p { font-size: 0.85rem; color: var(--color-text-muted); margin-top: 0.35rem; line-height: 1.5; }
.cookie-modal__close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    width: 32px; height: 32px; min-height: unset;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--color-text-muted); font-size: 1.3rem;
}
@media (hover: hover) { .cookie-modal__close:hover { background: var(--color-surface); color: var(--color-primary); } }
.cookie-modal__body { padding: 1.25rem 2rem; }
.cookie-category { padding: 1rem 0; border-bottom: 1px solid var(--color-border); }
.cookie-category:last-child { border-bottom: none; }
.cookie-category__header {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem;
}
.cookie-category__name { font-weight: 600; font-size: 0.95rem; color: var(--color-primary); }
.cookie-toggle { position: relative; width: 40px; height: 22px; flex-shrink: 0; }
.cookie-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.cookie-toggle__slider {
    position: absolute; inset: 0; background: #ccc;
    border-radius: 11px; cursor: pointer; transition: background var(--transition-fast);
}
.cookie-toggle input:checked + .cookie-toggle__slider { background: var(--color-accent); }
.cookie-toggle__slider::after {
    content: ''; position: absolute; top: 3px; left: 3px;
    width: 16px; height: 16px; background: #fff; border-radius: 50%;
    transition: transform var(--transition-fast); box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.cookie-toggle input:checked + .cookie-toggle__slider::after { transform: translateX(18px); }
.cookie-toggle--fixed .cookie-toggle__slider { background: var(--color-accent); opacity: 0.65; cursor: default; }
.cookie-category__desc { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 0.6rem; }
.cookie-category__toggle-details {
    font-size: 0.78rem; color: var(--color-accent); font-weight: 500;
    display: inline-flex; align-items: center; gap: 0.25rem; min-height: unset;
    background: none; border: none; padding: 0; cursor: pointer;
    text-decoration: underline; text-underline-offset: 3px;
}
.cookie-table-wrap { margin-top: 0.75rem; overflow-x: auto; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 0.78rem; }
.cookie-table th {
    text-align: left; font-weight: 600; color: var(--color-text-muted);
    font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase;
    padding: 0.4rem 0.6rem; background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}
.cookie-table td {
    padding: 0.45rem 0.6rem; border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted); vertical-align: top;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table td:first-child { font-family: monospace; font-size: 0.76rem; color: var(--color-text); white-space: nowrap; }
.cookie-modal__footer {
    padding: 1.25rem 2rem; border-top: 1px solid var(--color-border);
    display: flex; flex-wrap: wrap; gap: 0.75rem;
    position: sticky; bottom: 0; background: #fff;
}
.cookie-modal__footer button { flex: 1; min-width: 140px; justify-content: center; font-size: 0.88rem; padding: 0.7rem 1rem; }

/* ===================== PROGRESS BAR ===================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--color-accent); width: 0%; z-index: 2000;
    transition: width 0.1s linear;
}

/* ===================== MOBILE STICKY CTA ===================== */
.mobile-cta {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
    background: #fff; border-top: 1px solid var(--color-border);
    padding: 0.75rem 1.5rem; gap: 0.75rem; box-shadow: 0 -4px 24px rgba(28,63,94,0.1);
}
.mobile-cta a { flex: 1; justify-content: center; font-size: 0.9rem; padding: 0.7rem; }
@media (max-width: 767px) { .mobile-cta { display: flex; } }
