/* =========================================================================
   Ernährungsberatung – Design-System "Warm & natürlich"
   Handgeschrieben, mobile-first, keine Frameworks.
   ========================================================================= */

/* ---- Schriften (selbst gehostet, kein externer CDN) --------------------- */
@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/fraunces-latin.woff2') format('woff2');
    font-weight: 300 700;
    font-display: swap;
    font-style: normal;
}
@font-face {
    font-family: 'Nunito Sans';
    src: url('../fonts/nunito-sans-latin.woff2') format('woff2');
    font-weight: 300 800;
    font-display: swap;
    font-style: normal;
}

/* ---- Design-Tokens ----------------------------------------------------- */
:root {
    --forest: #2f5d50;
    --forest-dark: #244a40;
    --sage: #6f9a8d;
    --sage-soft: #dfe9e4;
    --cream: #faf6ef;
    --sand: #f0e6d6;
    --card: #ffffff;
    --terracotta: #c9704f;
    --terracotta-dark: #b25f40;
    --ink: #2b2a26;
    --muted: #6b6a63;
    --line: #e7ddce;

    --radius: 16px;
    --radius-lg: 24px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px -12px rgba(47, 93, 80, .18);
    --shadow-lg: 0 24px 60px -20px rgba(47, 93, 80, .28);
    --ring: 0 0 0 3px rgba(201, 112, 79, .35);

    --font-head: 'Fraunces', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* modulare Typo-Skala */
    --step--1: clamp(.83rem, .8rem + .15vw, .9rem);
    --step-0: clamp(1rem, .96rem + .2vw, 1.09rem);
    --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
    --step-2: clamp(1.44rem, 1.3rem + .7vw, 1.9rem);
    --step-3: clamp(1.73rem, 1.5rem + 1.15vw, 2.55rem);
    --step-4: clamp(2.07rem, 1.7rem + 1.85vw, 3.35rem);

    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
    --space-7: 48px;
    --space-8: 64px;
    --space-9: 96px;

    --container: 1150px;
    --measure: 68ch;
    --header-h: 68px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}

body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -.01em;
    color: var(--forest-dark);
    text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }
p { overflow-wrap: anywhere; }
a { color: var(--forest); text-underline-offset: .18em; }
a:hover { color: var(--terracotta-dark); }
strong { font-weight: 700; }

:focus-visible {
    outline: 2px solid var(--terracotta-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--forest-dark);
    color: #fff;
    padding: 10px 16px;
    border-radius: 0 0 var(--radius-sm) 0;
    z-index: 200;
}
.skip-link:focus { left: 0; color: #fff; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

/* ---- Layout-Primitive ---------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(18px, 5vw, 40px);
}

.section { padding-block: clamp(var(--space-8), 10vw, var(--space-9)); }
.section--tight { padding-block: clamp(var(--space-7), 7vw, var(--space-8)); }
.section--sand { background: var(--sand); }
.section--sage { background: var(--sage-soft); }
.section--forest { background: var(--forest-dark); color: #f3efe6; }
.section--forest h2, .section--forest h3 { color: #fff; }

.section-head { max-width: 46rem; margin-bottom: clamp(var(--space-6), 6vw, var(--space-8)); }
.section-head--center { margin-inline: auto; text-align: center; }

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--step--1);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--terracotta-dark);
    margin-bottom: var(--space-3);
}
.kicker::before {
    content: "";
    width: 22px; height: 2px;
    background: var(--terracotta);
    display: inline-block;
}
.section--forest .kicker { color: #e8b9a5; }

.lead { font-size: var(--step-1); color: var(--muted); max-width: var(--measure); }
.section--forest .lead { color: #d9e4df; }
.prose-narrow { max-width: var(--measure); }

/* ---- Buttons ------------------------------------------------------- */
.btn {
    --btn-bg: var(--terracotta);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 26px;
    border-radius: 999px;
    border: 2px solid transparent;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: var(--step-0);
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .12s ease, background-color .16s ease, box-shadow .16s ease;
}
.btn:hover { background: var(--terracotta-dark); color: #fff; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { min-height: 54px; padding: 16px 32px; font-size: var(--step-1); }
.btn--block { display: flex; width: 100%; }

.btn--nav {
    min-height: 42px;
    font-size: var(--step--1);
    letter-spacing: .005em;
    gap: 7px;
    box-shadow: 0 6px 16px -10px rgba(201, 112, 79, .8);
}
.btn--nav svg { width: 15px; height: 15px; flex: none; }

.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--forest-dark);
    border-color: var(--sage);
}
.btn--ghost:hover { background: rgba(111, 154, 141, .14); color: var(--forest-dark); }
.section--forest .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .5); }
.section--forest .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn--light { --btn-bg: #fff; --btn-fg: var(--forest-dark); }
.btn--light:hover { background: #fff; color: var(--terracotta-dark); }

.textlink {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--forest-dark);
    text-decoration: none;
}
.textlink::after { content: "→"; transition: transform .15s ease; }
.textlink:hover { color: var(--terracotta-dark); }
.textlink:hover::after { transform: translateX(4px); }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
    margin-top: var(--space-6);
}

/* ---- Header ------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 246, 239, .94);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
/* backdrop-filter erzeugt einen containing block fuer position:fixed – daher
   NUR ab Desktop, wo die mobile Off-canvas-Navigation nicht fixed ist. */
@media (min-width: 980px) {
    .site-header {
        background: rgba(250, 246, 239, .88);
        backdrop-filter: saturate(140%) blur(10px);
    }
}
.site-header[data-scrolled="true"] {
    border-color: var(--line);
    box-shadow: 0 6px 24px -18px rgba(47, 93, 80, .5);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: .4ch;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--forest-dark);
    text-decoration: none;
    letter-spacing: -.01em;
    line-height: 1.1;
}
.brand b { color: var(--terracotta-dark); font-weight: 600; }
.brand small {
    display: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
@media (min-width: 620px) { .brand small { display: block; } }

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px; height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: var(--forest-dark); }
.nav-toggle .icon-close { display: none; }
body.nav-open .nav-toggle .icon-open { display: none; }
body.nav-open .nav-toggle .icon-close { display: block; }

.primary-nav { display: none; }

.primary-nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: clamp(var(--space-4), 2.4vw, var(--space-6));
}
.primary-nav a {
    text-decoration: none;
    font-weight: 700;
    color: var(--forest-dark);
    padding: 8px 2px;
    white-space: nowrap;
}
.primary-nav a:hover { color: var(--terracotta-dark); }
.primary-nav a.btn { color: #fff; padding: 9px 18px; }
.primary-nav a.btn:hover { color: #fff; }
@media (min-width: 980px) {
    .primary-nav li:last-child { margin-left: clamp(6px, 1.4vw, 18px); }
}

.nav-backdrop { display: none; }

/* ---- Mobile Off-canvas ------------------------------------------- */
@media (max-width: 979px) {
    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(84vw, 340px);
        background: var(--cream);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        padding: calc(var(--header-h) + var(--space-5)) var(--space-6) var(--space-7);
        transform: translateX(100%);
        transition: transform .28s cubic-bezier(.4, 0, .2, 1);
        display: block;
        overflow-y: auto;
        z-index: 110;
    }
    .primary-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
    .primary-nav li { border-bottom: 1px solid var(--line); }
    .primary-nav li:last-child { border: 0; margin-top: var(--space-4); }
    .primary-nav a { display: block; padding: 16px 4px; font-size: var(--step-1); }
    .primary-nav a.btn { display: flex; margin-top: var(--space-2); padding: 15px 22px; font-size: var(--step-0); }

    body.nav-open .primary-nav { transform: translateX(0); }
    body.nav-open .nav-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(36, 74, 64, .38);
        z-index: 105;
    }
    body.nav-open { overflow: hidden; }
}

@media (min-width: 980px) {
    .nav-toggle { display: none; }
    .primary-nav { display: block; }
}

/* ---- Hero ------------------------------------------------------- */
.hero {
    position: relative;
    padding-block: clamp(var(--space-8), 9vw, 120px);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 55% at 82% 12%, rgba(111, 154, 141, .28), transparent 70%),
        radial-gradient(50% 50% at 8% 90%, rgba(240, 230, 214, .8), transparent 70%);
    z-index: -2;
}
.hero-grid {
    display: grid;
    gap: clamp(var(--space-6), 6vw, var(--space-8));
    align-items: center;
}
.hero h1 { margin-bottom: var(--space-4); }
.hero .lead { color: var(--ink); font-size: var(--step-1); max-width: 34rem; }

.hero-figure {
    position: relative;
    justify-self: center;
    width: min(100%, 420px);
}
.hero-figure img,
.hero-figure .portrait-fallback {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(160deg, var(--sage) 0%, var(--forest) 100%);
}
.hero-figure .leaf {
    position: absolute;
    width: 120px;
    color: var(--sage);
    opacity: .9;
    z-index: -1;
}
.hero-figure .leaf--tl { top: -34px; left: -34px; transform: rotate(-18deg); }
.hero-figure .leaf--br { bottom: -30px; right: -28px; transform: rotate(150deg); color: var(--terracotta); opacity: .55; }

.trust-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--line);
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .01em;
}
.trust-line span { display: inline-flex; align-items: center; gap: 8px; }
.trust-line span:not(:last-child)::after {
    content: "·";
    margin-left: 14px;
    color: var(--sage);
}

@media (min-width: 860px) {
    .hero-grid { grid-template-columns: 1.05fr .95fr; }
}

/* ---- USP ------------------------------------------------------ */
.usp-grid { display: grid; gap: clamp(var(--space-6), 5vw, var(--space-8)); align-items: center; }

.usp-figure { position: relative; margin: 0; }
.usp-figure img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.usp-figure__leaf {
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 88px;
    color: var(--sage);
    transform: rotate(160deg);
    z-index: -1;
}

.usp-points { list-style: none; padding: 0; display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.usp-points li {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-5);
    box-shadow: var(--shadow);
}
.usp-points h3 { font-size: var(--step-0); margin-bottom: 6px; color: var(--forest-dark); }
.usp-points p { font-size: var(--step--1); color: var(--muted); }

@media (min-width: 840px) {
    .usp-grid { grid-template-columns: .92fr 1.08fr; }
}

/* ---- Karten-Grid (Leistungen) ------------------------------- */
.card-grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
}
@media (min-width: 620px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .card-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: var(--space-6);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    transition: transform .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--sage-soft);
    color: var(--forest-dark);
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--muted); font-size: var(--step--1); }

/* ---- Ablauf (Schritte) ------------------------------------- */
.steps { display: grid; gap: var(--space-5); counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
    position: relative;
    padding: var(--space-6) var(--space-5) var(--space-5);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.step .num {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: var(--space-3);
}
.step h3 { font-size: var(--step-0); margin-bottom: 6px; }
.step p { font-size: var(--step--1); color: var(--muted); }

/* ---- Zielgruppen (Checkliste) ----------------------------- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 760px) { .checklist { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.checklist li {
    display: flex;
    gap: var(--space-3);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: var(--space-4) var(--space-5);
}
.checklist .tick {
    flex: none;
    width: 26px; height: 26px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    display: grid; place-items: center;
    margin-top: 2px;
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { display: block; color: var(--forest-dark); }
.checklist span { color: var(--muted); font-size: var(--step--1); }

/* ---- Über mich ------------------------------------------- */
.about-grid { display: grid; gap: clamp(var(--space-6), 6vw, var(--space-8)); align-items: start; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 320px 1fr; } }

.about-figure img,
.about-figure .portrait-fallback {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    width: 100%;
    background: linear-gradient(160deg, var(--sand) 0%, var(--sage) 100%);
}
.about-body :is(p) + p { margin-top: var(--space-4); }
.quali {
    margin-top: var(--space-6);
    background: var(--sage-soft);
    border-radius: var(--radius);
    padding: var(--space-5) var(--space-6);
}
.quali h3 { font-size: var(--step-0); margin-bottom: var(--space-3); }
.quali ul { list-style: none; padding: 0; display: grid; gap: var(--space-2); }
.quali li { display: flex; gap: 10px; font-size: var(--step--1); }
.quali li::before { content: "✔"; color: var(--forest); font-weight: 700; }
.disclaimer {
    margin-top: var(--space-5);
    font-size: var(--step--1);
    color: var(--muted);
    border-left: 3px solid var(--sage);
    padding-left: var(--space-4);
}

/* ---- Zwischenbild-Band --------------------------------- */
.image-band {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    min-height: clamp(260px, 42vw, 420px);
    padding-block: var(--space-8);
}
.image-band p {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--step-3);
    line-height: 1.2;
    color: #fff;
    max-width: 20ch;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

/* ---- Stimmen -------------------------------------------- */
.stat-line {
    text-align: center;
    font-family: var(--font-head);
    font-size: var(--step-1);
    color: #fff;
    margin-bottom: clamp(var(--space-6), 6vw, var(--space-7));
}
.quote-grid { display: grid; gap: var(--space-5); }
@media (min-width: 800px) { .quote-grid { grid-template-columns: repeat(3, 1fr); } }
.quote {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius);
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}
.quote h3 { color: #fff; font-size: var(--step-0); }
.quote blockquote { color: #e6ede9; font-size: var(--step--1); }
.quote cite { color: #bcd0c8; font-style: normal; font-size: var(--step--1); font-weight: 700; margin-top: auto; }
.quote .stars { color: #e8b9a5; letter-spacing: 2px; }

/* ---- FAQ (Accordion) ---------------------------------- */
.faq { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--step-1);
    color: var(--forest-dark);
}
.faq-item .chev {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 999px;
    background: var(--sage-soft);
    display: grid; place-items: center;
    transition: transform .2s ease, background-color .2s ease;
}
.faq-item .chev svg { width: 16px; height: 16px; stroke: var(--forest-dark); }
.faq-item.is-open .chev { transform: rotate(180deg); background: var(--terracotta); }
.faq-item.is-open .chev svg { stroke: #fff; }
/* Zusammenklappbar nur, wenn JavaScript laeuft – sonst bleiben alle Antworten sichtbar. */
.js .faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height .28s ease;
}
@media (prefers-reduced-motion: reduce) {
    .js .faq-answer { transition: none; }
}
.faq-answer p { color: var(--muted); padding-bottom: var(--space-5); max-width: var(--measure); }

/* ---- Kontakt / Formular ------------------------------ */
.contact-grid { display: grid; gap: clamp(var(--space-6), 6vw, var(--space-8)); align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .82fr 1.18fr; } }

.contact-info {
    background: var(--sage-soft);
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-6), 5vw, var(--space-7));
}
.contact-info h3 { font-size: var(--step-0); margin-bottom: var(--space-2); }
.contact-info dl { display: grid; gap: var(--space-5); margin-top: var(--space-5); }
.contact-info dt {
    font-weight: 700;
    font-size: var(--step--1);
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.contact-info dd a { font-weight: 700; text-decoration: none; }
.contact-info .map {
    margin-top: var(--space-6);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}
.capacity-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--terracotta);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--forest-dark);
    margin-top: var(--space-5);
}

.form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(var(--space-6), 5vw, var(--space-7));
    box-shadow: var(--shadow);
}
.field { margin-bottom: var(--space-5); }
.field label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--forest-dark);
}
.field .req { color: var(--terracotta-dark); }
.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 16px; /* verhindert iOS-Zoom */
    color: var(--ink);
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--sage);
    box-shadow: var(--ring);
}
.field--error input,
.field--error select,
.field--error textarea { border-color: #c0392b; }
.field .error-msg {
    display: block;
    margin-top: 6px;
    color: #c0392b;
    font-size: var(--step--1);
    font-weight: 700;
}
.field--check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.field--check input { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.field--check label { font-weight: 400; margin: 0; font-size: var(--step--1); color: var(--muted); }

.hp-field {
    position: absolute !important;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.form-reassurance {
    margin-top: var(--space-4);
    font-size: var(--step--1);
    color: var(--muted);
    text-align: center;
}
.form-note {
    background: var(--sage-soft);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: var(--step--1);
    color: var(--forest-dark);
    margin-bottom: var(--space-5);
}
.form-error-summary {
    background: #fdecea;
    border: 1px solid #f5c6c0;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: #a5281b;
    font-weight: 700;
    margin-bottom: var(--space-5);
}

.flash {
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-weight: 700;
    margin-bottom: var(--space-5);
}
.flash--error { background: #fdecea; border: 1px solid #f5c6c0; color: #a5281b; }
.flash--ok { background: var(--sage-soft); border: 1px solid var(--sage); color: var(--forest-dark); }

/* ---- Lead-Magnet-Band ------------------------------- */
.leadmagnet .container {
    display: grid;
    gap: clamp(var(--space-5), 5vw, var(--space-7));
    align-items: center;
}
@media (min-width: 880px) { .leadmagnet .container { grid-template-columns: 1.1fr .9fr; } }
.leadmagnet h2 { color: #fff; }
.leadmagnet .lead { color: #dfe9e4; }
.leadmagnet form {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    padding: var(--space-5);
}
.leadmagnet input[type="text"],
.leadmagnet input[type="email"] {
    flex: 1 1 180px;
    font: inherit;
    font-size: 16px;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 13px 14px;
}
.leadmagnet .btn { flex: 1 1 100%; }
.leadmagnet .fineprint { color: #cfe0d9; font-size: var(--step--1); margin-top: var(--space-3); }
@media (min-width: 560px) { .leadmagnet .btn { flex: 0 0 auto; } }

/* ---- Footer ---------------------------------------- */
.site-footer {
    background: #20302b;
    color: #cdd8d2;
    padding-block: var(--space-8) var(--space-6);
}
.site-footer .container { display: grid; gap: var(--space-6); }
@media (min-width: 760px) { .site-footer .container { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-3); }
.site-footer a { color: #cdd8d2; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-brand { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: var(--space-3); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    margin-top: var(--space-7);
    padding-top: var(--space-5);
    font-size: var(--step--1);
    color: #9fb1a9;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3) var(--space-5);
    justify-content: space-between;
}

/* ---- Mobile Sticky-CTA-Leiste --------------------- */
.mobile-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(250, 246, 239, .96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -18px rgba(47, 93, 80, .6);
    transform: translateY(120%);
    transition: transform .3s ease;
}
.mobile-cta a { flex: 1; min-height: 46px; padding: 12px 14px; font-size: var(--step-0); }
.mobile-cta a.btn--ghost { flex: 0 0 46px; }
.mobile-cta[data-show="true"] { transform: translateY(0); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
body { --mobile-cta-pad: 76px; }
@media (max-width: 767px) {
    .site-footer { padding-bottom: calc(var(--space-6) + var(--mobile-cta-pad)); }
}

/* ---- Reveal-Animation ---------------------------- */
@media (prefers-reduced-motion: no-preference) {
    .js [data-reveal] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .6s ease, transform .6s ease;
    }
    .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---- Inhalts-Seiten (Impressum/Datenschutz/Danke) - */
.page-hero {
    background: var(--sage-soft);
    padding-block: clamp(var(--space-7), 8vw, var(--space-8));
}
.prose { max-width: 52rem; }
.prose h2 { font-size: var(--step-2); margin-top: var(--space-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--space-6); }
.prose p { margin-top: var(--space-4); color: var(--ink); }
.prose p:first-child { margin-top: 0; }
.prose a { word-break: break-word; }

.thanks {
    text-align: center;
    max-width: 40rem;
    margin-inline: auto;
}
.thanks .badge {
    width: 76px; height: 76px;
    border-radius: 999px;
    background: var(--forest);
    color: #fff;
    display: grid; place-items: center;
    margin: 0 auto var(--space-5);
}
.thanks .badge svg { width: 36px; height: 36px; }
.thanks ol {
    text-align: left;
    display: inline-grid;
    gap: var(--space-3);
    margin: var(--space-6) 0;
    padding-left: var(--space-5);
}

/* ---- Print ------------------------------------- */
@media print {
    .site-header, .site-footer, .mobile-cta, .nav-backdrop, [data-reveal] { display: none !important; }
    body { background: #fff; color: #000; }
    .prose { max-width: none; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}
