/* amstudio v2 · "Bauschild"
   Heller Himmel mit treibenden Lichtflecken, breite Versalien (Hubot Sans
   Expanded), schwebende 3D-Objekte, Absperrband als Trenner.
   Stilreferenz noomoagency.com, Farben und Motive von amstudio. */

/* Hubot Sans zeichnet die Null mit Querstrich (wie ein Theta). In Preisen liest
   sich "3.500" dann wie "3.5θθ", deshalb kommen die Ziffern aus Mona Sans,
   der Schwesterschrift von Hubot (beide GitHub, OFL). */
@font-face {
  font-family: "Hubot Sans";
  src: url("/assets/fonts/hubot-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-002F, U+003A-FFFF;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("/assets/fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}
@font-face {
  font-family: "Mona Sans";
  src: url("/assets/fonts/mona-sans.woff2") format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky-top: #e6eaf1;
  --sky-bottom: #d6dee9;
  --bg: #e1e7ef;
  --paper: #fbfbf8;
  --ink: #111216;
  --ink-2: #3a3d46;
  --muted: #50565f;
  --rule: rgba(17, 18, 22, 0.12);
  --rule-strong: rgba(17, 18, 22, 0.3);
  --surface: rgba(255, 255, 255, 0.5);
  --surface-2: rgba(255, 255, 255, 0.78);
  --accent: #f4c500;
  --accent-text: #6f5700;
  --on-accent: #111216;
  --ok: #166534;
  --err: #b42318;

  --display: "Hubot Sans", "Arial Black", system-ui, sans-serif;
  --sans: "Mona Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Labels wie "Pos. 01": schmale Mona Sans mit Tabellenziffern statt eigener Monospace */
  --mono: "Mona Sans", ui-sans-serif, system-ui, sans-serif;

  --gutter: clamp(16px, 2.8vw, 44px);
  --maxw: 1600px;
  --ease: cubic-bezier(0.65, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);

  --t-mega: clamp(2.5rem, 0.35rem + 7.9vw, 10rem);
  --t-giant: clamp(2.9rem, 0.2rem + 11.6vw, 14rem);
  --t-h1: clamp(2.3rem, 0.9rem + 5vw, 6.25rem);
  --t-h2: clamp(1.7rem, 1rem + 2.6vw, 3.4rem);
  --t-statement: clamp(1.55rem, 0.85rem + 2.5vw, 3.25rem);
  --t-body: 1rem;
  --t-ui: 0.875rem;
  --t-caption: 0.75rem;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--sky-bottom);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bottom) 55%, #dde3ea 100%);
  isolation: isolate;
}
/* Himmel: weiche Lichtflecken (Morgensonne, Staub, kuehle Luft), langsam treibend */
body::before {
  content: "";
  position: fixed;
  inset: -30vmax;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(26vmax 22vmax at 66% 34%, rgba(255, 220, 112, 0.5), transparent 70%),
    radial-gradient(30vmax 24vmax at 26% 64%, rgba(250, 212, 194, 0.55), transparent 70%),
    radial-gradient(24vmax 20vmax at 84% 78%, rgba(203, 220, 247, 0.75), transparent 70%),
    radial-gradient(20vmax 18vmax at 14% 22%, rgba(255, 255, 255, 0.7), transparent 70%);
  animation: sky 40s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes sky {
  0% { transform: translate3d(-3%, -2%, 0) rotate(0deg); }
  50% { transform: translate3d(3%, 2%, 0) rotate(5deg); }
  100% { transform: translate3d(-2%, 3%, 0) rotate(-4deg); }
}

::selection { background: var(--accent); color: var(--on-accent); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 60;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px;
  font-size: var(--t-ui); text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* 3D-Ebene ueber dem Inhalt, Klicks gehen durch */
.scene3d { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 20; pointer-events: none; }

/* Einspaltige Raster duerfen nie mit einem langen Wort mitwachsen
   (sonst sieht fitText keinen Ueberstand und die Seite wird waagrecht scrollbar) */
.block-intro, .split, .about, .feature, .statement, .hero-foot, .form, .form-row, .shots,
.show-foot, .contact, .about-text, .prose, .idx-text, .row-body { grid-template-columns: minmax(0, 1fr); }

/* ---------- Typo ---------- */

.display, .mega, .title, .show-word, .work-word, .wordmark, .statement-big,
.block-intro h2, .schild-title, .contact .title {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 440;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  line-height: 0.92;
}
.title { margin: 0; font-size: var(--t-h1); text-wrap: balance; }
/* Lange deutsche Woerter: kleinere Ueberschriften trennen, grosse Titel
   schrumpft v2.js (fitText), notfalls bricht der Browser im Wort um. */
.title, .block-intro h2, .statement-big, .schild-title { overflow-wrap: break-word; }
.js .title, .js .block-intro h2, .js .statement-big, .js .schild-title { overflow-wrap: normal; }
.idx h3, .idx h4, .row-title, .article h2, .legal h1, .feature-body h3, .pull-quote p,
.about-text .quote, .show-text h4 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 639px) {
  :root { --t-h1: clamp(1.75rem, 0.4rem + 7.2vw, 3rem); --t-h2: clamp(1.4rem, 0.6rem + 4.4vw, 2.2rem); }
}
.lede { margin: 0; max-width: 52ch; color: var(--ink-2); font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); line-height: 1.5; text-wrap: pretty; }
.lede b, .lede strong { color: var(--ink); font-weight: 600; }
.caption {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.mono, .lv-pos, .idx-num, .row-num { font-family: var(--mono); font-stretch: 88%; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
/* Markerstrich statt gelber Schrift: lesbar auf hellem Grund */
.mark {
  background: linear-gradient(transparent 62%, var(--accent) 62%, var(--accent) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: inherit;
}

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 1px 9px 1px 3px; margin-inline: 1px;
  border-radius: 999px;
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--ink); text-decoration: none; white-space: nowrap; vertical-align: baseline;
  transition: background 0.2s;
}
a.chip:hover { background: #fff; }
.chip-av {
  display: inline-grid; place-items: center;
  width: 18px; height: 18px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-family: var(--mono); font-size: 9px; font-weight: 600; line-height: 1;
}

.pill {
  display: inline-flex; align-items: center;
  min-height: 30px; padding: 0 14px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: 14px; line-height: 1; white-space: nowrap;
}
.pill.solid { background: var(--ink); color: #fff; }
.pill.yellow { background: var(--accent); border-color: var(--accent); }

/* ---------- Kopf ---------- */

.top {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 84px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-stretch: 125%; font-weight: 650;
  font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink); text-decoration: none;
}
.brand-mark {
  width: 11px; height: 11px;
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 0 1px rgba(17, 18, 22, 0.18);
}
.top-right { display: flex; align-items: center; gap: clamp(14px, 3vw, 56px); }
.top-nav { display: none; gap: clamp(24px, 3.4vw, 72px); }
.top-nav a {
  position: relative;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.top-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.top-nav a:hover::after, .top-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.lang { display: flex; gap: 10px; }
.lang a { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; color: var(--muted); text-decoration: none; }
.lang a:hover, .lang a[aria-current="true"] { color: var(--ink); }
.theme-btn { display: none !important; }
.menu-btn {
  position: relative; z-index: 41;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 2px;
  border: 0; background: none; cursor: pointer;
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
}
.menu-btn::after {
  content: ""; width: 18px; height: 7px;
  border-block: 1.5px solid currentColor;
  transition: transform 0.4s var(--ease);
}
.nav-open .menu-btn::after { height: 0; border-bottom: 0; transform: rotate(180deg); }
@media (max-width: 1023px) {
  .top-nav {
    position: fixed; inset: 0; z-index: 40;
    flex-direction: column; justify-content: center; gap: 0;
    padding: 96px var(--gutter) 48px;
    background: rgba(229, 234, 241, 0.94);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  }
  .nav-open .top-nav { display: flex; }
  .top-nav a {
    padding: 12px 0;
    border-top: 1px solid var(--rule);
    font-family: var(--display); font-stretch: 125%; font-weight: 440;
    font-size: clamp(2rem, 8.5vw, 3.6rem); line-height: 1; letter-spacing: -0.01em;
  }
  .top-nav a::after { display: none; }
  .nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .top-nav { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 380px) {
  .top { gap: 10px; }
  .top-right { gap: 12px; }
  .brand { font-size: 1.12rem; gap: 8px; }
  .lang { gap: 7px; }
  .menu-btn { gap: 6px; }
}

/* ---------- Knoepfe ---------- */

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-family: var(--sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.3s var(--ease);
}
.btn::after { content: "→"; font-size: 15px; letter-spacing: 0; transition: transform 0.35s var(--ease); }
.btn:hover { background: var(--accent); color: var(--on-accent); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn .dot { display: none; }
.btn[disabled] { opacity: 0.5; cursor: default; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--rule-strong);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  transition: border-color 0.2s;
}
.link:hover { border-color: var(--ink); }
.link .arr { transition: transform 0.35s var(--ease); }
.link:hover .arr { transform: translateX(3px); }

/* ---------- Startseite: Hero ---------- */

.hero-x {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 84px);
  padding-bottom: 26px;
}
.hero-kicker { display: flex; justify-content: space-between; gap: 16px; padding-top: clamp(8px, 2vw, 24px); }
.mega { margin: 0; align-self: center; font-size: var(--t-mega); padding-block: clamp(32px, 6vw, 80px); }
/* Polster oben/unten, damit Umlaut-Punkte und Unterlaengen nicht in der Maske haengen bleiben */
.mega .ml { display: flex; justify-content: space-between; gap: 0.32em; overflow: clip; padding-block: 0.14em 0.06em; margin-block: -0.14em -0.06em; }
.mega .ml.end { justify-content: flex-end; }
.mega .ml.mid { justify-content: center; }
.mega .ml > span { display: inline-block; }
.mega.measuring .ml { overflow: visible; }
.js .mega .ml > span { transform: translateY(108%); animation: rise 1.15s var(--ease-out) forwards; }
.js .mega .ml:nth-child(2) > span { animation-delay: 0.08s; }
.js .mega .ml:nth-child(3) > span { animation-delay: 0.16s; }
.js .mega .ml > span + span { animation-delay: 0.12s; }
@keyframes rise { to { transform: none; } }
@media (max-width: 639px) {
  .mega .ml { flex-wrap: wrap; justify-content: flex-start; gap: 0 0.28em; }
  .mega .ml.end { justify-content: flex-start; }
}
.hero-foot { display: grid; gap: 24px; align-items: end; }
.hero-aside { display: grid; gap: 18px; justify-items: start; max-width: 34ch; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.hero-aside p { margin: 0; }
.scroll-cue { display: none; }
@media (min-width: 1024px) {
  .hero-foot { grid-template-columns: 1fr auto 1fr; }
  .hero-aside { grid-column: 3; justify-self: end; }
  .scroll-cue {
    grid-column: 2; grid-row: 1; justify-self: center;
    display: grid; justify-items: center; gap: 6px;
    font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none;
  }
  .scroll-cue::after { content: "⌄"; font-size: 16px; line-height: 0.5; animation: cue 2.4s var(--ease) infinite; }
}
@keyframes cue { 0%, 100% { transform: none; } 50% { transform: translateY(5px); } }

/* Anker fuer 3D-Objekte: mit Maus zeichnet das Canvas darueber, auf
   Touch-Geraeten steckt ein vorgerendertes Bild im Anker (.o-still) */
.o-still img {
  display: block; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 22px 22px rgba(17, 18, 22, 0.16));
  animation: bob 7s ease-in-out infinite;
}
.o-still:nth-of-type(2n) img { animation-delay: -2.4s; }
.show-obj.o-still img { animation-duration: 9s; }
.o { position: absolute; pointer-events: none; aspect-ratio: 1; }
.hero-x .o-1 { left: 18%; top: 17%; width: clamp(90px, 13vw, 210px); }
.hero-x .o-2 { right: 5%; top: 30%; width: clamp(80px, 11vw, 190px); }
.hero-x .o-3 { left: 47%; top: 55%; width: clamp(56px, 6.5vw, 110px); }
.hero-x .o-4 { left: 4%; bottom: 13%; width: clamp(70px, 8vw, 130px); }
@media (max-width: 639px) {
  .hero-x .o-1 { left: auto; right: 4%; top: 7%; width: 30vw; }
  .hero-x .o-2 { right: 8%; top: 58%; width: 22vw; }
  .hero-x .o-3 { left: 6%; top: 64%; width: 14vw; }
  .hero-x .o-4 { display: none; }
}

/* ---------- Bauschild ---------- */

.schild-wrap { position: relative; display: grid; justify-items: center; padding-top: clamp(64px, 10vw, 160px); }
.schild {
  position: relative; z-index: 1;
  width: min(940px, 100%);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 6px;
  box-shadow: 0 40px 70px -40px rgba(17, 18, 22, 0.45), 0 0 0 6px rgba(255, 255, 255, 0.35);
}
.schild-top {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 11px clamp(16px, 2.4vw, 26px);
  background: var(--accent);
  border-bottom: 2px solid var(--ink);
  font-family: var(--display); font-stretch: 125%; font-weight: 650;
  font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.schild-top .caption { color: var(--ink); }
.schild-kicker { display: block; padding: 22px clamp(16px, 2.4vw, 26px) 0; }
.schild-title { margin: 0; padding: 8px clamp(16px, 2.4vw, 26px) 20px; font-size: clamp(1.6rem, 0.9rem + 2.6vw, 3.1rem); line-height: 0.98; border-bottom: 2px solid var(--ink); text-wrap: balance; }
.schild-rows { margin: 0; padding: 6px clamp(16px, 2.4vw, 26px) 18px; }
.schild-rows > div {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--rule-strong);
}
.schild-rows > div:last-child { border-bottom: 0; }
.schild-rows dt { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); font-stretch: 125%; font-weight: 600; font-size: 12.5px; letter-spacing: 0.05em; text-transform: uppercase; }
.schild-rows dd { margin: 0; font-size: clamp(1.02rem, 0.92rem + 0.45vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; }
.schild-rows dd a:not(.pill) { text-decoration: none; border-bottom: 1px solid var(--rule-strong); }
.schild-rows dd a:not(.pill):hover { border-color: var(--ink); }
.schild-rows .gewerke { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.schild-rows .gewerke .pill { text-decoration: none; transition: background 0.2s, color 0.2s; }
.schild-rows .gewerke .pill:hover { background: var(--ink); color: #fff; }
@media (min-width: 720px) {
  .schild-rows > div { grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: baseline; }
  .schild-rows dt::after { content: ""; flex: 1; border-bottom: 2px dotted var(--rule-strong); transform: translateY(-3px); }
}
.schild-posts { display: flex; justify-content: space-between; width: min(560px, 62%); height: clamp(70px, 10vw, 140px); }
.schild-posts::before, .schild-posts::after {
  content: ""; width: clamp(10px, 1.2vw, 16px);
  background: linear-gradient(90deg, #7e848f, #d4d8df 45%, #8a909b);
  border-radius: 0 0 3px 3px;
}
.schild-wrap .o-barrier { right: max(4%, calc(50% - 620px)); bottom: -12px; width: clamp(120px, 16vw, 250px); }
.schild-wrap .o-left { left: max(3%, calc(50% - 640px)); top: clamp(30px, 6vw, 110px); width: clamp(80px, 10vw, 170px); }

/* ---------- Absperrband ---------- */

.tapes { position: relative; height: clamp(150px, 17vw, 260px); overflow: clip; margin-block: clamp(32px, 5vw, 72px); pointer-events: none; }
.tape {
  position: absolute; left: -6%; right: -6%; top: 50%;
  display: flex; align-items: center; overflow: hidden;
  height: clamp(42px, 4.4vw, 62px);
  background:
    repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--accent) 10px 20px) top / 100% 6px no-repeat,
    repeating-linear-gradient(-45deg, var(--ink) 0 10px, var(--accent) 10px 20px) bottom / 100% 6px no-repeat,
    var(--accent);
  box-shadow: 0 14px 30px -14px rgba(17, 18, 22, 0.45);
  transform: translateY(-50%) rotate(-4deg);
}
.tape.t2 { transform: translateY(-50%) rotate(3deg); filter: brightness(0.96); }
.tape-track {
  display: flex; flex: none; white-space: nowrap;
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: clamp(13px, 1.25vw, 19px); letter-spacing: 0.08em; text-transform: uppercase;
  animation: tape 34s linear infinite;
}
.tape-track span { padding: 0 1em; }
.tape-track span::after { content: "◆"; margin-left: 2em; font-size: 0.7em; vertical-align: 0.15em; }
.t2 .tape-track { animation-duration: 40s; animation-direction: reverse; }
@keyframes tape { to { transform: translateX(-50%); } }

/* ---------- Gewerke-Buehnen ---------- */

.section-kicker { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; }
.show { position: relative; padding: clamp(24px, 4vw, 60px) 0 clamp(64px, 8vw, 130px); }
.show-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; min-height: clamp(280px, 50vh, 620px); }
/* max-width begrenzt den Kasten, damit fitText den Ueberstand ueberhaupt messen kann */
.show-word { max-width: 100%; margin: 0; font-size: var(--t-giant); line-height: 0.84; white-space: nowrap; text-align: center; }
/* Gewerk-Buehne als Link */
.show-link { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
.show-link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.show-link:hover, .show-link:focus-visible { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.show-link:focus-visible { outline: none; }
.show-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 4px; }
.show-obj { position: absolute; left: 50%; top: 52%; width: clamp(190px, 30vw, 470px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.show-foot { display: grid; gap: 26px; align-items: end; }
.show-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; }
.show-text { max-width: 420px; }
.show-text h3, .show-text h4 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.005em; }
.show-text p { margin: 0 0 16px; color: var(--ink-2); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.show-cta { justify-self: start; }
@media (min-width: 1024px) {
  .show-foot { grid-template-columns: minmax(0, 1fr) minmax(0, 440px); grid-template-rows: auto 1fr; column-gap: 48px; }
  .show-tags { grid-column: 1; grid-row: 1; align-self: start; }
  .show-cta { grid-column: 1; grid-row: 2; justify-self: start; align-self: end; }
  .show-text { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
}
@media (max-width: 1023px) {
  .show-foot { grid-template-columns: minmax(0, 1fr); }
  .show-cta { order: 3; }
}

/* Leistungsverzeichnis: Positionen wie im Bauvertrag */
.lv { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--rule-strong); font-size: 14px; }
.lv li { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule); }
.lv-pos { font-family: var(--mono); font-size: 11.5px; color: var(--muted); padding-top: 2px; }
.lv-note { margin: 0; font-size: 13.5px; color: var(--muted); }
.price-tag { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 2px 0 6px; font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1.12; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.show-text .price-tag { margin: 4px 0 14px; color: var(--ink); font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1.12; }
.show-text .promise { font-size: 14px; }
.show-text .fine, .show-text .lv-note { font-size: 13.5px; color: var(--muted); }
.price-tag small { font-family: var(--sans); font-stretch: 100%; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.promise { display: grid; grid-template-columns: auto 1fr; gap: 12px; margin: 0 0 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8); font-size: 14px; color: var(--ink-2); }
.promise::before { content: ""; width: 10px; height: 10px; margin-top: 5px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(17, 18, 22, 0.25); }
.promise b { color: var(--ink); font-weight: 600; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Referenzen ---------- */

.work-item { position: relative; padding: clamp(24px, 4vw, 60px) 0 clamp(56px, 7vw, 110px); }
.work-word { max-width: 100%; margin: 0 auto; font-size: var(--t-giant); line-height: 0.84; text-align: center; white-space: nowrap; }
.work-frame {
  position: relative; z-index: 1;
  width: min(1100px, 100%);
  margin: calc(var(--t-giant) * -0.22) auto clamp(28px, 4vw, 48px);
  border-radius: 12px; overflow: hidden;
  background: #fff;
  box-shadow: 0 50px 90px -50px rgba(17, 18, 22, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.8);
}
.work-frame img { width: 100%; height: auto; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0 0 18px; border-top: 1px solid var(--rule-strong); }
.facts > div { padding: 12px 12px 10px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 4px 0 0; font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: clamp(1.9rem, 1.3rem + 1.7vw, 2.8rem); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .facts-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Statement ---------- */

.statement { display: grid; gap: 32px; padding-block: clamp(80px, 12vw, 190px); }
.statement-big { margin: 0; font-size: var(--t-statement); line-height: 1.02; max-width: 24ch; }
.statement-side { display: grid; gap: 18px; max-width: 36ch; font-size: 15px; color: var(--ink-2); }
.statement-side p { margin: 0; }
@media (min-width: 1024px) { .statement { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; } }

/* ---------- Abschnitte (alle Seiten) ---------- */

.block { padding-block: clamp(56px, 8vw, 120px) 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; }
.block-head h2 { margin: 0; }
.block-intro { display: grid; gap: 16px; margin-bottom: clamp(24px, 3.4vw, 44px); }
.block-intro h2 { margin: 0; font-size: var(--t-h2); line-height: 0.96; max-width: 20ch; text-wrap: balance; }
.block-intro .lede { max-width: 60ch; }
.wrap > p:not([class]) { max-width: 64ch; color: var(--ink-2); text-wrap: pretty; }
.crumb { display: inline-flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.split { display: grid; gap: clamp(20px, 4vw, 64px); }
@media (min-width: 960px) { .split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.split > .caption { margin: 0; padding-top: 6px; }
.prose { display: grid; gap: 16px; max-width: 64ch; color: var(--ink-2); }
.prose p { margin: 0; text-wrap: pretty; }
.prose h3 { margin: 12px 0 0; font-size: 1.25rem; font-weight: 600; color: var(--ink); }

/* Unterseiten-Hero */
.page-hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 100px); }
.page-hero .title { max-width: 15ch; margin-bottom: 26px; }
.page-hero .lede { margin-bottom: 30px; }
.page-hero .stamp { margin-bottom: 18px; }
.hero-obj {
  position: absolute; z-index: 0; right: var(--gutter); top: clamp(10px, 3vw, 40px);
  width: clamp(130px, 22vw, 340px); pointer-events: none;
  filter: drop-shadow(0 30px 30px rgba(17, 18, 22, 0.18));
  animation: bob 7s ease-in-out infinite;
}
.page-hero > .wrap { position: relative; }
.page-hero .title, .page-hero .lede, .page-hero .actions, .page-hero .crumb { position: relative; z-index: 1; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@media (max-width: 767px) {
  .hero-obj { position: relative; right: auto; top: auto; display: block; width: 40vw; margin: -8px 0 12px auto; }
}
.hero-note { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 22px 0 0; max-width: none; }
.hero-note span { padding: 3px 11px; border-radius: 999px; background: var(--surface-2); font-size: 12.5px; color: var(--ink-2); }
@media (min-width: 1000px) {
  .page-hero.has-side > .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
}

/* Stempel / Kicker */
.stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
}
.stamp .dot { width: 7px; height: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(17, 18, 22, 0.3); }

/* Index-Liste: Regeln, Schritte, Leistungen als Positionen */
.idx { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.idx > li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 6px clamp(12px, 1.6vw, 24px); padding: 20px 0 22px; border-bottom: 1px solid var(--rule); }
.idx-num { grid-row: 1 / span 2; padding-top: 0.45em; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.idx-num::before { content: "Pos. "; }
.idx-head { min-width: 0; }
.idx-head .kicker { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.idx h3, .idx h4 { margin: 0; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.15rem, 1rem + 0.7vw, 1.6rem); line-height: 1.12; letter-spacing: -0.01em; text-transform: uppercase; text-wrap: balance; }
.idx-text { display: grid; gap: 10px; min-width: 0; color: var(--ink-2); }
.idx-text p, .idx-text ul { margin: 0; max-width: 62ch; text-wrap: pretty; }
.idx-text ul { padding-left: 1.1em; }
.idx-text a:not(.btn), .prose a:not(.btn), .row-body a:not(.btn), .article a:not(.btn), .legal a:not(.btn), .about-text a:not(.btn) { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .idx > li { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; }
  .idx-num { grid-row: auto; padding-top: 0; }
}

/* Aufklappbare Zeilen (FAQ, Schritte) */
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-strong); }
.row { position: relative; border-bottom: 1px solid var(--rule); }
.row-link {
  position: relative; display: flex; align-items: baseline; gap: clamp(12px, 1.6vw, 24px);
  padding: 18px 0 16px;
  color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.row-link::-webkit-details-marker { display: none; }
.row-link::marker { content: ""; }
.row-num { flex: none; display: grid; width: 3ch; font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.row-num > span { grid-area: 1 / 1; transition: opacity 0.2s, filter 0.2s; }
.row-num .alt { opacity: 0; filter: blur(2px); color: var(--ink); }
@media (hover: hover) {
  .row-link:hover .row-num .n { opacity: 0; filter: blur(2px); }
  .row-link:hover .row-num .alt { opacity: 1; filter: none; }
}
.row-title { flex: 1; min-width: 0; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.1rem, 0.95rem + 0.75vw, 1.6rem); line-height: 1.15; letter-spacing: -0.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.row-meta { flex: none; align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.row-meta-text { display: none; }
@media (min-width: 640px) { .row-meta-text { display: inline; } }
.row-meta .plus {
  display: inline-grid; place-items: center; width: 30px; height: 30px;
  border: 1px solid var(--ink); border-radius: 999px; color: var(--ink);
  transition: transform 0.45s var(--ease), background 0.25s;
}
.row-meta .plus svg { width: 10px; height: 10px; }
.row-link:hover .plus { background: var(--accent); border-color: var(--accent); }
details[open] > .row-link .plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
details.row::details-content { block-size: 0; overflow: clip; transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete; }
details.row[open]::details-content { block-size: auto; }
.row-body { display: grid; gap: 14px; padding: 0 0 24px calc(3ch + clamp(12px, 1.6vw, 24px)); max-width: calc(66ch + 3ch + 24px); color: var(--ink-2); }
.row-body p { margin: 0; text-wrap: pretty; }
.row-body ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 639px) { .row-body { padding-left: 0; } }

/* Ueber-Block */
.about { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 960px) { .about { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.about-copy { margin: 0; font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem); line-height: 1.3; color: var(--ink-2); text-wrap: pretty; }
.about-copy b { color: var(--ink); font-weight: 600; }
.about-text { display: grid; gap: 16px; max-width: 64ch; color: var(--ink-2); }
.about-text p { margin: 0; text-wrap: pretty; }
.about-text .quote { font-family: var(--display); font-stretch: 125%; font-weight: 440; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.2rem); line-height: 1.05; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.about .actions { margin-top: 20px; }

/* Datenliste */
.spec { margin: 0; border-top: 1px solid var(--rule-strong); }
.spec > div { display: grid; grid-template-columns: minmax(110px, 1fr) 2fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.spec dt { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.spec dd { margin: 0; }
.spec dd small { display: block; margin-top: 2px; font-size: var(--t-ui); color: var(--muted); }

/* Bilder */
.shots { display: grid; gap: 14px; }
@media (min-width: 640px) { .shots { grid-template-columns: 1fr 1fr; } }
.shot { margin: 0; }
.shot-frame { overflow: hidden; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -36px rgba(17, 18, 22, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.8); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; transition: transform 0.9s var(--ease); }
.shot:hover img { transform: scale(1.02); }
.shot figcaption { margin-top: 10px; }
.shots-wide { margin-top: clamp(28px, 4vw, 56px); }

/* Referenz-Teaser */
.feature { display: grid; gap: clamp(20px, 3vw, 48px); margin-top: 8px; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; } }
.feature-body { display: grid; gap: 12px; justify-items: start; }
.feature-body h3 { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 440; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.6rem); line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.feature-body p { margin: 0; color: var(--ink-2); max-width: 52ch; }

/* Zitat */
.pull-quote { display: grid; gap: 16px; max-width: 980px; margin: clamp(32px, 4vw, 56px) 0 0; padding-top: 22px; border-top: 1px solid var(--rule-strong); }
.pull-quote p { margin: 0; font-family: var(--display); font-stretch: 125%; font-weight: 440; font-size: clamp(1.35rem, 1rem + 1.4vw, 2.3rem); line-height: 1.04; text-transform: uppercase; text-wrap: balance; }
.pull-quote .stamp { justify-self: start; }

/* Nicht bei uns */
.nicht { display: grid; gap: 12px; max-width: 760px; margin-top: clamp(28px, 3vw, 40px); padding: 20px 22px; border-radius: 14px; background: var(--surface-2); }
.nicht .stamp { justify-self: start; }
.nicht ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nicht li { display: grid; grid-template-columns: auto 1fr; gap: 10px; color: var(--ink-2); }
.nicht li::before { content: "×"; font-family: var(--mono); color: var(--err); }

/* Ratgeber / Blog */
.article { max-width: 70ch; color: var(--ink-2); }
.article > * { margin: 0; }
.article > * + * { margin-top: 1em; }
.article h2 { margin-top: 2.2em; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.35rem, 1.1rem + 1vw, 2rem); line-height: 1.08; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); text-wrap: balance; }
.article > h2:first-child, .article-meta + h2 { margin-top: 0.6em; }
.article h3 { margin-top: 1.8em; font-size: 1.2rem; font-weight: 600; line-height: 1.25; color: var(--ink); }
.article p, .article li { text-wrap: pretty; }
.article ul, .article ol { padding-left: 1.2em; }
.article li + li { margin-top: 0.4em; }
.article li::marker { color: var(--muted); }
.article b, .article strong { color: var(--ink); font-weight: 600; }
.article .lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); line-height: 1.45; color: var(--ink); }
.article blockquote { position: relative; margin: 1.6em 0 0; padding-left: 28px; font-size: 1.25rem; line-height: 1.4; color: var(--ink); }
.article blockquote::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 10px; height: 10px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(17, 18, 22, 0.3); }
.article table { width: 100%; border-collapse: collapse; font-size: var(--t-ui); }
.article th, .article td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.article th { font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.article-meta span { padding: 3px 11px; border-radius: 999px; border: 1px solid var(--rule-strong); font-size: 12.5px; color: var(--ink-2); }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 14px; margin-top: 1.6em; padding: 18px 20px; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); }
.callout::before { content: ""; width: 10px; height: 10px; margin-top: 7px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 0 1px rgba(17, 18, 22, 0.3); }
.callout > * { grid-column: 2; margin: 0; }
.callout > * + * { margin-top: 0.6em; }
.article-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 2.2em; padding: 24px 26px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 2px var(--ink); }
.article-cta h3 { margin: 0 0 4px; font-family: var(--display); font-stretch: 112%; font-size: 1.2rem; font-weight: 600; text-transform: uppercase; color: var(--ink); }
.article-cta p { margin: 0; color: var(--muted); }
.related { display: grid; margin-top: 2.4em; border-top: 1px solid var(--rule-strong); }
.related a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.related a span { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.related a h4 { grid-column: 1; margin: 0; font-size: 1.1rem; font-weight: 600; }
.related a::after { content: "→"; grid-column: 2; grid-row: 1 / span 2; align-self: center; transition: transform 0.35s var(--ease); }
.related a:hover::after { transform: translateX(4px); }

/* Rechtstexte */
.legal { max-width: 72ch; padding-block: clamp(32px, 6vw, 72px) 0; color: var(--ink-2); }
.legal > * { margin: 0; }
.legal > * + * { margin-top: 0.8em; }
.legal h1 { margin-bottom: 0.6em; font-family: var(--display); font-stretch: 125%; font-weight: 440; font-size: var(--t-h1); line-height: 0.92; text-transform: uppercase; color: var(--ink); }
.legal h2 { margin-top: 2em; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.legal h3 { margin-top: 1.4em; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li + li { margin-top: 0.4em; }
.legal strong, .legal b { color: var(--ink); font-weight: 600; }

/* ---------- Kontakt ---------- */

.contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.contact-pitch { position: relative; }
.contact .title { font-size: clamp(1.9rem, 0.9rem + 3.4vw, 4.8rem); margin: 0; }
.contact-pitch .lede { margin-top: 20px; }
.contact-direct { display: grid; gap: 4px; margin-top: 30px; }
.contact-direct a { width: fit-content; font-family: var(--display); font-stretch: 112%; font-weight: 500; font-size: clamp(1.15rem, 0.95rem + 0.9vw, 1.7rem); letter-spacing: -0.01em; text-decoration: none; border-bottom: 1px solid transparent; }
.contact-direct a:hover { border-color: var(--ink); }
.contact-direct .caption { margin-top: 8px; }
.contact-direct .caption:first-child { margin-top: 0; margin-bottom: 4px; }
.contact .o-contact { right: 2%; top: -70px; width: clamp(70px, 8vw, 130px); }

.form { display: grid; gap: 24px; }
.form-row { display: grid; gap: 24px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; margin: 0; }
.field label, .field .label { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.field label em, .field-check em { color: var(--ink); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0;
  border: 0; border-bottom: 1px solid var(--rule-strong); border-radius: 0;
  background: transparent; color: var(--ink);
  font: inherit; font-size: 1.0625rem;
  transition: border-color 0.2s;
}
.field select {
  appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 0.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-bottom-color: var(--err); }
.field-check.invalid label { color: var(--err); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.seg legend { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.seg label {
  position: relative; display: inline-flex; align-items: center;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px;
  font-size: var(--t-ui); cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg label:hover { background: var(--surface-2); }
.seg label:has(input:checked) { background: var(--ink); color: #fff; }
.seg label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.field-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 0; font-size: var(--t-ui); color: var(--ink-2); }
.field-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.form-status { margin: 0; font-size: var(--t-ui); color: var(--muted); }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---------- Fuss ---------- */

footer { position: relative; padding-top: clamp(40px, 7vw, 110px); }
.wordmark {
  display: flex; align-items: center; justify-content: center; gap: 0.06em;
  margin: clamp(10px, 2vw, 24px) 0 0;
  font-size: clamp(3.2rem, 0.2rem + 15.4vw, 20rem); font-weight: 520;
  line-height: 0.8; letter-spacing: -0.035em; text-transform: lowercase; white-space: nowrap;
}
.wordmark .brand-mark { flex: none; width: 0.13em; height: 0.13em; margin: 0.06em 0.12em 0 0; border-radius: 0.02em; box-shadow: 0 0 0 0.006em rgba(17, 18, 22, 0.3); }
.seo-links { display: grid; gap: 8px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 28px 0 0; list-style: none; border-top: 1px solid var(--rule-strong); margin-top: clamp(24px, 4vw, 48px); }
@media (min-width: 640px) { .seo-links { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); } }
.seo-links a { font-size: var(--t-ui); color: var(--ink-2); text-decoration: none; }
.seo-links a:hover, .seo-links a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding: 26px 0 30px; font-size: var(--t-ui); color: var(--muted); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--ink-2); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Odometer ---------- */

.odo { display: inline-flex; white-space: nowrap; }
.odo-d { display: inline-block; height: 1lh; overflow: hidden; vertical-align: top; }
.odo-col { display: flex; flex-direction: column; transform: translateY(0); transition: transform 1.6s cubic-bezier(0.22, 1, 0.36, 1); }
.odo-col > span { display: block; height: 1lh; }

/* ---------- Cookie-Hinweis (consent.js) ---------- */

html body .am-consent {
  left: auto; right: var(--gutter); bottom: var(--gutter);
  width: min(440px, calc(100vw - 2 * var(--gutter)));
  padding: 20px; gap: 16px;
  border: 0; border-radius: 16px;
  background: rgba(251, 251, 248, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 0 0 2px var(--ink), 0 30px 60px -30px rgba(17, 18, 22, 0.45);
  font-family: var(--sans); font-size: var(--t-ui); line-height: 1.5;
}
html body .am-consent .am-copy { flex: 1 1 100%; }
html body .am-consent b { margin-bottom: 6px; font-family: var(--display); font-stretch: 112%; font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0; color: var(--ink); }
html body .am-consent p { color: var(--ink-2); }
html body .am-consent a { color: var(--ink); text-decoration-thickness: 1px; }
html body .am-consent .am-actions { width: 100%; flex: 1 1 100%; gap: 8px; }
html body .am-consent button {
  flex: 1 1 0; min-width: 0; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
html body .am-consent button:hover, html body .am-consent button:focus-visible { background: var(--ink); color: #fff; }

/* ---------- Bewegung ---------- */

/* Split-Text bleibt bis zum Aufteilen unsichtbar; faellt GSAP aus, zeigt die
   Animation den Text nach kurzer Zeit trotzdem. */
.js [data-split], .js [data-rows] .row-title { visibility: hidden; animation: am-show 0s 1.8s forwards; }
@keyframes am-show { to { visibility: visible; } }
.no-split [data-split], .no-split [data-rows] .row-title { visibility: visible; animation: none; }
.line-mask { padding-block: 0.16em 0.08em; margin-block: -0.16em -0.08em; }

.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out); }
/* Failsafe: v2.js setzt .v2-ok; fehlt das Skript, blendet CSS die Bloecke nach 4 s selbst ein */
.js:not(.v2-ok) [data-reveal] { animation: am-reveal-failsafe 0.6s 4s forwards; }
@keyframes am-reveal-failsafe { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  body::before { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js [data-split], .js [data-rows] .row-title { visibility: visible; animation: none; }
  .js .mega .ml > span { transform: none; animation: none; }
  details.row::details-content { transition: none; }
}
