/* Leons Garten – Markenstil (Waldgrün · Blattgrün · Gold · Creme) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/outfit-latin.woff2") format("woff2"); }

:root {
  --forest: #122318;      /* Waldgrün – G-Ring, Schriftzug */
  --leaf: #436E2A;        /* Blattgrün – Buchstabe L */
  --gold: #C8A82F;        /* Gold – Linien am Slogan */
  --gold-dark: #a88c1f;
  --leaf-deep: #35571f;
  --mint: #e6efdb;
  --cream: #F6F2E9;       /* weiche Creme-Fläche */
  --cream-line: #E4DCC6;
  --card: #FBF8F1;
  --white: #fff;
  --muted: #4d5b50;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(18, 35, 24, .08);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--forest); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: .2em; }
a:hover { color: var(--forest); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
h1, h2, h3 { text-wrap: balance; }
p, li, .lead { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--forest); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; z-index: 10000; }
.skip-link:focus { left: 8px; }
.eyebrow { display: block; font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--leaf); margin-bottom: .75rem; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font: 600 1rem/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--leaf); color: var(--white); }
.btn-primary:hover { background: var(--forest); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: var(--gold-dark); color: var(--forest); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(246, 242, 233, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cream-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--forest); }
.logo-mark { position: relative; width: 52px; flex: none; animation: drift 7s ease-in-out infinite; }
.logo-mark img { width: 100%; }
.logo-text { font-size: 1.45rem; letter-spacing: -.01em; font-weight: 300; }
.logo-text b { font-weight: 800; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(1px, -3px) rotate(-1.5deg); }
  66% { transform: translate(-1px, -1px) rotate(1.2deg); }
}
.sparkle { position: absolute; width: 11px; height: 11px; background: var(--gold); opacity: 0; pointer-events: none; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sparkle:nth-child(2) { top: -4px; right: -3px; }
.sparkle:nth-child(3) { top: 40%; left: -7px; width: 8px; height: 8px; }
.sparkle:nth-child(4) { bottom: -3px; right: 14%; width: 9px; height: 9px; }
.logo:hover .sparkle, .logo:focus-visible .sparkle { animation: twinkle 1.1s cubic-bezier(.22, .8, .3, 1) both; }
.logo:hover .sparkle:nth-child(3), .logo:focus-visible .sparkle:nth-child(3) { animation-delay: .15s; }
.logo:hover .sparkle:nth-child(4), .logo:focus-visible .sparkle:nth-child(4) { animation-delay: .3s; }
@keyframes twinkle {
  0% { opacity: 0; transform: scale(.2) rotate(0deg); }
  40% { opacity: 1; transform: scale(1.15) rotate(45deg); }
  100% { opacity: 0; transform: scale(.4) rotate(90deg); }
}

.site-nav { display: flex; align-items: center; gap: .25rem; padding: .5rem .5rem .5rem 1.4rem; background: var(--leaf); border-radius: 999px; box-shadow: 0 10px 26px rgba(18, 35, 24, .16); }
.site-nav a:not(.btn) { color: var(--cream); text-decoration: none; font-weight: 500; padding: .55rem 1rem; border-radius: 999px; transition: background .25s cubic-bezier(.4, 0, .2, 1); }
.site-nav .btn { margin-left: .5rem; padding: .75rem 1.35rem; }
.site-nav a:not(.btn):hover { background: rgba(246, 242, 233, .14); }
.site-nav a[aria-current="page"]:not(.btn) { background: rgba(246, 242, 233, .22); box-shadow: inset 0 -2px 0 var(--gold); }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 24px; height: 2px; background: var(--forest); position: relative; margin: auto; transition: transform .25s, background .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: calc(100% + 8px); left: 1.25rem; right: 1.25rem; flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.4rem 1.25rem; border-radius: 28px; display: none; }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn), .site-nav a[aria-current="page"]:not(.btn) { padding: .9rem 0; border-radius: 0; background: none; box-shadow: none; border-bottom: 1px solid rgba(246, 242, 233, .16); }
  .site-nav .btn { margin: 1rem 0 0; justify-content: center; }
}
@media (max-width: 420px) { .logo-text { font-size: 1.2rem; } .logo-mark { width: 44px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest .eyebrow { color: var(--gold); }
.section--forest a { color: var(--gold); }
.section--forest a.btn-gold, .section--forest a.btn-gold:hover { color: var(--forest); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head p:last-child { margin-bottom: 0; }

.page-hero { background: var(--cream); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--cream-line); }
.page-hero h1 { margin-bottom: .3em; }
.page-hero .lead { margin-bottom: 0; }
.page-hero::after { content: ""; display: block; width: 72px; height: 3px; background: var(--gold); margin-top: 1.6rem; }
.page-hero .wrap { position: relative; }

.hero { background: var(--cream); padding: clamp(2.5rem, 6vw, 5rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 span { color: var(--leaf); }
.hero-media { position: relative; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 60%; border-radius: 26px; box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; border: 2px solid var(--gold); border-radius: 26px; z-index: -1; }
.hero-tag { position: absolute; left: -1rem; bottom: 1.5rem; background: var(--forest); color: var(--cream); padding: .8rem 1.2rem; border-radius: 14px; font-weight: 500; box-shadow: var(--shadow); }
.hero-tag b { color: var(--gold); display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-media { max-width: 420px; } .hero-tag { left: .75rem; } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: var(--card); border: 1px solid var(--cream-line); border-radius: var(--radius); padding: 1.8rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.section--cream .card { background: var(--white); }
.card:hover, .card:focus-within { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(18, 35, 24, .12); border-color: var(--leaf); }
.card { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: .8rem; }
.card .num { display: block; font-size: 2rem; font-weight: 300; color: var(--leaf); line-height: 1; margin: 0; transition: color .25s ease; }
.card:hover .num, .card:focus-within .num { color: var(--gold-dark); }
.card h3 { margin: 0; font-size: 1.3rem; font-weight: 700; }
.card p { grid-column: 1 / -1; margin: .8rem 0 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 0 1.8rem; border-left: 2px solid var(--gold); }
.step:first-child { padding-left: 1.8rem; }
.step .num { font-size: 2.4rem; font-weight: 300; color: var(--leaf); line-height: 1; display: block; margin-bottom: .5rem; }
.step h3 { margin: 0; font-size: 1.1rem; }
.step p { margin: .4rem 0 0; color: var(--muted); }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } }

.checklist { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.checklist li { padding: .55rem 0 .55rem 1.6rem; position: relative; break-inside: avoid; border-bottom: 1px solid var(--cream-line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: .65rem; height: .65rem; border-radius: 50%; background: var(--leaf); }
@media (max-width: 600px) { .checklist { columns: 1; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split img { border-radius: 24px; box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split img { max-width: 440px; } }

/* ---------- Vorher / Nachher ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.2rem; }
.ba { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.ba img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba--wide img { aspect-ratio: 16 / 10; }
.badge { position: absolute; left: .9rem; bottom: .9rem; padding: .35rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.badge--vorher { background: var(--cream); color: var(--forest); }
.badge--nachher { background: var(--forest); color: var(--cream); box-shadow: inset 0 0 0 1px var(--gold); }
.badge--einsatz { background: var(--gold); color: var(--forest); }
.project { margin-bottom: 4rem; }
.project:last-child { margin-bottom: 0; }
.project h2 { margin-bottom: .3em; }
.project > p { max-width: 44rem; color: var(--muted); margin-bottom: 1.6rem; }
.project-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; align-items: start; }
.project-split--pair { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.project-split--pair .ba img { aspect-ratio: 4 / 3; }
@media (max-width: 520px) { .project-split--pair { grid-template-columns: 1fr; } }

/* ---------- Gutschein / CTA ---------- */
.cta-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } }
.cta-grid h2 { color: var(--cream); }
.cta-grid p { color: rgba(246, 242, 233, .85); }
.voucher { position: relative; display: flex; align-items: center; gap: 1.6rem; padding: 1.8rem 2rem; background: var(--forest); color: var(--cream); border-radius: 12px; outline: 2px dashed var(--gold); outline-offset: -10px; box-shadow: 0 0 0 1px rgba(200, 168, 47, .5), 0 14px 34px rgba(0, 0, 0, .35); }
.section--forest .voucher { background: #1a3323; }
a.voucher { text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.section--forest a.voucher { color: var(--cream); }
a.voucher:hover, a.voucher:focus-visible { transform: translateY(-3px) rotate(-.4deg); box-shadow: 0 0 0 1px var(--gold), 0 18px 40px rgba(0, 0, 0, .45); }
.voucher-go { display: block; margin-top: .55rem; font-size: .9rem; font-weight: 500; color: var(--gold); }
a.voucher:hover .voucher-go { text-decoration: underline; text-underline-offset: .25em; }
.voucher-pct { font-size: clamp(3.2rem, 8vw, 4.6rem); font-weight: 700; line-height: 1; padding-right: 1.6rem; border-right: 1px solid rgba(200, 168, 47, .5); }
.voucher-text { display: flex; flex-direction: column; gap: .3rem; font-size: 1.25rem; line-height: 1.25; font-weight: 600; }
.voucher-text .eyebrow { color: var(--gold); margin: 0; letter-spacing: .3em; }
.voucher-side { margin-left: auto; writing-mode: vertical-rl; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 480px) { .voucher { padding: 1.4rem 1.2rem; gap: 1rem; } .voucher-pct { padding-right: 1rem; } .voucher-side { display: none; } }

.promo-strip { background: var(--gold); color: var(--forest); text-align: center; padding: .55rem 1rem; font-weight: 600; font-size: .95rem; }
.promo-strip a { color: var(--forest); }

/* ---------- Gebiet ---------- */
.tags { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.tags li { background: var(--white); border: 1px solid var(--cream-line); padding: .45rem 1rem; border-radius: 999px; font-weight: 500; }
.tags li:first-child { background: var(--leaf); color: var(--white); border-color: var(--leaf); }

/* ---------- FAQ ---------- */
.faq { max-width: 52rem; }
.faq details { background: var(--card); border: 1px solid var(--cream-line); border-radius: var(--radius); margin-bottom: .9rem; }
.faq summary { cursor: pointer; list-style: none; padding: 1.25rem 3.4rem 1.25rem 1.5rem; font-weight: 600; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--gold-dark); transition: transform .2s; }
.faq details[open] { border-color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 1.5rem 1.3rem; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-list li { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--cream-line); align-items: flex-start; }
.contact-list .icon { margin-top: .25rem; color: var(--leaf); width: 1.3rem; height: 1.3rem; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.contact-list a { font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.form { background: var(--card); border: 1px solid var(--cream-line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--forest); background: var(--white); border: 1.5px solid var(--cream-line); border-radius: 12px; padding: .75rem 1rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(67, 110, 42, .2); }
.field textarea { min-height: 150px; resize: vertical; }
.form small { display: block; margin-top: .8rem; color: var(--muted); }
.form .hp { position: absolute; left: -9999px; }
.notice { border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 1.4rem; font-weight: 500; }
.notice--success { background: #e6f1df; color: #1d3d11; border: 1px solid var(--leaf); }
.notice[hidden] { display: none; }

/* ---------- Rechtstexte ---------- */
.legal > * { max-width: 50rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 .6rem; }
.legal h3 { font-size: 1.1rem; margin: 1.4rem 0 .4rem; }
.legal ul { padding-left: 1.2rem; }
.legal p, .legal li { text-wrap: wrap; overflow-wrap: break-word; hyphens: none; }
.todo { background: #fff0a6; color: #5a4a00; padding: 0 .35em; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(246, 242, 233, .85); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 920px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: .85rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-logo img { width: 190px; margin-bottom: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
.footer-bottom { margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(246, 242, 233, .18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .92rem; }

/* ---------- Intro-Preloader (nur index.html, einmal pro Sitzung) ---------- */
.preloader { display: none; position: fixed; inset: 0; z-index: 9999; align-items: center; justify-content: center; background: var(--cream); transition: opacity 1.1s cubic-bezier(.4, 0, .2, 1); }
html.splash { overflow: hidden; }
html.splash .preloader { display: flex; animation: pl-failsafe 0s 6s forwards; }
.preloader.is-hidden { opacity: 0; pointer-events: none; }
.preloader.is-hidden .pl-inner { transform: translateY(-12px) scale(.96); opacity: 0; }
@keyframes pl-failsafe { to { visibility: hidden; pointer-events: none; } }
.pl-inner { transition: transform 1.1s cubic-bezier(.4, 0, .2, 1), opacity .9s cubic-bezier(.4, 0, .2, 1); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1rem; }
.pl-mark { position: relative; width: clamp(150px, 30vw, 210px); aspect-ratio: 189 / 188; }
.pl-mark img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pl-ring { opacity: 0; transform: scale(.82) rotate(-35deg); animation: pl-ring .75s cubic-bezier(.22, .8, .3, 1) .05s forwards; }
.pl-l { opacity: 0; transform: translateX(-46px); animation: pl-l .7s cubic-bezier(.22, .8, .3, 1) .45s forwards; }
.pl-name { margin: 1.2rem 0 0; font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 300; line-height: 1.1; opacity: 0; transform: translateY(14px); animation: pl-up .6s cubic-bezier(.22, .8, .3, 1) .85s forwards; }
.pl-name b { font-weight: 800; }
.pl-line { display: block; width: min(260px, 60vw); height: 1px; background: var(--gold); margin: .9rem 0 .7rem; transform: scaleX(0); animation: pl-line .6s cubic-bezier(.65, 0, .35, 1) 1.05s forwards; }
.pl-slogan { margin: 0; font-size: 1.05rem; letter-spacing: .04em; opacity: 0; transform: translateY(10px); animation: pl-up .6s cubic-bezier(.22, .8, .3, 1) 1.25s forwards; }
@keyframes pl-ring { to { opacity: 1; transform: none; } }
@keyframes pl-l { to { opacity: 1; transform: none; } }
@keyframes pl-up { to { opacity: 1; transform: none; } }
@keyframes pl-line { to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-mark { animation: none; }
  .btn, .card, a.voucher { transition: none; }
  .card:hover, .card:focus-within, a.voucher:hover { transform: none; }
  .logo:hover .sparkle { animation: none; }
}

/* ---------- Treppenstufen: Vorher-Stapel ---------- */
.project-split--portrait .ba img { aspect-ratio: 3 / 4; }
.project-split--portrait > .ba { margin: 16px 16px 0 0; }
.image-stack { position: relative; padding: 16px 16px 0 0; cursor: pointer; }
.image-stack { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.image-stack .ba { transition: transform .5s cubic-bezier(.2, .8, .2, 1); will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translate3d(0, 0, 0); }
.image-stack .ba img { backface-visibility: hidden; -webkit-backface-visibility: hidden; transform: translateZ(0); }
.image-stack .ba:first-child { position: relative; z-index: 2; }
.image-stack .ba:nth-child(2) { position: absolute; top: 16px; left: 0; right: 16px; z-index: 1; transform: translate3d(14px, -14px, 0) rotate(3deg); }
.image-stack .badge { z-index: 5; }
.image-stack:not(.is-swapped):hover .ba:first-child, .image-stack:not(.is-swapped):focus-visible .ba:first-child { transform: translate3d(-8px, 6px, 0) rotate(-3deg); }
.image-stack:not(.is-swapped):hover .ba:nth-child(2), .image-stack:not(.is-swapped):focus-visible .ba:nth-child(2) { transform: translate3d(22px, -18px, 0) rotate(5deg); }
.image-stack.is-swapped .ba:first-child { z-index: 1; transform: translate3d(14px, -14px, 0) rotate(3deg); }
.image-stack.is-swapped .ba:nth-child(2) { z-index: 3; transform: translate3d(0, 0, 0); }

/* ---------- Kontaktformular: Status ---------- */
.form-status { margin: .9rem 0 0; min-height: 1.6em; font-weight: 500; color: #1d3d11; opacity: 0; transition: opacity .8s cubic-bezier(.4, 0, .2, 1); }
.form-status.is-visible { opacity: 1; }
.form-status.is-error { color: #8a1f11; }

@media (prefers-reduced-motion: reduce) {
  .image-stack .ba, .form-status { transition: none; }
}

/* ---------- Mobil: kompakter ---------- */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 1rem; line-height: 1.55; }
  h1 { font-size: clamp(1.85rem, 8vw, 2.25rem); }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.1rem; }
  .lead { font-size: 1.05rem; }
  .eyebrow { font-size: .72rem; margin-bottom: .5rem; }
  .section { padding: 2.5rem 0; }
  .section-head { margin-bottom: 1.5rem; }
  .page-hero { padding: 2rem 0 1.5rem; }
  .page-hero::after { margin-top: 1rem; }
  .hero { padding: 1.75rem 0 2.25rem; }
  .hero-grid { gap: 1.75rem; }
  .hero-media { max-width: 340px; }
  .grid { gap: .9rem; }
  .card { padding: 1.2rem; }
  .card .num { font-size: 1.5rem; }
  .card p { margin-top: .6rem; }
  .btn { padding: .75rem 1.2rem; font-size: .95rem; }
  .btn-row { margin-top: 1.2rem; gap: .6rem; }
  .logo-mark { width: 44px; }
  .logo-text { font-size: 1.25rem; }
  .split, .contact-grid, .cta-grid { gap: 1.5rem; }
  .steps { gap: 1rem; }
  .step { padding: 0 1.2rem; }
  .step .num { font-size: 1.9rem; }
  .project { margin-bottom: 2.25rem; }
  .ba-grid, .project-split { gap: .9rem; }
  .voucher { padding: 1.2rem; gap: 1rem; }
  .faq summary { padding: 1rem 3rem 1rem 1.1rem; font-size: 1rem; }
  .faq .answer { padding: 0 1.1rem 1.1rem; }
  .form { padding: 1.2rem; }
  .field { margin-bottom: .9rem; }
  .contact-list li { padding: .7rem 0; }
  .site-footer { padding-top: 2.5rem; }
  .footer-grid { gap: 1.5rem; }
  .footer-logo img { width: 150px; }
  .footer-bottom { margin-top: 1.75rem; padding: 1.1rem 0; font-size: .85rem; }
}

.hero-media { margin: 0; }

.btn-row { position: relative; isolation: isolate; }
.btn-row::before { content: ""; position: absolute; z-index: -1; left: -1.4rem; top: 50%; width: clamp(6.5rem, 14vw, 9rem); aspect-ratio: 1; background: url("../img/blumenbluete-hintergrund.svg") center / contain no-repeat; opacity: .24; pointer-events: none; transform: translateY(-50%); animation: bloom 48s linear infinite; }
@keyframes bloom { to { transform: translateY(-50%) rotate(360deg); } }

.deco { position: relative; overflow-x: hidden; overflow-x: clip; overflow-y: visible; }
.deco > .wrap { position: relative; z-index: 1; }
.deco-werkzeug { display: none; }
@media (min-width: 1360px) {
  .deco-werkzeug { --w: clamp(240px, 20vw, 400px); display: block; position: absolute; z-index: 0; top: 50%; width: auto; height: auto; max-width: var(--w); max-height: 85%; pointer-events: none; filter: drop-shadow(0 14px 18px rgba(18, 35, 24, .3)); }
  .deco-werkzeug--links { left: min(-3vw, calc((100% - 1160px) / 2 + 60px - var(--w))); transform: translateY(-50%) rotate(-6deg); }
  .deco-werkzeug--rechts { right: min(-3vw, calc((100% - 1160px) / 2 + 60px - var(--w))); transform: translateY(-50%) rotate(6deg); }
}

.faq-section { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 50% at 0% 0%, var(--mint), rgba(230, 239, 219, 0) 70%); }
.faq-section > .wrap { position: relative; z-index: 1; }
.faq-section::after { content: ""; position: absolute; z-index: 0; left: -90px; bottom: 6%; width: 300px; aspect-ratio: 1; background: url("../img/blumenbluete-hintergrund.svg") center / contain no-repeat; opacity: .12; pointer-events: none; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 52rem) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.faq-seite { display: flex; flex-direction: column; gap: 1.5rem; }
.faq-hilfe { background: var(--cream); border: 1px solid var(--cream-line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.faq-hilfe h2 { font-size: 1.3rem; margin-bottom: .5rem; }
.faq-hilfe p { color: var(--muted); }
.faq-hilfe-links { display: flex; flex-direction: column; gap: .6rem; }
.faq-hilfe-links .btn { justify-content: center; }
.faq-rose { width: min(100%, 300px); aspect-ratio: 2 / 3; margin-inline: auto; background: url("../img/rosenstrauch-hintergrund.svg") center bottom / contain no-repeat; opacity: .55; pointer-events: none; }
@media (max-width: 1100px) { .faq-layout { grid-template-columns: 1fr; } .faq-rose { display: none; } }
@media (max-width: 768px) { .faq-section::after { width: 200px; } }

.section--green { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--mint) 0%, #d4e4c4 100%); }
.section--green::before { content: ""; position: absolute; inset: 0; background: url("../img/blaetter-muster.svg") 0 0 / 180px; pointer-events: none; }
.section--green::after { content: ""; position: absolute; right: -90px; bottom: -90px; width: 340px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(67, 110, 42, .28), rgba(67, 110, 42, 0) 70%); pointer-events: none; }
.section--green > .wrap { position: relative; z-index: 1; }

.contact-panel { position: relative; overflow: hidden; background: var(--leaf); color: var(--cream); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.contact-panel::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; aspect-ratio: 1; background: url("../img/blumenbluete-hintergrund.svg") center / contain no-repeat; opacity: .22; pointer-events: none; }
.contact-panel > * { position: relative; z-index: 1; }
.contact-panel h2 { color: var(--cream); }
.contact-panel address { font-style: normal; }
.contact-panel .contact-list li { border-bottom-color: rgba(246, 242, 233, .22); }
.contact-panel .contact-list .icon { color: var(--gold); }
.contact-panel .contact-list small { color: rgba(246, 242, 233, .72); }
.contact-panel a { color: var(--cream); }
.contact-panel a:hover { color: var(--gold); }
.qr { display: flex; align-items: center; gap: 1.1rem; margin: 0; padding: 1rem; background: var(--cream); color: var(--forest); border-radius: 14px; }
.qr img { width: 112px; height: 112px; flex: none; border-radius: 8px; background: var(--white); object-fit: contain; }
.qr figcaption { font-weight: 500; line-height: 1.4; }
.qr figcaption small { display: block; margin-top: .25rem; color: var(--muted); font-weight: 400; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.gallery li { min-width: 0; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.22, .8, .3, 1); }
.gallery figure:hover img { transform: scale(1.04); }

.region-map { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 860px) { .region-map { grid-template-columns: 1fr; } }
.map-frame { border-radius: 20px; overflow: hidden; background: #f5f2ea; border: 1px solid var(--cream-line); box-shadow: var(--shadow); }
.map-frame svg { display: block; width: 100%; height: auto; }
.map-bg { fill: #f5f2ea; }
.map-area { fill: #d3e8c5; }
.map-region { fill: #d3e8c5; transition: fill .7s cubic-bezier(.4, 0, .2, 1); }
.map-region.is-active { fill: #a6cf8b; }
.map-river { fill: none; stroke: #9cc6e6; stroke-width: 3; stroke-linecap: round; }
.map-road-edge { fill: none; stroke: #d9d6cc; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.map-road { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }
.map-badge { fill: #8b8d88; }
.map-badge-text { font: 700 11px var(--font); fill: #fff; }
.map-scale { fill: none; stroke: #6d716c; stroke-width: 1.5; }
.map-scale-text { font: 500 12px var(--font); fill: #5d625d; }
.map-pin { cursor: pointer; }
.pin-hit { fill: transparent; }
.pin-dot { fill: #8b8d88; stroke: #f5f2ea; stroke-width: 2; transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.22, .8, .3, 1), fill .3s; }
.map-pin:hover .pin-dot { transform: scale(1.35); }
.map-pin.is-active .pin-dot { fill: var(--leaf); transform: scale(1.9); }
.pin-pulse { fill: var(--leaf); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-pin.is-active .pin-pulse { animation: pin-pulse 2.4s cubic-bezier(.22, .8, .3, 1) infinite; }
@keyframes pin-pulse { 0% { opacity: .4; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.6); } }
.pin-label { font: 500 15px var(--font); fill: #3b403b; paint-order: stroke; stroke: #f5f2ea; stroke-width: 4px; stroke-linejoin: round; transition: fill .3s; }
.pin-label--strong { font-weight: 700; fill: var(--forest); }
.pin-label--hub { font-size: 19px; }
.pin-label--soft { fill: #6f9a5a; }
.map-pin.is-active .pin-label { fill: var(--leaf); font-weight: 700; }
.hub-pin { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.22, .8, .3, 1); }
.hub-body { fill: var(--forest); stroke: transparent; stroke-width: 3; transition: stroke .3s; }
.hub-ring { fill: #f6f2e9; }
.map-pin--hub:hover .hub-pin, .map-pin--hub.is-active .hub-pin { transform: scale(1.1); }
.map-pin--hub.is-active .hub-body { stroke: var(--gold); }
.map-buttons { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 0 0 1.4rem; padding: 0; }
.map-btn { font: 500 .98rem/1 var(--font); color: var(--forest); background: var(--white); border: 1.5px solid var(--cream-line); border-radius: 999px; padding: .6rem 1.05rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .2s; }
.map-btn:hover { border-color: var(--leaf); transform: translateY(-1px); }
.map-btn[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: var(--white); }
.map-info { background: var(--white); border: 1px solid var(--cream-line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.3rem 1.5rem; }
.map-info h3 { margin-bottom: .4em; }
.map-info p { color: var(--muted); }
.map-info .btn { margin-top: .2rem; }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("../img/blaetter-muster-hell.svg") 0 0 / 180px; pointer-events: none; }
.site-footer > .wrap { position: relative; z-index: 1; }
.footer-voucher { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid rgba(246, 242, 233, .18); }
@media (max-width: 860px) { .footer-voucher { grid-template-columns: 1fr; } }
.site-footer .eyebrow { color: var(--gold); }
.site-footer .footer-voucher h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); letter-spacing: -.01em; text-transform: none; color: var(--cream); font-weight: 700; margin-bottom: .6rem; }
.footer-voucher p { margin: 0; max-width: 36rem; color: rgba(246, 242, 233, .85); }
.site-footer a.btn { text-decoration: none; }
.site-footer a.btn-gold, .site-footer a.btn-gold:hover { color: var(--forest); text-decoration: none; }
.site-footer a.btn-outline--hell { border-color: var(--cream); color: var(--cream); }
.site-footer a.btn-outline--hell:hover { background: var(--cream); color: var(--forest); text-decoration: none; }
.site-footer .voucher { background: #1a3323; color: var(--cream); }
.site-footer a.voucher:hover, .site-footer a.voucher:focus-visible { color: var(--cream); text-decoration: none; }
.voucher-stars { position: absolute; inset: 0; pointer-events: none; }
.voucher-stars i { position: absolute; width: 14px; height: 14px; background: var(--gold); opacity: .15; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: star-flicker 3.2s cubic-bezier(.4, 0, .2, 1) infinite; }
.voucher-stars i:nth-child(1) { top: -7px; left: 12%; }
.voucher-stars i:nth-child(2) { top: 14%; right: -6px; width: 11px; height: 11px; animation-duration: 2.6s; animation-delay: -.8s; }
.voucher-stars i:nth-child(3) { bottom: -7px; right: 24%; width: 16px; height: 16px; animation-duration: 3.8s; animation-delay: -1.6s; }
.voucher-stars i:nth-child(4) { bottom: 18%; left: -6px; width: 10px; height: 10px; animation-duration: 2.9s; animation-delay: -2.1s; }
.voucher-stars i:nth-child(5) { top: 30%; left: 38%; width: 9px; height: 9px; animation-duration: 2.3s; animation-delay: -1.1s; }
.voucher-stars i:nth-child(6) { top: -5px; right: 30%; width: 9px; height: 9px; animation-duration: 3.4s; animation-delay: -.3s; }
.voucher-stars i:nth-child(7) { bottom: -5px; left: 30%; width: 12px; height: 12px; animation-duration: 3s; animation-delay: -2.5s; }
@keyframes star-flicker {
  0%, 100% { opacity: .12; transform: scale(.55) rotate(0deg); }
  10% { opacity: 1; transform: scale(1.15) rotate(18deg); }
  16% { opacity: .3; transform: scale(.8) rotate(24deg); }
  24% { opacity: .95; transform: scale(1) rotate(34deg); }
  38% { opacity: .2; transform: scale(.65) rotate(45deg); }
  60% { opacity: .15; transform: scale(.55) rotate(60deg); }
  68% { opacity: .9; transform: scale(1.1) rotate(75deg); }
  76% { opacity: .35; transform: scale(.75) rotate(82deg); }
}
.footer-towns { columns: 2; column-gap: 1.2rem; }
.footer-towns li { break-inside: avoid; }
.site-footer address { font-style: normal; }

@media (prefers-reduced-motion: reduce) {
  .btn-row::before { animation: none; }
  .voucher-stars i { animation: none; opacity: .7; transform: none; }
  .pin-dot, .map-region, .map-btn, .gallery img { transition: none; }
  .map-pin.is-active .pin-pulse { animation: none; }
  .preloader, .pl-inner { transition-duration: .01s; }
}

@keyframes site-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
html.entering .site-header, html.entering main, html.entering .site-footer { animation: site-in 1.1s cubic-bezier(.22, .8, .3, 1) both; }
@media (prefers-reduced-motion: reduce) { html.entering .site-header, html.entering main, html.entering .site-footer { animation: none; } }
