/* Seitenaufmaß: Gestaltung
   Papier, Tinte, Zollstock Gelb, Rotstift. Alle Schriften liegen lokal. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

@view-transition { navigation: auto; }

:root {
  --papier: #f3f0e7;
  --papier-2: #e9e4d6;
  --blatt: #fffdf7;
  --tinte: #17160f;
  --tinte-2: #3b392f;
  --grau: #6f6a5c;
  --linie: #cfc8b5;
  --gelb: #f4c300;
  --rot: #c3281b;
  --gruen: #1d6b3a;
  --sans: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;
  --rand: clamp(16px, 4vw, 40px);
  --max: 1240px;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--papier); color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--sans); font-stretch: 100%;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.dunkel :focus-visible, .fuss :focus-visible, .leiste :focus-visible { outline-color: var(--gelb); }

.mono { font-family: var(--mono); letter-spacing: -.01em; }
.hand { font-family: var(--hand); font-weight: 600; color: var(--rot); line-height: 1.05; }
.rahmen { width: min(100% - 2 * var(--rand), var(--max)); margin-inline: auto; }
.schmal { max-width: 880px; }

.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--tinte); color: var(--gelb); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: 0 1.35em; border: 2px solid var(--tinte); border-radius: 4px;
  background: var(--tinte); color: var(--papier); text-decoration: none;
  font: 700 1.05rem/1.1 var(--sans); font-stretch: 88%;
  box-shadow: 4px 4px 0 var(--gelb); transition: transform .15s ease, box-shadow .15s ease;
}
.knopf:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--gelb); }
.knopf:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--gelb); }
.knopf svg { width: 20px; height: 20px; flex: none; }
.knopf-linie { background: transparent; color: var(--tinte); box-shadow: none; }
.knopf-linie:hover { background: var(--blatt); box-shadow: 4px 4px 0 var(--tinte); }
.knopf-klein { min-height: 44px; padding: 0 1em; font-size: .95rem; box-shadow: 3px 3px 0 var(--gelb); }
.knopf-gross { width: 100%; min-height: 58px; font-size: clamp(1rem, 4.2vw, 1.15rem); }
.dunkel .knopf { background: var(--gelb); color: var(--tinte); border-color: var(--gelb); box-shadow: 4px 4px 0 rgb(255 255 255 / .28); }

/* Kopf */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgb(243 240 231 / .9); border-bottom: 1px solid var(--linie);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.kopf-innen { width: min(100% - 2 * var(--rand), var(--max)); margin-inline: auto; height: 66px; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--tinte); text-decoration: none; }
.logo-zeichen { width: 32px; height: 32px; flex: none; }
.logo-wort { font-size: 1.4rem; font-weight: 500; font-stretch: 74%; letter-spacing: -.01em; line-height: 1; }
.logo-wort b { font-weight: 850; }
.logo-hell { color: var(--papier); }
.navi { margin-left: auto; display: flex; gap: 26px; }
.navi a { text-decoration: none; font-weight: 600; font-size: .98rem; padding: 11px 0; background: linear-gradient(var(--gelb), var(--gelb)) 0 88% / 0 6px no-repeat; transition: background-size .2s; }
.navi a:hover { background-size: 100% 6px; }

/* Hero */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 8vw, 110px); }
.ueberzeile { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .8rem; margin: 0 0 18px; color: var(--tinte-2); }
.ueberzeile span, .marke span { background: var(--tinte); color: var(--gelb); padding: 3px 8px; font-weight: 700; }
h1 { margin: 0; }
.h1-klein { display: block; font-size: clamp(1.05rem, 2vw, 1.5rem); font-weight: 700; font-stretch: 95%; margin-bottom: .35em; }
.h1-gross {
  display: block; font-size: clamp(2.6rem, 14vw, 9.6rem); line-height: .9;
  font-weight: 850; font-stretch: 66%; letter-spacing: -.02em;
}
.h1-gross em { font-style: normal; background: linear-gradient(transparent 60%, var(--gelb) 60% 90%, transparent 90%); padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Zollstock: sechs Glieder, ineinander verschachtelt, klappen beim Laden auf */
.zollstock {
  --n: 6;
  --seg: min(150px, calc((100vw - 2 * var(--rand) - 10px) / (1 + .8 * (var(--n) - 1))));
  --h: calc(var(--seg) * .2);
  position: relative; height: var(--h);
  margin: clamp(16px, 2.6vw, 28px) 0 clamp(30px, 5vw, 64px);
  filter: drop-shadow(0 5px 5px rgb(0 0 0 / .18));
}
.glied {
  position: absolute; top: 0; left: 0; width: var(--seg); height: var(--h); border-radius: 2px;
  background-color: var(--gelb);
  background-image:
    linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px),
    linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px),
    linear-gradient(90deg, var(--tinte) 0 1.5px, transparent 1.5px),
    linear-gradient(90deg, var(--tinte) 0 1.5px, transparent 1.5px),
    linear-gradient(180deg, rgb(255 255 255 / .38), transparent 38%, transparent 70%, rgb(0 0 0 / .14));
  background-size: calc(var(--seg) / 20) 20%, calc(var(--seg) / 20) 20%, calc(var(--seg) / 4) 36%, calc(var(--seg) / 4) 36%, 100% 100%;
  background-position: 0 0, 0 100%, 0 0, 0 100%, 0 0;
  background-repeat: repeat-x, repeat-x, repeat-x, repeat-x, no-repeat;
  transform-origin: calc(var(--h) / 2) 50%;
  animation: aufklappen 1.15s cubic-bezier(.25, .8, .25, 1) both;
  animation-delay: calc(.25s + var(--i) * .12s);
}
.glied .glied { left: calc(var(--seg) - var(--h)); }
.glied::after {
  content: ""; position: absolute; top: calc(50% - 2.5px); left: calc(var(--h) / 2 - 2.5px);
  width: 5px; height: 5px; border-radius: 50%; background: #8b7a3a; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .35);
}
.z { position: absolute; left: var(--x); top: 50%; translate: -50% -46%; font: 850 calc(var(--h) * .52)/1 var(--sans); font-stretch: 66%; color: var(--tinte); }
.z.rot { color: var(--rot); }
@keyframes aufklappen { from { transform: rotate(var(--falt, 0deg)); } to { transform: rotate(0deg); } }
@media (prefers-reduced-motion: reduce) { .glied { animation: none; } }

.hero-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.55; margin: 0; max-width: 36em; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px 16px; margin: 30px 0 24px; }
.vertrauen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .78rem; color: var(--tinte-2); }
.vertrauen li::before { content: "✓"; color: var(--gruen); font-weight: 800; margin-right: 6px; }

/* Aufmaßblatt im Hero */
.blatt {
  position: relative; margin: 0; padding: 20px 22px 18px;
  background-color: var(--blatt);
  background-image: linear-gradient(rgb(23 22 15 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(23 22 15 / .05) 1px, transparent 1px);
  background-size: 12px 12px;
  border: 1px solid var(--linie);
  box-shadow: 0 1px 0 rgb(0 0 0 / .04), 0 22px 44px -22px rgb(0 0 0 / .4);
  rotate: 1.2deg;
}
.blatt::before { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; translate: -50% 0; rotate: -2deg; background: rgb(244 195 0 / .55); }
.blatt-kopf { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--tinte); padding-bottom: 8px; }
.blatt-titel { font-size: 1.7rem; font-weight: 850; font-stretch: 68%; line-height: 1; }
.blatt-kopf .mono { font-size: .78rem; color: var(--grau); }
.blatt-meta { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; margin: 10px 0 6px; font-size: .74rem; }
.blatt-meta div { display: contents; }
.blatt-meta dt { color: var(--grau); }
.blatt-meta dd { margin: 0; }
.blatt-zeilen { list-style: none; margin: 0; padding: 0; }
.blatt-zeilen li { display: grid; grid-template-columns: 2.1em minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 9px 0; border-bottom: 1px dashed var(--linie); }
.blatt-zeilen .pos { color: var(--grau); font-size: .75rem; }
.blatt-zeilen .was { font-weight: 600; font-size: .98rem; }
.blatt-zeilen .wert { font-size: .88rem; font-weight: 700; color: var(--grau); transition: color .3s, opacity .3s; text-align: right; }
.blatt-zeilen li:not(.fertig) .wert { opacity: .55; }
.blatt-zeilen li.fertig[data-stand="gut"] .wert { color: var(--gruen); }
.blatt-zeilen li.fertig[data-stand="gut"] .wert::after { content: " ✓"; }
.blatt-zeilen li.fertig[data-stand="mangel"] .wert { color: var(--rot); }
.blatt figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; min-height: 44px; }
.blatt figcaption .hand { font-size: 1.45rem; }
.stempel {
  font-weight: 850; font-stretch: 75%; font-size: 1.3rem; letter-spacing: .05em; color: var(--gruen);
  border: 3px solid currentColor; border-radius: 6px; padding: 2px 10px; rotate: -9deg; opacity: 0;
}
.blatt.abgenommen .stempel { animation: stempeln .45s cubic-bezier(.2, 1.6, .4, 1) forwards; }
@keyframes stempeln { from { opacity: 0; scale: 1.8; } to { opacity: .9; scale: 1; } }

/* Abschnitte */
.abschnitt { padding: clamp(64px, 9vw, 128px) 0; }
.papier2 {
  background-color: var(--papier-2);
  background-image: linear-gradient(rgb(23 22 15 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(23 22 15 / .04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.dunkel { background: var(--tinte); color: var(--papier); }
.marke { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .8rem; color: var(--tinte-2); }
.marke::after { content: ""; flex: 0 1 140px; height: 1px; background: currentColor; opacity: .35; }
.dunkel .marke { color: rgb(243 240 231 / .75); }
.dunkel .marke span { background: var(--gelb); color: var(--tinte); }
h2 { font-size: clamp(2.1rem, 5.6vw, 4.4rem); line-height: .98; font-weight: 850; font-stretch: 70%; letter-spacing: -.015em; margin: 14px 0 18px; max-width: 17em; }
.einleitung { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 40em; color: var(--tinte-2); margin: 0; }

/* 01 Mängel */
.maengel { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 18px; }
.mangel { background: var(--blatt); border: 1px solid var(--linie); padding: 22px 22px 20px; position: relative; }
.mangel-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.nr { position: relative; color: var(--rot); font-weight: 700; font-size: .8rem; padding: 4px 8px; white-space: nowrap; }
.kringel { position: absolute; left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); overflow: visible; fill: none; stroke: var(--rot); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.kringel path { vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.notiz { font-size: 1.3rem; rotate: -4deg; text-align: right; }
.mangel h3 { font-size: 1.4rem; line-height: 1.12; font-weight: 800; font-stretch: 78%; margin: 0 0 10px; }
.mangel p { margin: 0; }
.abhilfe { margin-top: 16px !important; padding-top: 14px; border-top: 1px dashed var(--linie); }
.abhilfe .mono { display: block; font-size: .74rem; font-weight: 700; color: var(--gruen); margin-bottom: 4px; }

/* 02 Nachgemessen */
.zahlen-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; margin-top: 34px; }
.grosszahl { margin: 0; }
.grosszahl .zahl, .grosszahl .prozent { color: var(--gelb); font-weight: 850; font-stretch: 62%; line-height: .8; font-variant-numeric: tabular-nums; }
.grosszahl .zahl { font-size: clamp(6.5rem, 21vw, 15rem); }
.grosszahl .prozent { font-size: clamp(3rem, 8vw, 6.5rem); margin-left: .05em; }
.grosszahl-text { display: block; font-size: 1.15rem; margin-top: 18px; max-width: 24em; }
.balken { list-style: none; margin: 0; padding: 0; }
.balken li { display: grid; grid-template-columns: 4.6em minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid rgb(255 255 255 / .14); }
.balken li:first-child { padding-top: 4px; }
.balken-wert { grid-row: span 2; align-self: start; font-size: 1.55rem; font-weight: 700; color: var(--gelb); white-space: nowrap; }
.balken-band {
  display: block; height: 14px; width: calc(var(--p) * 1%); border-radius: 2px;
  background-color: var(--gelb);
  background-image: linear-gradient(90deg, var(--tinte) 0 1px, transparent 1px), linear-gradient(90deg, var(--tinte) 0 1.5px, transparent 1.5px);
  background-size: 8px 30%, 40px 55%; background-repeat: repeat-x;
  transition: width 1.3s cubic-bezier(.2, .8, .2, 1);
}
.balken.wartet .balken-band { width: 0; }
.balken li:nth-child(2) .balken-band { transition-delay: .1s; }
.balken li:nth-child(3) .balken-band { transition-delay: .2s; }
.balken li:nth-child(4) .balken-band { transition-delay: .3s; }
.balken li:nth-child(5) .balken-band { transition-delay: .4s; }
.balken-text { color: rgb(243 240 231 / .88); font-size: 1rem; line-height: 1.45; }
.balken-text .mono { color: rgb(243 240 231 / .55); font-size: .8rem; white-space: nowrap; }
.methode { margin: 36px 0 0; font-size: .88rem; color: rgb(243 240 231 / .68); max-width: 62em; }
.zahlen-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 30px 0 0; }
.zahlen-cta .hand { color: var(--gelb); font-size: 1.9rem; }

/* 03 Leistungsverzeichnis */
.lv { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 470px), 1fr)); gap: 36px 56px; margin-top: 42px; }
.lv-gruppe h3 { display: flex; align-items: baseline; gap: 12px; margin: 0; padding-bottom: 10px; border-bottom: 3px solid var(--tinte); font-size: 1.7rem; font-weight: 850; font-stretch: 72%; line-height: 1.1; }
.lv-gruppe h3 .mono { font-size: .85rem; background: var(--gelb); padding: 2px 9px; }
.lv-gruppe ol { list-style: none; margin: 0; padding: 0; }
.lv-gruppe li { display: grid; grid-template-columns: 3.1em minmax(0, 1fr); gap: 2px 12px; padding: 15px 0; border-bottom: 1px solid var(--linie); }
.lv-gruppe .pos { grid-row: span 2; color: var(--grau); font-size: .85rem; padding-top: 3px; }
.lv-gruppe li b { font-weight: 700; font-size: 1.08rem; justify-self: start; background: linear-gradient(transparent 62%, var(--gelb) 62%) 0 0 / 0 100% no-repeat; transition: background-size .25s; }
.lv-gruppe li:hover b { background-size: 100% 100%; }
.lv-gruppe li span:last-child { color: var(--tinte-2); }

/* 04 Vorher und nachher */
.vergleich { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "vorher buehne nachher"; gap: clamp(20px, 4vw, 60px); align-items: center; margin-top: 40px; }
.vorher-liste { grid-area: vorher; }
.nachher-liste { grid-area: nachher; }
.buehne { grid-area: buehne; display: grid; justify-items: center; }
.vergleich-liste { list-style: none; margin: 0; padding: 0; font-family: var(--hand); font-weight: 600; font-size: 1.5rem; line-height: 1.15; }
.vergleich-liste li { padding: 8px 0; }
.vergleich-liste .vergleich-titel { font: 700 .8rem/1 var(--mono); color: var(--tinte); padding-bottom: 6px; }
.vorher-liste { color: var(--rot); text-align: right; }
.vorher-liste li:not(.vergleich-titel)::after { content: " →"; }
.nachher-liste { color: var(--gruen); }
.nachher-liste li:not(.vergleich-titel)::before { content: "← "; }

.handy { position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 610; border-radius: 40px; background: #121212; padding: 10px; box-shadow: 0 34px 60px -28px rgb(0 0 0 / .55), inset 0 0 0 2px #3a3a3a; }
.schirm { position: absolute; inset: 10px; border-radius: 30px; overflow: hidden; background: #fff; container-type: inline-size; }
.schirm-nachher { clip-path: inset(0 0 0 calc(var(--pos) * 1%)); }
.trenner { position: absolute; top: 10px; bottom: 10px; left: calc(10px + (100% - 20px) * var(--pos) / 100); width: 3px; translate: -50% 0; background: var(--gelb); pointer-events: none; }
.trenner span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 38px; height: 38px; border-radius: 50%; background: var(--gelb); color: var(--tinte); display: grid; place-items: center; font-size: 20px; box-shadow: 0 4px 12px rgb(0 0 0 / .3); }
.regler-label { display: grid; justify-items: center; gap: 4px; margin-top: 18px; }
.regler-label .mono { font-size: .75rem; color: var(--grau); }
.regler-label input { width: min(300px, 78vw); height: 44px; margin: 0; accent-color: var(--tinte); cursor: ew-resize; }
.beispiel-hinweis { margin: 6px 0 0; font-size: .72rem; color: var(--grau); text-align: center; }

.adresse { height: 34px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; font: 600 11px/1 var(--sans); background: #ececec; color: #444; border-bottom: 1px solid #ddd; }
.adresse.warnung span { color: #c5221f; }

/* alte Seite: Desktop-Layout, aufs Handy gequetscht */
.schirm-vorher { background: #dfe7f1; }
.alt-seite { font-family: "Times New Roman", Times, serif; color: #000; font-size: 1.6cqw; line-height: 1.25; }
.alt-kopf { background: linear-gradient(#1b3f8f, #0d2a66); color: #ffde00; padding: 1.2em; text-align: center; }
.alt-kopf b { display: block; font-size: 2.6em; font-family: "Comic Sans MS", "Times New Roman", serif; text-shadow: .08em .08em 0 #c00; }
.alt-kopf i { display: block; color: #fff; font-size: 1.2em; }
.alt-menue { display: flex; background: #c0c0c0; border-top: 2px solid #fff; border-bottom: 2px solid #808080; }
.alt-menue span { flex: 1; text-align: center; padding: .4em .2em; border-right: 1px solid #888; color: #00e; text-decoration: underline; }
.alt-lauf { background: #ff0; color: #c00; font-weight: bold; padding: .3em; white-space: nowrap; overflow: hidden; }
.alt-inhalt { display: flex; gap: 1em; padding: 1em; }
.alt-spalte { flex: 2; background: #fff; border: 1px solid #999; padding: 1em; }
.alt-spalte p { margin: 0 0 .8em; }
.alt-gruss { color: #c00; font-size: 1.8em; font-weight: bold; font-style: italic; }
.alt-bilder { flex: 1; display: flex; flex-direction: column; gap: 1em; }
.alt-bilder span { height: 8em; display: grid; place-items: center; background: #bbb; color: #555; border: 2px solid #eee; }
.alt-fuss { text-align: center; font-size: .9em; padding: .6em; color: #333; }

/* neue Seite */
.schirm-nachher { background: #fff; color: #141414; font-family: var(--sans); }
.neu-kopf { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid #eee; font-size: 15px; font-weight: 850; font-stretch: 78%; }
.neu-kopf span { font-weight: 400; color: #666; font-size: 12px; font-stretch: 100%; }
.neu-kopf i { margin-left: auto; width: 20px; height: 14px; border-top: 2px solid #222; border-bottom: 2px solid #222; position: relative; }
.neu-kopf i::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid #222; }
.neu-hero {
  padding: 22px 16px 18px; color: #fff;
  background-color: #3b4a55;
  background-image:
    linear-gradient(180deg, rgb(15 20 26 / .15), rgb(15 20 26 / .88)),
    repeating-linear-gradient(0deg, transparent 0 13px, rgb(0 0 0 / .32) 13px 15px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgb(0 0 0 / .22) 22px 23px);
}
.neu-ort { margin: 0; font: 600 10px/1.2 var(--mono); color: var(--gelb); }
.neu-titel { margin: 8px 0; font-size: 31px; line-height: .95; font-weight: 850; font-stretch: 68%; }
.neu-text { margin: 0 0 6px; font-size: 13px; line-height: 1.4; opacity: .92; }
.neu-knopf { display: block; text-align: center; padding: 11px; border-radius: 6px; font-weight: 700; font-size: 14px; margin-top: 9px; }
.neu-knopf.gelb { background: var(--gelb); color: #111; }
.neu-knopf.hell { background: rgb(255 255 255 / .14); border: 1px solid rgb(255 255 255 / .55); color: #fff; }
.neu-kacheln { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
.neu-kacheln span { background: #f3f1ea; border-radius: 6px; padding: 14px 10px; font-weight: 700; font-size: 13px; }
.neu-sterne { margin: 0; padding: 0 14px; color: #e69b00; font-size: 14px; }
.neu-sterne span { color: #333; font-size: 12px; }
.neu-leiste { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; }
.neu-leiste span { padding: 14px 8px 18px; text-align: center; font-weight: 700; font-size: 13px; background: #141414; color: #fff; }
.neu-leiste span + span { background: var(--gelb); color: #141414; }

/* 05 Ablauf als Maßkette */
.ablauf { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ablauf li { position: relative; padding: 30px 22px 0 0; border-top: 3px solid var(--tinte); }
.ablauf li::before { content: ""; position: absolute; left: 0; top: -13px; width: 3px; height: 23px; background: var(--tinte); }
.ablauf li:last-child::after { content: ""; position: absolute; right: 0; top: -13px; width: 3px; height: 23px; background: var(--tinte); }
.schritt { position: absolute; top: -36px; left: 12px; font-size: .8rem; font-weight: 700; color: var(--grau); }
.ablauf h3 { margin: 0 0 8px; font-size: 1.6rem; font-weight: 850; font-stretch: 72%; line-height: 1.05; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ablauf h3 small { font-size: .7rem; font-weight: 700; background: var(--gelb); padding: 3px 7px; font-stretch: 100%; }
.ablauf p { margin: 0; color: var(--tinte-2); }

/* 06 Gewerke */
.gewerke { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.gewerke li { background: var(--blatt); border: 1px solid var(--linie); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 7px; }
.gewerke b { font-size: 1.2rem; font-weight: 800; font-stretch: 82%; margin-bottom: 2px; }
.gewerke .mono { font-size: .8rem; color: var(--tinte-2); padding-left: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5' fill='none' stroke='%236f6a5c' stroke-width='1.8'/%3E%3Cpath d='M10 10l4 4' stroke='%236f6a5c' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") 0 50% / 14px no-repeat; }
.gewerke-fuss { margin: 24px 0 0; color: var(--tinte-2); }

/* 07 Wer dahinter steht */
.wir-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.wir-raster p { max-width: 36em; }
.fakten { display: flex; flex-wrap: wrap; gap: 18px 40px; margin: 28px 0 0; }
.fakten dt { font-size: .75rem; color: var(--grau); }
.fakten dd { margin: 0; font-size: 1.6rem; font-weight: 850; font-stretch: 74%; }
.wir-bild { margin: 0; display: grid; justify-items: center; gap: 14px; rotate: -2deg; }
.handy-foto { aspect-ratio: auto; width: min(280px, 70vw); }
.handy-foto img { display: block; width: 100%; height: auto; border-radius: 30px; }
.wir-bild figcaption { font-size: 1.55rem; }

/* 08 Fragen */
.faq { margin-top: 30px; border-top: 2px solid var(--tinte); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 20px 48px 20px 0; font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; translate: 0 -50%; font: 400 1.9rem/1 var(--mono); transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .3s ease, content-visibility .3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { margin: 0 0 22px; max-width: 46em; color: var(--tinte-2); }

/* 09 Aufmaß anfordern */
.aufmass { background: var(--gelb); }
.aufmass .marke span { background: var(--tinte); color: var(--gelb); }
.aufmass-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.aufmass-text > p:not(.marke) { font-size: 1.15rem; max-width: 30em; }
.haken { list-style: none; margin: 24px 0 0; padding: 0; }
.haken li { padding: 7px 0 7px 30px; position: relative; font-weight: 600; }
.haken li::before { content: "✓"; position: absolute; left: 0; top: 6px; width: 22px; height: 22px; display: grid; place-items: center; background: var(--tinte); color: var(--gelb); font-size: .8rem; border-radius: 3px; }
.aufmass-tel { margin-top: 30px; font-weight: 600; }
.aufmass-tel a { font-size: 2rem; font-weight: 850; font-stretch: 72%; text-decoration: none; border-bottom: 3px solid var(--tinte); }

.formular { background: var(--blatt); padding: clamp(20px, 3vw, 34px); border: 2px solid var(--tinte); box-shadow: 8px 8px 0 var(--tinte); }
.feld-gruppe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; position: relative; }
.feld.breit { grid-column: 1 / -1; }
.feld label:not(.check) { display: block; font-weight: 700; font-size: .93rem; margin-bottom: 6px; }
.feld input:not([type="checkbox"]), .feld select, .feld textarea {
  width: 100%; min-height: 50px; padding: 11px 12px; border: 2px solid #b9b2a0; border-radius: 4px;
  background: #fff; color: var(--tinte); font: 400 16px/1.4 var(--sans);
}
.feld textarea { resize: vertical; min-height: 110px; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { border-color: var(--tinte); outline: 3px solid var(--gelb); outline-offset: 0; }
.feld input:disabled { background: #eee; color: var(--grau); }
.feld:has(input:user-invalid) input { border-color: var(--rot); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 8px; min-height: 44px; font-size: .95rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--tinte); margin: 0; }
.pflicht, .frei { font-weight: 400; font-size: .78rem; color: var(--grau); margin-left: 6px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.spamschutz { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding: 8px 14px; border: 2px solid #b9b2a0; border-radius: 4px; background: #fff; transition: border-color .2s, background-color .2s; }
.feld .spamschutz-box { display: flex; align-items: center; gap: 12px; min-height: 48px; margin: 0; font-weight: 700; font-size: 1rem; cursor: pointer; }
.spamschutz-box input { width: 26px; height: 26px; margin: 0; accent-color: var(--gruen); cursor: pointer; }
.spamschutz-info { font-size: .72rem; color: var(--grau); }
.spamschutz[data-stand="laeuft"] .spamschutz-text::after { content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px; vertical-align: -2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: drehen .8s linear infinite; }
.spamschutz[data-stand="ok"] { border-color: var(--gruen); background: #e8f3ec; }
.spamschutz[data-stand="ok"] .spamschutz-text { color: var(--gruen); }
.spamschutz[data-stand="ok"] .spamschutz-box input { display: none; }
.spamschutz[data-stand="ok"] .spamschutz-text::before { content: "✓"; display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; border-radius: 4px; background: var(--gruen); color: #fff; font-size: .95rem; }
.spamschutz[data-stand="fehler"] { border-color: var(--rot); }
.spamschutz[data-stand="fehler"] .spamschutz-text { color: var(--rot); font-weight: 600; }
@keyframes drehen { to { rotate: 360deg; } }
.formular-hinweis { font-size: .86rem; color: var(--tinte-2); margin: 20px 0; }
.meldung { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--rot); background: #fdecea; font-weight: 600; }
.meldung.ok { border-color: var(--gruen); background: #e8f3ec; }

/* Fuß */
.fuss { background: var(--tinte); color: var(--papier); padding-top: 56px; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 36px; }
.fuss p, .fuss address { margin: 14px 0 0; font-style: normal; color: rgb(243 240 231 / .8); line-height: 1.7; }
.fuss address { margin: 0; }
.fuss-navi { display: flex; flex-direction: column; gap: 4px; }
.fuss-navi a { min-height: 44px; display: inline-flex; align-items: center; align-self: start; }
.fuss .fuss-zeile { margin: 0 auto; padding: 16px 0 26px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .76rem; color: rgb(243 240 231 / .6); }
.fuss-schmal { padding-top: 10px; }
.fuss-schmal .fuss-zeile { border-top: 0; }
a[href^="tel:"] { white-space: nowrap; }

/* Leiste unten auf dem Handy */
.leiste { display: none; }

/* Unterseiten */
.unterseite { padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 9vw, 120px); }
.unterseite h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: .95; font-weight: 850; font-stretch: 68%; margin: 14px 0 28px; }
.unterseite h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-stretch: 78%; margin: 40px 0 10px; line-height: 1.15; }
.unterseite h3 { font-size: 1.15rem; margin: 26px 0 6px; }
.unterseite p, .unterseite li { max-width: 46em; }
.unterseite address { font-style: normal; }
.kopf-zurueck { margin-left: auto; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.mittig { min-height: 62vh; display: grid; align-content: center; }
.stand { margin-top: 48px; font-size: .8rem; color: var(--grau); }
.anmeldung { max-width: 480px; margin-top: 28px; }
.anmeldung .feld + .feld { margin-top: 16px; }
.anmeldung .knopf { margin-top: 24px; }
.tabelle-rahmen { overflow-x: auto; margin-top: 28px; border: 2px solid var(--tinte); background: var(--blatt); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th, .tabelle td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font: 700 .75rem/1.2 var(--mono); background: var(--papier-2); }
.tabelle td .mono { font-size: .75rem; color: var(--grau); }
.leise { color: var(--grau); }
.kurz { font-size: 1.15rem; padding: 18px 20px; background: var(--blatt); border-left: 4px solid var(--gelb); }

/* Einblenden beim Scrollen, nur wo der Browser es kann */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .einblenden { animation: rein linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .kringel path { animation: kringeln linear both; animation-timeline: view(); animation-range: entry 30% cover 45%; }
  }
}
@keyframes rein { from { opacity: 0; translate: 0 28px; } }
@keyframes kringeln { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Tablet */
@media (max-width: 980px) {
  .navi { display: none; }
  .kopf-innen .knopf-klein { margin-left: auto; }
  .hero-raster, .zahlen-raster, .wir-raster, .aufmass-raster { grid-template-columns: minmax(0, 1fr); }
  .blatt { max-width: 520px; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .ablauf { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 60px; }
}

/* Handy */
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .zollstock { --n: 4; }
  .glied .glied .glied .glied .glied { display: none; }
  .blatt { rotate: 0deg; }
  .ablauf { grid-template-columns: minmax(0, 1fr); margin-top: 32px; row-gap: 0; }
  .ablauf li { border-top: 0; border-left: 3px solid var(--tinte); padding: 0 0 30px 26px; }
  .ablauf li::before { top: 0; left: -13px; width: 23px; height: 3px; }
  .ablauf li:last-child { padding-bottom: 0; }
  .ablauf li:last-child::after { top: auto; bottom: 0; right: auto; left: -13px; width: 23px; height: 3px; }
  .schritt { position: static; display: block; margin-bottom: 4px; }
  .vergleich { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "buehne buehne" "vorher nachher"; gap: 28px 16px; align-items: start; }
  .vergleich-liste { font-size: 1.25rem; }
  .vorher-liste { text-align: left; }
  .vorher-liste li:not(.vergleich-titel)::after, .nachher-liste li:not(.vergleich-titel)::before { content: none; }
  .feld-gruppe { grid-template-columns: minmax(0, 1fr); }
  .formular { box-shadow: 5px 5px 0 var(--tinte); }
  .fuss-raster { grid-template-columns: minmax(0, 1fr); }
  .leiste {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgb(23 22 15 / .96); transition: translate .25s ease;
  }
  .leiste.weg { translate: 0 115%; }
  .leiste a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-weight: 700; text-decoration: none; }
  .leiste svg { width: 18px; height: 18px; }
  .leiste-tel { color: var(--papier); border: 1.5px solid rgb(255 255 255 / .4); padding: 0 16px; }
  .leiste-cta { background: var(--gelb); color: var(--tinte); }
}
@media (max-width: 560px) {
  .kopf-innen .knopf-klein { display: none; }
  .kopf-innen { height: 60px; }
  .knoepfe .knopf { width: 100%; }
}
