/* =========================================================
   FreiLust · eventlocation.freilust.com
   Designtokens nach FreiLust-Hausvorgabe:
   Petrol #1A9CA6 (Strandbad) · Pink #EF6A8F (Candyshop)
   Ocker #C98A2D (Biergarten) · Fraunces + DM Sans + DM Mono
   6 px Rundung · Flat Icons, niemals Emoji · Du-Ansprache
   ========================================================= */

@import url("/assets/fonts.css");

:root {
  --petrol:      #1A9CA6;
  --petrol-dark: #0D6771;
  --petrol-soft: #DFF0F1;
  --pink:        #EF6A8F;
  --ocker:       #C98A2D;

  --ground:      #EDF1F0;
  --surface:     #FFFFFF;
  --surface-2:   #F5F8F7;
  --line:        #D3DEDC;
  --line-soft:   #E3EBE9;
  --ink:         #0F1F20;
  --ink-2:       #48605E;
  --ink-3:       #7B918F;

  --sand:        #D8CBB0;
  --sand-soft:   #EDE5D5;
  --water:       #9FCFD4;
  --water-2:     #C9E4E7;

  --ok:          #2E8B57;
  --warn:        #C9762B;

  --shadow: 0 1px 2px rgba(15,31,32,.05), 0 8px 24px -12px rgba(15,31,32,.16);
  --shadow-lg: 0 2px 4px rgba(15,31,32,.06), 0 24px 60px -28px rgba(15,31,32,.3);
  --r: 6px;
  --maxw: 1200px;
  --display: Fraunces, "Iowan Old Style", Georgia, serif;
  --text: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --petrol:      #35BFC9;
    --petrol-dark: #7FDDE4;
    --petrol-soft: #123A3F;
    --pink:        #F58BA8;
    --ocker:       #E0A855;
    --ground:      #0B1719;
    --surface:     #102124;
    --surface-2:   #14282B;
    --line:        #23444A;
    --line-soft:   #1B363A;
    --ink:         #E7F0EE;
    --ink-2:       #A7BFBD;
    --ink-3:       #7B9795;
    --sand:        #8C7D5E;
    --sand-soft:   #2A2921;
    --water:       #1E5860;
    --water-2:     #164449;
    --ok:          #5FBF8B;
    --warn:        #E0913F;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 28px 70px -30px rgba(0,0,0,.85);
  }
}
:root[data-theme="dark"] {
  --petrol:      #35BFC9;
  --petrol-dark: #7FDDE4;
  --petrol-soft: #123A3F;
  --pink:        #F58BA8;
  --ocker:       #E0A855;
  --ground:      #0B1719;
  --surface:     #102124;
  --surface-2:   #14282B;
  --line:        #23444A;
  --line-soft:   #1B363A;
  --ink:         #E7F0EE;
  --ink-2:       #A7BFBD;
  --ink-3:       #7B9795;
  --sand:        #8C7D5E;
  --sand-soft:   #2A2921;
  --water:       #1E5860;
  --water-2:     #164449;
  --ok:          #5FBF8B;
  --warn:        #E0913F;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 30px -14px rgba(0,0,0,.7);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.5), 0 28px 70px -30px rgba(0,0,0,.85);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--text); font-size: 16.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -.012em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.03; }
h2 { font-size: clamp(1.7rem, 3.3vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.14rem; line-height: 1.32; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: .73rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.lede { font-size: 1.1rem; color: var(--ink-2); max-width: 64ch; }
.hint { font-size: .82rem; color: var(--ink-3); }
.muted { color: var(--ink-2); }
section { padding: clamp(52px, 7.5vw, 100px) 0; }
.rule { height: 1px; background: var(--line-soft); border: 0; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Icons ---------- */
.icon { width: 24px; height: 24px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.icon-lg { width: 30px; height: 30px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: 500 .96rem/1 var(--text); padding: 14px 20px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .18s, border-color .18s, color .18s, transform .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--petrol); color: #fff; }
:root[data-theme="dark"] .btn-primary { color: #04191B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-primary { color: #04191B; } }
.btn-primary:hover { background: var(--petrol-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--petrol); color: var(--petrol-dark); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; border-radius: 3px; }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.14rem; text-decoration: none; }
.brand .dot { width: 10px; height: 10px; border-radius: 2px; background: var(--petrol); }
.brand small { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.topnav { display: flex; gap: 20px; align-items: center; font-size: .9rem; }
.topnav a { text-decoration: none; color: var(--ink-2); }
.topnav a:hover { color: var(--petrol-dark); }
@media (max-width: 860px) { .topnav .hide-s { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 76px); }
.hero-water { position: absolute; inset: 0 0 auto 0; height: 360px; z-index: 0;
  background: linear-gradient(180deg, var(--water-2) 0%, color-mix(in srgb, var(--water-2) 45%, var(--ground)) 55%, var(--ground) 100%); }
.hero-water::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 26px, color-mix(in srgb, var(--water) 34%, transparent) 26px 27px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.55), transparent 78%);
  animation: drift 22s linear infinite;
}
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-27px); } }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin: 16px 0 0; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--petrol-dark); }
.hero .lede { margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.rail { display: grid; grid-template-columns: repeat(auto-fit, minmax(164px, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r);
  margin-top: clamp(40px, 5.5vw, 68px); overflow: hidden; }
.rail div { background: var(--surface); padding: 17px 19px; }
.rail dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .13em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 6px; }
.rail dd { margin: 0; font-size: .95rem; font-weight: 500; }

/* ---------- Plan ---------- */
.stage-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 940px) { .stage-grid { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.plan svg { display: block; width: 100%; height: auto; }
.plan-foot { display: flex; flex-wrap: wrap; gap: 15px; padding: 12px 4px 2px;
  font-family: var(--mono); font-size: .69rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-3); }
.swatch { display: inline-flex; align-items: center; gap: 7px; }
.swatch i { width: 11px; height: 11px; border-radius: 2px; display: inline-block; }

.p-water { fill: var(--water-2); }
.p-wave  { stroke: var(--water); stroke-width: 1.4; fill: none; opacity: .75; }
.p-sand  { fill: var(--sand-soft); }
.p-grass { fill: color-mix(in srgb, var(--petrol) 8%, var(--surface-2)); }
.p-deck  { fill: color-mix(in srgb, var(--sand) 42%, var(--surface)); }
.p-build { fill: var(--surface-2); stroke: var(--line); stroke-width: 1.2; }
.p-edge  { fill: none; stroke: var(--line); stroke-width: 1.2; }
.p-label { fill: var(--ink-3); font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.el-seat   { fill: var(--petrol); opacity: .78; }
.el-table  { fill: none; stroke: var(--petrol); stroke-width: 2; }
.el-solid  { fill: var(--petrol); }
.el-amber  { fill: var(--ocker); }
.el-stroke { fill: none; stroke: var(--ocker); stroke-width: 2; }
.el-mat    { fill: var(--petrol); opacity: .5; }
.el-text   { fill: var(--ink-2); font-family: var(--mono); font-size: 12px; letter-spacing: .05em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.chip { font: 500 .89rem/1 var(--text); padding: 11px 15px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); color: var(--ink-2); cursor: pointer; transition: border-color .16s, color .16s, background .16s; }
.chip:hover { border-color: var(--petrol); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: #fff; }
:root[data-theme="dark"] .chip[aria-pressed="true"] { color: #04191B; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip[aria-pressed="true"] { color: #04191B; } }

.stage-note { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 25px; box-shadow: var(--shadow); }
.stage-note h3 { font-size: 1.45rem; font-weight: 400; }
.stage-note p { margin-top: 11px; color: var(--ink-2); }
.stage-note dl { margin: 20px 0 0; display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.stage-note dl > div { background: var(--surface); padding: 12px 14px; display: flex; justify-content: space-between; gap: 14px; }
.stage-note dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.stage-note dd { margin: 0; font-size: .92rem; text-align: right; font-weight: 500; }
.stage-note .btn { margin-top: 20px; width: 100%; justify-content: center; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; margin-top: 36px; }
.card { background: var(--surface); padding: 25px 23px; }
.card .icon { color: var(--petrol); margin-bottom: 13px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: .94rem; }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.col { border: 1px solid var(--line-soft); border-radius: var(--r); padding: 25px 23px; background: var(--surface); }
.col.here { border-color: var(--petrol); }
.col .eyebrow { display: block; margin-bottom: 11px; }
.col ul { list-style: none; margin: 15px 0 0; padding: 0; display: grid; gap: 12px; }
.col li { display: flex; gap: 11px; font-size: .94rem; color: var(--ink-2); }
.col li .icon-sm { flex: none; margin-top: 3px; }
.col.here li .icon-sm { color: var(--petrol); }
.col.there li .icon-sm { color: var(--ink-3); }

.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; margin-top: 30px; }
@media (max-width: 760px) { .roles { grid-template-columns: 1fr; } }
.roles > div { background: var(--surface); padding: 25px 23px; }
.roles p { margin-top: 10px; color: var(--ink-2); font-size: .94rem; }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 25px; margin-top: 38px; }
.step { border-top: 2px solid var(--petrol); padding-top: 17px; }
.step::before { counter-increment: s; content: counter(s, decimal-leading-zero); font-family: var(--mono);
  font-size: .73rem; letter-spacing: .12em; color: var(--petrol-dark); display: block; margin-bottom: 9px; }
.step p { margin-top: 8px; color: var(--ink-2); font-size: .94rem; }

.ref { border: 1px solid var(--line-soft); border-left: 3px solid var(--ocker); border-radius: var(--r);
  background: var(--surface); padding: 25px; display: grid; gap: 10px; margin-top: 34px; }
.ref .eyebrow { color: var(--ocker); }

/* ---------- Funnel ---------- */
.funnel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r);
  box-shadow: var(--shadow-lg); overflow: hidden; margin-top: 36px; }
.funnel-head { padding: 22px clamp(20px, 3vw, 34px) 0; }
.progress { display: flex; gap: 6px; margin-bottom: 16px; }
.progress span { height: 4px; flex: 1; border-radius: 2px; background: var(--line); transition: background .3s; }
.progress span.done { background: var(--petrol); }
.progress span.now { background: var(--petrol); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
.step-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.step-meta .eyebrow { white-space: nowrap; }

.funnel-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
@media (max-width: 980px) { .funnel-body { grid-template-columns: 1fr; } }
.panel { padding: clamp(20px, 3vw, 34px); display: grid; gap: 22px; align-content: start; }
.panel h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 400; font-family: var(--display); }
.stepview { display: none; }
.stepview.active { display: grid; gap: 22px; animation: slidein .36s cubic-bezier(.2,.7,.3,1) both; }
@keyframes slidein { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

/* Anlass-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(146px, 1fr)); gap: 10px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 8px; align-items: flex-start;
  padding: 15px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2);
  cursor: pointer; text-align: left; font: 500 .9rem/1.3 var(--text); color: var(--ink-2);
  transition: border-color .16s, background .16s, color .16s, transform .16s; }
.tile:hover { border-color: var(--petrol); transform: translateY(-2px); }
.tile .icon { color: var(--petrol); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile:has(input:checked) { border-color: var(--petrol); background: var(--petrol-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--petrol); }
.tile small { font-family: var(--mono); font-size: .63rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }

/* Toggles */
.toggles { display: grid; gap: 9px; }
.toggle { display: flex; align-items: center; gap: 13px; padding: 13px 15px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--surface-2); cursor: pointer; transition: border-color .16s, background .16s; }
.toggle:hover { border-color: var(--petrol); }
.toggle:has(input:checked) { border-color: var(--petrol); background: var(--petrol-soft); }
.toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.toggle:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
.tile:has(input:focus-visible) { outline: 2px solid var(--petrol); outline-offset: 2px; }
.switch { width: 40px; height: 22px; border-radius: 11px; background: var(--line); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .22s cubic-bezier(.2,.8,.3,1); }
.toggle:has(input:checked) .switch { background: var(--petrol); }
.toggle:has(input:checked) .switch::after { transform: translateX(18px); }
.toggle .tl { display: grid; gap: 2px; }
.toggle .tl b { font-weight: 500; font-size: .95rem; }
.toggle .tl span { font-size: .82rem; color: var(--ink-3); }

.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 1px solid var(--line);
  border-radius: var(--r); padding: 9px 13px; font-size: .89rem; color: var(--ink-2); background: var(--surface-2);
  transition: border-color .16s, color .16s, background .16s; }
.opt:hover { border-color: var(--petrol); }
.opt input { accent-color: var(--petrol); margin: 0; }
.opt:has(input:checked) { border-color: var(--petrol); color: var(--ink); background: var(--petrol-soft); }

label.lbl { display: block; font-size: .81rem; font-weight: 500; margin-bottom: 6px; color: var(--ink-2); }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.f-full { grid-column: 1 / -1; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; font: 400 .95rem/1.45 var(--text); color: var(--ink); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r); padding: 11px 12px; transition: border-color .16s; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-3); }
input:focus, select:focus, textarea:focus { border-color: var(--petrol); }
textarea { resize: vertical; min-height: 104px; }
input[type="range"] { width: 100%; accent-color: var(--petrol); }

.gaeste-out { font-family: var(--mono); font-size: 2rem; font-variant-numeric: tabular-nums; color: var(--petrol-dark); }
.gaeste-note { font-size: .85rem; color: var(--ink-3); }

/* Sonnen-Widget */
.sun {
  border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ocker) 12%, var(--surface)) 0%, var(--surface) 62%);
}
.sun-head { padding: 15px 17px 0; display: flex; align-items: center; gap: 9px; }
.sun-head .icon { color: var(--ocker); }
.sun-body { padding: 6px 17px 17px; }
.sun-time { font-family: var(--mono); font-size: 2.1rem; font-variant-numeric: tabular-nums; color: var(--ink); letter-spacing: -.02em; }
.sun-arc { display: block; width: 100%; height: 78px; margin-top: 4px; }
.sun-arc path { fill: none; stroke: var(--line); stroke-width: 1.5; stroke-dasharray: 4 5; }
.sun-arc circle { fill: var(--ocker); }
.sun-arc text { fill: var(--ink-3); font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.sun-rows { display: grid; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); }
.sun-rows > div { background: var(--surface); padding: 9px 17px; display: flex; justify-content: space-between; font-size: .86rem; }
.sun-rows dt { color: var(--ink-3); font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; padding-top: 3px; }
.sun-rows dd { margin: 0; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* Seitenspalte */
.aside { background: var(--surface-2); border-left: 1px solid var(--line-soft); padding: clamp(20px, 3vw, 30px); display: grid; gap: 20px; align-content: start; }
@media (max-width: 980px) { .aside { border-left: 0; border-top: 1px solid var(--line-soft); } }
.mini-plan { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 10px; }
.mini-plan svg { display: block; width: 100%; height: auto; }
#sumList { display: grid; gap: 9px; }
#sumList > div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; font-size: .87rem; align-items: baseline; }
#sumList dt { overflow-wrap: anywhere; }
#sumList dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
#sumList dd { margin: 0; color: var(--ink); }

.funnel-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 18px clamp(20px, 3vw, 34px); border-top: 1px solid var(--line-soft); background: var(--surface); }
.status { font-size: .85rem; color: var(--petrol-dark); min-height: 1.2em; }
.status.err { color: var(--warn); }

/* KI-Feld */
.ai-box { border: 1px dashed var(--petrol); border-radius: var(--r); background: var(--petrol-soft); padding: 16px; display: grid; gap: 11px; }
.ai-box .eyebrow { color: var(--petrol-dark); }
.ai-box textarea { background: var(--surface); min-height: 74px; }

/* Consent-Karte */
.mapbox { border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.mapconsent { padding: 32px 24px; text-align: center; display: grid; gap: 12px; justify-items: center;
  background: repeating-linear-gradient(45deg, var(--surface) 0 12px, var(--surface-2) 12px 24px); }
.mapbox iframe { display: block; width: 100%; height: 380px; border: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line-soft); }
details summary { list-style: none; cursor: pointer; padding: 17px 34px 17px 0; position: relative; font-weight: 500; font-size: 1rem; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px;
  border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
details .answer { padding: 0 0 20px; color: var(--ink-2); font-size: .94rem; max-width: 70ch; }

/* KI-Faktenblock */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px;
  background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; margin-top: 30px; }
.facts > div { background: var(--surface); padding: 16px 18px; }
.facts dt { font-family: var(--mono); font-size: .67rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 5px; }
.facts dd { margin: 0; font-size: .93rem; }

footer { padding: 46px 0 60px; border-top: 1px solid var(--line-soft); color: var(--ink-2); font-size: .89rem; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
footer strong { color: var(--ink); font-weight: 500; }
footer a { color: var(--ink-2); }

.fade-in { animation: rise .4s cubic-bezier(.2,.7,.3,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in, .stepview.active, .hero-water::after, .progress span.now { animation: none !important; }
  .tile:hover { transform: none; }
}

/* =========================================================
   Erlebnis-Ebene: Navigation, Bewegung, Rückmeldung
   Alles hier respektiert „Bewegung reduzieren" —
   siehe der Block ganz am Ende.
   ========================================================= */

/* ---------- Fortschrittslinie in der Kopfzeile ---------- */
.scrollbar { height: 2px; background: var(--petrol); width: 0; transition: width .08s linear; }

/* ---------- Punktnavigation ---------- */
.dots {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  z-index: 40; display: grid; gap: 14px; justify-items: end;
}
@media (max-width: 1080px) { .dots { display: none; } }
.dots button {
  display: flex; align-items: center; gap: 10px; background: none; border: 0;
  cursor: pointer; padding: 4px 0; color: var(--ink-3); font: 500 .78rem/1 var(--text);
}
.dots .pt {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 1.5px solid var(--ink-3); background: transparent;
  transition: background .25s, border-color .25s, transform .25s;
}
.dots .lbl {
  opacity: 0; transform: translateX(6px); transition: opacity .22s, transform .22s;
  white-space: nowrap; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--r); padding: 5px 9px; box-shadow: var(--shadow); order: -1;
}
.dots button:hover .lbl, .dots button:focus-visible .lbl { opacity: 1; transform: none; }
.dots button:hover .pt { border-color: var(--petrol); }
.dots button[aria-current="true"] .pt { background: var(--petrol); border-color: var(--petrol); transform: scale(1.5); }
.dots button[aria-current="true"] { color: var(--ink); }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(14px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }

/* ---------- Live-Zeile im Hero ---------- */
.live {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 26px;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid var(--line-soft); border-radius: var(--r); padding: 10px 14px;
}
.live b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.live .puls {
  width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 60%, transparent);
  animation: puls 2.4s ease-out infinite;
}
@keyframes puls {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ok) 55%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

/* ---------- Zahlenstreifen ---------- */
.zahlen {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft);
  border-radius: var(--r); overflow: hidden; margin: 34px 0 0;
}
.zahlen > div { background: var(--surface); padding: 22px 20px; }
.zahlen dd {
  margin: 0 0 6px; font-family: var(--display); font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1; color: var(--petrol-dark); font-variant-numeric: tabular-nums;
}
.zahlen dt { font-size: .84rem; color: var(--ink-2); }

/* ---------- Anlasswechsler mit Abspiel-Knopf ---------- */
.chipzeile { display: flex; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin: 28px 0 20px; }
.chipzeile .chips { margin: 0; flex: 1 1 auto; }
.play { flex: none; white-space: nowrap; }
.play[aria-pressed="true"] { border-color: var(--petrol); color: var(--petrol-dark); }
.chip { position: relative; overflow: hidden; }
.chip .welle {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(0);
  background: color-mix(in srgb, var(--petrol) 30%, transparent); pointer-events: none;
  animation: welle .55s ease-out forwards;
}
@keyframes welle { to { transform: translate(-50%, -50%) scale(3.2); opacity: 0; } }

/* ---------- Klickbare Bereiche im Plan ---------- */
.zone { fill: transparent; cursor: pointer; }
.zone:hover, .zone:focus-visible { fill: color-mix(in srgb, var(--petrol) 14%, transparent); }
.zone-ring { fill: none; stroke: var(--petrol); stroke-width: 2.5; stroke-dasharray: 6 5; opacity: 0; transition: opacity .18s; pointer-events: none; }
.zone-ring.an { opacity: 1; }
.zone-tip { fill: var(--ink); font-family: var(--mono); font-size: 13px; letter-spacing: .06em; pointer-events: none; }
.plan-hinweis { font-size: .82rem; color: var(--ink-3); padding: 2px 4px 0; }

/* ---------- Saison-Ampel ---------- */
.ampel {
  display: flex; align-items: flex-start; gap: 10px; font-size: .87rem;
  border-radius: var(--r); padding: 12px 14px; border: 1px solid;
  animation: rise .4s cubic-bezier(.2,.7,.3,1) both;
}
.ampel::before { content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none; margin-top: 6px; background: currentColor; }
.ampel.hoch  { color: var(--warn);   border-color: color-mix(in srgb, var(--warn) 40%, transparent);   background: color-mix(in srgb, var(--warn) 8%, transparent); }
.ampel.mittel{ color: var(--petrol-dark); border-color: color-mix(in srgb, var(--petrol) 40%, transparent); background: var(--petrol-soft); }
.ampel.frei  { color: var(--ok);     border-color: color-mix(in srgb, var(--ok) 40%, transparent);     background: color-mix(in srgb, var(--ok) 8%, transparent); }
.ampel span { color: var(--ink-2); }
.ampel b { display: block; color: inherit; font-weight: 500; margin-bottom: 2px; }

/* ---------- Hinweisfenster ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 14px);
  z-index: 60; background: var(--ink); color: var(--ground);
  padding: 12px 18px; border-radius: var(--r); font-size: .9rem; box-shadow: var(--shadow-lg);
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: 88vw;
}
.toast.an { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sticky-Leiste auf dem Telefon ---------- */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line-soft);
  font-size: .88rem; transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.stickybar.an { transform: none; }
.stickybar .btn { padding: 11px 16px; }
@media (min-width: 781px) { .stickybar { display: none; } }
@media (max-width: 780px) { body { padding-bottom: 0; } }

/* ---------- Erfolgsanimation ---------- */
.haken { width: 78px; height: 78px; }
.haken circle, .haken path { fill: none; stroke: var(--petrol); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.haken circle { stroke-dasharray: 251; stroke-dashoffset: 251; animation: zeichne .7s cubic-bezier(.4,0,.2,1) forwards; }
.haken path   { stroke-dasharray: 60;  stroke-dashoffset: 60;  animation: zeichne .4s cubic-bezier(.4,0,.2,1) .55s forwards; }
@keyframes zeichne { to { stroke-dashoffset: 0; } }

/* ---------- Kacheln: Häkchen beim Wählen ---------- */
.tile .haekchen {
  position: absolute; top: 10px; right: 10px; width: 16px; height: 16px;
  opacity: 0; transform: scale(.5); transition: opacity .18s, transform .18s;
  color: var(--petrol);
}
.tile:has(input:checked) .haekchen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .live .puls, .chip .welle, .haken circle, .haken path, .ampel { animation: none; }
  .haken circle, .haken path { stroke-dashoffset: 0; }
  .scrollbar { transition: none; }
  .stickybar { transition: none; }
}
