/* TravelDoc – traveldoc.mzmo.de */

@font-face {
    font-family: "Montserrat";
    src: url("/assets/fonts/montserrat-latin-var.woff2") format("woff2");
    font-weight: 500 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Inter";
    src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
    font-weight: 400 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --green: #028913;
    --green-600: #027a11;
    --green-700: #02640e;
    --green-800: #0a4a14;
    --green-900: #0b3316;
    --green-950: #07230f;
    --green-50: #f2f8f2;
    --green-100: #e2f1e3;
    --green-200: #c5e3c8;
    --sun: #f5b941;
    --sun-soft: #fdf3da;
    --ink: #12221a;
    --text: #34433b;
    --muted: #5c6a62;
    --line: #e0e8e2;
    --bg: #fcfdfb;
    --white: #fff;

    --font-head: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius: 22px;
    --radius-sm: 14px;
    --shadow-sm: 0 1px 2px rgba(11, 51, 22, .06), 0 6px 16px rgba(11, 51, 22, .06);
    --shadow-md: 0 2px 4px rgba(11, 51, 22, .05), 0 14px 34px rgba(11, 51, 22, .10);
    --shadow-lg: 0 4px 8px rgba(11, 51, 22, .05), 0 28px 64px rgba(11, 51, 22, .16);

    --container: 1160px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
    --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.15;
    margin: 0;
    text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 4.2vw + 1rem, 4.1rem); font-weight: 800; letter-spacing: -.028em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 2vw + 1.1rem, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-600); text-underline-offset: .18em; }
a:hover { color: var(--green-700); }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 3px;
    border-radius: 6px;
}

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .7rem 1rem;
    background: var(--ink);
    color: var(--white);
    border-radius: 10px;
    text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.signet-disc { fill: var(--green); }
.signet-petals { fill: var(--white); }
.signet-inverse .signet-disc { fill: var(--white); }
.signet-inverse .signet-petals { fill: var(--green-900); }

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(11, 51, 22, .07);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand { display: block; flex: none; border-radius: 8px; }
.brand img { height: 62px; width: auto; }

.main-nav {
    display: flex;
    gap: .25rem;
    margin-left: auto;
}
.main-nav a {
    padding: .55rem .9rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: .98rem;
    color: var(--ink);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: var(--green-50); color: var(--green-700); }
.main-nav a[aria-current] { background: var(--green-100); color: var(--green-700); }

.nav-toggle {
    display: none;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    flex: none;
    padding: 0;
    border: 1px solid var(--green-200);
    border-radius: 14px;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease;
}
.nav-toggle:hover { background: var(--green-50); border-color: var(--green); }
.nav-toggle-bars { position: relative; display: block; width: 1.25rem; height: .875rem; }
.nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle-bars span:nth-child(1) { top: 0; }
.nav-toggle-bars span:nth-child(2) { top: .375rem; }
.nav-toggle-bars span:nth-child(3) { top: .75rem; }
.nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(.375rem) rotate(45deg); }
.nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-.375rem) rotate(-45deg); }

.scroll-progress {
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 6px;
    background: linear-gradient(90deg, var(--green), var(--sun));
    transform: scaleX(var(--progress, 0));
    transform-origin: 0 50%;
    pointer-events: none;
}

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .85rem 1.35rem;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.005em;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--green-600);
    color: var(--white);
    box-shadow: 0 1px 2px rgba(2, 100, 14, .3), 0 10px 24px rgba(2, 122, 17, .28);
}
.btn-primary:hover { background: var(--green-700); color: var(--white); box-shadow: 0 2px 4px rgba(2, 100, 14, .3), 0 16px 32px rgba(2, 122, 17, .32); }

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--green-200);
    box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--green); color: var(--green-700); }
.btn-secondary .icon { color: var(--green-600); }

.btn-dark { background: var(--green-900); color: var(--white); box-shadow: var(--shadow-md); }
.btn-dark:hover { background: var(--green-950); color: var(--white); }
.btn-dark .icon:last-child { width: 1em; height: 1em; opacity: .7; }

.btn-large { padding: 1.05rem 1.6rem; font-size: 1.06rem; }
.btn-small { padding: .6rem 1.05rem; font-size: .95rem; }

.header-cta { margin-left: .5rem; white-space: nowrap; }

.text-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-weight: 600;
    text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { width: 1em; height: 1em; }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 6vw, 5.5rem) clamp(3.5rem, 7vw, 6.5rem);
    background:
        radial-gradient(60rem 34rem at 88% 12%, rgba(2, 137, 19, .11), transparent 62%),
        radial-gradient(40rem 26rem at -6% 96%, rgba(245, 185, 65, .16), transparent 60%),
        linear-gradient(180deg, var(--white), var(--green-50));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.1rem;
    font-family: var(--font-head);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green-600);
}
.eyebrow-dot {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    background: var(--sun);
    box-shadow: 0 0 0 4px rgba(245, 185, 65, .25);
}

.accent { display: block; color: var(--green); }

.lead {
    margin-top: 1.4rem;
    max-width: 34rem;
    font-size: clamp(1.1rem, .5vw + 1rem, 1.28rem);
    line-height: 1.6;
    color: var(--text);
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2.1rem;
}

.cta-note {
    margin-top: 1rem;
    max-width: 36rem;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--muted);
}

.trust {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.4rem;
    margin-top: 2.2rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--line);
    font-size: .95rem;
    font-weight: 500;
    color: var(--ink);
}
.trust li { display: inline-flex; align-items: center; gap: .5rem; }
.trust .icon {
    width: 1.35rem;
    height: 1.35rem;
    padding: .22rem;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
    stroke-width: 2.6;
}

.hero-art {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
    aspect-ratio: 1;
}
.globe { width: 100%; height: 100%; filter: drop-shadow(0 30px 44px rgba(3, 92, 13, .22)); }
.globe-halo { fill: var(--green-100); opacity: .55; }
.globe-orbit { fill: none; stroke: var(--green-200); stroke-width: 1.5; stroke-dasharray: 2 9; stroke-linecap: round; }
.globe-grid { fill: none; stroke: rgba(255, 255, 255, .3); stroke-width: 1.4; }
.globe-route {
    fill: none;
    stroke: var(--white);
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-dasharray: 1 10;
    animation: route 22s linear infinite;
}
.globe-start circle { fill: rgba(255, 255, 255, .28); }
.globe-start .globe-start-dot { fill: var(--white); }
.globe-plane path { fill: var(--white); }
.globe-pin path { fill: var(--sun); stroke: var(--white); stroke-width: 3; stroke-linejoin: round; }
.globe-pin .globe-pin-dot { fill: var(--white); }

@keyframes route { to { stroke-dashoffset: -220; } }

.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .7rem 1rem .7rem .7rem;
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    font-size: .95rem;
    line-height: 1.25;
    color: var(--ink);
    animation: float 7s ease-in-out infinite;
}
.chip strong { display: block; font-family: var(--font-head); font-weight: 700; }
.chip small { display: block; font-size: .8rem; color: var(--muted); }
.chip-icon {
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 13px;
    background: var(--green-100);
    color: var(--green-700);
}
.chip-icon .icon { width: 1.35rem; height: 1.35rem; }
.chip-icon-sun { background: var(--sun-soft); color: #94610a; }
.chip-1 { top: 7%; left: -3%; }
.chip-2 { top: 44%; right: -5%; animation-delay: -2.4s; }
.chip-3 { bottom: 7%; left: 3%; animation-delay: -4.6s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section-tint { background: var(--green-50); }

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head .eyebrow { margin-bottom: .8rem; }
.section-head p:not(.eyebrow) { margin-top: 1rem; font-size: 1.12rem; color: var(--muted); }

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.topic {
    padding: 1.7rem 1.6rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.topic:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); }
.topic-icon {
    display: grid;
    place-items: center;
    width: 3.1rem;
    height: 3.1rem;
    margin-bottom: 1.2rem;
    border-radius: 16px;
    background: var(--green-100);
    color: var(--green-700);
}
.topic-icon .icon { width: 1.55rem; height: 1.55rem; }
.topic:nth-child(3n + 2) .topic-icon { background: var(--sun-soft); color: #94610a; }
.topic p { margin-top: .55rem; font-size: 1rem; line-height: 1.6; color: var(--muted); }

.inline-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    margin-top: 1.25rem;
    padding: 1.7rem 1.9rem;
    border-radius: var(--radius);
    background: linear-gradient(120deg, var(--green-50), var(--sun-soft));
    border: 1px solid var(--line);
}
.inline-cta p { margin-top: .35rem; max-width: 38rem; color: var(--text); }
.inline-cta .btn { flex: none; }

/* ---------- Reisebrief ---------- */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5rem);
}
.lead-small { margin-top: 1.1rem; font-size: 1.1rem; color: var(--text); }

.checklist { display: grid; gap: .75rem; margin-block: 1.6rem 2rem; }
.checklist li { display: flex; align-items: flex-start; gap: .8rem; font-weight: 500; color: var(--ink); }
.checklist .icon {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: .1rem;
    padding: .28rem;
    border-radius: 50%;
    background: var(--green-600);
    color: var(--white);
    stroke-width: 2.8;
}

.hint {
    margin-top: 1.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--sun);
    max-width: 34rem;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--muted);
}

.letter { position: relative; max-width: 440px; width: 100%; margin-inline: auto; }
.letter-sheet {
    position: relative;
    padding: 1.8rem 1.8rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.letter-sheet-back {
    position: absolute;
    inset: 0;
    padding: 0;
    background: var(--green-200);
    box-shadow: none;
    transform: rotate(-4deg) translate(-10px, 8px);
}
.letter-head {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--line);
}
.letter-head .signet { width: 2.8rem; height: 2.8rem; flex: none; }
.letter-head strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.letter-head span { font-size: .85rem; color: var(--muted); }
.letter-rows { display: grid; gap: 1.05rem; padding-block: 1.3rem; }
.letter-rows li { display: flex; align-items: flex-start; gap: .8rem; }
.letter-rows b { display: block; font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.letter-rows div { flex: 1; }
.tick {
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    flex: none;
    border-radius: 50%;
    background: var(--green-100);
    color: var(--green-700);
}
.tick .icon { width: .85rem; height: .85rem; stroke-width: 3; }
.bar { display: block; height: .5rem; margin-top: .5rem; border-radius: 99px; background: var(--green-50); }
.bar-1 { width: 82%; }
.bar-2 { width: 64%; }
.bar-3 { width: 90%; }
.bar-4 { width: 52%; }
.letter-foot {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .75rem 1rem;
    border-radius: 12px;
    background: var(--sun-soft);
    font-size: .9rem;
    font-weight: 600;
    color: #7a4f06;
}

/* ---------- Ablauf ---------- */

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 1.9rem 1.7rem 2rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step-no {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 1.2rem;
    border-radius: 50%;
    background: var(--green-600);
    color: var(--white);
    font-family: var(--font-head);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 0 0 6px var(--green-100);
}
.step p { margin-top: .55rem; color: var(--muted); font-size: 1rem; line-height: 1.6; }
.step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 3.3rem;
    right: -1.25rem;
    width: 1.25rem;
    border-top: 2px dashed var(--green-200);
}

/* ---------- Termin ---------- */

.section-dark {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(46rem 30rem at 100% 0%, rgba(2, 137, 19, .55), transparent 62%),
        radial-gradient(34rem 24rem at 0% 100%, rgba(245, 185, 65, .13), transparent 62%),
        var(--green-900);
    color: rgba(255, 255, 255, .82);
}
.section-head-light h2 { color: var(--white); }
.section-head-light .eyebrow { color: var(--sun); }
.section-head-light p:not(.eyebrow) { color: rgba(255, 255, 255, .78); }

.booking {
    background: var(--white);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .28);
    color: var(--text);
    overflow: hidden;
}
.booking-consent {
    display: grid;
    justify-items: center;
    gap: 1rem;
    padding: clamp(2.2rem, 5vw, 4rem) clamp(1.4rem, 5vw, 4rem);
    text-align: center;
}
.booking-icon {
    display: grid;
    place-items: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 22px;
    background: var(--green-100);
    color: var(--green-700);
}
.booking-icon .icon { width: 2rem; height: 2rem; }
.booking-consent h3 { font-size: 1.5rem; }
.booking-consent p { max-width: 36rem; color: var(--muted); }
.booking-actions { display: grid; justify-items: center; gap: 1.1rem; margin-top: .6rem; }
/* Der Kalender passt unter die Kopfzeile in den sichtbaren Bereich (svh: Höhe bei eingeblendeter Browserleiste),
   damit Schaltflächen am unteren Rand des Kalenders nicht unter der Browserleiste liegen. */
.booking-frame iframe {
    display: block;
    width: 100%;
    height: min(860px, calc(100vh - var(--header-h) - 3.5rem));
    height: min(860px, calc(100svh - var(--header-h) - 3.5rem));
    min-height: 480px;
    border: 0;
}
.booking-fallback {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .35rem .6rem;
    padding: .9rem 1.2rem;
    border-top: 1px solid var(--line);
    background: var(--green-50);
    font-size: .93rem;
    color: var(--muted);
}
.booking-fallback a { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
.booking-fallback .icon { width: 1em; height: 1em; }

/* ---------- Kontakt ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.25rem;
}
.contact-list { display: grid; gap: 1.25rem; }
.contact-card.contact-row {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.5rem;
}
.contact-row .contact-icon { margin-bottom: 0; flex: none; }
.contact-label {
    display: block;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-card {
    display: block;
    padding: 1.7rem 1.6rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
}
.contact-card p { margin-top: .5rem; color: var(--muted); }
.contact-card .text-link { margin-top: 1rem; }
.contact-card-main { background: var(--green-50); border-color: var(--green-100); }
.contact-card-link { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.contact-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-200); color: var(--text); }
.contact-icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 1.1rem;
    border-radius: 15px;
    background: var(--green-100);
    color: var(--green-700);
}
.contact-card-main .contact-icon { background: var(--white); }
.contact-icon .icon { width: 1.4rem; height: 1.4rem; }
.contact-value { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.contact-card-main { padding: 2rem; }
.contact-card-main h3 { font-size: 1.4rem; }
.contact-card-main p { font-size: 1.08rem; }

/* ---------- Kontaktformular ---------- */

.form-card {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    margin-top: 1.25rem;
    padding: clamp(1.5rem, 3.2vw, 2.6rem);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.form-intro h3 { font-size: 1.4rem; }
.form-intro p { margin-top: .8rem; color: var(--muted); }
.form-intro .hint { margin-top: 1.4rem; }

.contact-form {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1.2rem;
}
.field { display: grid; gap: .4rem; align-content: start; }
.field-wide, .check, .form-status, .form-actions { grid-column: 1 / -1; }
.field label { font-size: .95rem; font-weight: 600; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
    width: 100%;
    padding: .8rem .95rem;
    border: 1.5px solid #7d8c84;
    border-radius: 12px;
    background: var(--white);
    color: var(--ink);
    font: inherit;
    line-height: 1.4;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 9.5rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--green-700); }
.field input:focus, .field textarea:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(2, 137, 19, .16);
    outline: none;
}
.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .93rem; line-height: 1.5; color: var(--text); }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; flex: none; accent-color: var(--green-600); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status {
    padding: .9rem 1.1rem;
    border: 1px solid var(--green-200);
    border-radius: var(--radius-sm);
    background: var(--green-100);
    color: var(--green-800);
    font-weight: 500;
}
.form-status.is-error { border-color: #f1c0bb; background: #fdecea; color: #8c1d18; }
.form-status ul { margin-top: .4rem; padding-left: 1.2rem; list-style: disc; font-weight: 400; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--green-950);
    color: rgba(255, 255, 255, .74);
    font-size: .98rem;
}
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr .8fr;
    gap: 2.5rem clamp(2rem, 5vw, 4.5rem);
    padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem;
}
.site-footer h2 {
    margin-bottom: 1rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--sun);
}
.footer-mark { display: flex; align-items: center; gap: .9rem; }
.footer-mark .signet { width: 3rem; height: 3rem; flex: none; }
.footer-name { font-family: var(--font-head); font-size: 1.35rem; font-weight: 800; color: var(--white); line-height: 1.2; }
.footer-sub { font-size: .9rem; }
.footer-text { margin-top: 1.2rem; max-width: 24rem; }
.footer-address p + p { margin-top: 1rem; }
.footer-address strong { color: var(--white); }
.footer-nav ul { display: grid; gap: .6rem; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .4rem 2rem;
    padding-block: 1.4rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
    color: rgba(255, 255, 255, .6);
}

/* ---------- Rechtstexte ---------- */

.legal { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem); }
.legal-head {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(180deg, var(--white), var(--green-50));
    border-bottom: 1px solid var(--line);
}
.legal-head h1 { font-size: clamp(2rem, 3vw + 1rem, 3.1rem); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 2.8rem; font-size: 1.55rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 2rem; font-size: 1.15rem; }
.prose h4 { margin: 1.5rem 0 0; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.prose p, .prose ul { margin-top: .9rem; }
.prose ul { padding-left: 1.3rem; list-style: disc; }
.prose li + li { margin-top: .35rem; }
.prose a { overflow-wrap: anywhere; }
.prose .box {
    margin-top: 1.2rem;
    padding: 1.3rem 1.5rem;
    background: var(--green-50);
    border: 1px solid var(--green-100);
    border-radius: var(--radius-sm);
}
.prose .box p:first-child { margin-top: 0; }
.prose .caps { font-size: .93rem; letter-spacing: .01em; }

/* ---------- Effekte ---------- */

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(34px); }
    to { opacity: 1; transform: none; }
}

@keyframes reveal-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes reveal-zoom {
    from { opacity: 0; transform: translateY(18px) scale(.95); }
    to { opacity: 1; transform: none; }
}

/* site.js setzt .reveal auf Elemente unterhalb des Bildschirms und entfernt die Klassen nach dem Einblenden wieder. */
.reveal { opacity: 0; }
.reveal.is-revealing { animation: reveal-up .75s cubic-bezier(.2, .7, .2, 1) both; }
.reveal[data-reveal="zoom"].is-revealing { animation-name: reveal-zoom; }

.hero-copy > * { animation: reveal-up .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .07s; }
.hero-copy > :nth-child(3) { animation-delay: .14s; }
.hero-copy > :nth-child(4) { animation-delay: .21s; }
.hero-copy > :nth-child(5) { animation-delay: .28s; }
.hero-copy > :nth-child(6) { animation-delay: .35s; }
.hero-art { animation: reveal-zoom .9s cubic-bezier(.2, .7, .2, 1) .15s both; }

.to-top {
    position: fixed;
    right: clamp(1rem, 3vw, 2rem);
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: var(--green-600);
    color: var(--white);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.9);
    transition: opacity .25s ease, transform .25s ease, background-color .15s ease, visibility 0s linear .25s;
}
.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}
.to-top.is-visible:hover { background: var(--green-700); transform: translateY(-3px); }
.to-top .icon { width: 1.4rem; height: 1.4rem; stroke-width: 2.4; }

@media print {
    .reveal { opacity: 1; }
    .to-top, .scroll-progress { display: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
    .chip-2 { right: 0; }
    .chip-1 { left: 0; }
}

@media (max-width: 920px) {
    :root { --header-h: 72px; }
    .nav-toggle { display: grid; order: 3; }
    .header-cta { margin-left: auto; order: 2; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: grid;
        gap: .15rem;
        margin: 0;
        padding: .6rem var(--gutter) 1.1rem;
        background: var(--white);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 18px 32px rgba(11, 51, 22, .12);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
    }
    .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .main-nav a {
        padding: .9rem 1rem;
        border-radius: 14px;
        font-family: var(--font-head);
        font-size: 1.08rem;
        font-weight: 600;
    }
    .brand img { height: 46px; }
    .hero-grid, .split, .form-card { grid-template-columns: 1fr; }
    .hero-art { max-width: 440px; }
    .topic-grid { grid-template-columns: 1fr 1fr; }
    .topic:nth-child(3n + 2) .topic-icon { background: var(--green-100); color: var(--green-700); }
    .topic:nth-child(4n + 2) .topic-icon, .topic:nth-child(4n + 3) .topic-icon { background: var(--sun-soft); color: #94610a; }
    .steps, .contact-grid { grid-template-columns: 1fr; }
    .step:not(:last-child)::after { display: none; }
    .inline-cta { flex-direction: column; align-items: flex-start; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .brand img { height: 40px; }
    .header-inner { gap: .5rem; }
    .header-cta { padding: .55rem .9rem; }
    .header-cta .icon { display: none; }
    .eyebrow { font-size: .72rem; letter-spacing: .08em; gap: .5rem; }
    .btn-large { width: 100%; justify-content: flex-start; padding-inline: 1.25rem; }
    .cta-row { flex-direction: column; }
    .trust { flex-direction: column; gap: .7rem; }
    .topic-grid, .footer-grid { grid-template-columns: 1fr; }
    .topic:nth-child(n) .topic-icon { background: var(--green-100); color: var(--green-700); }
    .topic:nth-child(even) .topic-icon { background: var(--sun-soft); color: #94610a; }
    .hero-art { max-width: 340px; margin-top: .5rem; }
    .letter-sheet-back { transform: rotate(-3deg) translate(-3px, 7px); }
    .chip { padding: .5rem .8rem .5rem .5rem; font-size: .85rem; border-radius: 15px; }
    .chip small { font-size: .74rem; }
    .chip-icon { width: 2.1rem; height: 2.1rem; border-radius: 11px; }
    .chip-1 { top: 2%; left: -2%; }
    .chip-2 { top: 46%; right: -3%; }
    .chip-3 { bottom: 2%; left: 0; }
    .inline-cta { padding: 1.4rem 1.3rem; }
    .inline-cta .btn { width: 100%; }
    .contact-form { grid-template-columns: 1fr; }
    .form-actions .btn { width: 100%; justify-content: center; }
    .booking-actions .btn { width: 100%; }
    .booking-frame iframe {
        height: calc(100vh - var(--header-h) - 7rem);
        height: calc(100svh - var(--header-h) - 7rem);
        min-height: 400px;
    }
    .footer-bottom { flex-direction: column; }
}

@media (max-width: 380px) {
    .brand img { height: 36px; }
    .header-cta { padding: .55rem .75rem; font-size: .9rem; }
}

@media (max-width: 350px) {
    .header-cta .icon { display: block; }
    .header-cta span { display: none; }
    .header-cta { padding: .7rem; }
}

/* ---------- Passwortseite (Aufbauphase) ---------- */
.gate-page { background: linear-gradient(160deg, var(--green-50), var(--bg) 55%, var(--sun-soft)); }
.gate { min-height: 100vh; min-height: 100svh; display: grid; align-content: center; justify-items: center; gap: 1.6rem; padding: 2rem var(--gutter); }
.gate-logo { display: block; width: min(210px, 62%); height: auto; margin-bottom: 1.4rem; }
.gate-card { width: 100%; max-width: 27rem; padding: clamp(1.5rem, 5vw, 2.3rem); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-md); }
.gate-card h1 { font-size: clamp(1.35rem, 2vw + 1rem, 1.7rem); line-height: 1.25; }
.gate-card > p { margin-top: .6rem; color: var(--muted); }
.gate-form { display: grid; gap: 1rem; margin-top: 1.5rem; }
.gate-form .btn { width: 100%; }
.gate-error { padding: .7rem .9rem; border: 1px solid #f1c0bb; border-radius: 12px; background: #fdecea; color: #8c1d18; font-size: .95rem; font-weight: 500; }
.gate-contact { max-width: 34rem; text-align: center; font-size: .92rem; line-height: 1.6; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    /* Ohne Bewegung, nur weiches Einblenden. */
    .reveal.is-revealing { animation: reveal-fade .5s ease both !important; }
}
