/* Wunsch-Kennzeichen. Design-Basis: larpcard.app (Coffee, Sand, Creme, Tangerine, System-Schrift, Glas-Navigation, Feder-Bewegung). */
@font-face {
  font-family: "KD Plate";
  src: url("../fonts/BarlowSemiCondensed-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #693822;
  --card: #734530;
  --card-2: #7d4c36;
  --text: #f6ede4;
  --text2: #f6ede4;
  --muted: #dcc9bc;
  --sand: #c48b67;
  --sky: #e9cfba;
  --line: #805541;
  --deep: #562e1c;
  --tang: #fe4d03;
  --tang-h: #ff6a2e;
  --ink: #2a1308;
  --ok: #8fe3a1;
  --err: #ffb4a8;
  --nav-bg: #693822db;
  --r: 18px;
  --r-xl: 28px;
  --shadow-1: 0 1px 2px #00000059, 0 4px 14px #00000040;
  --shadow-2: 0 2px 6px #00000073, 0 18px 44px #00000073;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --spring: linear(0, .26 4%, .65 9%, .94 14%, 1.06 19%, 1.07 22%, 1.03 29%, .99 36%, 1 50%, 1);
  --maxw: 980px;
  --maxw-wide: 1200px;
  --nav-h: 64px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --plate-font: "KD Plate", "DIN Alternate", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 100%/1.5 var(--font);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.4vw, 5.2rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 5vw, 3.25rem); letter-spacing: -.03em; line-height: 1.06; }
h3 { font-size: 1.375rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .2em; text-decoration-thickness: .07em; }
a:hover { text-decoration-color: currentColor; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--tang); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tang); outline-offset: 3px; border-radius: 6px; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; z-index: 100; font-weight: 600; transition: top .2s var(--ease); }
.skip:focus { top: 8px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--maxw-wide); margin: 0 auto; padding: 0 22px; }
.section { padding: clamp(56px, 9vw, 120px) 0; }
.section-head { max-width: 40rem; margin-bottom: clamp(28px, 5vw, 56px); }
.section-head p { margin-top: 14px; color: var(--text2); font-size: 1.125rem; line-height: 1.45; }
.center { text-align: center; }
.center .section-head, .center.section-head { margin-inline: auto; }
.lead { font-size: clamp(1.1rem, 2.4vw, 1.375rem); line-height: 1.4; color: var(--text2); max-width: 36rem; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.accent { color: var(--tang-h); }

/* Navigation: Glas, wie larpcard */
.nav {
  position: sticky; top: 0; z-index: 30;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 .5px 0 #ffffff1f;
}
.nav-in { display: flex; align-items: center; gap: 20px; height: var(--nav-h); max-width: var(--maxw-wide); margin: 0 auto; padding: 0 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; text-decoration: none; font-size: 1.0625rem; white-space: nowrap; }
.brand-logo { display: block; width: clamp(210px, 62vw, 262px); height: auto; }
.foot-logo { display: block; width: min(300px, 100%); height: auto; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: .875rem; }
.nav-links a { color: var(--text2); text-decoration: none; padding: 14px 2px; transition: color .18s ease; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: var(--text); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; color: var(--text); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.nav-panel { display: none; }
@media (max-width: 760px) {
  .nav .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-panel { position: absolute; top: calc(var(--nav-h) - 4px); right: 12px; left: 12px; background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: 10px; display: block; transform-origin: top right; transition: opacity .22s var(--ease), transform .22s var(--ease); }
  .nav-panel[hidden] { opacity: 0; transform: scale(.97) translateY(-6px); pointer-events: none; display: block; visibility: hidden; }
  .nav-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-size: 1.0625rem; font-weight: 500; }
  .nav-panel a:active { background: var(--deep); }
  .nav-panel .btn { margin-top: 6px; width: 100%; }
}

/* Knöpfe */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border: 0; border-radius: 980px;
  background: var(--tang); color: var(--ink);
  font: 600 1.0625rem/1 var(--font); letter-spacing: -.01em; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, transform .5s var(--spring), opacity .2s ease;
}
.btn:active { transition-duration: 80ms; transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--tang-h); } }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: .875rem; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--sand); }
@media (hover: hover) and (pointer: fine) { .btn-ghost:hover { background: #ffffff14; } }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--sky); min-height: 44px; }
.link-arrow:hover { color: var(--text); }

/* Karten und Flächen */
.panel { background: var(--card); border-radius: var(--r-xl); box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; }
.pad { padding: clamp(22px, 4vw, 40px); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(28px, 5vw, 56px); text-align: center; }
.hero h1 { max-width: 18ch; margin-inline: auto; font-size: clamp(1.7rem, 8.4vw, 5.2rem); } /* "Wunschkennzeichen" muss auch bei 320 px in eine Zeile */
.hero .lead { margin: 20px auto 0; max-width: 34rem; }
.hero-note { margin-top: 22px; color: var(--muted); font-size: .875rem; max-width: 34rem; margin-inline: auto; }
.hero-tool { margin-top: clamp(30px, 5vw, 52px); }

/* Kennzeichen-Schild */
.plate-stage { perspective: 1100px; padding: 6px 0; }
.plate {
  container-type: inline-size;
  position: relative; display: flex; align-items: stretch;
  width: min(100%, 680px); margin: 0 auto; aspect-ratio: 520 / 110;
  background: #f3f1ea; color: #111;
  border-radius: 2.4cqw; border: 0;
  box-shadow: 0 0 0 .6cqw #111 inset, 0 12px 34px #00000066, 0 2px 4px #00000066;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: box-shadow .4s var(--ease), filter .4s var(--ease);
  text-align: left;
}
.plate.is-small { width: min(100%, 300px); }
.plate-eu {
  flex: none; width: 10.4cqw; margin: 1.2cqw 0 1.2cqw 1.2cqw;
  background: #0b3a99; color: #fff; border-radius: 1.4cqw 0 0 1.4cqw;
  display: grid; grid-template-rows: 1fr auto; justify-items: center; align-items: center; padding: 1.6cqw 0 1.4cqw;
}
.plate-eu .stars { width: 5.4cqw; height: 5.4cqw; background:
  radial-gradient(circle, #ffd400 0 .42cqw, transparent .5cqw) 50% 0 / 100% 100% no-repeat; position: relative; }
.plate-eu .stars i { position: absolute; width: .85cqw; height: .85cqw; background: #ffd400; border-radius: 50%; left: 50%; top: 50%; margin: -.42cqw; transform: rotate(calc(var(--k) * 30deg)) translateY(-2.5cqw); }
.plate-eu b { font: 600 4.4cqw/1 var(--plate-font); letter-spacing: .02em; }
.plate-body { flex: 1; display: flex; align-items: center; justify-content: center; gap: 1.4cqw; padding: 0 3cqw 0 2cqw; min-width: 0; }
.p-in {
  appearance: none; border: 0; outline: 0; background: transparent; color: #111; text-transform: uppercase;
  font: 600 calc(14.2cqw * var(--ps, 1))/1 var(--plate-font); letter-spacing: .02em; padding: 0; margin: 0; text-align: center; caret-color: var(--tang); min-width: 0;
  border-radius: 1cqw;
}
.p-in::placeholder { color: #11111122; }
.p-in:focus { background: #1111110d; box-shadow: 0 0 0 .5cqw var(--tang); }
.p-ort { width: 3.1ch; } .p-let { width: 2.1ch; } .p-num { width: 4.15ch; }
.plate-seal { flex: none; width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d9d9d4, #a5a59f); box-shadow: inset 0 0 0 .3cqw #8e8e88; margin: 0 .4cqw; }
.plate-static .plate-body { gap: 1.8cqw; }
.plate-static .t { font: 600 14.2cqw/1 var(--plate-font); letter-spacing: .02em; }
.plate-watch { filter: saturate(.85) brightness(.96); }
.plate-watch::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 #fe4d0300; animation: watch 2.4s var(--ease) infinite; pointer-events: none; }
@keyframes watch { 0% { box-shadow: 0 0 0 0 #fe4d0388; } 70%, 100% { box-shadow: 0 0 0 2.2cqw #fe4d0300; } }

.tool-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 26px; }
.tool-actions .btn { min-width: min(100%, 280px); }
.tool-hint { color: var(--muted); font-size: .875rem; min-height: 1.4em; }
.tool-hint.err { color: var(--err); }

/* Ergebnis */
.result { margin: 30px auto 0; max-width: 680px; text-align: left; }
.result[hidden] { display: none; }
.res-card { padding: clamp(20px, 4vw, 32px); animation: res-in .5s var(--ease) both; }
@keyframes res-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
.res-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 99px; font-size: .875rem; font-weight: 700; background: var(--deep); color: var(--text); }
.badge.ok { background: #1f4a2c; color: var(--ok); }
.badge.wait { background: #4a2210; color: #ffc9a8; }
.badge.demo { background: #00000040; color: var(--sky); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.res-title { font-size: 1.5rem; letter-spacing: -.02em; font-weight: 700; line-height: 1.15; }
.res-text { margin-top: 8px; color: var(--text2); }
.contact-preview { margin: 18px 0; padding: 16px 18px; background: var(--deep); border-radius: var(--r); display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.contact-preview div { display: flex; justify-content: space-between; gap: 12px; }
.contact-preview dt { color: var(--muted); }
.contact-preview dd { margin: 0; letter-spacing: .14em; color: var(--text2); }
.facts { display: grid; gap: 10px; margin: 16px 0 22px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; color: var(--text2); }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #1f4a2c; color: var(--ok); display: grid; place-items: center; margin-top: 1px; }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 16px; }
.price-line b { font-size: 2.25rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-line span { color: var(--muted); }
.fine { font-size: .875rem; color: var(--muted); margin-top: 14px; line-height: 1.45; }

/* Alarm-Auswahl */
.opt-group { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; border: 0; padding: 0; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span.box { display: block; padding: 16px; border-radius: var(--r); background: var(--deep); box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .18s ease, background-color .18s ease; min-height: 88px; }
.opt input:checked + .box { box-shadow: inset 0 0 0 2px var(--tang); background: #5f2f1a; }
.opt input:focus-visible + .box { outline: 3px solid var(--tang); outline-offset: 3px; }
.opt .t { display: block; font-weight: 700; font-size: 1.0625rem; }
.opt .p { display: block; margin-top: 4px; color: var(--text2); font-variant-numeric: tabular-nums; }
.opt .n { display: block; margin-top: 2px; color: var(--muted); font-size: .875rem; }
@media (max-width: 420px) { .opt-group { grid-template-columns: 1fr; } }

/* Zeitstrahl */
.timeline { display: grid; gap: 0; margin: 20px 0 6px; counter-reset: tl; }
.timeline li { position: relative; padding: 0 0 18px 34px; color: var(--text2); }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: -2px; width: 2px; background: repeating-linear-gradient(180deg, var(--sand) 0 6px, transparent 6px 12px); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--tang); box-shadow: 0 0 0 4px var(--card); }
.timeline li b { color: var(--text); }

/* Schritte */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 36px); counter-reset: s; }
.step { position: relative; }
.step-badge { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(145deg, var(--sky), var(--sand)); box-shadow: 0 10px 24px #00000059; margin-bottom: 20px; position: relative; }
.step-n { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--text); color: var(--bg); box-shadow: 0 0 0 3px var(--bg); display: grid; place-items: center; font-size: .875rem; font-weight: 700; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text2); }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; gap: 32px; } .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; } .step-badge { margin: 0; grid-row: span 2; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { grid-column: span 2; position: relative; isolation: isolate; overflow: hidden; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; padding: clamp(22px, 3vw, 32px); min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: transform .6s var(--spring), box-shadow .4s var(--ease); }
.tile.w3 { grid-column: span 3; }
.tile.w4 { grid-column: span 4; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-2), inset 0 0 0 .5px #ffffff1a; } }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--text2); }
.tile .vis { min-height: 96px; display: grid; align-content: center; }
@media (max-width: 860px) { .tile, .tile.w3, .tile.w4 { grid-column: span 6; min-height: 0; } }
.tile .plate { width: 100%; max-width: 280px; }
.vis-days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; }
.vis-days i { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--sand); opacity: .35; }
.vis-days i.on { opacity: 1; background: var(--ok); }
.vis-days i.next { opacity: 1; background: var(--tang); box-shadow: 0 0 0 3px #fe4d0344; }
.vis-receipt { background: var(--deep); border-radius: var(--r); padding: 14px 16px; font-variant-numeric: tabular-nums; display: grid; gap: 6px; }
.vis-receipt div { display: flex; justify-content: space-between; color: var(--text2); }
.vis-receipt div.big { color: var(--ok); font-weight: 700; }
.vis-price { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; background: var(--deep); font-weight: 600; font-variant-numeric: tabular-nums; }
.chip.on { background: var(--tang); color: var(--ink); }

/* Preise */
.price-list { display: grid; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; }
.price-row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 18px; align-items: center; padding: 22px clamp(20px, 3vw, 32px); }
.price-row + .price-row { box-shadow: inset 0 .5px 0 #ffffff1f; }
.price-row h3 { font-size: 1.125rem; }
.price-row p { color: var(--text2); font-size: .875rem; margin-top: 4px; }
.price-row .amt { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
@media (max-width: 640px) { .price-row { grid-template-columns: 1fr auto; } .price-row .what { grid-column: 1 / -1; order: 3; } }

/* Zwei-Spalten-Abschnitt */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.check-list { display: grid; gap: 14px; margin-top: 24px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.0625rem; color: var(--text2); }
.check-list b { color: var(--text); }
.map-card { border-radius: var(--r-xl); overflow: hidden; background: #fbf6df; box-shadow: var(--shadow-2); aspect-ratio: 4 / 5; position: relative; }
.map-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; }
.map-cap { margin-top: 12px; color: var(--muted); font-size: .875rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; overflow: hidden; }
.faq-item + .faq-item { box-shadow: inset 0 .5px 0 #ffffff1f; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; background: none; border: 0; color: var(--text); font: 600 1.125rem/1.35 var(--font); letter-spacing: -.01em; padding: 20px clamp(20px, 3vw, 32px); min-height: 64px; cursor: pointer; }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 2px; margin-top: -1px; background: var(--sand); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-q .pm::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .pm::after { transform: rotate(0deg); }
.faq-a { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .32s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 clamp(20px, 3vw, 32px) 22px; color: var(--text2); max-width: 40rem; }
.js .faq-a { grid-template-rows: 0fr; }
.js .faq-item.open .faq-a { grid-template-rows: 1fr; }

/* Schlussaufruf und Fuß */
.cta-band { text-align: center; padding: clamp(64px, 10vw, 128px) 0; }
.cta-band .btn { margin-top: 28px; min-width: 240px; }
.foot { background: var(--sand); color: var(--ink); margin-top: 24px; }
.foot a { color: var(--ink); }
.foot-in { max-width: var(--maxw-wide); margin: 0 auto; padding: 44px 22px 36px; display: grid; gap: 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 8px 24px; flex-wrap: wrap; font-weight: 600; }
.foot-links a { min-height: 44px; display: inline-flex; align-items: center; }
.foot-note { max-width: 38rem; font-size: .875rem; line-height: 1.5; }
.foot-note b { font-weight: 700; }
.credit { font-size: .875rem; }

/* Formulare */
.form-grid { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label, .field .lab { font-weight: 600; font-size: .875rem; }
.field .hint { color: var(--muted); font-size: .875rem; line-height: 1.4; }
.input, .textarea, .file {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: 14px; border: 0;
  background: var(--deep); color: var(--text); font: 400 1.0625rem/1.3 var(--font);
  box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .18s ease;
}
.textarea { padding: 14px 16px; min-height: 120px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #ccb7aa99; }
.input:focus, .textarea:focus { outline: 0; box-shadow: inset 0 0 0 2px var(--tang); }
.input[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err); }
.err-msg { color: var(--err); font-size: .875rem; min-height: 1.2em; }
.ts-box:empty { display: none; }
.ts-box { margin: 12px 0; }
.file { padding: 12px 14px; display: block; cursor: pointer; }
.drop { border: 2px dashed var(--sand); border-radius: 16px; padding: 12px; text-align: center; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.drop .file { width: 100%; }
.drop-text { display: block; margin: 0 0 10px; font-weight: 600; }
.drop.is-over { border-color: var(--tang); background: #fe4d0314; }
.drop.has-file { border-style: solid; }
@media (hover: none) { .drop-text { display: none; } }
.file::file-selector-button { background: var(--sand); color: var(--ink); border: 0; border-radius: 99px; min-height: 36px; padding: 0 16px; margin-right: 14px; font: 600 .875rem var(--font); cursor: pointer; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: .875rem; line-height: 1.45; color: var(--text2); }
.check input { flex: none; width: 24px; height: 24px; margin-top: 1px; accent-color: var(--tang); }
.form-sec { padding: clamp(22px, 4vw, 36px); display: grid; gap: 22px; }
.form-sec > h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.sec-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--text); color: var(--bg); font-size: .875rem; font-weight: 700; margin-right: 12px; vertical-align: 2px; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .cols-2 { grid-template-columns: 1fr; } }

/* Dialog */
dialog { border: 0; border-radius: var(--r-xl); background: var(--card); color: var(--text); padding: clamp(24px, 5vw, 36px); max-width: min(92vw, 460px); box-shadow: var(--shadow-2); }
dialog::backdrop { background: #1d0d0699; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog h3 { margin-bottom: 10px; }
dialog p { color: var(--text2); margin-bottom: 22px; }

/* Rechtstexte */
.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 18px; }
.legal h2 { font-size: 1.375rem; margin: 34px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: var(--text2); margin-bottom: 12px; }
.legal ul { padding-left: 20px; list-style: disc; }
.draft { background: #4a2210; color: #ffc9a8; border-radius: var(--r); padding: 14px 18px; margin: 0 0 28px; font-weight: 600; }

/* Bewegung: Eingänge. Inhalt bleibt ohne Skript sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .js [data-rise] { opacity: 0; transform: translateY(18px); animation: rise .85s var(--ease) forwards; animation-delay: calc(var(--i, 0) * 90ms + 100ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .js .hero .plate-stage { animation: plate-in 1s var(--spring) .25s both; }
  @keyframes plate-in { from { opacity: 0; transform: translateY(34px) scale(.94) rotateX(14deg); } to { opacity: 1; transform: none; } }
}
/* Sicherheitsnetz: läuft die Animation nicht (Hintergrund-Tab, langsames Gerät), ist alles sichtbar. */
.show-all [data-rise], .show-all .plate-stage, .show-all-hero [data-rise], .show-all-hero .plate-stage { animation: none !important; opacity: 1 !important; transform: none !important; }
.show-all [data-reveal] { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate-watch::before { animation: none; }
  .res-card { animation: none; }
  .tile, .btn { transition: background-color .2s ease; }
}
@media (prefers-reduced-transparency: reduce) { .nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); } dialog::backdrop { backdrop-filter: none; } }
@media (prefers-contrast: more) { :root { --text2: #f6ede4; --muted: #ead9cd; --line: #c48b67; } }

/* Lesbare Nebentexte: mindestens 16px */
.tool-hint, .fine, .map-cap, .foot-note, .credit, .field .hint, .check, .small, .hero-note, .err-msg, .res-text, .price-row p, .field label, .timeline li, .facts li { font-size: 1rem; }
.badge, .opt .n, .nav-links, .btn-sm { font-size: .875rem; }

/* Karte: scroll-gekoppelte Bewegung, nur wo unterstützt */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .map-card img { animation: map-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes map-drift { from { transform: scale(1.06) translateY(-2.5%); } to { transform: scale(1.06) translateY(2.5%); } }
  }
}
.tile .vis-days.on-view i.on { animation: dot-in .5s var(--ease) both; animation-delay: calc(var(--d, 0) * 25ms); }
@keyframes dot-in { from { opacity: 0; transform: scale(.4); } }

/* Rechtstexte: Platzhalter-Markierung, Tabelle */
.ph { background: #ffd89a; color: #2a1308; padding: 1px 6px; border-radius: 6px; font-size: .95em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 1rem; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(246,237,228,.18); color: var(--text2); }
.legal-table th { color: var(--text); font-weight: 700; }
@media (max-width: 640px) { .legal-table, .legal-table thead, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; } .legal-table thead { display: none; } .legal-table tr { margin-bottom: 14px; border-bottom: 1px solid rgba(246,237,228,.18); } .legal-table td { border: 0; padding: 4px 0; } }
[hidden] { display: none !important; }

/* Bestell-Dialog */
#checkout-dialog form { display: grid; gap: 14px; }
.co-plate { font-weight: 700; letter-spacing: .04em; }
.co-sum { margin: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid currentColor; display: grid; gap: 8px; }
.co-sum div { display: grid; grid-template-columns: 5em 1fr; gap: 8px; }
.co-sum div[hidden] { display: none; }
.co-sum dt { color: var(--text2); }
.co-sum dd { margin: 0; }
#checkout-dialog p { margin-bottom: 0; }
.test-note { background: #4a2210; color: #ffc9a8; border-radius: 10px; padding: 8px 12px; font-size: 1rem; }
select.input { appearance: auto; }

/* ---------- Startseite neu: Kacheln, Schilder-Schaufenster, Karussell ---------- */
.eyebrow { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); font-weight: 600; margin-bottom: 8px; }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: clamp(26px, 4vw, 40px) auto 0; max-width: 46rem; text-align: left; }
.choice-card { display: flex; align-items: center; gap: 16px; padding: 20px 22px; min-height: 92px; border-radius: var(--r-xl); background: var(--card); color: var(--text); text-decoration: none;
  box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; transition: transform .5s var(--spring), background-color .2s ease, box-shadow .3s ease; }
.choice-card:hover { transform: translateY(-3px); background: #7d4a34; }
.choice-card:active { transform: scale(.98); transition-duration: 80ms; }
.choice-card.is-primary { background: var(--tang); color: #2a1308; }
.choice-card.is-primary:hover { background: var(--tang-h); }
.choice-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: #ffffff14; }
.is-primary .choice-ico { background: #2a130822; }
.choice-t { flex: 1; display: grid; gap: 2px; }
.choice-t b { font-size: 1.125rem; }
.choice-t span { font-size: .95rem; opacity: .82; }
.choice-card > svg { flex: none; opacity: .7; transition: transform .4s var(--spring); }
.choice-card:hover > svg { transform: translateX(4px); }

.show { padding-bottom: clamp(40px, 6vw, 80px); overflow: hidden; }
.swipe-hint { margin-top: 10px; font-size: .875rem !important; color: var(--muted) !important; letter-spacing: .04em; }
.show-rows { display: grid; gap: clamp(2px, 1vw, 12px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee { overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: 0; }
.marquee::-webkit-scrollbar { display: none; }
.marquee:focus-visible { box-shadow: inset 0 0 0 2px var(--tang); border-radius: var(--r); }
.marquee-track { display: flex; gap: clamp(18px, 3vw, 36px); width: max-content; padding: 22px clamp(16px, 3vw, 36px) 48px 0; }
.marquee.is-live { overflow: hidden; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.marquee.is-live.is-grabbed { cursor: grabbing; }
.marquee.is-live .marquee-track { padding-right: 0; will-change: transform; }
.marquee.is-live .marquee-track > :last-child { margin-right: 0; }
.show-item { flex: none; width: clamp(258px, 30vw, 390px); perspective: 700px; }
.show-item .plate { width: 100%; }

/* Schild wie aus Blech: reflektierendes Weiß, geprägter Rand und Zeichen, Kunststoffhalter. Keine Wappen oder Siegel. */
/* cqw wirkt nur in Kindern des Schilds: Außenkanten daher in px und %, der geprägte Rand auf ::after. */
.plate { background: linear-gradient(180deg, #fdfdfb 0%, #f2f2ec 48%, #e4e5df 100%); border-radius: 2.2% / 10.4%;
  box-shadow: 0 0 0 1.5px #101012, 0 0 0 3px #4a4a51, 0 3px 5px 2px #00000066, 0 16px 30px #00000066; }
.plate::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: repeating-linear-gradient(115deg, #ffffff00 0 .55cqw, #ffffff2e .55cqw .72cqw);
  box-shadow: inset 0 0 0 .8cqw #0c0c0d, inset 0 .35cqw .3cqw .8cqw #00000030, inset 0 -.2cqw .2cqw .8cqw #ffffff; }
.plate-eu { border-radius: .9cqw 0 0 .9cqw; }
.plate-show::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  background: radial-gradient(60% 180% at var(--lx, 28%) -10%, #ffffffa6, #ffffff2e 42%, transparent 68%); mix-blend-mode: overlay; }
.plate-eu { background: linear-gradient(180deg, #1546a8, #0b3a99 45%, #08307f); box-shadow: inset 0 .25cqw 0 #ffffff33, inset -.2cqw 0 0 #00000040; }
.plate-eu .stars { background: none; }
.plate-eu .stars i { width: 1.3cqw; height: 1.3cqw; margin: -.65cqw; border-radius: 0; background: #ffd617;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  transform: rotate(calc(var(--k) * 30deg)) translateY(-2.55cqw) rotate(calc(var(--k) * -30deg)); }
.plate-eu b { text-shadow: 0 .18cqw .2cqw #00000066; }
.plate-static .t, .p-in { color: #0d0e10; -webkit-text-stroke: .16cqw #0d0e10; }
.plate-static .t { text-shadow: -.17cqw -.19cqw 0 #ffffff, .24cqw .3cqw .1cqw #00000059, .12cqw .15cqw 0 #3a3b3f; transform: scaleY(1.06); }
.p-in:not(:placeholder-shown) { text-shadow: -.17cqw -.19cqw 0 #ffffff, .24cqw .3cqw .1cqw #00000059; }
.p-in::placeholder { -webkit-text-stroke: 0; }
/* zwei runde Plaketten übereinander, bewusst ohne Zeichen */
.plate-seal { width: 5.8cqw; height: 12.4cqw; border-radius: 0; background: none; box-shadow: none; display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.plate-seal::before, .plate-seal::after { content: ""; width: 5.6cqw; height: 5.6cqw; border-radius: 50%; box-shadow: inset 0 0 0 .22cqw #0000002e, 0 .2cqw .3cqw #0000004d, inset 0 .3cqw .5cqw #ffffff80; }
.plate-seal::before { background: conic-gradient(from 20deg, #9fb7c9, #c9d8e3, #8aa3b6, #bccdda, #9fb7c9); }
.plate-seal::after { background: radial-gradient(circle at 38% 30%, #f1f1ee, #b9bab4 55%, #8f908a); }
.show-item { flex: none; width: clamp(250px, 30vw, 390px); perspective: 700px; }
.show-item .plate { width: 100%; }

.plate-show { position: relative; overflow: hidden; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .7s var(--spring), box-shadow .35s var(--ease); }
.plate-show:hover { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) scale(1.035); box-shadow: 0 0 0 1.5px #101012, 0 0 0 3px #4a4a51, 0 6px 8px 2px #00000059, 0 22px 40px #00000073; }
.carousel { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.car-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--card); color: var(--text); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; transition: transform .4s var(--spring), background-color .2s ease; }
.car-btn:hover { background: #7d4a34; }
.car-btn:active { transform: scale(.92); }
.car-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 14px 4px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.car-track::-webkit-scrollbar { display: none; }
.fcard { flex: none; width: min(78vw, 330px); scroll-snap-align: center; display: grid; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--card); box-shadow: var(--shadow-1), inset 0 0 0 .5px #ffffff1a; }
.fcard-plate .plate { width: 100%; }
.fcard .price-line { display: flex; align-items: baseline; gap: 10px; }
.fcard .price-line b { font-size: 1.5rem; }
.fcard .price-line span { color: var(--muted); font-size: .9rem; }
.fcard .badge-ex { justify-self: start; font-size: .75rem; padding: 3px 10px; border-radius: 99px; background: #ffffff1a; color: var(--sand); }

.region-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin-top: 16px; text-align: left; }

@media (max-width: 640px) {
  .choice { grid-template-columns: 1fr; }
  .car-btn { display: none; }
  .carousel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { scroll-snap-type: none; }
  .show-item[aria-hidden="true"] { display: none; }
  .plate-show, .plate-show:hover { transform: none; transition: none; }
  .car-track { scroll-behavior: auto; }
}

/* Ratgeber */
.crumbs { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--sky); }
.guide-meta { color: var(--muted); font-size: .9375rem; margin-bottom: 18px; }
.answer { background: var(--card); border-left: 4px solid var(--tang); border-radius: var(--r); padding: 16px 18px; margin: 0 0 24px; color: var(--text); font-size: 1.0625rem; line-height: 1.5; }
.guide-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 6px; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 26px; }
.guide-card a { display: block; background: var(--card); border-radius: var(--r); padding: 18px 20px; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), background .25s var(--ease); }
.guide-card a:hover { background: var(--card-2); transform: translateY(-2px); }
.guide-card b { display: block; font-size: 1.125rem; margin-bottom: 6px; color: var(--text); }
.guide-card span { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .guide-card a { transition: none; } .guide-card a:hover { transform: none; } }
.legal .guide-list { list-style: none; padding: 0; }
.legal .guide-list li { margin: 0; }
.guide-card a, .guide-card a:hover { text-decoration: none; }
.soon { margin: 0; padding: 8px 16px; text-align: center; background: #4a2210; color: #ffc9a8; font-size: .95rem; font-weight: 600; }
