/* Black Forest Event's - "Die Seite ist das Objekt" (Briefpapier, Anfrageschein, Aufstellplan)
   Palette: Navy, Cognac, Weiss. Schrift: STIX Two Text (Google Fonts). */

:root {
  /* Navy, Cognac (zwei Toene: hell auf Navy, dunkel auf Weiss) und Weiss. Werte und Kontraste: 00_Projektinfo/designentscheidungen.md */
  --bg: #0e1b33;
  --deep: #091324;
  --surface: #172946;
  --surface-2: #1f3559;
  --green-3: #2b4468;
  --ink: #f5f7fb;
  --muted: #b3bdd0;
  --accent: #c9a27a;
  --accent-ink: #0e1b33;
  --accent-dark: #8a5a36;
  --paper: #f3f4f7;
  --paper-ink: #0e1b33;
  --paper-soft: #36445f;
  --paper-2: #e3e7ee;
  --paper-3: #cbd3e0;
  --white: #ffffff;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --step-lead: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --step-head: clamp(1.75rem, 1.2rem + 2.2vw, 3rem);
  --step-display: clamp(2.5rem, 11vw, 3.75rem);

  --m: 16px;
  --gap: 16px;
  --sec: 80px;
  --u: 20px;
  --focus: var(--ink);
  --font: "STIX Two Text", "Times New Roman", Times, serif;
}

@media (min-width: 900px) {
  :root { --m: 32px; --gap: 24px; --sec: 120px; --u: 28px; --step-display: clamp(3.5rem, 5.4vw, 5.25rem); }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--step-body)/1.45 var(--font);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-weight: 400; letter-spacing: -0.012em; line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-head); }
h2 { font-size: var(--step-head); }
h3 { font-size: var(--step-lead); line-height: 1.2; }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }
.small { font-size: var(--step-small); }
.lead { font-size: var(--step-lead); line-height: 1.35; }
.soft { color: var(--muted); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; background: var(--ink); color: var(--bg); padding: 12px 18px; z-index: 50; }
.skip:focus { top: 8px; }

.paper { --focus: var(--paper-ink); background: var(--paper); color: var(--paper-ink); }
.paper .soft, .paper .small.soft { color: var(--paper-soft); }

/* ---------- Grid ---------- */
.wrap { padding-inline: var(--m); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 32px; }
@media (min-width: 900px) { .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: 48px; } }
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: calc(var(--sec) * 0.6); }
.bg-surface { background: var(--surface); }
.bg-surface-2 { background: var(--surface-2); }
.bg-green-3 { background: var(--green-3); }

/* ---------- Buttons: flach, abgeschraegte obere Ecken (Reiter-Form) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 56px; padding: 0 28px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1.1 var(--font); text-decoration: none;
  
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn:hover { background: var(--white); transform: translateY(-2px); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: -7px; }
.btn--ink { background: var(--accent-dark); color: var(--white); }
.btn--ink:hover { background: var(--surface-2); }
.btn--ink:focus-visible { outline-color: var(--paper); }
.btn--block { display: flex; width: 100%; min-height: 56px; }
.btn--quiet { background: var(--surface-2); color: var(--ink); }
.btn--quiet:hover { background: var(--green-3); }
.btn--quiet:focus-visible { outline-color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ---------- Kopfzeile ---------- */
.bar { position: relative; z-index: 20; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 12px var(--m); min-height: 72px; }
.mark { font-size: var(--step-lead); font-style: italic; font-weight: 500; letter-spacing: -0.02em; text-decoration: none; line-height: 1.1; }
.bar nav { display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap; }
.bar nav a:not(.btn) { text-decoration: none; padding: 8px 0; }
.bar nav a:not(.btn):hover, .bar nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
.bar .btn { min-height: 48px; padding-inline: 22px; }
.menu-btn { display: none; min-height: 48px; padding: 0 20px; background: var(--surface-2); color: var(--ink); border: 0; font: 500 var(--step-body)/1 var(--font); cursor: pointer; }
.js .menu-btn { display: inline-flex; align-items: center; }
@media (max-width: 899px) {
  .js .bar nav { display: none; flex-direction: column; align-items: stretch; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); padding: 12px var(--m) 24px; gap: 4px; }
  .js .bar nav.is-open { display: flex; }
  .js .bar nav a:not(.btn) { padding: 14px 0; }
  .js .bar nav .btn { margin-top: 12px; }
}
@media (min-width: 900px) { .js .menu-btn { display: none; } }

/* ---------- Feste Anfrage-Leiste (mobil) ---------- */
.mobilebar { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; padding: 8px var(--m); background: var(--surface); }
.mobilebar .btn { width: 100%; }
body.has-bar { padding-bottom: 76px; }
@media (min-width: 900px) { .mobilebar { display: none; } body.has-bar { padding-bottom: 0; } }

/* ---------- Gemeinsame Bildplatzhalter ---------- */
.ph { position: relative; background: var(--surface-2); overflow: hidden; --a: var(--white); --b: #b4c0d6; --c: var(--bg); }
.ph svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph--tone-1 { background: var(--green-3); --c: var(--surface); }
.ph--tone-2 { background: var(--deep); --a: #e9eef7; --b: #6f86ad; --c: var(--accent); }
.ph--tone-3 { background: #2b4468; --c: var(--surface); }
.ph--tone-4 { background: var(--surface); --a: var(--white); --b: #8ea2c4; --c: var(--accent); }
.photo { display: flex; flex-direction: column; }
.photo .ph { aspect-ratio: 4 / 5; }
.photo--wide .ph { aspect-ratio: 16 / 10; }
.tag { display: block; padding: 14px 16px; background: var(--paper); color: var(--paper-ink); font-size: var(--step-small); line-height: 1.35; overflow-wrap: anywhere; }

/* Etiketten-Streifen unter Fotos (Foto + Anhaenger) */
.tile { display: flex; flex-direction: column; }
.tile .ph { aspect-ratio: 4 / 5; }
.strip { padding: 12px; background: var(--sbg, var(--paper)); color: var(--sfg, var(--paper-ink)); font-size: var(--step-body); line-height: 1.35; font-variant-numeric: tabular-nums; display: grid; gap: 4px; min-height: 92px; }
.strip .r { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; }
.strip .r span { overflow-wrap: normal; }
.strip .fn { opacity: 0.9; overflow-wrap: anywhere; }
.tile:nth-child(4n+1) { --sbg: var(--paper); --sfg: var(--paper-ink); }
.tile:nth-child(4n+2) { --sbg: var(--white); --sfg: var(--paper-ink); }
.tile:nth-child(4n+3) { --sbg: var(--green-3); --sfg: var(--white); }
.tile:nth-child(4n+4) { --sbg: var(--deep); --sfg: var(--ink); }
@media (max-width: 899px) {
  .tile:nth-child(4n+3) { --sbg: var(--deep); --sfg: var(--ink); }
  .tile:nth-child(4n+4) { --sbg: var(--green-3); --sfg: var(--white); }
  .tile:nth-child(4n+2) { --sbg: var(--paper); --sfg: var(--paper-ink); }
  .tile:nth-child(4n+1) { --sbg: var(--white); --sfg: var(--paper-ink); }
  .tile:nth-child(odd) .ph.ph--tone-1 { background: #2b4468; }
}
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; row-gap: 16px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; row-gap: 28px; } .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .tile .fn { display: none; } }
@media (min-width: 900px) { .strip .fn { font-size: var(--step-small); } }

/* ---------- Papier-Formen: Zackenrand per mask (Fuellformen, keine Linien) ---------- */
.scallop-b, .scallop-t, .scallop-tb { }
.sheet { padding: 28px 24px; }
@media (min-width: 900px) { .sheet { padding: 60px; } }
.dots { border: 0; border-top: 5px dotted var(--paper-3); margin: 32px 0 0; height: 0; }
.tear { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 0 8px; }
.tear a:not(.btn) { font-size: var(--step-lead); font-weight: 500; overflow-wrap: anywhere; }
@media (max-width: 899px) { .tear { flex-direction: column; align-items: stretch; } .tear .btn { width: 100%; } }

/* ---------- Hero: Reiter-Ordner ueber Bildwechsel ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: auto auto 1fr auto; background: var(--bg); overflow: hidden; isolation: isolate; }
.slides { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; --a: #1f3a6a; --b: #1a3158; --c: #2b4468; background: var(--bg); }
.slide.is-on { opacity: 1; }
.slide svg { position: absolute; width: 78%; height: auto; right: -4%; bottom: 36%; }
.slide--2 { background: var(--deep); --a: #173060; --b: #122850; --c: #2b4468; }
.slide--3 { background: #122850; --a: #2b4468; --b: #1f3a6a; --c: #2b4468; }
.slide--3 svg { right: auto; left: -6%; width: 64%; }
.slide--4 { background: #0f2347; --a: #1f3a6a; --b: #1a3158; --c: #2b4468; }
.slide .sun { display: none; position: absolute; right: 3%; top: 20%; width: clamp(80px, 12vw, 180px); aspect-ratio: 1; background: #2b4468; }
.slide--2 .sun { background: #2b4468; right: auto; left: 3%; }
@media (min-width: 900px) { .slide .sun { display: block; } }
.hero-copy { padding: 24px var(--m) 0; text-align: center; }
.hero-copy h1 { font-size: var(--step-display); letter-spacing: -0.015em; line-height: 1; margin: 0 auto; max-width: 14ch; }
@media (min-width: 900px) { .hero-copy h1 { max-width: none; } .hero-copy { padding-top: 40px; } }
.hero-copy p { margin: 24px auto 0; font-size: var(--step-lead); line-height: 1.35; max-width: 46ch; }
.hero-ctl { align-self: end; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 16px; padding: 24px var(--m); font-size: var(--step-small); }
.hero-ctl .cap { background: var(--paper); color: var(--paper-ink); padding: 8px 12px; overflow-wrap: anywhere; }
.pbtn { min-height: 44px; padding: 0 16px; border: 0; background: var(--surface-2); color: var(--ink); font: 500 var(--step-small)/1 var(--font); cursor: pointer; transition: background-color 0.2s; }
.pbtn:hover { background: var(--green-3); }
.dotbtns { display: flex; gap: 6px; }
.dotbtns button { width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; position: relative; }
.dotbtns button::after { content: ""; position: absolute; left: 12px; right: 12px; top: 17px; height: 10px; background: var(--muted); transition: background-color 0.2s; }
.dotbtns button[aria-current="true"]::after { background: var(--ink); }

.stack { --off: 52px; --tab: 32px; position: relative; width: 100%; margin-inline: auto; height: calc(var(--off) * 4 + 216px); margin-top: var(--tab); }
@media (min-width: 900px) { .stack { --off: 64px; --tab: 40px; width: 86%; height: calc(var(--off) * 4 + 200px); } }
.folder { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--i) * var(--off)); background: var(--fbg); color: var(--fink); display: block; text-decoration: none; transition: transform 0.25s ease; --focus: var(--fink); }
a.folder:hover { transform: translateY(-6px); }
.folder .tab { position: absolute; left: var(--tx); top: calc(var(--tab) * -1); height: var(--tab); padding: 0 24px; display: flex; align-items: center; background: var(--fbg); font-size: var(--step-small); font-weight: 500; white-space: nowrap; clip-path: polygon(0 100%, 14px 0, calc(100% - 14px) 0, 100% 100%); }
@media (min-width: 900px) { .folder .tab { font-size: var(--step-body); padding: 0 30px; } }
.folder:focus-visible { outline: 3px solid var(--fink); outline-offset: -8px; }
.f0 { --i: 0; --fbg: var(--accent); --fink: var(--accent-ink); --tx: 4%; }
.f1 { --i: 1; --fbg: var(--white); --fink: var(--paper-ink); --tx: 38%; }
.f2 { --i: 2; --fbg: var(--green-3); --fink: var(--white); --tx: 68%; }
.f3 { --i: 3; --fbg: var(--surface-2); --fink: var(--ink); --tx: 14%; }
.f4 { --i: 4; --fbg: var(--surface); --fink: var(--ink); --tx: 4%; padding: 28px 24px 0; }
@media (min-width: 900px) { .f0 { --tx: 3%; } .f1 { --tx: 22%; } .f2 { --tx: 43%; } .f3 { --tx: 64%; } .f4 { padding: 32px 32px 0; } }
.f4 .btn { width: 100%; }
@media (min-width: 900px) { .f4 .btn { width: auto; } }
.f4 p { margin: 16px 0 0; font-size: var(--step-small); color: var(--ink); }

/* ---------- Ueber uns: Brief auf Papier ---------- */
.about .grid { align-items: start; }
.about-pic { grid-column: 1 / -1; }
.about-pic h2 { margin-bottom: 32px; }
.about-sheet { grid-column: 1 / -1; }
@media (min-width: 900px) { .about-pic { grid-column: 1 / span 5; } .about-sheet { grid-column: 6 / span 7; } }
.about-sheet p { font-size: var(--step-body); line-height: 1.55; margin-bottom: 1.1em; max-width: 52ch; }
.mk { background: var(--paper-3); color: var(--paper-ink); padding: 0 0.15em; }
.sign { font-style: italic; font-size: var(--step-lead); margin: 0; }
.role { font-size: var(--step-small); margin: 0; color: var(--paper-soft); }

/* ---------- Galerie / Scroll-Reveal ---------- */
.gal-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 900px) { .gal-head { grid-template-columns: 5fr 7fr; column-gap: var(--gap); align-items: end; margin-bottom: 56px; } }
.gal-head p { margin: 0; font-size: var(--step-lead); line-height: 1.35; }
.js .reveal-tile { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 80ms); }
.js .reveal-tile.is-in { opacity: 1; transform: none; }
@media (min-width: 900px) {
  .js .reveal-tile .ph { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--d, 0) * 80ms + 120ms); }
  .js .reveal-tile.is-in .ph { clip-path: inset(0); }
}

/* ---------- Groessen-Akkordeon + Aufstellplan ---------- */
.sizes .grid { align-items: start; }
.sizes-list { grid-column: 1 / -1; }
.sizes-plan { grid-column: 1 / -1; }
@media (min-width: 900px) { .sizes-list { grid-column: 1 / span 6; } .sizes-plan { grid-column: 8 / span 5; } }
.sizes-list h2 { margin-bottom: 16px; }
.sizes-list > p { margin-bottom: 32px; }
.acc { display: grid; gap: 8px; }
.acc details { background: var(--surface); transition: opacity 0.24s ease, background-color 0.24s ease; }
.acc details[open] { background: var(--bg); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 12px 20px; font-size: var(--step-lead); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: var(--step-lead); font-weight: 500; transition: transform 0.2s; }
.acc details[open] summary::after { content: "\2212"; }
.acc summary:hover { background: var(--surface-2); }
.acc .body { padding: 0 20px 24px; }
.acc .body p { max-width: 52ch; }
.acc:has(summary:hover) details:not(:hover) { opacity: 0.6; }
.plan-panel { background: var(--bg); padding: 28px 24px; --u: 20px; display: flex; flex-direction: column; }
.sizes-plan .readout { margin-top: auto; padding-top: 32px; }
@media (min-width: 900px) { .plan-panel { --u: 34px; padding: 48px 40px; } }
.plan-panel .row { display: flex; align-items: flex-end; gap: 16px; flex-wrap: nowrap; min-height: calc(var(--u) * 5 + 8px); }
.sq { position: relative; width: calc(var(--n) * var(--u)); aspect-ratio: 1; background: var(--white); flex: none; transition: background-color 0.24s ease, opacity 0.24s ease; }
.sq::after { content: ""; position: absolute; left: 36%; top: 36%; width: 28%; height: 28%; background: var(--accent); }
.sq .chairs { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.24s ease; }
.sq .chairs * { fill: var(--green-3); }
.plan-panel[data-active="3"] .sq:not([data-n="3"]), .plan-panel[data-active="4"] .sq:not([data-n="4"]), .plan-panel[data-active="5"] .sq:not([data-n="5"]) { background: var(--green-3); }
.plan-panel[data-active="3"] .sq:not([data-n="3"])::after, .plan-panel[data-active="4"] .sq:not([data-n="4"])::after, .plan-panel[data-active="5"] .sq:not([data-n="5"])::after { background: var(--surface-2); }
.plan-panel[data-active="sitz"] .sq::after { opacity: 0; }
.plan-panel[data-active="sitz"] .sq .chairs { opacity: 1; }
.plan-cap { display: flex; gap: 16px; margin-top: 16px; font-size: var(--step-small); color: var(--muted); }
.plan-cap span { flex: none; width: calc(var(--n) * var(--u)); }
.readout { margin: 32px 0 0; font-size: var(--step-lead); }
.readout small { display: block; font-size: var(--step-small); color: var(--muted); margin-top: 4px; }

/* ---------- Kundenstimmen: ein langer Brief ---------- */
.letter .grid { align-items: start; }
.letter.sec { padding-bottom: calc(var(--sec) * 0.6); }
.letter h2 { grid-column: 1 / -1; }
.letter-body { grid-column: 1 / -1; }
.letter-pic { grid-column: 1 / -1; max-width: 280px; }
@media (min-width: 600px) and (max-width: 899px) { .letter-body { grid-column: 1 / span 3; } .letter-pic { grid-column: 4; max-width: none; } }
@media (min-width: 900px) { .letter h2 { grid-column: 1 / span 4; } .letter-body { grid-column: 5 / span 5; } .letter-pic { grid-column: 10 / span 3; max-width: none; } }
.letter-body .open { font-size: var(--step-lead); font-weight: 500; line-height: 1.25; max-width: 44ch; margin-bottom: 20px; }
.letter-body p { max-width: 52ch; }
@media (min-width: 900px) { .letter-body p { max-width: 38ch; } }
.letter-body .close { margin-top: 40px; }
.ph-text { background: var(--surface); padding: 0 0.25em; }

/* ---------- Antwortkarte (CTA) ---------- */
.reply { position: relative; overflow: hidden; background: var(--green-3); min-height: 60svh; padding: 48px 0 0; display: grid; align-items: end; }
.reply .grid { align-items: end; row-gap: 40px; }
.reply-text { grid-column: 1 / -1; font-size: var(--step-lead); line-height: 1.35; padding-bottom: 0; }
.reply-text h2 { margin-bottom: 24px; }
.reply-text p { margin: 0; max-width: 34ch; }
.reply-card { --rot: 1deg; grid-column: 1 / -1; width: 92%; justify-self: center; transform: rotate(var(--rot)); margin-bottom: -50px; padding: 28px 24px 80px; text-align: center; aspect-ratio: auto; }
.reply-card h3 { font-size: var(--step-lead); margin-bottom: 12px; }
.reply-card p { margin-inline: auto; }
@media (min-width: 900px) {
  .reply-text { grid-column: 1 / span 5; padding-bottom: 64px; }
  .reply-card { --rot: 2deg; grid-column: 7 / span 6; width: 100%; aspect-ratio: 7 / 5; margin-bottom: -60px; padding: 48px 48px 0; display: flex; flex-direction: column; justify-content: flex-start; }
  .reply-card .btn { margin-top: auto; margin-bottom: 96px; }
}

.js .reply-card[data-reveal] { transform: translateY(24px) rotate(var(--rot)); }
.js .reply-card[data-reveal].is-in { transform: rotate(var(--rot)); }

/* ---------- Fuss: Rueckseite der Karte ---------- */
.back { padding: 72px 0 0; background: var(--bg); }
.back-panel { margin-inline: auto; width: 100%; padding: 64px var(--m) 32px; }
@media (min-width: 900px) { .back-panel { width: calc(100% - var(--m) * 2); padding: 96px 32px 40px; } }
.back-cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .back-cols { grid-template-columns: 1fr 1fr; gap: 64px; min-height: 280px; } }
.back-left p.big { font-size: var(--step-head); line-height: 1.1; letter-spacing: -0.012em; margin: 0 0 20px; max-width: 14ch; }
.back-left p { max-width: 36ch; }
.addr { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; padding-right: 88px; font-size: var(--step-body); }
.addr a { overflow-wrap: anywhere; }
.stamp { position: absolute; right: 0; top: 0; width: 64px; background: var(--white); padding: 6px; }
.stamp .ph { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .stamp { width: 88px; } .addr { padding-right: 112px; } }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; margin: 32px 0 0; padding: 0; list-style: none; }
.foot-nav a { display: inline-block; padding: 10px 0; }
.imprint { margin: 20px 0 0; text-align: center; font-size: var(--step-small); max-width: none; color: var(--paper-soft); }

/* ---------- Unterseiten-Kopf ---------- */
@media (min-width: 900px) { .page-title { font-size: var(--step-display); } }
.pagehead { padding-block: calc(var(--sec) * 0.5) calc(var(--sec) * 0.7); }
.pagehead .grid { align-items: end; }
.ph-main { grid-column: 1 / -1; }
.ph-side { grid-column: 1 / -1; }
@media (min-width: 900px) { .ph-main { grid-column: 1 / span 6; } .ph-side { grid-column: 8 / span 5; } }
.page-title { hyphens: auto; font-size: clamp(2.4rem, 10vw, 5.5rem); line-height: 1; letter-spacing: -0.015em; margin: 0 0 40px; text-wrap: balance; }
.pagehead .lead { margin: 0; max-width: 44ch; }
.draft { display: block; background: var(--paper); color: var(--paper-ink); padding: 16px 20px; font-weight: 500; margin-bottom: 32px; max-width: none; }

/* ---------- Zelte: Massstab-Schalter ---------- */
.scale-tool { background: var(--surface); padding: 24px; --u: 20px; }
@media (min-width: 900px) { .scale-tool { --u: 24px; padding: 32px; } }
.scale-tool .opts { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.opt { min-height: 48px; padding: 0 18px; border: 0; cursor: pointer; background: var(--surface-2); color: var(--ink); font: 500 var(--step-body)/1 var(--font); transition: background-color 0.2s, color 0.2s; }
.opt:hover { background: var(--green-3); }
.opt[aria-pressed="true"] { background: var(--paper); color: var(--paper-ink); }
.opt:focus-visible { outline-offset: 2px; }

/* ---------- Zeltkarte (Menue-Bogen) ---------- */
.menu-grid .menu-text { grid-column: 1 / -1; }
.menu-grid .menu-sheet { grid-column: 1 / -1; }
@media (min-width: 900px) { .menu-grid .menu-text { grid-column: 1 / span 5; } .menu-grid .menu-sheet { grid-column: 7 / span 6; } }
.menu-sheet { padding: 64px 20px 44px; }
@media (min-width: 900px) { .menu-sheet { padding: 96px 64px 64px; } }
.menu-sheet .sheetname { text-align: center; font-size: var(--step-head); line-height: 1.1; letter-spacing: -0.012em; margin: 0 auto; max-width: none; }
.menu-sheet .note { text-align: center; margin: 12px auto 40px; font-size: var(--step-small); max-width: 46ch; }
.menu-sheet h3 { text-align: center; margin: 48px 0 20px; font-size: var(--step-lead); font-weight: 500; }
.menu-sheet ul { list-style: none; margin: 0 auto; padding: 0; max-width: 460px; display: grid; gap: 16px; }
.menu-sheet li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; font-size: var(--step-body); }
.menu-sheet li .price { font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
.menu-sheet li .desc { grid-column: 1 / -1; font-size: var(--step-small); color: var(--paper-soft); }
.menu-sheet .hours { text-align: center; margin-top: 48px; font-size: var(--step-body); }

/* ---------- Split-Abschnitte ---------- */
.split .grid { align-items: center; }
.split-a { grid-column: 1 / -1; }
.split-b { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .split-a { grid-column: 1 / span 5; }
  .split-b { grid-column: 7 / span 6; }
  .split--rev .split-a { grid-column: 8 / span 5; order: 2; }
  .split--rev .split-b { grid-column: 1 / span 6; order: 1; }
}
.split h2 { margin-bottom: 24px; }
.figure { background: var(--surface); padding: 32px 24px; --u: 22px; }
@media (min-width: 900px) { .figure { padding: 48px; --u: 30px; } }
.figure .row { display: flex; align-items: flex-end; gap: 0; }
.figure .cap { margin: 20px 0 0; font-size: var(--step-small); color: var(--muted); max-width: none; }
.chair-fig { width: 100%; height: auto; max-height: 360px; }

.stubs { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .stubs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.stub { background: var(--paper); color: var(--paper-ink); padding: 32px 24px 28px; position: relative; --focus: var(--paper-ink); }
.stub h3 { margin-bottom: 12px; }
.stub p { margin: 0; }
@media (min-width: 900px) { .stub { border-right: 0; } }
.stub::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; border-top: 5px dotted var(--paper-3); }

/* ---------- Portfolio ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 40px; padding: 0; list-style: none; }
.chip { min-height: 48px; padding: 0 20px; border: 0; cursor: pointer; background: var(--surface-2); color: var(--ink); font: 500 var(--step-body)/1 var(--font); transition: background-color 0.2s, color 0.2s, transform 0.2s; }
.chip:hover { background: var(--green-3); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--paper); color: var(--paper-ink); }
.tile[hidden] { display: none; }
.filter-note { margin: -16px 0 32px; color: var(--muted); font-size: var(--step-small); }

/* ---------- Kontakt-Coupon ---------- */
.coupon { position: relative; background: var(--paper); color: var(--paper-ink); --focus: var(--paper-ink); display: grid; margin-inline: auto; overflow: hidden; }
.coupon-l { padding: 32px 24px 36px; display: flex; flex-direction: column; justify-content: center; gap: 24px; }
.coupon-r { padding: 36px 24px 32px; display: grid; gap: 10px; align-content: center; position: relative; }
.coupon h2 { font-size: var(--step-head); }
.coupon-r::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; border-top: 5px dotted var(--bg); }
.cbtn { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 10px 18px; background: var(--paper-2); color: var(--paper-ink); text-decoration: none; font-size: var(--step-body); transition: background-color 0.2s, transform 0.2s; overflow-wrap: anywhere; }
.cbtn:hover { background: var(--white); transform: translateX(4px); }
.cbtn b { font-weight: 500; }
.cbtn--go { background: var(--accent-dark); color: var(--white); justify-content: center; font-weight: 500; min-height: 56px; }
.cbtn--go:hover { background: var(--surface-2); }
.cbtn--go:focus-visible { outline-color: var(--paper); }
@media (min-width: 900px) {
  .coupon { grid-template-columns: 1fr 1fr; min-height: 460px; }
  .coupon-l { padding: 40px; }
  .coupon-r { padding: 40px; }
  .coupon-r::before { left: 0; right: auto; top: 48px; bottom: 48px; border-top: 0; border-left: 5px dotted var(--bg); }
    }

/* ---------- Textseiten (Recht) ---------- */
.legal { padding: 32px 12px 40px; }
@media (min-width: 900px) { .legal { padding: 48px 32px; display: grid; grid-template-columns: 4fr 8fr; column-gap: var(--gap); align-items: start; }
  .legal > .draft { grid-column: 1 / -1; }
  .legal > h2 { grid-column: 1; margin: 0 0 24px; }
  .legal > h2 ~ p, .legal > h2 ~ ul { grid-column: 2; }
  .legal > p.soft { grid-column: 1 / -1 !important; margin-top: 16px; } }
.legal h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin: 40px 0 12px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { max-width: 62ch; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.legal .draft { max-width: none; }
.ph-flag { background: var(--paper-3); padding: 0 0.2em; font-weight: 500; }

/* ---------- Danke ---------- */
.thanks .grid { align-items: center; }
@media (max-width: 899px) { .thanks .btn { width: 100%; } }
.stubs--4 { margin-top: 0; }
@media (min-width: 900px) { .stubs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.legal-top { margin-bottom: 24px; }

/* ---------- Anfrage-Formular ---------- */
.req .grid { align-items: start; }
.req-side { grid-column: 1 / -1; }
.req-form { grid-column: 1 / -1; }
@media (min-width: 900px) { .req-side { grid-column: 1 / span 4; position: sticky; top: 24px; } .req-form { grid-column: 5 / span 8; } }
.req-side h1 { margin-bottom: 20px; font-size: var(--step-head); }
.req-side .lead { margin-bottom: 28px; }
.planlive { background: var(--surface); padding: 24px; --u: 16px; }
.planlive h2 { font-size: var(--step-lead); margin-bottom: 20px; }
.planlive .row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 12px; min-height: 90px; }
.planlive .item { display: grid; gap: 6px; font-size: var(--step-small); color: var(--ink); justify-items: start; }
.planlive .total { margin: 20px 0 0; font-size: var(--step-body); }
@media (max-width: 899px) { .planlive { display: none; } }
.progress { display: none; margin: 0 0 24px; }
.progress .segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.progress .segs i { height: 10px; background: var(--surface-2); display: block; }
.progress .segs i.done { background: var(--muted); }
.progress .segs i.on { background: var(--ink); }
.progress p { margin: 0; font-weight: 500; }
@media (max-width: 899px) { .js .progress { display: block; } }

.step { margin: 0 0 24px; padding: 28px 20px 32px; border: 0; min-width: 0; background: var(--paper); color: var(--paper-ink); --focus: var(--paper-ink); }
@media (min-width: 900px) { .step { padding: 48px; margin-bottom: 32px; } }
.step > legend { float: left; width: 100%; padding: 0; margin: 0 0 24px; font-size: var(--step-head); letter-spacing: -0.012em; line-height: 1.1; }
.step > legend + * { clear: both; }
.step .hint { font-size: var(--step-body); color: var(--paper-soft); margin: 0 0 20px; max-width: 64ch; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .grp > legend { font-weight: 500; font-size: var(--step-body); }
.grp { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.grp > legend { padding: 0; margin-bottom: 10px; }
.req-mark { color: var(--paper-ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"], .field input[type="date"], .field input[type="time"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 10px 14px; border: 0; border-radius: 0;
  background: var(--paper-2); color: var(--paper-ink); font: 400 var(--step-body)/1.3 var(--font);
  transition: background-color 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { background: var(--white); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 2px; background: var(--white); }
.field input.touched:invalid, .field select.touched:invalid { background: #f0d2bb; }
.cols2 { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .cols2 { grid-template-columns: 1fr 1fr; } .cols3 { display: grid; gap: 0 16px; grid-template-columns: 2fr 1fr 2fr; } }

/* Auswahl-Chips (Radio/Checkbox als gefuellte Bloecke) */
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.choice span { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px; background: var(--paper-2); color: var(--paper-ink); font-size: var(--step-body); line-height: 1.2; transition: background-color 0.2s, color 0.2s; }
.choice span::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--white); outline: 2px solid var(--paper-ink); outline-offset: -2px; }

.choice input:checked + span { background: var(--paper-ink); color: var(--paper); }
.choice input:checked + span::before { background: var(--paper); outline-color: var(--paper); }
.choice input:hover + span { background: var(--white); }
.choice input:checked:hover + span { background: var(--surface-2); }
.choice input:focus-visible + span { outline: 3px solid var(--paper-ink); outline-offset: 2px; }
.choice--sq span { min-width: 76px; justify-content: center; font-weight: 500; }
.choice--sq span::before { display: none; }
.choices--ground { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .choices--ground { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choices--ground .choice span { width: 100%; }
.ground-hint { margin: 12px 0 0; padding: 12px 16px; background: var(--paper-3); font-size: var(--step-body); max-width: none; }

.trow { background: var(--paper-2); padding: 20px 16px 8px; margin-bottom: 16px; }
@media (min-width: 900px) { .trow { padding: 24px 24px 12px; } }
.trow-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.trow-head h3 { font-size: var(--step-lead); font-weight: 500; }
.trow .field input[type="number"], .trow .field select { background: var(--white); }
.trow .choice span { background: var(--white); }
.trow .choice input:hover + span { background: var(--paper); }
.trow .choice input:checked + span { background: var(--paper-ink); }
.trow-main { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .trow-main { grid-template-columns: 2fr 1fr; } }
.trow-size { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.trow-plan { --u: 12px; width: calc(5 * var(--u)); height: calc(5 * var(--u)); display: flex; align-items: flex-end; flex: none; }
.trow-plan .sq { --u: 12px; }
.trow-area { margin: 0; font-size: var(--step-small); color: var(--paper-soft); }
.rm { min-height: 44px; padding: 0 14px; border: 0; background: var(--paper-3); color: var(--paper-ink); font: 500 var(--step-small)/1 var(--font); cursor: pointer; transition: background-color 0.2s; }
.rm:hover { background: var(--white); }
.rm[hidden] { display: none; }
.add { margin: 8px 0 28px; }
.stepnav { display: none; gap: 12px; margin-top: 8px; }
.stepnav .btn { flex: 1; }
@media (max-width: 899px) { .js .stepnav.on { display: flex; } .js .step[hidden] { display: none; } }
.consent { max-width: 70ch; display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 8px; }
.consent input { width: 28px; height: 28px; margin: 2px 0 0; flex: none; accent-color: var(--paper-ink); }
.summary { background: var(--paper-2); padding: 16px; white-space: pre-wrap; font-size: var(--step-body); margin: 0 0 20px; max-width: 60ch; }
.err { background: #f0d2bb; padding: 12px 16px; margin: 12px 0; max-width: none; font-weight: 500; }
.demo { margin-top: 24px; background: var(--surface); padding: 24px; }
.demo pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: var(--step-small); margin: 16px 0; background: var(--bg); padding: 16px; max-height: 420px; overflow: auto; }

/* ---------- Bewegung ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: calc(var(--rd, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.slow-drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-2%, 1%, 0) scale(1.05); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .reveal-tile { opacity: 1; transform: none; }
  .js .reveal-tile .ph { clip-path: none; }
}

/* Echte Fotos (Platzhalter-Fotos 1k, spaeter hochaufloesend ersetzen) */
.ph--photo { background: var(--surface-2); }
.ph--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.slides::after { content: ""; position: absolute; inset: 0; background: rgba(14, 27, 51, 0.66); pointer-events: none; }
.photo--wide .ph--photo { aspect-ratio: 16 / 10; }

/* Logo (weiss, transparent: nur auf dunklem Grund) */
.mark { display: inline-flex; align-items: center; }
.mark img { display: block; height: 48px; width: auto; }
.back-logo { padding: 0 var(--m) 32px; }
.back-logo img { display: block; height: 72px; width: auto; }

/* ---------- Richtung B: warm-hochwertig (vollflaechiges Foto, ruhige Schrift, eckig) ---------- */
.hero { min-height: 88svh; grid-template-rows: auto 1fr auto auto; }
.hero-copy { text-align: left; align-self: end; padding: 24px var(--m) 8px; }
.hero-copy h1 { margin: 0; max-width: 16ch; }
.hero-copy p { margin: 20px 0 0; max-width: 44ch; }
.hero-copy p + p { margin-top: 28px; }
.hero-ctl { justify-content: flex-start; padding-bottom: 32px; }
.slide--photo, .slide { border-radius: 0; }
.btn, .menu-btn, .pbtn, .opt, .chip, .rm, .cbtn, input, select, textarea, details, .tag, .strip, .paper, .sheet, .stub, .ph { border-radius: 0; }
.acc .acc-img { margin: 0 0 20px; }
.acc .acc-img .ph { aspect-ratio: 16 / 9; }
.acc .acc-img figcaption { font-size: var(--step-body); color: var(--muted); margin-top: 8px; }
.acc .body { padding: 0 20px 28px; }
@media (min-width: 900px) { .acc .body { display: block; } }
.mark img { height: 44px; }

.page-title { font-size: clamp(2rem, 8vw, 3.2rem); }
@media (min-width: 900px) { .page-title { font-size: var(--step-display); } }

/* ---------- Hero: scrollgesteuerte Bildstrecke ---------- */
/* Grundzustand (ohne Skript / reduzierte Bewegung): normal gestapelte Szenen */
.story { position: relative; background: var(--bg); }
.story-pin { position: relative; }
.story .scene { position: relative; min-height: 82svh; overflow: hidden; display: flex; align-items: flex-end; }
.story .scene:first-of-type { min-height: 100svh; }
.scene-img { position: absolute; inset: 0; overflow: hidden; }
.scene-img img { width: 100%; height: 100%; object-fit: cover; display: block; transform-origin: 50% 50%; }
.scene-img { background: var(--bg); }
.scene-img img { opacity: 0.4; } /* flacher Navy-Schleier: Foto zu 40 % ueber Navy */
.scene-copy { position: relative; z-index: 3; padding: 96px var(--m) 72px; max-width: 760px; }
.scene-copy .kick { margin: 0 0 12px; color: var(--ink); font-size: var(--step-body); }
.scene-copy h1 { font-size: var(--step-display); line-height: 1.04; margin: 0 0 20px; }
.scene-copy h2 { font-size: var(--step-head); line-height: 1.08; margin: 0 0 20px; }
.scene-copy .sc-text { font-size: var(--step-lead); line-height: 1.4; max-width: 38ch; margin: 0; }
.scene-copy .sc-act { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.scene-copy .more { text-underline-offset: 0.2em; }
.dip, .story-hud, .story-hint { display: none; }

/* Aktiv (Skript laeuft, Bewegung erlaubt): hoher Container, klebender Rahmen */
.story.is-live { height: calc(100svh + var(--n, 6) * 80svh); }
.story.is-live .story-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.story.is-live .scene { position: absolute; inset: 0; min-height: 0; display: block; will-change: transform, opacity; }
.story.is-live .scene-copy { position: absolute; left: 0; bottom: 0; padding-bottom: clamp(88px, 14svh, 150px); will-change: transform, opacity; }
.story.is-live .scene-img img { will-change: transform; }
.story.is-live .scene-img { will-change: clip-path; }
.story.is-live .dip { display: block; visibility: hidden; position: absolute; inset: 0; background: var(--bg); opacity: 0; pointer-events: none; z-index: 5; }
.story.is-live .story-hud { display: flex; align-items: center; gap: 16px; position: absolute; z-index: 30; right: var(--m); bottom: 28px; font-size: var(--step-body); }
.story.is-live .story-hud .sbar { display: block; width: clamp(90px, 14vw, 200px); height: 3px; background: rgba(245, 247, 251, 0.28); overflow: hidden; }
.story-hud .sbar i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.story-hud .num b { font-weight: 500; }
.story.is-live .story-hint { display: flex; align-items: center; gap: 12px; position: absolute; z-index: 30; left: var(--m); bottom: 28px; font-size: var(--step-body); color: var(--muted); }
.story-hint .ln { display: block; width: 3px; height: 36px; background: var(--accent); transform-origin: 50% 0; animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
.story-pin > header.bar { position: absolute; left: 0; right: 0; top: 0; z-index: 30; }
@media (max-width: 899px) {
  .story.is-live { height: calc(100svh + var(--n, 6) * 42svh); }
  .story.is-live .story-hud { bottom: 20px; }
  .story.is-live .story-hint { bottom: 20px; }
}
.story.is-live { height: calc(100svh + var(--n, 6) * 60svh); }
@media (max-width: 899px) { .story.is-live { height: calc(100svh + var(--n, 6) * 42svh); } }
.story .scene-copy[style*="visibility: hidden"] { pointer-events: none; }

/* ---------- v3 (Review 05.11.): Akzent, Abstaende, volle Breite, keine Drehung ---------- */
:root { --accent: #b08d57; --accent-dark: #7a5a30; }
@media (min-width: 900px) { :root { --sec: 140px; } }
.sec-head { display: grid; gap: 16px; margin-bottom: 40px; }
.sec-head p { margin: 0; font-size: var(--step-lead); line-height: 1.4; max-width: 56ch; }
@media (min-width: 900px) { .sec-head { grid-template-columns: 5fr 7fr; column-gap: var(--gap); align-items: end; margin-bottom: 64px; } }

/* Anlaesse */
.occ-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 24px; }
.occ-card--big { grid-column: 1 / -1; }
.occ-card a { display: block; text-decoration: none; }
.occ-pic { display: block; }
.occ-pic .ph { aspect-ratio: 4 / 3; }
.occ-card--big .occ-pic .ph { aspect-ratio: 16 / 10; }
.occ-pic img { transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.occ-card a:hover .occ-pic img { transform: scale(1.04); }
.occ-name { display: block; padding-top: 14px; font-size: var(--step-lead); }
.occ-card a:hover .occ-name { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 0.2em; }
@media (min-width: 900px) {
  .occ-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; row-gap: 32px; }
  .occ-card--big { grid-column: span 3; }
  .occ-card:not(.occ-card--big) { grid-column: span 2; }
}

/* Groessen */
.sizes-home .grid { align-items: start; }
.sh-text, .size-list { grid-column: 1 / -1; }
.sh-text p { max-width: 52ch; }
.size-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.size-list li { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; background: var(--bg); padding: 24px; }
.size-list h3 { margin-bottom: 6px; }
.size-list p { margin: 0; font-size: var(--step-body); }
.size-list .size-more { grid-template-columns: 1fr; }
.size-list .size-more p + p { margin-top: 20px; }
.size-sq { display: block; width: calc(var(--n) * 20px); aspect-ratio: 1; background: var(--white); position: relative; }
.size-sq::after { content: ""; position: absolute; left: 36%; top: 36%; width: 28%; height: 28%; background: var(--accent); }
@media (min-width: 900px) { .sh-text { grid-column: 1 / span 6; } .size-list { grid-column: 8 / span 5; } }

/* Ueber uns */
.about .grid { align-items: center; }
.about-pic, .about-sheet { grid-column: 1 / -1; }
.about-pic .ph { aspect-ratio: 3 / 2; }
.about-pic .cap { padding-top: 12px; color: var(--muted); font-size: var(--step-body); }
.about-sheet h2 { margin-bottom: 24px; }
@media (min-width: 900px) { .about-pic { grid-column: 1 / span 6; } .about-sheet { grid-column: 7 / span 6; } }

/* Ablauf */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
.steps li { border-top: 4px solid var(--accent); padding-top: 24px; }
.steps h3 { font-size: var(--step-head); margin-bottom: 12px; }
.steps p { margin: 0; max-width: 40ch; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; } }

/* Ausstattung */
.eq-text, .eq-pics { grid-column: 1 / -1; }
.eq-text p { max-width: 46ch; }
.eq-pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 20px; }
.eq-fig { margin: 0; }
.eq-fig .ph { aspect-ratio: 1 / 1; }
.eq-fig figcaption { padding-top: 10px; font-size: var(--step-body); }
.plain { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.plain li { position: relative; padding-left: 24px; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; background: var(--accent); }
.eq-text h2 { margin-bottom: 20px; }
@media (min-width: 900px) { .eq-text { grid-column: 1 / span 5; } .eq-pics { grid-column: 7 / span 6; gap: 16px; row-gap: 24px; } }

/* Antwort-Block: gerade, volle Breite */
.reply { min-height: 0; padding: var(--sec) 0; }
.reply .grid { align-items: center; }
.reply-text { padding-bottom: 0; }
.reply-card { transform: none; margin-bottom: 0; width: 100%; justify-self: stretch; aspect-ratio: auto; padding: 32px 28px; text-align: left; display: block; }
.reply-card p { margin-inline: 0; }
.reply-card .btn { margin: 24px 0 0; }
@media (min-width: 900px) { .reply-card { aspect-ratio: auto; padding: 48px; display: block; } .reply-card .btn { margin: 28px 0 0; } }
.js .reply-card[data-reveal] { transform: translateY(24px); }
.js .reply-card[data-reveal].is-in { transform: none; }

/* Kacheln: dezente Platzhalter, gut lesbare Beschriftung, keine Dateinamen */
.tile .ph, .tile .ph--empty { aspect-ratio: 4 / 3; }
.ph--empty { display: grid; place-items: center; background: var(--surface); color: var(--muted); font-size: var(--step-body); }
.tile .strip { background: none; color: var(--ink); padding: 12px 0 0; min-height: 0; font-size: var(--step-body); }
.tile--photo .strip { color: var(--ink); }

.mobilebar { transition: transform 0.25s ease, visibility 0s; }
.mobilebar.is-away { transform: translateY(100%); visibility: hidden; transition: transform 0.25s ease, visibility 0s 0.25s; }

/* Foto-Band auf Text- und Formularseiten */
.band .ph { aspect-ratio: 21 / 8; }
@media (max-width: 639px) { .band .ph { aspect-ratio: 16 / 9; } }
.thanks .band, main > .wrap > .band { margin-bottom: 40px; }
.pagehead + .wrap { margin-bottom: 8px; }
/* Antwort-Block auch auf Tablet in zwei Spalten */
@media (min-width: 640px) and (max-width: 899px) { .reply-text { grid-column: 1 / span 2; } .reply-card { grid-column: 3 / span 2; } }
.filter-note { font-size: var(--step-body); color: var(--muted); }

/* ---------- v4: straffere Abstaende, schwebender Button, Foto-Stapel ---------- */
:root { --sec: 64px; }
@media (min-width: 900px) { :root { --sec: 96px; } }
.sheet { padding: 28px 24px; }
@media (min-width: 900px) { .sheet { padding: 44px; } }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 48px; margin-bottom: 32px; }
.sec-head h2 { flex: 0 1 28rem; }
.sec-head p { flex: 1 1 22rem; }
.band { margin-bottom: 0; }
.size-list li { padding: 20px 24px; }

/* Hero: Fortschritt mittig, damit der schwebende Button nichts verdeckt */
.story.is-live .story-hud { right: auto; left: 50%; transform: translateX(-50%); }

/* Schwebender Anfrage-Button */
.fab {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 26px;
  background: var(--accent); color: var(--accent-ink); font: 500 var(--step-body)/1 var(--font); text-decoration: none; border-radius: 0;
  animation: fab-float 4.5s ease-in-out infinite; transition: background-color 0.2s ease;
}
.fab:hover { background: var(--white); animation: none; transform: translateY(-4px); }
.fab:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
@keyframes fab-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
body.has-bar { padding-bottom: 88px; }
.mobilebar { display: none !important; }
@media (max-width: 899px) { .fab { min-height: 52px; padding: 0 20px; } }

/* Foto-Stapel (statisches Raster ohne Skript / bei reduzierter Bewegung) */
.pstack { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pcard { margin: 0; }
.pcard-in { position: relative; }
.pcard .ph { aspect-ratio: 4 / 3; }
.pcard figcaption { position: absolute; left: 0; bottom: 0; padding: 8px 14px; background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.2; }
.pstack.is-live { display: block; position: relative; aspect-ratio: 5 / 4; }
.pstack.is-live .pcard { position: absolute; left: 6%; right: 6%; top: 4%; bottom: 4%; z-index: calc(20 - var(--i)); will-change: transform, opacity; }
.pstack.is-live .pcard-in, .pstack.is-live .pcard .ph { height: 100%; }
.pstack.is-live .pcard .ph { aspect-ratio: auto; }
.pcard-in { transition: translate 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.4s ease; }
@media (hover: hover) {
  .pstack.is-live:hover .pcard-in { translate: calc((var(--i) - 2.5) * 10px) -10px; box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35); animation: bob 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * -0.45s); } /* taste-skill-ignore: Schatten nur beim Schweben (Objekt schwebt), nicht im Ruhezustand */
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-7px) rotate(0.8deg); } }
.eq-text, .pstack { grid-column: 1 / -1; }
@media (min-width: 900px) { .eq-text { grid-column: 1 / span 5; align-self: center; } .pstack { grid-column: 6 / span 7; } }
.pcard-in .ph { background: var(--surface-2); }
.pstack.is-live { overflow: hidden; }

/* ==========================================================================
   v5 (Review 05.11. spaet): gemeinsamer Container, ruhiger Header, Hero-Typo,
   3D-Coverflow, Groessen/Ueber uns/Ablauf, kompakter Footer
   ========================================================================== */
:root { --max: 1360px; --m: 20px; --edge: max(var(--m), calc((100% - var(--max)) / 2 + var(--m))); --accent-light: #d4b88c; --line: rgba(176, 141, 87, 0.4); }
@media (min-width: 900px) { :root { --m: clamp(32px, 3.4vw, 56px); } }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--m); }

/* Buttons: ein klarer goldbrauner Haupt-Button, ruhige Zustaende */
.btn { min-height: 52px; padding: 0 28px; font-weight: 500; letter-spacing: 0.01em; }
.btn:hover { background: #c6a46e; transform: none; }
.btn:active { transform: none; background: #9d7c49; }
.btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.btn--ink:hover { background: #5f4524; }
:focus-visible { outline-width: 2px; }

/* Kopfzeile: Logo, Menue und Anfrage auf einer Linie, am Container ausgerichtet */
.bar { padding: 18px var(--edge); min-height: 88px; gap: 12px 40px; flex-wrap: nowrap; }
.bar nav { flex-wrap: nowrap; gap: 8px 36px; margin-left: auto; align-items: center; }
.bar nav a { line-height: 1; font-size: 1.0625rem; letter-spacing: 0.01em; white-space: nowrap; }
.bar nav a:not(.btn) { position: relative; padding: 12px 0; text-decoration: none; }
.bar nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.25s ease; }
.bar nav a:not(.btn):hover::after, .bar nav a[aria-current="page"]::after { transform: scaleX(1); }
.bar nav a:not(.btn):focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.bar .btn { min-height: 44px; padding-inline: 22px; font-size: 1.0625rem; margin-left: 4px; }
.mark img { height: 44px; }
@media (max-width: 899px) { .bar { min-height: 72px; padding-block: 14px; } .mark img { height: 40px; } }

/* Hero-Texte am Container, groesser, mit Abstand zum unteren Rand; Foto bleibt hell, Verlauf nur unter dem Text */
.scene-img img { opacity: 1; }
.scene-img::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(0deg, rgba(9, 19, 36, 0.86) 0%, rgba(9, 19, 36, 0.62) 26%, rgba(9, 19, 36, 0.18) 55%, rgba(9, 19, 36, 0) 78%), linear-gradient(90deg, rgba(9, 19, 36, 0.5) 0%, rgba(9, 19, 36, 0) 62%), linear-gradient(180deg, rgba(9, 19, 36, 0.5) 0%, rgba(9, 19, 36, 0) 22%); } /* taste-skill-ignore: Schutzverlauf unter dem Hero-Text auf dem Foto */
.scene-copy { padding: 96px var(--edge) clamp(96px, 14svh, 160px); max-width: none; width: 100%; }
.story.is-live .scene-copy { left: 0; right: 0; padding-bottom: clamp(104px, 16svh, 180px); }
.scene-copy .kick { color: var(--accent-light); font-size: 1rem; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 18px; display: flex; align-items: center; gap: 14px; }
.scene-copy .kick::before { content: ""; width: 36px; height: 3px; background: var(--accent); flex: none; }
.scene-copy h1 { font-size: clamp(2.75rem, 1.3rem + 5.4vw, 6rem); line-height: 1.02; max-width: 10em; margin: 0 0 22px; }
.scene-copy h2 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4.5rem); line-height: 1.05; max-width: 13em; margin: 0 0 22px; }
.scene-copy .sc-text { font-size: clamp(1.25rem, 1.05rem + 0.75vw, 1.75rem); line-height: 1.4; max-width: 34ch; }
.scene-copy .sc-act { margin-top: 30px; }
.scene-copy .more { color: var(--accent-light); text-decoration-color: var(--accent); }
.story.is-live .story-hint { left: var(--edge); }

/* Schwebender Button: erst nach dem Hero, am Container ausgerichtet, ruhig */
.fab { right: max(var(--edge), env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); animation: none; min-height: 52px; padding: 0 24px; font-size: 1.0625rem; transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s, background-color 0.2s ease; }
.fab:hover { background: #c6a46e; transform: none; }
.js .fab:not(.is-on) { opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s 0.3s; }
body.has-bar { padding-bottom: 0; }
@media (max-width: 899px) { .fab { right: max(16px, env(safe-area-inset-right)); } }

/* ---------- 3D-Coverflow ---------- */
.cf { background: var(--deep); padding-block: var(--sec) calc(var(--sec) * 0.75); overflow: hidden; }
.cf-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 56px; margin-bottom: clamp(24px, 3vw, 44px); }
.cf-head h2 { flex: 0 1 30rem; }
.cf-head p { flex: 1 1 22rem; margin: 0; font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 52ch; }
.cf-stage { --h: clamp(250px, 38vw, 580px); position: relative; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.cf-track { list-style: none; margin: 0; padding: 0; }
.cf-card { display: block; position: relative; width: 100%; height: 100%; padding: 0; border: 0; background: var(--surface); cursor: pointer; border-radius: 0; }
.cf-card img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cf-card::after { content: ""; position: absolute; inset: 0; background: var(--deep); opacity: var(--dim, 0); pointer-events: none; }
.cf-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
/* ohne Skript: waagerechter Streifen zum Wischen */
.cf-stage:not(.is-live) { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
.cf-stage:not(.is-live) .cf-track { display: flex; gap: 12px; padding-inline: var(--edge); width: max-content; }
.cf-stage:not(.is-live) .cf-item { flex: none; height: var(--h); aspect-ratio: var(--r); scroll-snap-align: center; max-width: 86vw; }
.cf-stage:not(.is-live) ~ .cf-ctl { display: none; }
/* mit Skript: Buehne mit Perspektive */
.cf-stage.is-live { height: calc(var(--h) + 36px); overflow: hidden; cursor: grab; }
.cf-stage.is-live .cf-track { position: absolute; inset: 0; perspective: 1700px; perspective-origin: 50% 46%; }
.cf-stage.is-live .cf-item { position: absolute; left: 50%; top: 50%; width: min(86%, calc(var(--h) * var(--r))); aspect-ratio: var(--r); margin: 0; will-change: transform, opacity; backface-visibility: hidden; }
.cf-ctl { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px clamp(16px, 3vw, 40px); align-items: start; margin-top: clamp(20px, 2.4vw, 32px); }
.cf-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; color: var(--accent-light); border: 1px solid var(--accent); cursor: pointer; border-radius: 0; transition: background-color 0.2s ease, color 0.2s ease; }
.cf-btn svg { width: 22px; height: 22px; }
.cf-btn:hover:not(:disabled) { background: var(--accent); color: var(--accent-ink); }
.cf-btn:disabled { opacity: 0.35; cursor: default; }
.cf-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.cf-info { text-align: center; max-width: 46rem; margin-inline: auto; }
.cf-count { margin: 0 0 12px; color: var(--accent-light); font-size: 1.0625rem; letter-spacing: 0.18em; font-variant-numeric: tabular-nums; }
.cf-caps { display: grid; }
.cf-cap { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity 0.35s ease, visibility 0s 0.35s; }
.cf-cap.is-on { visibility: visible; opacity: 1; transition: opacity 0.35s ease 0.08s, visibility 0s; }
.cf-cap h3 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem); line-height: 1.15; margin-bottom: 8px; }
.cf-cap p { margin: 0 auto; color: var(--muted); font-size: var(--step-body); line-height: 1.45; max-width: 44ch; }
.cf-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 48px; margin-top: clamp(28px, 3.6vw, 52px); }
.cf-foot p { margin: 0; color: var(--muted); max-width: 64ch; font-size: 1.0625rem; }
.cf-links { display: flex; gap: 12px 28px; flex-wrap: wrap; }
.cf-links a { color: var(--accent-light); text-decoration-color: var(--accent); }
@media (max-width: 599px) {
  .cf-ctl { grid-template-columns: 1fr 1fr; }
  .cf-info { grid-column: 1 / -1; grid-row: 1; }
  .cf-prev { grid-row: 2; justify-self: start; }
  .cf-next { grid-row: 2; justify-self: end; }
}
/* Grossansicht */
.cf-lb { border: 0; padding: 0; margin: 0; max-width: none; max-height: none; width: 100vw; height: 100dvh; background: #050a14; color: var(--ink); overflow: auto; }
.cf-lb::backdrop { background: transparent; }
.cf-lb[open] { display: grid; place-items: center; }
.cf-lb-fig { margin: 0; display: grid; gap: 18px; justify-items: center; padding: 72px var(--m) 28px; max-width: 100%; }
.cf-lb-fig img { display: block; max-width: 100%; object-fit: contain; background: var(--surface); }
.cf-lb figcaption { text-align: center; max-width: 60ch; }
.cf-lb figcaption h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); margin-bottom: 6px; }
.cf-lb figcaption p { margin: 0 auto; color: var(--muted); }
.cf-x { position: absolute; top: 18px; right: var(--edge); min-height: 48px; padding: 0 22px; background: transparent; color: var(--ink); border: 1px solid var(--accent); font: 500 1.0625rem/1 var(--font); cursor: pointer; border-radius: 0; z-index: 2; }
.cf-x:hover { background: var(--accent); color: var(--accent-ink); }
.cf-x:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
html.cf-lock { overflow: hidden; }

/* ---------- Groessen ---------- */
.sz { background: var(--bg); }
.sz-grid { display: grid; gap: 16px; }
.sz-pic { margin: 0; }
.sz-pic .ph { aspect-ratio: 16 / 10; }
.sz-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-auto-rows: 1fr; }
.sz-list li { display: flex; flex-direction: column; gap: 4px; background: var(--surface); padding: clamp(20px, 2vw, 28px); border-top: 2px solid var(--accent); }
.sz-list .size-sq { width: calc(var(--n, 3) * 14px); margin: calc((5 - var(--n, 3)) * 14px) 0 14px; flex: none; }
.sz-list .size-sq--seat { --n: 4; background: transparent; border: 2px solid var(--white); }
.sz-list .size-sq--seat::after { background: var(--accent); }
.sz-list h3 { font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.875rem); margin: 0; }
.sz-list p { margin: 0; color: var(--muted); font-size: var(--step-body); max-width: none; }
.sz-more { margin-top: auto; padding-top: 14px; color: var(--accent-light); text-decoration-color: var(--accent); }
@media (min-width: 560px) { .sz-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) {
  .sz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
  .sz-pic { position: relative; min-height: 360px; }
  .sz-pic .ph { position: absolute; inset: 0; aspect-ratio: auto; }
  .sz-list { gap: 24px; }
}

/* ---------- Ueber uns ---------- */
.about { background: var(--surface); }
.about-card { display: grid; grid-template-columns: minmax(0, 1fr); }
.about-pic { margin: 0; display: flex; flex-direction: column; background: var(--bg); }
.about-pic .ph { flex: 1 1 auto; aspect-ratio: 3 / 2; }
.about-pic .ph img { object-position: 50% 30%; }
.about-pic figcaption { display: grid; gap: 2px; padding: 16px clamp(20px, 2vw, 28px); background: var(--bg); border-top: 2px solid var(--accent); }
.about-pic figcaption b { font-weight: 500; font-size: var(--step-lead); }
.about-pic figcaption span { color: var(--muted); font-size: 1.0625rem; }
.about-sheet { padding: clamp(28px, 3.6vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.about-sheet h2 { margin-bottom: 20px; }
.about-sheet p { max-width: 52ch; font-size: var(--step-body); line-height: 1.55; margin-bottom: 1em; }
.about-sheet .tear { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 12px; }
.about-sheet .tear a:not(.btn) { color: var(--paper-ink); overflow-wrap: anywhere; }
@media (min-width: 900px) { .about-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; } .about-pic .ph { aspect-ratio: auto; min-height: 320px; } }

/* ---------- Ablauf ---------- */
.steps-sec { background: var(--bg); }
.steps li { border-top: 2px solid var(--accent); padding-top: 22px; display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: start; }
.step-no { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--accent); color: var(--accent-light); font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: clamp(1.5rem, 1.15rem + 1vw, 2.125rem); margin-bottom: 8px; }
.steps p { grid-column: 2; max-width: 38ch; color: var(--muted); }

/* ---------- Footer, kompakt ---------- */
.foot { background: var(--deep); padding-top: clamp(32px, 3.4vw, 48px); }
.foot-in { display: grid; gap: 28px; padding-bottom: clamp(24px, 3vw, 36px); }
.foot-brand { display: flex; align-items: center; gap: 20px; }
.foot-logo img { height: 56px; width: auto; }
.foot-brand p { margin: 0; color: var(--muted); font-size: 1.0625rem; line-height: 1.4; }
.foot .addr { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; position: static; font-size: 1.0625rem; }
.foot .addr a, .foot-nav a { display: inline-block; padding: 7px 0; text-decoration: none; }
.foot .addr a:hover, .foot-nav a:hover { color: var(--accent-light); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em; }
.foot .foot-nav { display: grid; grid-auto-flow: column; grid-template-rows: repeat(4, auto); grid-auto-columns: max-content; column-gap: clamp(24px, 4vw, 56px); margin: 0; padding: 0; font-size: 1.0625rem; justify-content: start; }
.foot-bar { background: #060d1a; }
.foot-copy { padding-block: 14px; }
.foot-copy p { margin: 0; max-width: none; font-size: 1rem; color: var(--muted); }
@media (min-width: 900px) { .foot-in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; } .foot .foot-nav { justify-content: end; } }

@media (prefers-reduced-motion: reduce) {
  .cf-cap, .cf-cap.is-on, .fab, .js .fab:not(.is-on), .bar nav a:not(.btn) { transition: none; }
}

/* v5: Seitentitel auf breiten Schirmen als Blickfang, Massstab-Plan bei Tablet-Breite schmaler */
@media (min-width: 900px) { .page-title { font-size: clamp(3.5rem, 5.8vw, 7.25rem); } }
@media (min-width: 900px) and (max-width: 1199px) { .plan-panel { --u: 22px; padding-inline: 24px; } }

/* ==========================================================================
   v6: Gefuehrte Anfrage (Assistent)
   ========================================================================== */
.wz { padding-bottom: calc(var(--sec) * 0.8); }
.wz-intro { max-width: 52ch; margin-bottom: 8px; }
.wz-prog { margin: 8px 0 28px; }
.wz-prog-t { margin: 0 0 12px; color: var(--accent-light); letter-spacing: 0.04em; font-size: 1.0625rem; }
.wz-prog-t:focus { outline: none; }
.wz-segs { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.wz-segs li { flex: 1 1 0; min-width: 0; }
.wz-segs button { width: 100%; padding: 0; height: 6px; border: 0; background: var(--surface-2); cursor: pointer; border-radius: 0; display: block; position: relative; }
.wz-segs li.done button { background: var(--accent); }
.wz-segs li.on button { background: var(--accent-light); }
.wz-segs button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.wz-segs button:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.wz-segs li:not(.done):not(.on) button { cursor: default; }

.wz-body h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); margin: 0 0 14px; }
.wz-body .wz-h2 { margin-top: 40px; }
.wz-h3 { font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); margin: 32px 0 12px; }
.wz-lead { font-size: var(--step-lead); line-height: 1.4; color: var(--muted); max-width: 56ch; margin: 0 0 24px; }
.wz-fs { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.wz-fs > legend { padding: 0; margin: 0 0 12px; font-size: var(--step-lead); }
.wz-sub-h { margin: 18px 0 10px; }
.wz-hint, .wz-f small { color: var(--muted); font-size: 1.0625rem; display: block; }
.wz-cards { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .wz-cards--3, .wz-cards--4, .wz-cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .wz-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wz-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .wz-cards--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wz-card { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--surface); cursor: pointer; border-left: 4px solid transparent; transition: background-color 0.15s ease; position: relative; }
.wz-card:hover { background: var(--surface-2); }
.wz-card input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.wz-card span { display: grid; gap: 4px; }
.wz-card b { font-weight: 500; line-height: 1.25; }
.wz-card small { color: var(--muted); font-size: 1.0625rem; line-height: 1.35; }
.wz-card:has(input:checked) { background: var(--surface-2); border-left-color: var(--accent); }
.wz-card:has(input:focus-visible) { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.wz-card--one { margin-bottom: 10px; }
.wz-areas { display: grid; gap: 14px; margin-bottom: 20px; }
.wz-sub { background: var(--bg); padding: 18px; margin: 4px 0 0 0; border-left: 4px solid var(--accent); }
.wz-f { display: grid; gap: 6px; margin-bottom: 18px; align-content: start; min-width: 0; }
.wz-f label { font-size: 1.125rem; }
.wz-in { position: relative; display: flex; align-items: center; }
.wz-in input, .wz-in textarea { flex: 1 1 auto; }
.wz-unit { margin-left: 10px; color: var(--muted); }
.wz input[type="text"], .wz input[type="number"], .wz input[type="email"], .wz input[type="tel"], .wz input[type="datetime-local"], .wz textarea, .wz select, .wz input[type="file"] { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--surface); color: var(--ink); border: 0; border-bottom: 2px solid var(--muted); font: inherit; font-size: 1.125rem; border-radius: 0; color-scheme: dark; }
.wz textarea { min-height: 96px; resize: vertical; }
.wz input:focus-visible, .wz textarea:focus-visible, .wz select:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; border-bottom-color: var(--accent-light); }
.wz-row, .wz-row3 { display: grid; gap: 0 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .wz-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wz-row3 { grid-template-columns: 2fr 1fr 2fr; } }
.wz-rows { display: grid; gap: 14px; margin-bottom: 16px; }
.wz-trow { display: grid; gap: 0 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; background: var(--surface); padding: 16px 18px 6px; }
.wz-trow .wz-chk--koch, .wz-trow .wz-f--wide, .wz-trow > .wz-btn { grid-column: 1 / -1; }
.wz-chk--koch { margin-bottom: 16px; background: var(--bg); }
.wz-trow > .wz-btn { justify-self: start; margin-bottom: 14px; }
@media (min-width: 900px) { .wz-trow { grid-template-columns: 11rem 7rem 13rem minmax(0, 1fr) auto; } .wz-trow .wz-chk--koch, .wz-trow .wz-f--wide, .wz-trow > .wz-btn { grid-column: auto; } .wz-trow .wz-chk--koch { margin-bottom: 18px; } .wz-trow > .wz-btn { margin-bottom: 18px; } }
.wz-optplan { background: var(--surface); padding: 20px; margin: 20px 0; border-left: 4px solid var(--accent); }
.wz-optplan h3 { font-size: var(--step-lead); margin-bottom: 8px; }
.wz-more > summary { font-size: var(--step-lead); }
.wz-more { padding-bottom: 8px; }
.wz-btn { grid-column: 1 / -1; margin-bottom: 16px; justify-self: start; }
@media (min-width: 800px) { .wz-trow { grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr) auto; } .wz-trow .wz-f:nth-child(3) { grid-column: auto; } .wz-trow .wz-btn { grid-column: auto; margin-bottom: 18px; } .wz-trow .wz-f:first-child { } }
.wz-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; background: var(--accent); color: var(--accent-ink); border: 0; cursor: pointer; font: 500 1.0625rem/1.1 var(--font); border-radius: 0; }
.wz-btn:hover { background: #c6a46e; }
.wz-btn--q { background: var(--surface-2); color: var(--ink); }
.wz-btn--q:hover { background: var(--green-3); }
.wz-btn:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.wz-btn[aria-pressed="true"] { background: var(--accent-dark); color: var(--white); }
.wz-link { background: none; border: 0; color: var(--accent-light); text-decoration: underline; cursor: pointer; font: inherit; padding: 4px 0; }
.wz-note { background: var(--surface); padding: 14px 18px; margin: 0 0 18px; color: var(--ink); max-width: none; border-left: 4px solid var(--accent); }
.wz-note--hint { border-left-color: var(--accent-light); }
.wz-warn { background: #3b2a1c; padding: 14px 18px; margin: 0 0 12px; max-width: none; border-left: 4px solid #e0a35c; }
.wz-alert { background: #3b2a1c; padding: 16px 20px; margin: 0 0 20px; border-left: 4px solid #e0a35c; }
.wz-alert p { max-width: none; margin: 0 0 10px; }
.wz-alert ul { margin: 0; padding-left: 20px; }
.wz-err { background: #4a1f23; padding: 14px 18px; margin: 12px 0; border-left: 4px solid #e57373; max-width: none; }
.wz-total { background: var(--surface); padding: 16px 20px; margin: 16px 0; border-top: 2px solid var(--accent); }
.wz-det { background: var(--surface); margin: 0 0 12px; padding: 0 18px; }
.wz-det summary { cursor: pointer; padding: 14px 0; font-size: var(--step-lead); }
.wz-det ol, .wz-det ul { margin: 0; padding: 0 0 14px 22px; }
.wz-det li { margin-bottom: 8px; max-width: 70ch; }
.wz-tbl { overflow-x: auto; padding-bottom: 14px; }
.wz-tbl table { border-collapse: collapse; width: 100%; font-size: 1.0625rem; }
.wz-tbl th, .wz-tbl td { text-align: left; padding: 8px 12px; background: var(--bg); }
.wz-tbl th { font-weight: 500; color: var(--accent-light); }
.wz-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 36px; }
.wz-nav .btn { min-width: 9rem; }
.wz-stepmsg { background: #4a1f23; padding: 14px 18px; margin: 16px 0 0; border-left: 4px solid #e57373; max-width: none; }
.wz-sum { background: var(--surface); padding: 18px 20px; margin-bottom: 14px; }
.wz-sum-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.wz-sum-h h3 { font-size: var(--step-lead); }
.wz-sum dl { margin: 0; display: grid; gap: 6px; }
.wz-sum dl > div { display: grid; gap: 2px 16px; }
@media (min-width: 700px) { .wz-sum dl > div { grid-template-columns: 15rem minmax(0, 1fr); } }
.wz-sum dt { color: var(--muted); font-size: 1.0625rem; }
.wz-sum dd { margin: 0; overflow-wrap: anywhere; white-space: pre-line; }
.wz-plan-prev { overflow-x: auto; background: var(--paper); }
.wz-consent { margin: 24px 0 8px; display: grid; gap: 10px; }
.wz-chk { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); cursor: pointer; }
.wz-chk input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.wz-chk a { color: var(--accent-light); }
.wz-send { width: 100%; margin-top: 12px; min-height: 60px; }
.wz-dry { white-space: pre-wrap; background: var(--deep); color: var(--muted); padding: 16px; margin-top: 16px; max-height: 24rem; overflow: auto; font-size: 0.9375rem; }
.wz-up { background: var(--surface); padding: 18px; margin-top: 8px; }
.wz-up h3 { font-size: var(--step-lead); margin-bottom: 14px; }
.wz-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.wz-small { font-size: 1.0625rem; color: var(--muted); }

/* Plan-Editor */
.wz-plan { background: var(--surface); padding: 16px; }
.pl-bar { display: grid; gap: 12px; margin-bottom: 14px; }
.pl-info { margin: 0; max-width: none; }
.pl-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.wz-sel { display: inline-flex; align-items: center; gap: 10px; }
.wz-sel select { min-height: 48px !important; width: auto !important; }
.pl-wrap { overflow: auto; background: var(--paper); max-height: 70vh; touch-action: pan-x pan-y; }
.pl-svg { display: block; max-width: none; }
.pl-svg .pl-it { cursor: grab; touch-action: none; }
.pl-svg .pl-it:focus-visible { outline: none; }
.pl-svg .pl-it.is-sel rect, .pl-svg .pl-it:focus-visible rect { stroke: #b08d57 !important; stroke-width: 0.22 !important; }
.pl-notes { margin-top: 12px; }
.pl-notes ul { margin: 0 0 8px; padding-left: 20px; }

/* Danke-Seite: Zusammenfassung */
.thanks-sum { white-space: pre-wrap; background: var(--surface); padding: 20px; max-height: 32rem; overflow: auto; font-size: 1.0625rem; }
@media (prefers-reduced-motion: reduce) { .wz-card { transition: none; } }

.wz-main .band .ph { aspect-ratio: 21 / 5; }
@media (max-width: 639px) { .wz-main .band .ph { aspect-ratio: 16 / 7; } }
.wz-body { max-width: 62rem; }
.wz-nav { max-width: 62rem; }

.wz-card--pic { flex-direction: column; padding: 0; gap: 0; border-left: 0; border-bottom: 4px solid transparent; }
.wz-card--pic img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; display: block; }
.wz-card--pic > span { padding: 12px 16px 14px; }
.wz-card--pic:has(input:checked) { border-bottom-color: var(--accent); }
.wz-enter > * { animation: wz-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.wz-enter > *:nth-child(2) { animation-delay: 0.05s; } .wz-enter > *:nth-child(3) { animation-delay: 0.1s; } .wz-enter > *:nth-child(n+4) { animation-delay: 0.15s; }
@keyframes wz-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wz-enter > * { animation: none; } }
@media (max-width: 559px) { .wz-cards--3:has(.wz-card--pic) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .wz-card--pic > span { padding: 10px 12px 12px; } .wz-card--pic b { font-size: 1.0625rem; } }

/* ==========================================================================
   v8: Anfrage, klare Hierarchie. Frage = kleine ruhige Ueberschrift, Antwort = deutliche Auswahlflaeche,
   aktive Auswahl in Gold-Braun mit Haekchen/Punkt. Keine Schatten, keine Haarlinien, max. 2 px Rundung.
   ========================================================================== */
.wz { --chip: #27406b; --chip-hover: #33508a; --q: #c9d2e6; --field: #223a62; }
/* Fragen */
.wz-fs { margin: 0 0 40px; }
.wz-fs > legend, .wz-f > label, .wz-sub-h { display: block; margin: 0 0 10px; padding: 0; font-size: 1.0625rem; line-height: 1.3; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--q); }
.wz-fs > legend { float: none; width: 100%; }
.wz-fs > legend + .wz-hint, .wz-fs > legend + p { margin-top: -4px; }
.wz-h3 { margin: 44px 0 14px; }
.wz-body > h2 + .wz-lead { margin-bottom: 28px; }
.wz-f { gap: 0; margin-bottom: 24px; }
.wz-f small, .wz-hint, .wz-card small { font-size: 0.9375rem; line-height: 1.4; color: #b3bdd0; }
.wz-f small { margin: -4px 0 8px; }
/* Antworten: Auswahlflaechen */
.wz-cards { gap: 10px; align-items: stretch; }
.wz-card { min-height: 58px; align-items: center; gap: 14px; padding: 14px 18px; background: var(--chip); border: 0; border-radius: 2px; transition: background-color 0.15s ease, color 0.15s ease; }
.wz-card b { font-size: 1.125rem; font-weight: 500; color: #fff; line-height: 1.25; }
.wz-card:hover { background: var(--chip-hover); }
.wz-card::before { content: ""; flex: none; width: 24px; height: 24px; border: 2px solid #aebbd6; border-radius: 2px; background: transparent center / 16px no-repeat; }
.wz-card:has(input[type="radio"])::before { border-radius: 50%; }
.wz-card:has(input:checked) { background: var(--accent); border: 0; }
.wz-card:has(input:checked) b, .wz-card:has(input:checked) small { color: #0e1b33; }
.wz-card:has(input:checked)::before { border-color: #0e1b33; background-color: #0e1b33; }
.wz-card:has(input[type="checkbox"]:checked)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23b08d57' stroke-width='2.4'/%3E%3C/svg%3E"); }
.wz-card:has(input[type="radio"]:checked)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='4' fill='%23b08d57'/%3E%3C/svg%3E"); }
.wz-card:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
.wz-card--one { margin-bottom: 12px; }
/* Foto-Karten (Anlass) */
.wz-card--pic { position: relative; flex-direction: column; align-items: stretch; padding: 0; gap: 0; min-height: 0; }
.wz-card--pic::before { position: absolute; top: 10px; right: 10px; z-index: 2; background-color: rgba(14, 27, 51, 0.8); border-color: #fff; }
.wz-card--pic > span { padding: 12px 16px 14px; }
.wz-card--pic:has(input:checked) { border: 0; }
.wz-card--pic:has(input:checked)::before { background-color: #0e1b33; border-color: #fff; }
/* Felder: erkennbare Flaeche, Label darueber */
.wz input[type="text"], .wz input[type="number"], .wz input[type="email"], .wz input[type="tel"], .wz input[type="date"], .wz input[type="time"], .wz input[type="datetime-local"], .wz textarea, .wz select, .wz input[type="file"] { background: var(--field); border: 2px solid #4a6290; border-radius: 2px; min-height: 54px; padding: 12px 14px; color: #fff; font-size: 1.125rem; }
.wz input::placeholder, .wz textarea::placeholder { color: #9fb0cc; opacity: 1; }
.wz input:hover, .wz textarea:hover, .wz select:hover { border-color: var(--accent-light); }
.wz input:focus-visible, .wz textarea:focus-visible, .wz select:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-color: var(--accent-light); }
.wz-trow .wz-f, .wz-row .wz-f, .wz-row3 .wz-f { margin-bottom: 20px; }
/* Einwilligung / Kochzelt-Haken */
.wz-chk { background: var(--chip); border-radius: 2px; padding: 14px 18px; gap: 14px; align-items: center; color: #fff; font-size: 1.125rem; }
.wz-chk:hover { background: var(--chip-hover); }
.wz-chk input { width: 24px; height: 24px; accent-color: var(--accent); margin: 0; }
.wz-chk:has(input:checked) { background: #3a3a52; outline: 2px solid var(--accent); outline-offset: -2px; }
.wz-chk--koch { background: var(--chip); }
/* Gruppen: Rhythmus statt Linien */
.wz-trow, .wz-sum, .wz-det, .wz-up, .wz-total, .wz-note, .wz-optplan { border-radius: 2px; }
.wz-sub { border-left: 0; background: #14243f; padding: 22px; margin: 6px 0 28px; border-radius: 2px; }
.wz-sub > .wz-h3 { margin-top: 0; }
.wz-total { border-top: 0; background: #1b3157; }
.wz-sum dt { font-size: 0.9375rem; color: #b3bdd0; }
.wz-sum dd { font-size: 1.0625rem; color: #fff; }
.wz-sum-h h3 { font-size: 1.25rem; }
.wz-det { background: #172946; }
.wz-det > summary { padding: 16px 0; }
.wz-more { padding: 0 20px 8px; }
.wz-more > .wz-fs:first-of-type { margin-top: 8px; }
/* Plan-Bedienelemente */
.pl-ctl .wz-btn { min-width: 48px; border-radius: 2px; }
.wz-sel { color: var(--q); font-size: 1.0625rem; }
@media (max-width: 559px) { .wz-card { padding: 12px 14px; } .wz-fs { margin-bottom: 34px; } }
.wz input, .wz textarea, .wz select, .wz input::-webkit-datetime-edit { font-family: var(--font); }
.wz-card:has(input:checked) b { font-weight: 600; }
@media (min-width: 560px) { .wz-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wz-sub-h { margin-top: 30px; }
.wz-fs > .wz-f { margin-top: 30px; }
@media (max-width: 559px) { .wz-card--pic b { font-size: 1rem; hyphens: auto; overflow-wrap: anywhere; } .wz-card--pic > span { padding: 10px 10px 12px; } }
@media (max-width: 559px) { .wz-card.wz-card--pic { padding: 0; } .wz-card--pic b { font-size: 0.9375rem; hyphens: none; overflow-wrap: normal; } }

/* ==========================================================================
   v9: Ein-Frage-Fokus (exklusives Akkordeon). Nur transform/opacity bzw. grid-template-rows.
   ========================================================================== */
.ac-list { display: grid; gap: 10px; }
.ac { background: #172946; border-radius: 2px; scroll-margin-top: 96px; border-left: 4px solid transparent; transition: border-color 0.25s ease; }
.ac.is-open { border-left-color: var(--accent); background: #1b3157; }
.ac-t { margin: 0; font-size: inherit; line-height: 1.3; }
.ac-h { display: flex; align-items: center; gap: 8px 16px; width: 100%; min-height: 64px; padding: 14px 18px; background: transparent; color: #fff; border: 0; border-radius: 0; text-align: left; cursor: pointer; font: 500 1.125rem/1.3 var(--font); }
.ac-h:hover { background: rgba(255, 255, 255, 0.06); }
.ac-h:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.ac-ti { flex: 1 1 auto; min-width: 0; }
.ac-opt { font-style: normal; font-weight: 400; font-size: 0.9375rem; color: #b3bdd0; margin-left: 8px; }
.ac-req { color: inherit; font-weight: 600; font-size: 0.875rem; opacity: .85; }
.ac-sum { flex: 0 1 46%; min-width: 0; text-align: right; color: var(--accent-light); font-size: 1.0625rem; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac.is-open .ac-sum { opacity: 0; }
.ac-ic { flex: none; width: 24px; height: 24px; position: relative; }
.ac-ic::before { content: ""; position: absolute; left: 6px; top: 5px; width: 9px; height: 9px; border-right: 2px solid #c9d2e6; border-bottom: 2px solid #c9d2e6; transform: rotate(45deg); transition: transform 0.3s ease; }
.ac.is-open .ac-ic::before { transform: translateY(5px) rotate(-135deg); }
.ac.is-done:not(.is-open) .ac-ic::before { left: 5px; top: 4px; width: 7px; height: 13px; border-color: var(--accent); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.ac-b { display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden; transition: grid-template-rows 0.38s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease, visibility 0s linear 0.38s; }
.ac.is-open > .ac-b { grid-template-rows: 1fr; opacity: 1; visibility: visible; transition-delay: 0s; }
.ac-in { overflow: hidden; min-height: 0; }
.ac-pad { padding: 6px 22px 26px 22px; }
.ac-pad .wz-fs:last-child { margin-bottom: 0; }
.ac-go { margin: 24px 0 0; }
.ac-pad .wz-card, .ac-pad .wz-trow { outline-offset: -2px; }
@media (max-width: 559px) { .ac-h { flex-wrap: wrap; } .ac-ti { flex-basis: calc(100% - 40px); } .ac-sum { order: 3; flex-basis: 100%; text-align: left; white-space: normal; } .ac-ic { order: 2; margin-left: auto; position: absolute; right: 14px; top: 20px; } .ac-h { position: relative; padding-right: 48px; } .ac-pad { padding: 4px 14px 22px; } }
@media (prefers-reduced-motion: reduce) { .ac, .ac-b, .ac-ic::before { transition: none; } }

/* v10: Zeltzeilen, Hinzufuegen-Button, Upload-Flaeche */
.wz-trow--new { display: block; padding: 18px 18px 6px; }
.wz-trow--new .wz-fs { margin-bottom: 12px; }
.wz-trow--new > .wz-btn { margin: 0 0 14px; }
.wz-flabel { display: block; margin: 0 0 10px; font-size: 1.0625rem; font-weight: 500; color: var(--q); }
.wz-fixed { margin: 0; min-height: 54px; display: flex; align-items: center; padding: 0 14px; background: #1b3157; color: #fff; font-size: 1.125rem; border-radius: 2px; }
.wz-add { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 68px; margin: 14px 0 6px; padding: 14px 20px; background: rgba(176, 141, 87, 0.16); color: #fff; border: 3px dashed var(--accent); border-radius: 2px; cursor: pointer; font: 500 1.25rem/1.2 var(--font); transition: background-color 0.15s ease; }
.wz-add:hover { background: rgba(176, 141, 87, 0.32); }
.wz-add:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.wz-add-plus { display: grid; place-items: center; width: 36px; height: 36px; background: var(--accent); color: #0e1b33; font-size: 1.75rem; line-height: 1; font-weight: 500; border-radius: 2px; }
.ac-hint { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; line-height: 1.35; color: #b3bdd0; }
.up-zone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 36px 20px; background: #14243f; border: 3px dashed #7e93bd; border-radius: 2px; text-align: center; transition: background-color 0.15s ease, border-color 0.15s ease; }
.up-zone.is-over { background: rgba(176, 141, 87, 0.22); border-color: var(--accent); }
.up-zone:focus-within { border-color: var(--accent-light); }
.up-t { margin: 0; font-size: 1.375rem; color: #fff; }
.up-or { margin: 0; color: #b3bdd0; }
.up-btn { margin-top: 4px; min-height: 56px; padding: 0 28px; font-size: 1.125rem; cursor: pointer; }
.up-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.up-zone:has(.up-input:focus-visible) .up-btn { outline: 2px solid #fff; outline-offset: 3px; }
.up-h { margin: 12px 0 0; }
.wz-files li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px; background: #1b3157; border-radius: 2px; }
.wz-files li.wz-hint { background: transparent; padding-left: 0; }
.up-name { flex: 1 1 12rem; min-width: 0; overflow-wrap: anywhere; color: #fff; }
.up-size { color: #b3bdd0; font-size: 0.9375rem; }
.wz-files .wz-btn { min-height: 40px; padding: 0 14px; font-size: 1rem; }
.up-zone > * { justify-self: center; }
.wz-add { background: rgba(176, 141, 87, 0.28); }
.wz-add:hover { background: rgba(176, 141, 87, 0.44); }
@media (min-width: 900px) { .wz-trow:not(.wz-trow--new) { grid-template-columns: 9rem 13rem 7rem minmax(0, 1fr) auto; } .wz-trow:not(.wz-trow--new) .wz-f--wide, .wz-trow:not(.wz-trow--new) > .wz-btn { grid-column: auto; } }
@media (max-width: 899px) { .wz-trow:not(.wz-trow--new) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .wz-trow:not(.wz-trow--new) .wz-f--wide, .wz-trow:not(.wz-trow--new) > .wz-btn { grid-column: 1 / -1; } }
.wz-add { background: #7a5a30; border: 3px solid var(--accent-light); }
.wz-add:hover { background: #8d6a38; }
.wz-add .wz-add-plus { background: #f3e6cf; }
.wz-fixed { white-space: nowrap; padding: 0 12px; }
@media (max-width: 559px) { .wz-fixed { font-size: 1rem; } }

/* v11: Texte 06.11. */
.scene-copy h1 { font-size: clamp(2rem, 1rem + 4.2vw, 5.25rem); max-width: 16em; }
.spec-wrap { overflow-x: auto; }
.spec { width: 100%; border-collapse: collapse; font-size: var(--step-body); }
.spec th, .spec td { text-align: left; padding: 16px 18px; background: var(--bg); vertical-align: top; }
.spec thead th { color: var(--accent-light); font-weight: 500; background: #14243f; }
.spec tbody th { font-weight: 500; color: #fff; }
.spec tr + tr th, .spec tr + tr td { border-top: 6px solid var(--surface); }
.spec-note { margin: 24px 0 0; max-width: 64ch; font-size: var(--step-lead); }
.anl-grid { display: grid; gap: 20px; }
.anl-grid article { background: var(--bg); padding: 24px; }
.anl-grid h3 { font-size: var(--step-lead); margin-bottom: 10px; color: var(--accent-light); }
.anl-grid p { margin: 0; max-width: 60ch; }
@media (min-width: 900px) { .anl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } .anl-grid article { padding: 32px; } }
.cf-cap { transition: opacity 0.2s ease, visibility 0s linear 0s; }
.cf-cap.is-on { transition: opacity 0.35s ease 0.05s, visibility 0s linear 0s; }
.js .fab:not(.is-on) { transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0s; }

/* AGB-Seite */
.paper.agb { padding: 32px 16px 40px; }
@media (min-width: 900px) { .paper.agb { padding: 56px 56px 64px; } }
.agb > * { max-width: 68ch; margin-left: auto; margin-right: auto; }
.agb > .tbl-wrap, .agb .agb-s .tbl-wrap { max-width: 100%; }
.agb-meta { margin: 0 auto 32px; line-height: 1.6; }
.agb-toc { padding: 8px 0 8px; margin-bottom: 48px; }
.agb-sub { font-size: var(--step-lead); margin: 0 auto 8px; }
.agb-toc-t { font-weight: 600; margin: 0 0 8px; }
.agb-toc ol { list-style: none; margin: 0; padding: 0; columns: 1; }
@media (min-width: 640px) { .agb-toc ol { columns: 2; column-gap: 32px; } }
.agb-toc li { padding: 4px 0; break-inside: avoid; }
.agb-s { max-width: 68ch; margin: 0 auto 48px; scroll-margin-top: 96px; }
.agb-s h2 { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.01em; margin: 0 0 16px; line-height: 1.25; }
.agb-s p { margin: 0 0 1.1em; max-width: 68ch; line-height: 1.65; }
.agb-ol { margin: 0 0 1.2em; padding-left: 1.4em; }
.agb-ol li { margin-bottom: .9em; padding-left: .3em; line-height: 1.65; max-width: 68ch; }
.agb-up { margin-top: 8px; font-size: .9375rem; }
.tbl-wrap { overflow-x: auto; margin: 8px 0 1.6em; -webkit-overflow-scrolling: touch; }
.tbl-wrap:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.agb-tbl { border-collapse: collapse; width: 100%; font-size: 1rem; line-height: 1.5; }
.agb-tbl th, .agb-tbl td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid rgba(0,0,0,.18); }
.agb-tbl thead th { font-weight: 600; border-bottom: 2px solid currentColor; }
.agb-tbl tbody th { font-weight: 400; }
.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; }
.agb-ul { margin: 0 0 1.2em; padding-left: 1.4em; }
.agb-ul li { margin-bottom: .7em; line-height: 1.65; max-width: 68ch; }
.agb-up a, .agb-toc a, .agb-s p a { display: inline-block; padding: 10px 0; }
.agb-s p a { display: inline; padding: 0; }

/* Mobil: Touch-Ziele mindestens 44 px */
.foot .addr a, .foot-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
a.mark { display: inline-flex; align-items: center; min-height: 44px; }
.sc-act a, .cf-links a, a.more, a.sz-more { display: inline-flex; align-items: center; min-height: 44px; }
.wz-segs button::after { content: ""; position: absolute; left: 0; right: 0; top: -19px; bottom: -19px; }
.addr a { min-width: 44px; }
main a[href^="mailto:"], main a[href^="tel:"] { display: inline-block; padding: 9px 0; }
.agb-s p a[href^="mailto:"], .agb-s p a[href^="tel:"], .agb-meta a { padding: 9px 0; display: inline-block; }
.wz-link { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 640px) { .spec th, .spec td { padding: 12px 10px; font-size: 1rem; overflow-wrap: anywhere; } .spec-wrap { overflow-x: visible; } }

/* Desktop: Coverflow-Abschnitt richtet sich nach der Fensterhoehe (Ueberschrift, Bild, Beschriftung und Pfeile gemeinsam im Sichtfeld) */
@media (min-width: 900px) {
  .cf { padding-top: clamp(40px, 7svh, 96px); padding-bottom: clamp(40px, 6svh, 72px); }
  .cf-head { margin-bottom: clamp(16px, 2.4svh, 32px); }
  .cf-stage { --h: clamp(220px, min(38vw, calc(100svh - 470px)), 580px); }
  .cf-ctl { margin-top: clamp(12px, 1.8svh, 24px); }
}

/* Desktop: Abstaende und Schriftgroessen skalieren auch mit der Fensterhoehe (16:9-Fenster mit Windows-Skalierung 125/150 %) */
@media (min-width: 900px) {
  :root { --sec: clamp(64px, 14svh, 140px); --step-display: clamp(3rem, min(5.4vw, 9svh), 5.25rem); }
  .sz-list li { padding: clamp(14px, 2.4svh, 28px); }
  .sz-list .size-sq { --u: clamp(8px, 1.5svh, 14px); width: calc(var(--n, 3) * var(--u)); margin: calc((5 - var(--n, 3)) * var(--u)) 0 var(--u); }
}

/* Anfrage am Desktop: Weiter-Schaltflaeche bleibt am unteren Fensterrand des offenen Teils sichtbar */
.ac-in { overflow: clip; }
@media (min-width: 900px) {
  .ac-go { position: sticky; bottom: 0; z-index: 3; margin: 16px -22px 0; padding: 14px 22px 16px; background: #1b3157; }
}
@media (min-width: 900px) { .ac-go { max-width: none; } }

/* Breite Fenster (21:9): Container waechst mit, Lesetext bleibt durch ch-Grenzen begrenzt */
@media (min-width: 1700px) { :root { --max: clamp(1360px, 62vw, 2000px); } }
/* Groessen-Raster: drei Zelte nebeneinander, Garnituren als Streifen darunter, damit der Abschnitt ins Fenster passt */
@media (min-width: 900px) {
  .sz-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
  .sz-list li:nth-child(4) { grid-column: 1 / -1; }
  .sz-pic { min-height: 0; }
}

/* Desktop: Bildbaender richten sich nach der Fensterhoehe, damit der Inhalt darunter im ersten Bildschirm beginnt */
@media (min-width: 900px) {
  .band .ph { aspect-ratio: auto; height: clamp(180px, calc(100svh - 440px), 560px); }
  .band .ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .wz-main .band .ph { height: clamp(110px, calc(100svh - 560px), 240px); }
}

/* Anfrage: schliessender Teil ohne Animation */
.ac.ac-instant > .ac-b { transition: none; }
/* Impressum: gleiche ruhige Spalte wie bei den anderen Rechtstexten */
.legal.legal--stack { display: block; padding: 32px 16px 40px; }
@media (min-width: 900px) { .legal.legal--stack { display: block; padding: 56px 56px 64px; } }
.legal.legal--stack > * { max-width: 68ch; margin-left: auto; margin-right: auto; }
.legal.legal--stack > h2 { margin: 40px auto 12px; }
.legal.legal--stack > h2:first-of-type { margin-top: 0; }
.legal.legal--stack > p { margin-bottom: 1.1em; line-height: 1.65; }
.legal.legal--stack > h2, .legal.legal--stack > p { width: min(44rem, 100%); max-width: none; margin-left: auto; margin-right: auto; box-sizing: border-box; }

/* Desktop: Hochformat-Fotos neben Text nicht groesser als das Fenster; weniger Leerflaeche auf 16:9-Monitoren */
@media (min-width: 900px) {
  .split .photo:not(.photo--wide) .ph { aspect-ratio: 5 / 4; }
  .photo .ph { max-height: clamp(320px, calc(100svh - 260px), 620px); }
  .split .grid { align-items: center; }
}
/* Ueberschrift und Einleitung nebeneinander: erste Zeilen auf einer Grundlinie statt unten ausgerichtet */
@media (min-width: 900px) { .sec-head { align-items: baseline; } }
.split h2 + p { margin-top: 0; }
/* Text neben Text: beide Spalten oben ausrichten, erste Zeilen auf einer Linie */
@media (min-width: 900px) { .split.split--top .grid, #holzboden .grid, #koppeln .grid { align-items: start; } }
#holzboden .split-b h3 { margin-top: 0; font-size: var(--step-lead); }
/* Zelte-Seite: Einleitung beginnt an der Kante der zweiten Bildspalte, erste Zeilen von Ueberschrift und Text auf einer Linie */
@media (min-width: 900px) {
  .gal-head { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 12px; align-items: baseline; }
  .gal-head p { grid-column: 2 / 4; max-width: 60ch; }
}
.wz-sel input { min-height: 48px; width: 6.5rem; font-size: 1rem; padding: 0 10px; }
