/* =====================================================================
   Tobias Mittler Malermeisterbetrieb — Stylesheet
   Grundidee: Die Seite ist eine frisch verputzte Wand. Bleistiftnotizen,
   Malerkrepp-Etiketten und Musterplatten sind das Ordnungssystem.
   ===================================================================== */

:root {
  /* Farben */
  --kalk: #EDE6DA;          /* Grund: Kalkputz */
  --papier: #F8F3E9;        /* Zettel, Karten */
  --papier-2: #F1EADC;
  --krepp: #E4D3A9;         /* Malerkrepp */
  --krepp-2: #CDB88A;
  --tinte: #2A2723;         /* Text */
  --graphit: #2E3033;       /* dunkle Wand */
  --graphit-2: #1F2124;
  --creme: #F3ECDD;         /* Text auf dunkler Wand */
  --rot: #CB1105;           /* Mittler-Rot (Corporate) */
  --grau: #5E5851;
  --grau-2: #8A8279;
  --linie: #B9B0A2;
  --linie-2: #8F8677;
  --platte-1: #E5DAC5;
  --platte-2: #DBCBAC;
  --platte-3: #D0C0A1;

  /* Der Akzent ist über den Farbfächer im Hero umschaltbar */
  --akzent: var(--rot);
  --akzent-tief: color-mix(in oklab, var(--akzent) 76%, black);
  --akzent-hell: color-mix(in oklab, var(--akzent) 12%, var(--papier));

  /* Schrift */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --f-hand: "Caveat", "Segoe Script", "Comic Sans MS", cursive;

  /* Sonstiges */
  --radius: 5px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 56px;
  --schatten: 4px 4px 0 rgba(42, 39, 35, .12);

  --noise-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .2 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise-dunkel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .82 0 0 0 0 .8 0 0 0 0 .76 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Grundgerüst ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background-color: var(--kalk);
  background-image: var(--noise-hell);
  color: var(--tinte);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menue-offen { overflow: hidden; }

img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--akzent); color: #fff; }

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

.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;
}

.container {
  width: min(1320px, 100% - 2 * clamp(20px, 4vw, 56px));
  margin-inline: auto;
}
.abschnitt { position: relative; z-index: 1; padding: clamp(72px, 10vw, 140px) 0; }
.mono { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.text { font-size: clamp(16px, 1.25vw, 18px); line-height: 1.5; color: var(--grau); max-width: 58ch; }
.text a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Display-Schrift mit Walzen-Füllung ----------
   Zwei Ebenen: Kontur (immer sichtbar) und Füllung, die per Maske
   von links nach rechts „gestrichen“ wird. --p läuft von 0 bis 1. */
.rf {
  --p: 1;
  position: relative;
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 82%;
  font-weight: 760;
  line-height: .92;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.rf-strich, .rf-fuell { display: block; }
.rf-strich { color: transparent; -webkit-text-stroke: 1px var(--tinte); }
.rf-fuell {
  position: absolute; inset: 0; color: var(--tinte);
  -webkit-mask-image: linear-gradient(100deg, #000 0 40%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.08) 62%, transparent 70% 100%);
  mask-image: linear-gradient(100deg, #000 0 40%, rgba(0,0,0,.5) 52%, rgba(0,0,0,.08) 62%, transparent 70% 100%);
  -webkit-mask-size: 250% 100%; mask-size: 250% 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: calc(100% - (var(--p) * 100%)) 0;
  mask-position: calc(100% - (var(--p) * 100%)) 0;
}
.rf--creme .rf-strich { -webkit-text-stroke-color: var(--creme); }
.rf--creme .rf-fuell { color: var(--creme); }
.rf--h2 { font-size: clamp(38px, 5.6vw, 88px); }
.rf--h2-klein { font-size: clamp(34px, 4.4vw, 68px); }

/* ---------- Bleistiftnotizen ---------- */
.notiz {
  font-family: var(--f-hand); font-weight: 600;
  font-size: clamp(19px, 1.7vw, 25px); line-height: 1.05;
  letter-spacing: .01em; color: var(--grau); margin: 0;
}
.notiz--creme { color: rgba(243, 236, 221, .82); }
.notiz svg { display: inline-block; vertical-align: middle; width: 1.6em; height: 1.1em; }
.notiz .pfeil { color: var(--grau-2); }

.kritzel {
  position: relative; display: inline-block; transform: rotate(-2deg);
}
.kritzel .strich {
  position: absolute; left: 0; right: 0; bottom: -.3em; height: .38em; width: 100%;
  color: var(--grau-2); overflow: visible;
}
.notiz--creme .kritzel .strich { color: rgba(243, 236, 221, .5); }

/* ---------- Malerkrepp ---------- */
.etikett {
  display: inline-block; padding: 8px 15px 7px;
  font-family: var(--f-mono); font-weight: 500; font-size: 11px; line-height: 1;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tinte);
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(0,0,0,.02)), var(--krepp);
  opacity: .96;
  clip-path: polygon(0 0, 3% 14%, 1% 30%, 4% 50%, 1% 70%, 3% 88%, 0 100%, 100% 100%, 97% 88%, 99% 70%, 96% 50%, 99% 30%, 97% 12%, 100% 0);
  transform: rotate(-1.4deg);
  white-space: nowrap;
}
.etikett--rechts { transform: rotate(1.6deg); }
.etikett--akzent { color: var(--akzent); }

.krepp {
  position: absolute; z-index: 3; width: 118px; height: 30px; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(0,0,0,.03)), var(--krepp);
  opacity: .88;
  clip-path: polygon(0 0, 2% 15%, 0 35%, 2% 60%, 0 85%, 3% 100%, 100% 100%, 98% 80%, 100% 55%, 97% 30%, 100% 10%, 98% 0);
}
.krepp--l { top: -13px; left: -34px; transform: rotate(-36deg); }
.krepp--r { top: -13px; right: -34px; transform: rotate(35deg); }
.krepp--oben { top: -15px; left: 50%; transform: translateX(-50%) rotate(-2deg); }

/* ---------- Farbchips (Musterkarten) ---------- */
.chip {
  position: relative; display: inline-grid; place-items: center;
  width: 38px; height: 38px; border: 0; border-radius: 4px;
  background: var(--akzent); color: #fff;
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .04em;
  box-shadow: 1px 1px 0 rgba(0,0,0,.18);
}
.chip::after {
  content: ""; position: absolute; top: 4px; left: 4px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--kalk); box-shadow: inset 0 1px 1px rgba(0,0,0,.35);
}

/* ---------- Knöpfe ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 0;
  height: 48px; padding: 5px; border: 1px solid var(--linie-2); border-radius: var(--radius);
  background: var(--papier); color: var(--tinte); text-decoration: none; cursor: pointer;
  font-family: var(--f-mono); font-weight: 500; font-size: 15px; line-height: 1; letter-spacing: -.01em;
  box-shadow: 2px 2px 0 rgba(42, 39, 35, .18);
  overflow: clip; isolation: isolate;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), color .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: 0; background: var(--graphit);
  transform: scaleY(0); transform-origin: bottom; transition: transform .42s var(--ease);
}
.btn > * { position: relative; z-index: 1; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(42, 39, 35, .18); color: #fff; }
.btn:hover::before { transform: scaleY(1); }
.btn:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 rgba(42, 39, 35, .18); }
.btn .ico {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 3px;
  background: var(--akzent); color: #fff; flex: none;
}
.btn .ico svg { width: 18px; height: 18px; }
.btn .lbl { padding: 0 16px 0 12px; white-space: nowrap; }
.btn--akzent { background: var(--akzent); border-color: var(--akzent-tief); color: #fff; box-shadow: 2px 2px 0 rgba(42, 39, 35, .28); }
.btn--akzent .ico { background: rgba(255, 255, 255, .18); }
.btn--akzent::before { background: var(--akzent-tief); }
.btn--dunkel { background: var(--graphit); border-color: var(--graphit-2); color: var(--creme); }
.btn--dunkel::before { background: var(--akzent); }
.btn--breit { min-width: 220px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::before { transition: none; } }

.btn-split {
  display: inline-flex; height: 46px; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: var(--tinte); border: 1px solid var(--linie-2);
  background: rgba(255, 255, 255, .45);
  font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: -.01em;
  box-shadow: 2px 2px 0 rgba(42, 39, 35, .12);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-split .q {
  width: 46px; display: grid; place-items: center; background: var(--akzent); color: #fff;
  border-right: 1px solid var(--linie-2); transition: background .3s var(--ease);
}
.btn-split .q svg { width: 18px; height: 18px; }
.btn-split .t { display: flex; align-items: center; padding: 0 18px; white-space: nowrap; }
.btn-split:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 rgba(42, 39, 35, .12); }
.btn-split:hover .q { background: var(--akzent-tief); }

/* ---------- Listen mit Strichlinie ---------- */
.liste { list-style: none; margin: 0 0 26px; padding: 0; }
.liste li {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
  border-bottom: 1px dashed var(--linie-2); font-size: 15px; line-height: 1.35;
}
.liste li::before {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 3px; background: var(--akzent);
  -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat;
}

/* ---------- Navigation (Desktop) ---------- */
.eck {
  position: fixed; top: 18px; z-index: 40; display: none; max-width: 180px;
  font-family: var(--f-mono); font-size: 10px; line-height: 1.55; letter-spacing: .14em; text-transform: uppercase;
  color: var(--grau-2); text-decoration: none;
}
@media (min-width: 1280px) { .eck { display: block; } }
.eck--l { left: 24px; } .eck--r { right: 24px; }
.eck--r:hover { color: var(--akzent); }
.js .eck { opacity: clamp(0, calc(1 - var(--gelesen, 0) * 30), 1); transition: opacity .25s linear; }
.js .eck--r { pointer-events: none; }
.js .eck--r:focus-visible { opacity: 1; pointer-events: auto; }

.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
  display: none; align-items: center; justify-content: space-between; gap: 18px;
  height: var(--nav-h); padding: 0 6px 0 8px; width: min(820px, calc(100vw - 48px));
  background: #fff; border: 1px solid rgba(42, 39, 35, .7); border-radius: 6px;
  box-shadow: 2px 2px 0 rgba(42, 39, 35, .18);
}
.nav-marke { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--tinte); }
.nav-marke .tm {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 4px;
  background: var(--akzent); color: #fff; font-family: var(--f-display); font-stretch: 82%;
  font-weight: 800; font-size: 15px; letter-spacing: -.02em;
}
.nav-marke .name { font-family: var(--f-display); font-stretch: 90%; font-weight: 700; font-size: 16px; letter-spacing: -.01em; white-space: nowrap; }
.nav-marke .name small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-2); margin-top: 2px; }
.nav ul { display: flex; gap: 18px; margin: 0; padding: 0; list-style: none; }
.nav ul a {
  position: relative; display: inline-block; padding: 6px 0; text-decoration: none;
  font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; letter-spacing: -.01em; color: #414141;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: var(--akzent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav ul a:hover::after, .nav ul a.aktiv::after { transform: scaleX(1); }
.nav-cta {
  display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 5px; border-radius: 4px;
  background: var(--graphit); color: var(--papier); text-decoration: none;
  font-family: var(--f-mono); font-weight: 500; font-size: 12.5px; white-space: nowrap;
  transition: background .3s var(--ease);
}
.nav-cta:hover { background: var(--akzent); }
.nav-cta .q { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 3px; background: var(--akzent); color: #fff; transition: background .3s var(--ease); }
.nav-cta:hover .q { background: rgba(255,255,255,.2); }
.nav-cta .q svg { width: 17px; height: 17px; }

/* ---------- Navigation (Mobil) ---------- */
.nav-mobil {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  height: 58px; padding: 0 12px 0 14px;
  background: rgba(248, 243, 233, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(42, 39, 35, .25);
}
.nav-mobil .nav-marke .tm { width: 36px; height: 36px; }
.nav-mobil-aktionen { display: flex; gap: 8px; }
.knopf-klein {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; min-width: 44px; padding: 0 13px; border: 1px solid var(--linie-2); border-radius: 4px;
  background: #fff; text-decoration: none; cursor: pointer;
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; color: var(--tinte);
}
.knopf-klein svg { width: 17px; height: 17px; }
.knopf-klein--akzent { background: var(--akzent); border-color: var(--akzent-tief); color: #fff; }

.menue {
  position: fixed; inset: 0; z-index: 60; overflow: auto;
  background: var(--papier); background-image: var(--noise-hell);
  padding: 90px 24px 40px;
}
.menue[hidden] { display: none; }
.menue-schliessen { position: absolute; top: 10px; right: 12px; }
.menue ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie-2); }
.menue li { border-bottom: 1px dashed var(--linie-2); }
.menue li a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0; text-decoration: none;
  font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 34px; line-height: 1;
}
.menue li a span { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .12em; color: var(--grau-2); text-transform: uppercase; }
.menue-fuss { margin-top: 28px; display: grid; gap: 10px; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .nav-mobil { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; z-index: 1; padding: clamp(96px, 14vh, 150px) 0 0; }
.hero-block { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; translate: 0 calc(var(--sp, 0) * 9vh); opacity: calc(1 - var(--sp, 0) * .55); }
.hero-titel { position: relative; }
.hero-titel .rf { font-size: clamp(44px, 7.2vw, 116px); }
.hero-notiz { position: static; text-align: left; margin: 0 auto 18px; max-width: 320px; }
.hero-notiz--r { margin: 18px auto 0; }
.hero-notiz .kritzel { transform: rotate(-3deg); }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.walze {
  position: absolute; z-index: 5; top: -26px; left: calc(var(--x, 0) * 100%);
  width: 48px; height: 48px; color: var(--akzent); pointer-events: none;
  transform: translateX(-60%) rotate(-18deg); opacity: 0;
  transition: opacity .4s var(--ease);
}
.walze.laeuft { opacity: 1; }
.walze.fertig { opacity: 0; }

@media (min-width: 1024px) {
  .hero-notiz { position: absolute; margin: 0; max-width: none; white-space: nowrap; }
  .hero-notiz--l { top: -36px; left: -120px; translate: calc(var(--sp, 0) * -40px) 0; }
  .hero-notiz--r { top: 54%; right: -218px; translate: calc(var(--sp, 0) * 40px) 0; }
}

.hero-bild { position: relative; margin-top: clamp(40px, 6vw, 72px); }
.hero-figur { position: relative; margin: 0; border: 1px solid var(--linie-2); background: var(--papier); padding: 12px 12px 18px; box-shadow: var(--schatten); }
.hero-figur img { display: block; width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 55% 45%; }
.hero-figur .etikett { position: absolute; top: -13px; left: 34px; }
.hero-figur figcaption {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 14px 4px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--grau-2);
}
.hero-figur figcaption b { font-family: var(--f-body); font-weight: 500; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--tinte); }

/* Farbfächer */
.faecher-wrap {
  position: relative; display: grid; gap: 14px; align-items: end; margin-top: 26px;
}
.faecher { position: relative; width: 250px; height: 190px; margin: 0 auto; }
.farbe {
  position: absolute; left: 100px; bottom: 0; width: 50px; height: 172px;
  border: 1px solid rgba(0, 0, 0, .18); border-radius: 6px 6px 9px 9px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.06)), var(--c);
  transform-origin: 50% 152px;
  transform: rotate(calc((24deg - var(--i) * 9.5deg) * var(--sp, 1)));
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .18);
  cursor: pointer; padding: 0;
  transition: transform .55s var(--ease), outline-color .2s;
}
.farbe::before {
  content: attr(data-nr); position: absolute; top: 9px; left: 0; right: 0; text-align: center;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; color: rgba(255,255,255,.8);
}
.farbe::after {
  content: ""; position: absolute; left: 50%; bottom: 11px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--kalk); transform: translateX(-50%); box-shadow: inset 0 1px 1px rgba(0,0,0,.35);
}
.faecher:hover .farbe, .faecher:focus-within .farbe { transform: rotate(calc(38deg - var(--i) * 15deg)); }
.farbe[aria-pressed="true"] { outline: 2px solid var(--tinte); outline-offset: 3px; }
.faecher-text { text-align: center; }
.faecher-name { margin: 8px 0 0; color: var(--grau-2); }

@media (min-width: 900px) {
  .faecher-wrap {
    position: absolute; left: clamp(24px, 3vw, 52px); bottom: 8px; z-index: 4;
    grid-template-columns: auto auto; align-items: end; gap: 22px; margin: 0;
  }
  .faecher { margin: 0; }
  .faecher-text { text-align: left; padding-bottom: 2px; }
  .faecher-text .notiz { font-size: 20px; }
  .faecher-name { margin-top: 4px; }
  .hero-figur { padding-bottom: 76px; }
  .hero-figur figcaption { position: absolute; left: 560px; right: 16px; bottom: 16px; padding: 0; justify-content: flex-end; text-align: right; }
}

/* ---------- Abschnittskopf ---------- */
.kopf { display: grid; gap: 22px; margin-bottom: clamp(36px, 5vw, 64px); }
.kopf .notiz { margin-bottom: 14px; }
.kopf .intro { margin: 0; }
.kopf-aktion { margin-top: 20px; }
@media (min-width: 900px) {
  .kopf { grid-template-columns: 1.25fr .75fr; align-items: end; gap: 64px; }
  .kopf .intro { padding-bottom: 8px; }
}

/* ---------- Musterwand (Leistungen) ---------- */
.musterwand { display: grid; gap: 40px; }
.hub { display: none; }
.hub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.hub-chips .chip { cursor: pointer; opacity: .42; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.hub-chips .chip.aktiv, .hub-chips .chip:hover { opacity: 1; transform: translateY(-2px); }
.hub-stapel { display: grid; }
.hub-stapel > * {
  grid-area: 1 / 1; visibility: hidden; opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.hub-stapel > .aktiv { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: 0s; }

.eintrag .notiz { margin-bottom: 10px; }
.eintrag h3 {
  margin: 0 0 16px; font-family: var(--f-display); font-stretch: 82%; font-weight: 760;
  font-size: clamp(34px, 3.6vw, 60px); line-height: .92; letter-spacing: -.015em;
}
.eintrag .text { margin: 0 0 18px; font-size: 16px; }

.panel { scroll-margin-top: calc(var(--nav-h) + 30px); margin-bottom: clamp(40px, 8vh, 96px); }
.panel-figur {
  position: relative; margin: 0; border: 1px solid var(--linie-2); background: var(--papier);
  padding: 10px 10px 14px; box-shadow: var(--schatten);
  rotate: calc(var(--kipp, 0deg) * (1 + 3 * (1 - var(--sp, 1)))); translate: 0 calc((1 - var(--sp, 1)) * 48px); opacity: calc(.25 + var(--sp, 1) * .75);
}
.panel-figur img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel-figur .etikett { position: absolute; top: -12px; left: 22px; }
.panel-figur figcaption {
  display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 0;
  font-family: var(--f-mono); font-size: 11px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--grau-2);
}
.panel-text { margin-top: 22px; }
.panel:nth-child(odd) .panel-figur { --kipp: -.7deg; }
.panel:nth-child(even) .panel-figur { --kipp: .6deg; }

@media (min-width: 900px) {
  .musterwand { grid-template-columns: minmax(320px, 430px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .hub { display: block; position: sticky; top: calc(var(--nav-h) + 44px); }
  .panel { min-height: 76vh; display: flex; align-items: center; }
  .panel-figur { width: 100%; }
  .panel-text { display: none; }
}

/* ---------- Dunkle Wand mit Auftragszettel ---------- */
.wand-dunkel {
  position: relative; z-index: 1; overflow: clip; color: var(--creme);
  background-color: var(--graphit); background-image: var(--noise-dunkel);
  padding: 0;
}
.wand-buehne { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; padding: 70px 0 40px; }
.wand-buehne .kopf-mitte { translate: 0 calc(var(--sp, 0) * -14vh); opacity: clamp(0, calc(1 - var(--sp, 0) * 1.7), 1); }
/* Der Zettel fährt über die feste Wand, bleibt kurz hängen (sticky) und scrollt dann mit weg */
.zettel-wrap { position: relative; z-index: 2; margin-top: -10vh; padding-bottom: 20vh; }
@media (min-width: 900px) {
  .zettel-wrap { padding-bottom: 62vh; }
  .zettel { position: sticky; top: max(28px, calc((100vh - 780px) / 2)); }
}
.wand-dunkel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 40% at 20% 10%, rgba(255,255,255,.06), transparent 70%),
    radial-gradient(50% 50% at 85% 90%, rgba(0,0,0,.35), transparent 70%);
}
.wand-dunkel .kopf-mitte { position: relative; text-align: center; max-width: 820px; margin: 0 auto; }
.wand-dunkel .kopf-mitte .notiz { margin-bottom: 16px; }
.wand-dunkel .kopf-mitte .rf { font-size: clamp(44px, 7.4vw, 112px); }
.wand-dunkel .intro { color: rgba(243, 236, 221, .78); max-width: 52ch; margin: 22px auto 0; }

.zettel {
  position: relative; max-width: 760px; margin: 56px auto 0; color: var(--tinte);
  background: var(--papier);
  background-image: repeating-linear-gradient(103deg, rgba(0,0,0,.015) 0 2px, transparent 2px 5px);
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 60px) 40px;
  --zp: clamp(0, calc(var(--sp, 1) / .7), 1);
  rotate: calc(-.6deg - (1 - var(--zp)) * 5deg); translate: 0 calc((1 - var(--zp)) * 12vh);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .4), 0 2px 0 rgba(0, 0, 0, .25);
}
.zettel .krepp { opacity: clamp(0, calc((var(--sp, 1) - .55) * 5), .88); }
.zettel-kopf {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 1px solid var(--linie); padding-bottom: 12px; margin-bottom: 24px; color: var(--grau);
}
.zusagen { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.zusagen li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; }
.kasten {
  width: 24px; height: 24px; border: 1.5px solid var(--tinte); border-radius: 3px;
  display: grid; place-items: center; margin-top: 2px;
}
.kasten::after {
  content: ""; width: 20px; height: 20px; background: var(--akzent);
  -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat;
  transform: translate(2px, -3px) rotate(-6deg);
}
.zusagen b { display: block; font-size: 18px; line-height: 1.2; font-weight: 600; }
.zusagen div span { display: block; color: var(--grau); font-size: 15px; margin-top: 3px; }
.zettel-fuss {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap;
  margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--linie);
}
.zettel-fuss .mono { color: var(--grau-2); }
.unterschrift { text-align: right; }
.unterschrift b { display: block; font-family: var(--f-hand); font-weight: 600; font-size: 34px; line-height: 1; color: var(--tinte); transform: rotate(-3deg); transform-origin: right; }
.unterschrift span { display: block; margin-top: 4px; color: var(--grau-2); }

/* ---------- Musterplatten (gestapelte Tafeln) ---------- */
.platte { position: relative; z-index: 2; margin-top: -60px; padding: 0 clamp(10px, 2vw, 32px); }
.platte--erste { margin-top: -110px; }
.platte-innen {
  position: relative; border-radius: 14px 14px 0 0;
  background-color: var(--pf); background-image: var(--noise-hell);
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 110px) clamp(96px, 12vw, 190px);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, .16), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.platte-reiter {
  position: absolute; top: -34px; left: var(--rx, 40px); height: 36px; padding: 0 30px;
  display: flex; align-items: center; gap: 10px; background-color: var(--pf); color: var(--tinte);
  font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  clip-path: polygon(0 100%, 12px 0, calc(100% - 12px) 0, 100% 100%);
}
.platte-reiter i { width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); }
.platte-loch {
  position: absolute; top: 22px; left: 26px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--kalk); box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35);
}
.platte-innen {
  opacity: calc(.12 + var(--sp, 1) * .88); rotate: calc(var(--kipp, -3deg) * (1 - var(--sp, 1))); translate: 0 calc((1 - var(--sp, 1)) * 110px);
  transform-origin: 50% 0; transition: opacity .2s linear, rotate .2s linear, translate .2s linear;
}

/* ---------- Karten (Arbeiten) ---------- */
.karten { display: grid; gap: 20px; }
.karte {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--papier); border: 1px solid var(--linie-2); box-shadow: var(--schatten);
  --schwung: 4;
  rotate: calc(var(--kipp, 0deg) * (1 + var(--schwung) * (1 - var(--sp, 1)))); translate: 0 calc((1 - var(--sp, 1)) * 70px); opacity: calc(.2 + var(--sp, 1) * .8);
  transition: rotate .35s var(--ease), translate .35s var(--ease), box-shadow .4s var(--ease);
}
.karte:hover { rotate: 0deg; translate: 0 -4px; box-shadow: 6px 8px 0 rgba(42, 39, 35, .14); }
.karte-bild { aspect-ratio: 4 / 3; overflow: hidden; }
.karte-bild img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.karte:hover .karte-bild img { transform: scale(1.04); }
.karte-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.karte-kat { margin: 0 0 10px; color: var(--akzent); }
.karte h3 {
  margin: 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 740;
  font-size: clamp(28px, 2.4vw, 36px); line-height: .95; letter-spacing: -.01em;
}
.karte-meta { margin: 8px 0 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--grau-2); }
.karte .txt { margin: 14px 0 0; color: var(--grau); font-size: 15px; line-height: 1.45; flex: 1; }
.karte-fuss { margin-top: 18px; padding-top: 12px; border-top: 1px solid rgba(42, 39, 35, .14); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; color: var(--akzent); }
.karte--akzent { background: var(--akzent); color: #fff; border-color: var(--akzent-tief); }
.karte--akzent .karte-kat { color: rgba(255, 255, 255, .8); }
.karte--akzent .karte-meta { color: rgba(255, 255, 255, .65); }
.karte--akzent .txt { color: rgba(255, 255, 255, .88); }
.karte--akzent .karte-fuss { color: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .25); }
@media (min-width: 900px) {
  .karten { grid-template-columns: 1fr 1.12fr 1fr; align-items: start; }
  .karte:first-child { --kipp: -1deg; margin-top: 10px; }
  .karte:last-child { --kipp: 1deg; margin-top: 10px; }
  .karte--akzent { margin-top: -22px; z-index: 1; }
}

/* Stimmen */
.stimmen { margin-top: clamp(56px, 8vw, 96px); }
.stimmen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 26px; }
.stimmen-kopf h3 { margin: 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(26px, 2.6vw, 38px); line-height: .95; }
.bewertung { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
.bewertung .sterne { display: inline-flex; gap: 2px; color: var(--akzent); }
.bewertung .sterne svg { width: 16px; height: 16px; }
.bewertung:hover .mono { color: var(--akzent); }
.stimmen-raster { display: grid; gap: 18px; }
.stimme {
  position: relative; background: var(--papier); border: 1px solid var(--linie-2); padding: 30px 24px 22px;
  box-shadow: var(--schatten); transform: rotate(var(--kipp, 0deg));
}
.stimme:nth-child(1) { --kipp: -.8deg; } .stimme:nth-child(2) { --kipp: .5deg; } .stimme:nth-child(3) { --kipp: -.4deg; }
.stimme p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--tinte); }
.stimme p::before { content: "„"; } .stimme p::after { content: "“"; }
.stimme footer { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; color: var(--grau-2); }
.stimme footer span:first-child { white-space: nowrap; }
.stimme footer span:last-child { margin-left: auto; text-align: right; }
@media (min-width: 900px) { .stimmen-raster { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Nachweise ---------- */
.nachweise { display: grid; gap: 16px; }
.nw {
  position: relative; display: flex; flex-direction: column; min-height: 280px;
  background: var(--papier); border: 1px solid var(--linie-2); padding: 28px; box-shadow: var(--schatten);
}
.nw .karte-kat { margin-bottom: 12px; }
.nw h3 { margin: 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(26px, 2.4vw, 40px); line-height: .96; letter-spacing: -.01em; }
.nw .txt { margin: 12px 0 0; color: var(--grau); font-size: 15px; line-height: 1.45; max-width: 52ch; }
.nw .txt a { color: var(--akzent); }
.nw-unten { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px; }
.nw-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; color: var(--graphit); }
.nw-punkte li { display: flex; align-items: center; gap: 9px; }
.nw-punkte li::before { content: ""; width: 12px; height: 12px; background: var(--akzent); -webkit-mask: var(--haken) center / contain no-repeat; mask: var(--haken) center / contain no-repeat; }
.nw--dunkel { background: var(--graphit); background-image: var(--noise-dunkel); color: var(--creme); border-color: var(--graphit-2); }
.nw--dunkel .karte-kat { color: rgba(243, 216, 168, .75); }
.nw--dunkel .txt { color: rgba(243, 236, 221, .75); }
.nw-text { display: block; }
.nw-text::after { content: ""; display: block; clear: both; }
.urkunde {
  float: right; position: relative; width: 118px; aspect-ratio: 3 / 4; margin: 4px 0 14px 20px;
  border: 1px solid var(--linie-2); background: #fff; box-shadow: 3px 3px 0 rgba(42, 39, 35, .12);
  transform: rotate(3deg);
}
.nw:not(.nw--breit) .urkunde { width: 96px; margin-left: 16px; }
.urkunde img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.urkunde .krepp { width: 70px; height: 20px; top: -8px; left: 50%; transform: translateX(-50%) rotate(-4deg); }

.zahlen { display: grid; grid-template-columns: 1fr 1fr; margin: auto 0 0; border-top: 1px solid rgba(243, 236, 221, .25); border-left: 1px solid rgba(243, 236, 221, .25); padding-top: 0; }
.zahlen div { min-height: 112px; padding: 14px; border-right: 1px solid rgba(243, 236, 221, .25); border-bottom: 1px solid rgba(243, 236, 221, .25); }
.zahlen dt { font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(34px, 3vw, 48px); line-height: 1; letter-spacing: -.02em; }
.zahlen dd { margin: 8px 0 0; font-family: var(--f-mono); font-size: 10px; line-height: 1.35; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 236, 221, .7); }
.zahlen dd span { display: block; margin-top: 3px; text-transform: none; letter-spacing: .02em; opacity: .8; }

.stempel { position: relative; width: 150px; height: 150px; flex: none; color: var(--akzent); rotate: calc(-7deg - (1 - var(--sp, 1)) * 25deg); scale: calc(1 + (1 - var(--sp, 1)) * .7); opacity: var(--sp, 1); }
.stempel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stempel-kern {
  position: absolute; inset: 24px; border-radius: 50%; background: var(--akzent); color: #fff;
  display: grid; place-content: center; text-align: center; padding: 8px;
  font-family: var(--f-mono); font-weight: 500; font-size: 9.5px; line-height: 1.3; letter-spacing: .12em; text-transform: uppercase;
}
.stempel-kern b { display: block; font-family: var(--f-display); font-stretch: 85%; font-weight: 800; font-size: 20px; letter-spacing: -.01em; margin-bottom: 4px; }

.material { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.material .etikett { transform: rotate(0); padding: 8px 12px 7px; }
.material .etikett:nth-child(odd) { transform: rotate(-1deg); }
.material .etikett:nth-child(even) { transform: rotate(1deg); }

.netz-kopf { margin: clamp(48px, 6vw, 72px) 0 18px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; }
.netz { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.netz a {
  display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 14px;
  background: var(--papier); border: 1px solid var(--linie-2);
  filter: grayscale(1) contrast(.95); opacity: calc(.78 * var(--sp, 1)); translate: 0 calc((1 - var(--sp, 1)) * 28px);
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.netz a:hover, .netz a:focus-visible { filter: none; opacity: 1; transform: translateY(-3px); }
.netz img { max-height: 60px; width: auto; object-fit: contain; mix-blend-mode: multiply; }

@media (min-width: 900px) {
  .nachweise { grid-template-columns: repeat(3, 1fr); }
  .nw--breit { grid-column: span 2; }
}

/* ---------- Über uns ---------- */
.betrieb { display: grid; gap: 32px; }
.portrait { position: relative; margin: 0 auto; max-width: 420px; background: var(--papier); border: 1px solid var(--linie-2); padding: 12px 12px 16px; box-shadow: var(--schatten); transform: rotate(-1.2deg); }
.portrait img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.portrait figcaption { padding: 12px 4px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 10px; color: var(--grau-2); }
.portrait figcaption span { white-space: nowrap; }
.portrait .krepp--oben { z-index: 4; }
.schichten { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--linie-2); }
.schichten li { display: grid; grid-template-columns: 78px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--linie-2); opacity: calc(.15 + var(--sp, 1) * .85); translate: calc((1 - var(--sp, 1)) * -28px) 0; }
.schichten .jahr { font-family: var(--f-mono); font-weight: 500; font-size: 13px; letter-spacing: .08em; color: var(--akzent); padding-top: 3px; }
.schichten b { display: block; font-size: 17px; font-weight: 600; line-height: 1.25; }
.schichten span { display: block; color: var(--grau); font-size: 15px; margin-top: 2px; }
@media (min-width: 900px) {
  .betrieb { grid-template-columns: minmax(300px, 420px) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .portrait { margin: 0; position: sticky; top: calc(var(--nav-h) + 44px); }
}

/* ---------- Showroom & Standorte ---------- */
.showroom-raster { display: grid; gap: 28px; }
.showroom-figur { position: relative; margin: 0; border: 1px solid var(--linie-2); background: var(--papier); padding: 12px 12px 16px; box-shadow: var(--schatten); }
.showroom-figur img { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.showroom-figur .etikett { position: absolute; top: -13px; left: 30px; }
.showroom-figur figcaption { padding: 14px 4px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--grau-2); }
.standorte { display: grid; gap: 14px; }
.ort {
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 250px;
  background: var(--papier-2); border: 1px solid rgba(42, 39, 35, .6); border-radius: 4px; padding: 24px; box-shadow: var(--schatten);
}
.ort .karte-kat { margin: 0 0 10px; }
.ort h3 { margin: 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(28px, 2.4vw, 40px); line-height: .96; }
.ort address { font-style: normal; margin-top: 12px; color: var(--grau); font-size: 15px; line-height: 1.45; }
.ort .ort-unten { margin-top: auto; padding-top: 22px; display: grid; gap: 2px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .04em; }
.ort .ort-unten a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--tinte); width: fit-content; }
.ort .ort-unten a:hover { color: var(--akzent); }
.ort-icon { position: absolute; right: -6px; bottom: -8px; width: 46%; max-width: 170px; color: var(--tinte); opacity: .12; pointer-events: none; }
.ort-liste { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ort-liste a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border: 1px solid var(--linie-2); border-radius: 3px; text-decoration: none; font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; color: var(--tinte); background: rgba(255,255,255,.4); }
.ort-liste a:hover { border-color: var(--akzent); color: var(--akzent); }
@media (min-width: 900px) {
  .showroom-raster { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(32px, 4vw, 64px); }
  .standorte { grid-template-columns: 1fr; }
}
@media (min-width: 1200px) {
  .showroom-raster { grid-template-columns: 1fr; }
  .standorte { grid-template-columns: repeat(3, 1fr); margin-top: 24px; }
  .showroom-figur img { aspect-ratio: 21 / 9; }
}

/* ---------- Kontakt & Formular ---------- */
.kontakt { text-align: center; }
.kontakt .kopf-mitte { max-width: 820px; margin: 0 auto; }
.kontakt .kopf-mitte .notiz { margin-bottom: 16px; }
.kontakt .intro { margin: 22px auto 0; }
.direkt { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.formular {
  position: relative; text-align: left; max-width: 760px; margin: clamp(40px, 6vw, 64px) auto 0;
  background: var(--papier); border: 1px solid var(--linie-2); padding: clamp(24px, 4vw, 44px) clamp(20px, 4vw, 48px) 32px;
  box-shadow: var(--schatten); transform: rotate(.4deg);
}
.form-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; color: var(--grau); }
.fortschritt { position: relative; height: 8px; background: rgba(42, 39, 35, .1); border-radius: 4px; overflow: hidden; margin: 14px 0 28px; }
.fortschritt .balken { position: absolute; inset: 0 auto 0 0; width: var(--w, 25%); background: var(--akzent); border-radius: 4px; transition: width .5s var(--ease); }
.fortschritt .balken::after { content: ""; position: absolute; right: -3px; top: -2px; bottom: -2px; width: 8px; background: var(--akzent-tief); border-radius: 3px; }
.schritt { border: 0; margin: 0; padding: 0; min-width: 0; }
.schritt[hidden] { display: none; }
.schritt legend { padding: 0; margin-bottom: 18px; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; }
.wahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.wahl { position: relative; display: block; cursor: pointer; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 14px;
  border: 1px solid var(--linie-2); border-radius: 4px; background: rgba(255,255,255,.55);
  font-size: 15px; line-height: 1.25; transition: border-color .2s, background .2s, color .2s;
}
.wahl span::before { content: ""; flex: none; width: 16px; height: 16px; border: 1.5px solid var(--linie-2); border-radius: 50%; background: #fff; }
.wahl input:checked + span { border-color: var(--akzent); background: var(--akzent-hell); }
.wahl input:checked + span::before { border-color: var(--akzent); background: radial-gradient(circle, var(--akzent) 45%, #fff 50%); }
.wahl input:focus-visible + span { outline: 2px solid var(--akzent); outline-offset: 2px; }
.feld { display: grid; gap: 6px; margin-top: 14px; }
.feld label { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grau); }
.feld input, .feld select, .feld textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--linie-2); border-radius: 4px; background: #fff;
  font: inherit; font-size: 16px; color: var(--tinte);
}
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.felder-2 { display: grid; gap: 0 14px; }
.zustimmung { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; color: var(--grau); }
.zustimmung input { margin-top: 3px; accent-color: var(--akzent); width: 18px; height: 18px; }
.zustimmung a { color: var(--akzent); }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.form-nav .btn[hidden] { display: none; }
.form-fehler { margin: 14px 0 0; padding: 10px 14px; background: var(--akzent-hell); border-left: 3px solid var(--akzent); font-size: 14px; }
.form-fehler[hidden] { display: none; }
.form-erfolg { text-align: center; padding: 20px 0 6px; }
.form-erfolg[hidden] { display: none; }
.form-erfolg h3 { margin: 12px 0 8px; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: 32px; line-height: 1; }
.form-erfolg p { color: var(--grau); }
.zusammenfassung { list-style: none; margin: 18px auto 0; padding: 14px 18px; max-width: 460px; text-align: left; border: 1px dashed var(--linie-2); font-size: 14px; display: grid; gap: 6px; }
.zusammenfassung b { font-family: var(--f-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--grau-2); display: block; }
.form-mailhinweis { margin-top: 12px; font-size: 13px; color: var(--grau-2); }
@media (min-width: 640px) { .felder-2 { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.fragen { max-width: 880px; margin: clamp(56px, 8vw, 96px) auto 0; text-align: left; }
.fragen h3 { margin: 0 0 8px; font-family: var(--f-display); font-stretch: 85%; font-weight: 740; font-size: clamp(26px, 2.6vw, 38px); line-height: .95; }
.fragen .notiz { margin-bottom: 18px; }
.frage { border-bottom: 1px dashed var(--linie-2); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 17px; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: "+"; font-family: var(--f-hand); font-size: 30px; line-height: 1; color: var(--akzent); flex: none; }
.frage[open] summary::after { content: "–"; }
.frage p { margin: 0 0 18px; color: var(--grau); font-size: 15.5px; line-height: 1.5; max-width: 66ch; }
.frage p a { color: var(--akzent); }

/* ---------- Kartenband: schematischer Stadtplan, Karte erst auf Klick ---------- */
.kartenband { position: relative; z-index: 1; margin-top: clamp(20px, 4vw, 48px); }
.karte-flaeche {
  position: relative; overflow: hidden; height: clamp(380px, 52vh, 520px);
  background-color: var(--platte-1); background-image: var(--noise-hell);
  border-top: 1px solid var(--linie-2); border-bottom: 1px solid var(--linie-2);
}
.karte-plan { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte-flaeche iframe { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; display: block; background: var(--papier); }

.kp-raster path { fill: none; stroke: rgba(42, 39, 35, .07); stroke-width: 1; }
.kp-rhein { fill: rgba(58, 82, 112, .1); }
.kp-ufer { fill: none; stroke: rgba(58, 82, 112, .28); stroke-width: 1.5; }
.kp-strassen path { fill: none; stroke: rgba(42, 39, 35, .16); stroke-width: 9; stroke-linecap: round; }
.kp-strassen path:nth-child(n+3) { stroke-width: 5; stroke: rgba(42, 39, 35, .1); }
.kp-schrift text { font-family: var(--f-mono); font-size: 13px; letter-spacing: .16em; fill: var(--grau-2); text-anchor: middle; }

.kp-pin { transition: opacity .35s var(--ease), transform .45s var(--ease); transform-box: fill-box; transform-origin: 50% 90%; }
.kp-koerper { fill: var(--akzent); }
.kp-punkt { fill: var(--papier); }
.kp-ring { fill: none; stroke: var(--akzent); stroke-width: 1.5; opacity: .35; }
.kp-pin.blass { opacity: .3; }
.kp-pin.blass .kp-koerper { fill: var(--grau); }
.kp-pin.blass .kp-ring { display: none; }

.karte-zettel {
  position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-.8deg);
  width: min(92vw, 430px); padding: clamp(22px, 3vw, 30px) clamp(20px, 3vw, 30px) 24px;
  text-align: center; background: var(--papier); border: 1px solid var(--linie-2);
  box-shadow: 5px 6px 0 rgba(42, 39, 35, .16);
}
.karte-wahl { display: flex; gap: 6px; justify-content: center; margin-bottom: 16px; }
.karte-tab {
  flex: 1; min-height: 44px; padding: 9px 10px; border: 1px solid var(--linie-2); border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .5); color: var(--grau);
  font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.karte-tab[aria-pressed="true"] { background: var(--akzent); border-color: var(--akzent-tief); color: #fff; }
.karte-adresse { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; }
.karte-zeit { margin: 6px 0 0; color: var(--grau-2); }
.karte-knopf { margin-top: 18px; }
.karte-fehler { margin: 14px 0 0; padding: 9px 12px; background: var(--akzent-hell); border-left: 3px solid var(--akzent); font-size: 13px; line-height: 1.45; text-align: left; }
.karte-fehler[hidden] { display: none; }
.karte-fein { margin: 16px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--grau); }
.karte-fein a { color: var(--akzent); text-underline-offset: 3px; }
/* Nach dem Laden schrumpft der Zettel zur Leiste, damit der Umschalter bleibt */
.karte-zettel.klein {
  top: auto; bottom: 14px; left: 14px; transform: none; width: min(92vw, 340px);
  padding: 12px 14px 13px; text-align: left; box-shadow: 3px 3px 0 rgba(42, 39, 35, .18);
}
.karte-zettel.klein .krepp,
.karte-zettel.klein .karte-knopf,
.karte-zettel.klein .karte-zeit { display: none; }
.karte-zettel.klein .karte-wahl { margin-bottom: 10px; }
.karte-zettel.klein .karte-tab { min-height: 38px; padding: 7px 8px; font-size: 10px; }
.karte-zettel.klein .karte-adresse { font-size: 14px; font-weight: 500; }
.karte-zettel.klein .karte-fein { margin-top: 8px; font-size: 11.5px; }

@media (max-width: 760px) {
  .karte { --schwung: 1.6; --kipp: 0deg; }
  .karte-flaeche { height: 500px; }
  .kp-schrift text { font-size: 20px; }
  .karte-zettel { top: auto; bottom: 12px; transform: translate(-50%, 0) rotate(-.8deg); }
  .karte-zettel.klein { left: 12px; transform: none; }
}

/* ---------- Fuß ---------- */
.fuss { position: relative; z-index: 1; margin-top: clamp(60px, 8vw, 110px); background: var(--akzent); overflow: hidden; padding-top: 22px; }
.sockelleiste {
  position: absolute; top: 0; left: 0; right: 0; height: 14px;
  background: linear-gradient(180deg, #fbf7ef, #d9d2c3); border-bottom: 2px solid rgba(0, 0, 0, .28);
}
.fuss-innen {
  position: relative; width: min(100%, 1400px); margin: 60px auto 0; transform: rotate(-.6deg); transform-origin: top right;
  background: var(--graphit-2); background-image: var(--noise-dunkel); color: var(--creme);
  padding: clamp(80px, 10vw, 150px) clamp(20px, 4vw, 56px) clamp(140px, 16vw, 220px);
}
.fuss-wasserzeichen {
  position: absolute; left: 0; right: 0; bottom: -2vw; text-align: center; pointer-events: none; user-select: none;
  font-family: var(--f-display); font-stretch: 82%; font-weight: 800; font-size: 26vw; line-height: .9; color: rgba(248, 243, 233, .07);
  translate: 0 calc((1 - var(--sp, 1)) * 10vw);
}
.fuss-raster { position: relative; z-index: 2; display: grid; gap: 40px; max-width: 1200px; margin: 0 auto; transform: rotate(.6deg); }
.fuss-claim { margin: 0; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.01em; max-width: 18ch; }
.fuss-seit { margin: 14px 0 0; color: rgba(243, 236, 221, .55); }
.fuss-spalten { display: grid; gap: 30px; }
.fuss h4 { margin: 0 0 12px; color: rgba(243, 216, 168, .85); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: 15px; }
.fuss ul a { display: inline-block; padding: 3px 0; }
.fuss ul a { text-decoration: none; color: var(--creme); opacity: .9; }
.fuss ul a:hover { color: #fff; opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.fuss address { font-style: normal; font-size: 15px; line-height: 1.5; color: var(--creme); }
.fuss-unten { position: relative; z-index: 2; margin: 56px auto 0; max-width: 1200px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid rgba(243, 236, 221, .2); color: rgba(243, 236, 221, .55); transform: rotate(.6deg); }
@media (max-width: 899px) {
  .fuss ul { gap: 2px; }
  .fuss ul a { padding: 9px 0; }
  .fuss-unten { gap: 14px; }
  .fuss-unten a { display: inline-block; padding: 10px 0; }
}
@media (min-width: 900px) {
  .fuss-innen { width: 90%; }
  .fuss-raster { grid-template-columns: 1.1fr 2fr; gap: 64px; }
  .fuss-spalten { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Scroll-gekoppelte Bewegung (--sp kommt aus script.js, 0 = unten außerhalb, 1 = angekommen) ---------- */
.reveal {
  --d: 0; --spd: clamp(0, calc((var(--sp, 1) - var(--d)) / (1 - var(--d))), 1);
  opacity: var(--spd); translate: 0 calc((1 - var(--spd)) * 36px);
  transition: opacity .2s linear, translate .2s linear;
}
.reveal--2 { --d: .18; }
.reveal--3 { --d: .36; }
.bild { position: relative; display: block; overflow: hidden; }
.bild img { scale: 1.14; translate: 0 calc((.5 - var(--sp, .5)) * 12%); }

/* Laufleiste: eine Farbrolle streicht die Oberkante entlang, so weit die Seite gelesen ist */
.lauf { position: fixed; top: 0; left: 0; right: 0; height: 7px; z-index: 55; pointer-events: none; }
@media (max-width: 899px) {
  .lauf { top: 58px; height: 5px; }
  .lauf-walze { top: -8px; width: 26px; height: 26px; }
}
.lauf-strich { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--lauf, 0) * 100%); background: var(--akzent); box-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.lauf-walze { position: absolute; top: -5px; left: calc(var(--lauf, 0) * 100%); width: 36px; height: 36px; color: var(--akzent); transform: translateX(-48%) rotate(-20deg); filter: drop-shadow(1px 1px 0 rgba(0, 0, 0, .2)); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .platte-innen, .karte, .stempel, .schichten li, .netz a, .panel-figur, .zettel, .hero-block, .hero-notiz, .fuss-wasserzeichen, .wand-buehne .kopf-mitte { opacity: 1; translate: none; transition: none; }
  .bild img { scale: none; translate: none; }
  .karte, .karte-bild img, .farbe, .hub-stapel > *, .netz a, .btn-split { transition: none; }
}

/* Schmale Bildschirme: Urkunden-Miniatur kleiner, damit der Text neben ihr Platz hat */
@media (max-width: 600px) {
  .urkunde, .nw:not(.nw--breit) .urkunde { width: 82px; margin: 2px 0 10px 12px; }
}
