/* ============================================================
   home.css — Öffentliche Startseite (helles Thema)
   Alle Regeln sind auf body.home gescoped und damit vollständig
   vom dunklen Mitgliederbereich isoliert.
   ============================================================ */

/* ---- Schriften (korrekte Pfade; fonts.css ist fehlerhaft) ---- */
@font-face {
    font-family: 'Open Sans';
    font-style: normal; font-weight: 400;
    src: url('/static/website/fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal; font-weight: 600;
    src: url('/static/website/fonts/Open_Sans/static/OpenSans-SemiBold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal; font-weight: 700;
    src: url('/static/website/fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Open Sans';
    font-style: normal; font-weight: 800;
    src: url('/static/website/fonts/Open_Sans/static/OpenSans-ExtraBold.ttf') format('truetype');
    font-display: swap;
}

/* ---- Basis / helles Thema ---- */
body.home {
    --home-bg: #ffffff;
    --home-surface: #f1f7f2;
    --home-surface-2: #e7f0e9;
    --home-text: #1f2a24;
    --home-text-muted: #5b6b62;
    --home-brand: #07a35a;
    --home-brand-dark: #0a663b;
    --home-radius: 18px;
    --home-shadow: 0 12px 34px rgba(20, 45, 30, 0.10);
    --home-wrap: 1120px;
    --main-brand-color: var(--home-brand);
    --primary-color: var(--home-surface);
    --secondary-color: var(--home-brand-dark);
    --light-secondary-color: var(--home-brand-dark);
    --text-color: var(--home-text);
    --secondary-text-color: var(--home-text-muted);
    --glass-bg: var(--home-bg);
    --glass-bg-strong: var(--home-surface);
    --glass-border: 1px solid rgba(20, 45, 30, .10);
    --glass-shadow: var(--home-shadow);
    --glass-blur: none;
    --glass-radius: var(--home-radius);

    margin: 0;
    background: var(--home-bg);
    background-color: var(--home-bg);
    background-attachment: initial;
    color: var(--home-text);
    font-family: 'Open Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    box-sizing: border-box;
    /* Sticky-Footer: bei wenig Inhalt den Footer ans Viewport-Ende drücken */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.home *, .home *::before, .home *::after { box-sizing: inherit; }

/* Inhaltsbereich wächst, Header/Footer behalten ihre Höhe */
body.home > .container { flex: 1 0 auto; }
body.home > .hero,
body.home > .site-header,
body.home > footer { flex-shrink: 0; }

/* container aus homepage_base.html neutralisieren (footer.css gibt ihm
   padding-bottom für den fixierten Footer – hier nicht gewollt) */
.home .container { max-width: none; width: 100%; margin: 0; padding: 0; }

/* ---- Layout-Helfer ---- */
.home-wrap { max-width: var(--home-wrap); margin: 0 auto; padding: 0 24px; }
.home-section { padding: 96px 0; }
.home-section--tight { padding: 64px 0; }
.home-section--band { background: var(--home-surface); }
.home-section--center { text-align: center; }

.home-eyebrow {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .82rem;
    font-weight: 700;
    color: var(--home-brand-dark);
    margin: 0 0 14px;
}
.home h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    text-align: left;
    margin: 0 0 16px;
    padding: 0;
    color: var(--home-text);
}
.home h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    text-align: left;
    margin: 0;
    padding: 0;
    color: var(--home-text);
}
.home-section--center h2 { text-align: center; }
.home-lead {
    font-size: 1.08rem;
    color: var(--home-text-muted);
    max-width: 620px;
    margin: 0 0 32px;
}
.home-section--center .home-lead { margin-left: auto; margin-right: auto; }

/* ---- Buttons ---- */
.home-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--ease-apple), background .2s ease, box-shadow .2s ease;
}
.home-btn--primary {
    background: var(--home-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 163, 90, .30);
}
.home-btn--primary:hover {
    background: var(--home-brand-dark);
    color: #fff;
    transform: translateY(-2px);
}
.home-btn--ghost {
    background: transparent;
    border-color: currentColor;
    color: var(--home-brand-dark);
}
.home-btn--ghost:hover {
    background: rgba(7, 163, 90, .08);
    transform: translateY(-2px);
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    color: #fff;
    background-image:
        linear-gradient(185deg, rgba(7,26,14,.62) 0%, rgba(7,26,14,.28) 40%, rgba(10,102,59,.80) 100%),
        url('/static/website/img/bluete.webp');
    background-size: cover;
    background-position: center;
}

/* Navbar über dem Hero */
.hero-nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.hero-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 18px;
    padding-bottom: 18px;
}
.hero-nav__brand {
    display: flex; align-items: center; gap: 10px;
    color: #fff; text-decoration: none;
    font-weight: 800; font-size: 1.1rem;
}
.hero-nav__brand img { height: 36px; width: auto; display: block; }
.hero-nav__toggle { display: none; }
.hero-nav__burger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: #fff;
}
.hero-nav__burger .material-symbols-rounded { font-size: 32px; }
.hero-nav__links {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: none;
    position: absolute;
    top: calc(100% + 6px); left: 16px; right: 16px;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(20, 45, 30, .16);
}
.hero-nav__toggle:checked ~ .hero-nav__links { display: flex; }
.hero-nav__links li { display: block; }
.hero-nav__links a {
    display: block;
    color: var(--home-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background .2s;
}
.hero-nav__links a:hover { background: var(--home-surface); }
.hero-nav__links a.hero-nav__login {
    background: var(--home-brand);
    color: #fff;
    text-align: center;
}
.hero-nav__links a.hero-nav__login:hover {
    background: var(--home-brand-dark);
    color: #fff;
}

/* Hero-Inhalt */
.hero__content {
    margin: auto 0;
    padding-top: 120px;
    padding-bottom: 80px;
    width: 100%;
}
.hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .82rem;
    font-weight: 700;
    margin: 0 0 18px;
    color: rgba(255, 255, 255, .85);
}
.hero__title {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    line-height: 1.05;
    font-weight: 800;
    text-align: left;
    letter-spacing: -.01em;
    margin: 0 0 20px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero__sub {
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    max-width: 560px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, .92);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .home-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero .home-btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* ============================================================
   Kennzahlen
   ============================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 18px;
}
.stat-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .08);
    border-radius: var(--home-radius);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--home-shadow);
}
.stat-card__num {
    font-size: clamp(1.9rem, 4vw, 2.6rem);
    font-weight: 800;
    color: var(--home-brand);
    line-height: 1.05;
}
.stat-card__num .material-symbols-rounded { font-size: 2.5rem; }
.stat-card__label {
    margin-top: 8px;
    color: var(--home-text-muted);
    font-size: .96rem;
    font-weight: 600;
}

/* ============================================================
   Über uns
   ============================================================ */
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-grid__media img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    display: block;
}
.about-grid__text .home-lead { max-width: none; }

/* ============================================================
   So wirst du Mitglied
   ============================================================ */
.steps-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.step-card {
    position: relative;
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .08);
    border-radius: var(--home-radius);
    padding: 32px 26px;
    box-shadow: var(--home-shadow);
    text-align: left;
}
.step-card__icon {
    width: 56px; height: 56px;
    display: inline-flex;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: var(--home-surface-2);
    color: var(--home-brand-dark);
    margin-bottom: 16px;
}
.step-card__icon .material-symbols-rounded { font-size: 30px; }
.step-card__num {
    position: absolute;
    top: 22px; right: 26px;
    font-size: 1.6rem;
    font-weight: 800;
    color: rgba(7, 163, 90, .22);
}
.step-card h3 { margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--home-text-muted); }
.steps-cta { margin-top: 40px; }

/* ============================================================
   Galerie
   ============================================================ */
.gallery-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.gallery-grid img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--home-radius);
    display: block;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 760px; margin: 0 auto; text-align: left; }
.faq-item {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 14px;
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 20px 24px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .material-symbols-rounded {
    color: var(--home-brand);
    transition: transform .2s ease;
    flex-shrink: 0;
}
.faq-item[open] summary .material-symbols-rounded { transform: rotate(180deg); }
.faq-item__body {
    padding: 0 24px 20px;
    color: var(--home-text-muted);
}
.faq-item__body a { color: var(--home-brand-dark); font-weight: 600; }

/* ============================================================
   Kontakt
   ============================================================ */
.contact-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .08);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    padding: 36px;
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
}
.contact-card p { margin: 0 0 14px; }
.contact-card a { color: var(--home-brand-dark); font-weight: 600; }
.contact-social { display: inline-block; margin-top: 6px; }
.contact-social img { width: 44px; height: 44px; }

/* ============================================================
   Abschluss-CTA
   ============================================================ */
.home-cta-band {
    background: linear-gradient(135deg, var(--home-brand) 0%, var(--home-brand-dark) 100%);
    color: #fff;
    text-align: center;
    padding: 72px 0;
}
.home-cta-band h2 { color: #fff; text-align: center; }
.home-cta-band p {
    margin: 0 auto 28px;
    max-width: 520px;
    color: rgba(255, 255, 255, .92);
}
.home-cta-band .home-btn--primary {
    background: #fff;
    color: var(--home-brand-dark);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.home-cta-band .home-btn--primary:hover { background: #eef2ee; color: var(--home-brand-dark); }

/* ============================================================
   Footer (footer.css ist global – hier nur für die Homepage
   überschrieben: statt fixiert normal im Fluss)
   ============================================================ */
body.home footer {
    position: static;
    height: auto;
    background: #0a2417;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-top: none;
    box-shadow: none;
    padding: 30px 24px;
}
body.home .footer_nav a { color: rgba(255, 255, 255, .75); }
body.home .footer_nav a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 760px) {
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 960px) {
    .home-section { padding: 124px 0; }
    .hero-nav__burger { display: none; }
    .hero-nav__links {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
    .hero-nav__links a {
        color: #fff;
        font-size: .98rem;
        padding: 11px 14px;
    }
    .hero-nav__links a:hover { background: rgba(255, 255, 255, .16); }
    .hero-nav__links a.hero-nav__login {
        background: transparent;
        border: 1.5px solid rgba(255, 255, 255, .55);
        color: #fff;
    }
    .hero-nav__links a.hero-nav__login:hover {
        background: rgba(255, 255, 255, .16);
        color: #fff;
    }
    .about-grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .home-btn, .faq-item summary .material-symbols-rounded { transition: none; }
    .home-btn:hover { transform: none; }
}

/* ============================================================
   Öffentliche Unterseiten (abfrage / dokumente / login)
   Kompakter Header statt Hero.
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid rgba(20, 45, 30, .10);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--home-brand-dark);
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
}
.site-header__toggle { display: none; }
.site-header__burger {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    color: var(--home-text);
}
.site-header__burger .material-symbols-rounded { font-size: 30px; }
.site-header__links {
    list-style: none;
    margin: 0;
    padding: 10px;
    display: none;
    position: absolute;
    top: calc(100% + 6px); left: 16px; right: 16px;
    flex-direction: column;
    gap: 6px;
    background: #fff;
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(20, 45, 30, .16);
}
.site-header__toggle:checked ~ .site-header__links { display: flex; }
.site-header__links li { display: block; }
/* Mobil: Links sind volle Reihen im Dropdown; Desktop überschreibt unten. */
.site-header__links a {
    display: block;
    color: var(--home-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 16px;
    border-radius: 999px;
    transition: background .2s;
}
.site-header__links a:hover { background: var(--home-surface); }
/* Login-Button: Farbe + Hover wie der „Anmelden"-Button (.home-btn--primary).
   Höhere Spezifität, damit die generischen .site-header__links a-Regeln
   (Textfarbe, Hover) nicht gewinnen. Glow + Anheben nur am Desktop –
   im Mobil-Dropdown würde der Schatten über den Panelrand laufen. */
.site-header__links a.site-header__login {
    background: var(--home-brand);
    color: #fff;
    text-align: center;
}
.site-header__links a.site-header__login:hover {
    background: var(--home-brand-dark);
    color: #fff;
}

/* ---- Inhaltsbereich öffentlicher Unterseiten ---- */
.public-main { padding-bottom: 80px; }
.page-head { padding: 52px 0 28px; }
.page-head h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.12;
    font-weight: 800;
    text-align: left;
    margin: 0;
    color: var(--home-text);
}
.page-head .home-eyebrow { margin-bottom: 10px; }
.page-lead {
    color: var(--home-text-muted);
    font-size: 1.05rem;
    margin: 10px 0 0;
}

/* ---- Karte / Formular (hell) ---- */
.home-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    padding: 32px;
}
.home-form { display: flex; flex-direction: column; gap: 16px; }
.home-form h3 {
    font-size: 1.1rem;
    margin: 10px 0 0;
}
.home-field label {
    display: block;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 6px;
}
.home-input,
.home-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: #fff;
    border: 1.5px solid rgba(20, 45, 30, .18);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--home-text);
}
.home-input:focus,
.home-textarea:focus {
    outline: none;
    border-color: var(--home-brand);
    box-shadow: 0 0 0 3px rgba(7, 163, 90, .15);
}
.home-textarea { min-height: 120px; resize: vertical; }
.home-radio-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.home-radio {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(20, 45, 30, .18);
    cursor: pointer;
    font-size: .92rem;
    transition: border-color .15s, background .15s;
}
.home-radio:hover { border-color: var(--home-brand); background: var(--home-surface); }
.home-radio input { accent-color: var(--home-brand); margin: 0; width: auto; }
.home-req { color: #d23b3b; font-weight: 700; }
.home-hint { font-size: .82rem; color: var(--home-text-muted); }

/* ---- Hinweisbox ---- */
.notice-box {
    background: var(--home-surface);
    border: 1px solid rgba(20, 45, 30, .10);
    border-left: 4px solid var(--home-brand);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 28px;
}
.notice-box p { margin: 0 0 8px; }
.notice-box p:last-child { margin-bottom: 0; }

/* ---- Dokumentenliste ---- */
.doc-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}
.doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 84px;
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: var(--home-text);
    font-weight: 600;
    line-height: 1.35;
    box-shadow: var(--home-shadow);
    transition: transform .15s ease, border-color .15s ease;
    overflow-wrap: break-word;
}
.doc-card:hover { transform: translateY(-2px); border-color: var(--home-brand); }
.doc-card .material-symbols-rounded { color: var(--home-brand); flex-shrink: 0; }

/* ---- Auth / Login ---- */
.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 0 72px;
}
.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    overflow: hidden;
}
.auth-card__head {
    padding: 26px 28px 0;
}
.auth-card__head h1 {
    margin: 0;
    font-size: 1.6rem;
    text-align: left;
    color: var(--home-text);
}
.auth-card__body { padding: 22px 28px 28px; display: flex; flex-direction: column; gap: 16px; }
.auth-card__body label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.auth-card__body input[type="text"],
.auth-card__body input[type="email"],
.auth-card__body input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: #fff;
    border: 1.5px solid rgba(20, 45, 30, .18);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--home-text);
}
.auth-card__body input:focus {
    outline: none;
    border-color: var(--home-brand);
    box-shadow: 0 0 0 3px rgba(7, 163, 90, .15);
}
.auth-card__text {
    margin: 0;
    color: var(--home-text-muted);
}
.auth-card__notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 12px;
    background: var(--home-surface);
    color: var(--home-text);
    font-size: .95rem;
    line-height: 1.45;
}
.auth-card__notice .material-symbols-rounded {
    color: var(--home-brand);
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}
.auth-card__notice--success {
    background: #eef9f1;
    border: 1px solid rgba(7, 163, 90, .20);
}
.auth-card__notice--warning {
    background: #fff7e1;
    border: 1px solid rgba(181, 126, 12, .24);
}
.auth-card__notice--warning .material-symbols-rounded { color: #9a6a08; }
.auth-card__notice--error {
    background: #fff0f0;
    border: 1px solid rgba(210, 59, 59, .24);
}
.auth-card__notice--error .material-symbols-rounded { color: #d23b3b; }
.auth-card__links { font-size: .92rem; }
.auth-card__links a { color: var(--home-brand-dark); font-weight: 600; }
.auth-card__footer {
    border-top: 1px solid rgba(20, 45, 30, .10);
    padding: 16px 28px 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    font-size: .92rem;
}
.auth-card__footer a {
    color: var(--home-brand-dark);
    font-weight: 600;
    text-decoration: none;
}
.auth-card__footer a:hover { text-decoration: underline; }
.auth-card__body small,
.auth-card__body .helptext {
    display: block;
    margin-top: 6px;
    color: var(--home-text-muted);
    font-size: .82rem;
}

/* Django-Formularfehler (errorlist) hell darstellen */
.home .errorlist {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    color: #d23b3b;
    font-size: .88rem;
    font-weight: 600;
}

/* ---- Rechtstexte (Impressum / Datenschutz) ---- */
.legal-text h2 {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: left;
    margin: 0 0 12px;
}
.legal-text h2:not(:first-child) { margin-top: 26px; }
.legal-text p { margin: 0 0 16px; }
.legal-text p:last-child { margin-bottom: 0; }
.legal-text a { color: var(--home-brand-dark); font-weight: 600; }

/* ---- Öffentliche Spezialseiten / Gartenvorschau ---- */
.home .fin-page {
    max-width: var(--home-wrap);
    margin: 0 auto;
    padding: 52px 24px 80px;
}
.home .fin-page h1 {
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.12;
    font-weight: 800;
    text-align: left;
    margin: 0 0 16px;
    color: var(--home-text);
}
.home .fin-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: var(--home-radius);
    box-shadow: var(--home-shadow);
    padding: 24px;
    margin-bottom: 18px;
}
.home .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: 12px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--home-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(7, 163, 90, .30);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.home .btn:hover {
    background: var(--home-brand-dark);
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}
.home .fin-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96rem;
}
.home .fin-info-table td {
    padding: .55rem 0;
    border-bottom: 1px solid rgba(20, 45, 30, .08);
    vertical-align: top;
}
.home .fin-info-table td:first-child {
    width: 150px;
    color: var(--home-text-muted);
    font-weight: 700;
}
.home .fin-info-table tr:last-child td { border-bottom: 0; }
.home .badge {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .2rem .6rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    border: 1px solid rgba(20, 45, 30, .10);
}
.home .badge-paid {
    background: #eef9f1;
    color: var(--home-brand-dark);
    border-color: rgba(7, 163, 90, .28);
}
.home .badge-open {
    background: #fff7e1;
    color: #9a6200;
    border-color: rgba(181, 126, 12, .28);
}
.home .parzelle-header h3 { color: var(--home-text); }
.home .parzelle-fotos img {
    border-color: rgba(20, 45, 30, .10);
    box-shadow: 0 8px 24px rgba(20, 45, 30, .08);
}
.home .not-found-card {
    max-width: 560px;
    margin: 56px auto 80px;
    text-align: center;
}
.home .not-found-number {
    font-size: clamp(80px, 18vw, 136px);
    font-weight: 800;
    line-height: 1;
    color: var(--home-brand);
    margin-bottom: 6px;
}
.home .not-found-icon {
    display: block;
    color: var(--home-brand);
    font-size: 48px;
    margin-bottom: 12px;
}
.home .not-found-title { text-align: center; }
.home .not-found-text {
    color: var(--home-text-muted);
    margin: 0 0 28px;
}
.home .not-found-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.home .nf-btn-ghost {
    background: transparent;
    color: var(--home-brand-dark);
    border-color: var(--home-brand-dark);
    box-shadow: none;
}

@media (min-width: 960px) {
    .site-header__burger { display: none; }
    .site-header__links {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        background: none;
        border: 0;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
    .site-header__links a { padding: 11px 16px; font-size: .98rem; }
    /* Login-Button: Glow + Anheben wie der „Anmelden"-Button – nur am Desktop */
    .site-header__links a.site-header__login {
        box-shadow: 0 8px 20px rgba(7, 163, 90, .30);
        transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
    }
    .site-header__links a.site-header__login:hover { transform: translateY(-2px); }
}

/* ====================================================================
   Vermietung – öffentliche Unterseite (vermietung.html)
   ==================================================================== */
.vm-section { padding: 36px 0; }
.vm-section + .vm-section { border-top: 1px solid rgba(20, 45, 30, .08); }
.vm-section__title {
    margin: 6px 0 22px;
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--home-text);
}
.vm-section--cta { text-align: center; padding: 48px 0 12px; }
.vm-section--cta .vm-section__title { margin-bottom: 8px; }
.vm-section--cta .page-lead { margin: 0 auto 18px; max-width: 540px; }

/* --- Info-Kacheln: Kaution / Pauschalen / Zeiträume --- */
.vm-info-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
}
.vm-info-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--home-shadow);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vm-info-card > .material-symbols-rounded {
    color: var(--home-brand);
    font-size: 1.8rem;
    margin-bottom: 6px;
}
.vm-info-card h3 {
    margin: 0 0 2px;
    font-size: 1rem;
    color: var(--home-text-muted);
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}
.vm-info-card__amount {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--home-text);
    line-height: 1.15;
}
.vm-info-card__hint {
    margin: 4px 0 0;
    font-size: .9rem;
    color: var(--home-text-muted);
}

/* --- Preiskarten: Kleiner Raum / Großer Raum --- */
.vm-price-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}
.vm-price-card {
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 16px;
    box-shadow: var(--home-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.vm-price-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: var(--home-surface);
    border-bottom: 1px solid rgba(20, 45, 30, .08);
}
.vm-price-card__head .material-symbols-rounded {
    color: var(--home-brand);
    font-size: 1.6rem;
}
.vm-price-card__head h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--home-text);
}
.vm-price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}
.vm-price-table th,
.vm-price-table td {
    padding: 12px 22px;
    text-align: right;
}
.vm-price-table thead th {
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--home-text-muted);
    font-weight: 600;
    border-bottom: 1px solid rgba(20, 45, 30, .08);
}
.vm-price-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--home-text);
}
.vm-price-table tbody td {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    color: var(--home-text);
}
.vm-price-table tbody tr + tr th,
.vm-price-table tbody tr + tr td {
    border-top: 1px solid rgba(20, 45, 30, .06);
}
.vm-price-foot {
    margin: 18px 0 0;
    font-size: .9rem;
    color: var(--home-text-muted);
}

/* --- Ablauf-Schritte: Zahlung / Übergabe / Abnahme --- */
.vm-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.vm-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: 14px;
    padding: 18px 22px;
    box-shadow: var(--home-shadow);
}
.vm-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--home-brand);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
}
.vm-steps li h3 {
    margin: 0 0 4px;
    font-size: 1.05rem;
    color: var(--home-text);
}
.vm-steps li p {
    margin: 0;
    color: var(--home-text-muted);
    line-height: 1.5;
}

/* 2-Spalten-Variante des Steps-Grid (Räume-Vermietung-Teaser auf der Startseite) */
@media (min-width: 640px) {
    .steps-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   INTERAKTIVITÄT & MOTION (home_interactions.js)
   Reine Bewegung/Tiefe – keine neuen Farben, nur bestehende
   Variablen und vorhandene rgba-Töne. Alles unter
   prefers-reduced-motion wieder neutralisiert.
   ============================================================ */

/* Sanftes Anker-Scrollen + Platz unter der fixierten Navi.
   Wert an die tatsächliche Höhe der Sticky-Header angeglichen
   (Hero-Nav „stuck" ~58px, Unterseiten-Header ~56px). */
html { scroll-behavior: smooth; scroll-padding-top: 72px; }

/* ---- Karten: lebendigere Hover-Tiefe ---- */
.stat-card,
.contact-card,
.faq-item {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(20, 45, 30, .14);
    border-color: rgba(7, 163, 90, .35);
}
.stat-card__num .material-symbols-rounded {
    transition: transform .35s ease;
}
.stat-card:hover .stat-card__num .material-symbols-rounded {
    transform: translateX(3px);
}
.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(20, 45, 30, .14);
}
.contact-social img { transition: transform .2s ease; }
.contact-social:hover img { transform: scale(1.12) rotate(-4deg); }

/* Schritt-Karten: Icon + Nummer reagieren auf Hover */
.step-card {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(20, 45, 30, .14);
    border-color: rgba(7, 163, 90, .30);
}
.step-card__icon {
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.step-card:hover .step-card__icon {
    transform: scale(1.08) rotate(-3deg);
    background: var(--home-brand);
    color: #fff;
}
.step-card__num { transition: color .3s ease, transform .3s ease; }
.step-card:hover .step-card__num {
    color: rgba(7, 163, 90, .45);
    transform: scale(1.1);
}

/* ---- Galerie: Zoom im Rahmen + Klick-Lightbox ---- */
.gallery-grid img {
    cursor: zoom-in;
    transition: transform .5s cubic-bezier(.22, .61, .36, 1), box-shadow .3s ease;
}
.gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: 0 18px 40px rgba(20, 45, 30, .18);
}
.gallery-grid img.is-zoomable:focus-visible {
    outline: 3px solid var(--home-brand);
    outline-offset: 3px;
}

/* ---- Lightbox-Overlay ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(7, 26, 14, .82);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox__img {
    max-width: min(1000px, 94vw);
    max-height: 88vh;
    border-radius: var(--home-radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
    transform: scale(.96);
    transition: transform .25s cubic-bezier(.22, .61, .36, 1);
}
.lightbox.is-open .lightbox__img { transform: scale(1); }
.lightbox__close {
    position: absolute;
    top: 18px; right: 18px;
    width: 46px; height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .28); transform: rotate(90deg); }

/* ---- "Nach oben"-Button ---- */
.to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 60;
    width: 48px; height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: var(--home-brand);
    color: #fff;
    box-shadow: 0 10px 26px rgba(7, 163, 90, .40);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(.85);
    transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.to-top:hover {
    background: var(--home-brand-dark);
    transform: translateY(-3px) scale(1.05);
}

/* ============================================================
   Hero: Ken-Burns-Hintergrund + Scroll-Indikator
   ============================================================ */
.hero {
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(185deg, rgba(7,26,14,.62) 0%, rgba(7,26,14,.28) 40%, rgba(10,102,59,.80) 100%),
        url('/static/website/img/bluete.webp');
    background-size: cover;
    background-position: center;
    animation: hero-kenburns 22s ease-in-out infinite alternate;
}
/* Den statischen Hintergrund von .hero entfernen – jetzt im ::before */
.hero { background-image: none; }
.hero__content { position: relative; z-index: 2; }
.hero-nav { position: relative; z-index: 20; }

@keyframes hero-kenburns {
    from { transform: scale(1); }
    to   { transform: scale(1.10); }
}

/* Hero-Inhalt fährt beim Laden sanft hoch */
.hero__eyebrow,
.hero__title,
.hero__sub,
.hero__cta {
    animation: hero-rise .8s cubic-bezier(.22, .61, .36, 1) both;
}
.hero__title { animation-delay: .08s; }
.hero__sub   { animation-delay: .16s; }
.hero__cta   { animation-delay: .24s; }

@keyframes hero-rise {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: none; }
}

/* Scroll-Indikator unten im Hero */
.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 26px;
    transform: translateX(-50%);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .55);
    text-decoration: none;
    /* Endlich statt endlos: hint die Geste 4x an, dann Ruhe. */
    animation: hero-bounce 2s ease-in-out 4;
    transition: background .2s ease, border-color .2s ease;
}
.hero__scroll:hover {
    background: rgba(255, 255, 255, .16);
    border-color: #fff;
}
@keyframes hero-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* Hero-Nav "festgepinnt" beim Scrollen */
.hero-nav {
    transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.hero-nav.is-stuck {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(10, 102, 59, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 28px rgba(7, 26, 14, .28);
    /* Kein Keyframe-Drop mehr: die fixed-Nav sitzt an gleicher Position,
       Hintergrund + Schatten blenden über die .hero-nav-Transition (.3s)
       weich ein — interruptibel, kein Flackern am Schwellwert. */
}

/* Site-Header (Unterseiten) bekommt Schatten beim Scrollen */
.site-header {
    transition: box-shadow .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
    box-shadow: 0 6px 24px rgba(20, 45, 30, .12);
    border-bottom-color: transparent;
}

/* Press-Feedback auf ALLEN drückbaren Elementen — Element „hört zu". */
.home .home-btn:active,
.home .home-link:active,
.home .doc-card:active,
.home .to-top:active,
.home .lightbox__close:active { transform: scale(.97); }

/* ---- Doc-/Vermietungskarten: weiches Anheben ---- */
.vm-info-card,
.vm-price-card,
.vm-steps li {
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.vm-info-card:hover,
.vm-steps li:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(20, 45, 30, .13);
}
.vm-price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(20, 45, 30, .15);
    border-color: rgba(7, 163, 90, .30);
}

/* ============================================================
   Reduced Motion: sämtliche Bewegung abschalten
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .home .reveal { opacity: 1 !important; transform: none !important; transition: none; }
    .hero::before { animation: none; }
    .hero__eyebrow, .hero__title, .hero__sub, .hero__cta { animation: none; }
    .hero__scroll { animation: none; }
    .stat-card:hover, .step-card:hover, .contact-card:hover,
    .vm-info-card:hover, .vm-price-card:hover, .vm-steps li:hover,
    .gallery-grid img:hover, .to-top:hover {
        transform: none;
    }
    .step-card:hover .step-card__icon { transform: none; }
    .to-top, .lightbox, .lightbox__img { transition: none; }
}

/* ============================================================
   APPLE-STYLE REFINEMENT
   Größere, eng laufende Typo · echtes San Francisco auf
   Apple-Geräten · mehr Weißraum · Milchglas-Navigation ·
   weichere Tiefen · ruhigere Scroll-Reveals (Fade + Scale).
   Keine neuen Farben – nur bestehende Variablen/Töne.
   ============================================================ */
body.home {
    /* System-Schrift zuerst → echtes SF Pro auf Mac/iPhone, sonst Open Sans */
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display',
                 'SF Pro Text', 'Segoe UI', Roboto, 'Open Sans', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -.01em;

    --home-radius: 22px;
    --home-radius-lg: 28px;
    --home-shadow: 0 18px 48px rgba(20, 45, 30, .12);
    --ease-apple: cubic-bezier(.16, 1, .3, 1);
}

/* ---- Typografie: groß, eng, kräftig ---- */
.home h2 {
    font-size: clamp(2rem, 4.6vw, 3.3rem);
    line-height: 1.07;
    letter-spacing: -.025em;
    font-weight: 800;
}
.home h3 { letter-spacing: -.015em; }
.home-lead {
    font-size: clamp(1.1rem, 1.6vw, 1.32rem);
    line-height: 1.5;
    max-width: 660px;
}

/* ---- Größere, weichere Kacheln ---- */
.stat-card, .step-card, .contact-card,
.vm-info-card, .vm-price-card, .doc-card,
.home-card, .auth-card,
.about-grid__media img, .gallery-grid img {
    border-radius: var(--home-radius-lg);
}

/* ---- Apple-Chevron-Link: "Mehr erfahren ›" ---- */
.home-link {
    display: inline-flex;
    align-items: center;
    gap: .12rem;
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--home-brand-dark);
    text-decoration: none;
    letter-spacing: -.01em;
    transition: opacity .2s var(--ease-apple);
}
.home-link::after {
    content: "\203A"; /* › */
    font-size: 1.25em;
    line-height: 1;
    transform: translateX(0);
    transition: transform .25s var(--ease-apple);
}
.home-link:hover { opacity: .78; }
.home-link:hover::after { transform: translateX(5px); }
.home-link--light { color: #fff; }

/* ---- Buttons: etwas satter ---- */
.home-btn { font-size: 1.02rem; padding: 13px 27px; letter-spacing: -.01em; }

/* Button + Chevron-Link nebeneinander (Apple-CTA-Paar) */
.about-grid__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 24px;
}

/* ---- So findest du uns (Standort / OpenStreetMap-Karte) ---- */
.find-us__card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--home-bg);
    border: 1px solid rgba(20, 45, 30, .10);
    border-radius: var(--home-radius-lg);
    box-shadow: var(--home-shadow);
    overflow: hidden;
}
.find-us__map {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}
.find-us__actions {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 24px;
}
@media (max-width: 600px) {
    .find-us__map { height: 300px; }
}

/* ============================================================
   Hero: zentriert & monumental (Apple-Hero)
   ============================================================ */
.hero { min-height: 92vh; }
.hero__content { text-align: center; padding-top: 132px; }
.hero__eyebrow { color: rgba(255, 255, 255, .9); }
.hero__title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.02;
    letter-spacing: -.03em;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.hero__sub {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.15rem, 1.8vw, 1.4rem);
}
.hero__cta { justify-content: center; align-items: center; }

/* ---- Milchglas-Navigation (Apple) ---- */
.hero-nav {
    background: rgba(7, 26, 14, .26);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}
.hero-nav__inner { padding-top: 11px; padding-bottom: 11px; }
.hero-nav__brand { font-size: 1rem; letter-spacing: -.01em; }
.hero-nav.is-stuck { background: rgba(7, 26, 14, .58); }
@media (min-width: 960px) {
    .hero-nav__links a { font-size: .9rem; font-weight: 500; opacity: .9; }
    .hero-nav__links a:hover { opacity: 1; }
}

/* ---- Site-Header (Unterseiten) frosted statt deckend ---- */
.site-header {
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: saturate(160%) blur(16px);
    backdrop-filter: saturate(160%) blur(16px);
}
@media (min-width: 960px) {
    .site-header__links a { font-size: .9rem; font-weight: 500; }
}

/* ---- Ruhigere, "teurere" Scroll-Reveals (Fade + sanftes Scale) ---- */
.home .reveal {
    opacity: 0;
    transform: translateY(22px) scale(.985);
    filter: blur(6px);
    transition: opacity .5s var(--ease-apple),
                transform .6s var(--ease-apple),
                filter .5s var(--ease-apple);
}
.home .reveal.in-view { opacity: 1; transform: none; filter: blur(0); }

/* ---- Abschluss-CTA: mehr Luft ---- */
.home-cta-band { padding: 112px 0; }
.home-cta-band h2 { font-size: clamp(2rem, 4.4vw, 3rem); }

/* Reduced motion erneut absichern (nach den neuen Regeln) */
@media (prefers-reduced-motion: reduce) {
    .home .reveal { opacity: 1 !important; transform: none !important; filter: none !important; transition: none; }
    .home-link::after { transition: none; }
}

/* ---- FAQ-Akkordeon: sanftes Aufklappen statt hartem Snap ----
   Native <details>: ::details-content + interpolate-size erlauben das
   Animieren von block-size:auto. Wo nicht unterstützt → graceful Snap. */
@supports (interpolate-size: allow-keywords) {
    /* Eng auf die FAQ gescopt — nicht aufs ganze .home, damit keine
       fremden height/width:auto-Transitions ungewollt animieren. */
    .home .faq-item { interpolate-size: allow-keywords; }
    .home .faq-item::details-content {
        block-size: 0;
        overflow: hidden;
        content-visibility: hidden;
        transition: block-size .28s var(--ease-apple),
                    content-visibility .28s allow-discrete;
    }
    .home .faq-item[open]::details-content {
        block-size: auto;
        content-visibility: visible;
    }
}

/* ---- Hover-Lifts auf Touch-Geräten nicht „kleben" lassen ----
   Tap feuert :hover → der translateY-Lift bliebe sonst nach dem
   Antippen stehen. Auf echten Zeigegeräten bleibt alles wie gehabt. */
@media (hover: none), (pointer: coarse) {
    .home .home-btn:hover,
    .home .stat-card:hover,
    .home .step-card:hover,
    .home .contact-card:hover,
    .home .gallery-grid img:hover,
    .home .doc-card:hover,
    .home .vm-info-card:hover,
    .home .vm-price-card:hover,
    .home .vm-steps li:hover,
    .home .to-top:hover { transform: none; }
    .home .step-card:hover .step-card__icon,
    .home .step-card:hover .step-card__num,
    .home .stat-card:hover .stat-card__num .material-symbols-rounded,
    .home .contact-social:hover img { transform: none; }
}
