/* WerkundZeit · Landingpage (Vorschau site-neu)
   Modern, aber nicht übertrieben: große Schrift, Knöpfe mit Text, hoher Kontrast, wenig Bewegung.
   Eine Akzentfarbe (Petrol) plus Ampelfarben nur für Status, immer mit Text.
   Keine fremden Server: Schrift liegt in fonts/, Symbole stecken als SVG in index.html. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Farben, Abstände, Radien ---------- */
:root {
  color-scheme: light dark;
  --bg: #eef1f0;
  --flaeche: #ffffff;
  --flaeche-2: #f6f8f7;
  --ink: #0d1b1e;
  --ink-2: #2b3a3d;
  --muted: #4a5b5f;
  --linie: #cfd8d7;
  --linie-stark: #9fb0ae;
  --akzent: #0d6b66;
  --akzent-hover: #0a5753;
  --akzent-text: #ffffff;
  --akzent-zart: #ddefec;
  --akzent-link: #0d6b66;
  --ok: #1d6b37;
  --ok-bg: #e1f2e6;
  --warn: #7a4e00;
  --warn-bg: #fbebc7;
  --bad: #a3241c;
  --bad-bg: #fbe3e1;
  --bad-text: #ffffff;
  --raster: rgba(13, 27, 30, 0.08);
  --glas: rgba(238, 241, 240, 0.84);
  --glas-menue: rgba(238, 241, 240, 0.97);
  --glas-rand: rgba(13, 27, 30, 0.1);
  --notiz: rgba(255, 255, 255, 0.93);
  --schatten: 0 1px 2px rgba(13, 27, 30, 0.06), 0 10px 24px -14px rgba(13, 27, 30, 0.22);
  --schatten-gross: 0 2px 4px rgba(13, 27, 30, 0.06), 0 32px 64px -28px rgba(13, 27, 30, 0.4);
  --geraet: #1d2628;
  --geraet-rand: #33403f;

  /* App-Attrappe (nachgebaute Ansichten) */
  --m-bg: #eef2f3;
  --m-flaeche: #ffffff;
  --m-linie: #dfe6e8;
  --m-ink: #141a1f;
  --m-muted: #55626a;
  --m-akzent: #0d6b66;
  --m-akzent-zart: #ddefec;
  --m-akzent-text: #ffffff;
  --m-ok: #1d6b37;
  --m-ok-bg: #e1f2e6;
  --m-warn: #7a4e00;
  --m-warn-bg: #fbebc7;
  --m-bad: #a3241c;
  --m-bad-text: #ffffff;
  --m-weg: #e2e7e9;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 40px;
  --s8: 48px;
  --s9: 64px;
  --s10: 80px;
  --s11: 96px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-4xl: 32px;
  --kurve: cubic-bezier(0.22, 1, 0.36, 1);
  --dauer: 200ms;

  /* Millimeterpapier und Maßband als Masken (Farbe kommt aus --raster bzw. --linie-stark) */
  --muster-raster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cpath d='M0 .5H120M.5 0V120' stroke='%23000'/%3E%3Cpath d='M0 24.5H120M0 48.5H120M0 72.5H120M0 96.5H120M24.5 0V120M48.5 0V120M72.5 0V120M96.5 0V120' stroke='%23000' stroke-opacity='.45'/%3E%3C/svg%3E");
  --muster-band: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='16'%3E%3Cpath d='M.5 0V16M8.5 0V7M16.5 0V7M24.5 0V7M32.5 0V7M0 .5H40' stroke='%23000'/%3E%3C/svg%3E");
  --muster-band-senkrecht: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='40'%3E%3Cpath d='M0 .5H16M0 8.5H7M0 16.5H7M0 24.5H7M0 32.5H7M.5 0V40' stroke='%23000'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #181818;
    --flaeche: #1f1f1f;
    --flaeche-2: #272727;
    --ink: #f1f4f3;
    --ink-2: #d5dcdb;
    --muted: #b4bfbe;
    --linie: #313131;
    --linie-stark: #4f5756;
    --akzent: #4cc3b8;
    --akzent-hover: #6fd1c8;
    --akzent-text: #000000;
    --akzent-zart: #20302e;
    --akzent-link: #6fd1c8;
    --ok: #7fd99b;
    --ok-bg: #1f2f24;
    --warn: #f2c14e;
    --warn-bg: #352e1c;
    --bad: #ff8a80;
    --bad-bg: #3a2322;
    --bad-text: #000000;
    --raster: rgba(255, 255, 255, 0.06);
    --glas: rgba(31, 31, 31, 0.84);
    --glas-menue: rgba(24, 24, 24, 0.97);
    --glas-rand: rgba(255, 255, 255, 0.09);
    --notiz: rgba(39, 39, 39, 0.94);
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.5), 0 10px 24px -14px rgba(0, 0, 0, 0.7);
    --schatten-gross: 0 2px 4px rgba(0, 0, 0, 0.5), 0 32px 64px -28px rgba(0, 0, 0, 0.9);
    --geraet: #2b2b2b;
    --geraet-rand: #404040;

    --m-bg: #181818;
    --m-flaeche: #1f1f1f;
    --m-linie: #313131;
    --m-ink: #eef2f1;
    --m-muted: #aab5b4;
    --m-akzent: #4cc3b8;
    --m-akzent-zart: #20302e;
    --m-akzent-text: #000000;
    --m-ok: #7fd99b;
    --m-ok-bg: #1f2f24;
    --m-warn: #f2c14e;
    --m-warn-bg: #352e1c;
    --m-bad: #ff8a80;
    --m-bad-text: #000000;
    --m-weg: #272727;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
html.menue-offen { overflow: hidden; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
img, svg, video, audio { display: block; max-width: 100%; }

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p, li, dd, dt, td, th, label, summary, legend { text-wrap: pretty; overflow-wrap: break-word; }
p, li, dd, td, label { hyphens: manual; }

a { color: var(--akzent-link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
a, button, summary, label, input, textarea, [role="tab"] { touch-action: manipulation; -webkit-tap-highlight-color: rgba(13, 107, 102, 0.16); }
[hidden] { display: none !important; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.huelle {
  width: min(100% - 2 * var(--s4) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), 1200px);
  margin-inline: auto;
}
@media (min-width: 768px) {
  .huelle { width: min(100% - 2 * var(--s6) - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px), 1200px); }
}

/* Sprungmarke für Tastatur */
.sprung {
  position: absolute;
  left: var(--s4);
  top: -120px;
  z-index: 100;
  padding: var(--s3) var(--s4);
  border-radius: var(--r-lg);
  background: var(--akzent);
  color: var(--akzent-text);
  font-weight: 600;
  text-decoration: none;
}
.sprung:focus { top: var(--s4); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: 48px;
  padding: var(--s2) var(--s4);
  border: 2px solid transparent;
  border-radius: var(--r-xl);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dauer) var(--kurve), border-color var(--dauer) var(--kurve), color var(--dauer) var(--kurve), transform 150ms var(--kurve);
}
.knopf:hover { text-decoration: none; }
.knopf:active { transform: translateY(1px); }
.knopf .i { width: 1.375rem; height: 1.375rem; }
.knopf--gross { min-height: 56px; padding: var(--s3) var(--s5); font-size: 1.125rem; line-height: 1.75rem; }
.knopf--breit { width: 100%; }
.knopf--primaer { background: var(--akzent); color: var(--akzent-text); }
.knopf--primaer:hover { background: var(--akzent-hover); }
.knopf--zweit { background: var(--flaeche); color: var(--ink); border-color: var(--linie-stark); }
.knopf--zweit:hover { border-color: var(--ink-2); }
.knopf--stopp { background: var(--bad); color: var(--bad-text); }
.knopf:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

.textlink { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }

/* ---------- Kopfleiste (dezentes Glas) ---------- */
.kopf {
  position: fixed;
  top: var(--s3);
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: max(var(--s3), env(safe-area-inset-left, 0px)) max(var(--s3), env(safe-area-inset-right, 0px));
  pointer-events: none;
}
.kopf__leiste {
  pointer-events: auto;
  max-width: 1200px;
  margin-inline: auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s2) var(--s2) var(--s2) var(--s4);
  background: var(--glas);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border: 1px solid var(--glas-rand);
  border-radius: var(--r-2xl);
  box-shadow: var(--schatten);
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .kopf__leiste { background: var(--flaeche); }
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  min-height: 48px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.marke:hover { text-decoration: none; }
.marke__zeichen { width: 36px; height: 36px; flex: none; }
.marke__flaeche { fill: #0d6b66; }
.marke__w { fill: none; stroke: #ffffff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.kopf__links { display: none; list-style: none; align-items: center; gap: var(--s1); }
.kopf__links a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 var(--s3);
  border-radius: var(--r-xl);
  color: var(--ink-2);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--dauer) var(--kurve), color var(--dauer) var(--kurve);
}
.kopf__links a:hover { background: var(--flaeche-2); color: var(--ink); }
.kopf__links a[aria-current="true"] { background: var(--akzent-zart); color: var(--ink); }
.kopf__cta { display: none; }

.kopf__menue {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: 48px;
  padding: 0 var(--s4);
  border: 2px solid var(--linie-stark);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.burger { position: relative; display: inline-block; width: 20px; height: 14px; }
.burger i {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dauer) var(--kurve);
}
.burger i:first-child { top: 2px; }
.burger i:last-child { bottom: 2px; }
.kopf__menue[aria-expanded="true"] .burger i:first-child { transform: translateY(4px) rotate(45deg); }
.kopf__menue[aria-expanded="true"] .burger i:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 1024px) {
  .kopf__leiste { width: fit-content; gap: var(--s5); }
  .kopf__links { display: flex; }
  .kopf__cta { display: inline-flex; }
  .kopf__menue { display: none; }
}

/* Menü auf Handy und Tablet: ganze Höhe, ruhig eingeblendet */
.menue {
  position: fixed;
  inset: 0;
  z-index: 40;
  overflow-y: auto;
  padding: calc(64px + var(--s3) + var(--s5)) var(--s4) var(--s6);
  background: var(--glas-menue);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  overscroll-behavior: contain;
  transition: opacity var(--dauer) var(--kurve);
}
.menue.ist-offen { opacity: 1; }
.menue__innen { max-width: 560px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--s6); }
.menue__links { list-style: none; display: grid; gap: var(--s2); }
.menue__links a {
  display: flex;
  align-items: center;
  min-height: 60px;
  padding: 0 var(--s4);
  border: 1px solid var(--linie);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding: var(--s9) 0; }
.abschnitt--flaeche { background: var(--flaeche); }
.abschnitt__kopf { max-width: 760px; margin-bottom: var(--s7); display: grid; gap: var(--s3); }
.abschnitt__kopf h2 { font-size: 1.875rem; line-height: 2.25rem; }
.einleitung { color: var(--ink-2); }
@media (min-width: 768px) {
  .abschnitt__kopf h2 { font-size: 2.25rem; line-height: 2.75rem; }
  .einleitung { font-size: 1.25rem; line-height: 1.875rem; }
}
@media (min-width: 1024px) {
  .abschnitt { padding: var(--s11) 0; }
}
@media (min-width: 1200px) {
  .abschnitt__kopf h2 { font-size: 3rem; line-height: 3.5rem; }
}

/* Millimeterpapier für Hero und Formular */
.held,
.abschnitt--raster { position: relative; isolation: isolate; }
.held::before,
.abschnitt--raster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-color: var(--raster);
  -webkit-mask-image: var(--muster-raster), linear-gradient(to bottom, #000 55%, transparent);
  mask-image: var(--muster-raster), linear-gradient(to bottom, #000 55%, transparent);
  -webkit-mask-size: 120px 120px, 100% 100%;
  mask-size: 120px 120px, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat;
  mask-repeat: repeat, no-repeat;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  pointer-events: none;
}
.abschnitt--raster::before {
  -webkit-mask-image: var(--muster-raster), linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: var(--muster-raster), linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

/* Häkchen-Liste */
.haken { list-style: none; display: grid; gap: var(--s2); }
.haken li { display: flex; align-items: flex-start; gap: var(--s3); }
.haken .i { width: 24px; height: 24px; margin-top: 2px; color: var(--akzent); }

.pille {
  display: inline-flex;
  align-items: center;
  padding: var(--s1) var(--s3);
  border: 1px solid var(--linie);
  border-radius: 9999px;
  background: var(--flaeche);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 2px var(--s2);
  border-radius: 9999px;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
}
.chip--geplant { background: var(--warn-bg); color: var(--warn); }

.status {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s1) var(--s3);
  border-radius: 9999px;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status--ok { background: var(--ok-bg); color: var(--ok); }
.status--geplant { background: var(--warn-bg); color: var(--warn); }

.fussnote { margin-top: var(--s6); color: var(--muted); font-size: 1rem; line-height: 1.5rem; }

/* ---------- 1 · Hero ---------- */
.held {
  overflow: hidden;
  padding: calc(64px + var(--s3) + var(--s8)) 0 var(--s9);
}
.held__raster { display: grid; gap: var(--s8); }
.held__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); max-width: 680px; min-width: 0; }
.held__titel { font-size: 2.25rem; line-height: 2.625rem; letter-spacing: -0.025em; }
.held__unter { max-width: 620px; color: var(--ink-2); }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: var(--s3); }
@media (max-width: 379px) {
  .held__titel { font-size: 1.875rem; line-height: 2.25rem; }
}
@media (max-width: 479px) {
  .held__knoepfe { flex-direction: column; align-self: stretch; }
}
@media (min-width: 768px) {
  .held__titel { font-size: 3rem; line-height: 3.375rem; }
  .held__titel span { display: block; }
  .held__unter { font-size: 1.25rem; line-height: 1.875rem; }
}
@media (min-width: 1200px) {
  .held { padding-bottom: var(--s11); }
  .held__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: var(--s8); }
  .held__titel { font-size: 3.75rem; line-height: 4rem; }
}

/* Geräte-Gruppe im Hero */
.held__bild {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--s4);
  min-width: 0;
}
.held__tablet { display: none; }
.held__handy { width: min(300px, 100%); }
.held__notiz { position: absolute; left: 0; bottom: 56px; max-width: 260px; }
@media (min-width: 768px) {
  .held__bild { grid-template-columns: minmax(0, 1fr); justify-items: stretch; width: 100%; max-width: 760px; }
  .held__tablet { display: block; grid-area: 1 / 1; justify-self: start; align-self: start; width: calc(100% - 112px); max-width: 640px; }
  .held__handy { grid-area: 1 / 1; justify-self: end; align-self: start; z-index: 2; width: 248px; margin-top: 136px; }
  .held__notiz { position: relative; left: auto; bottom: auto; grid-area: 1 / 1; justify-self: start; align-self: end; z-index: 3; max-width: 300px; margin: 0 0 var(--s9) 0; }
  .held__bild .geraet__hinweis { grid-area: 2 / 1; justify-self: start; }
}

.notiz {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  border: 1px solid var(--glas-rand);
  border-radius: var(--r-2xl);
  background: var(--notiz);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: var(--schatten);
  color: var(--ink);
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.notiz b { display: block; font-size: 1rem; line-height: 1.5rem; }
.notiz__zeile { white-space: nowrap; }
.notiz__icon { width: 28px; height: 28px; color: var(--akzent); }

.geraet__hinweis { color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; }

/* ---------- Geräte-Rahmen ---------- */
.geraet {
  position: relative;
  border: 1px solid var(--geraet-rand);
  background: var(--geraet);
  box-shadow: var(--schatten-gross);
}
.geraet__bildschirm { position: relative; overflow: hidden; background: var(--m-bg); }
.geraet--handy { width: 300px; max-width: 100%; padding: var(--s2); border-radius: var(--r-4xl); }
.geraet--handy .geraet__bildschirm { border-radius: var(--r-3xl); }
.geraet--handy::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 76px;
  height: 22px;
  border-radius: 9999px;
  background: var(--geraet);
  transform: translateX(-50%);
}
.geraet--tablet { width: 100%; max-width: 780px; padding: var(--s3); border-radius: var(--r-3xl); }
.geraet--tablet .geraet__bildschirm { border-radius: var(--r-xl); }
.geraet__marke {
  position: absolute;
  top: -14px;
  right: var(--s5);
  padding: 2px var(--s3);
  border: 1px solid var(--linie-stark);
  border-radius: 9999px;
  background: var(--warn-bg);
  color: var(--warn);
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
}

/* ---------- Nachgebaute App (Attrappe) ---------- */
.m {
  container-type: inline-size;
  color: var(--m-ink);
  font-size: 13px;
  line-height: 18px;
  font-variant-numeric: tabular-nums;
  text-align: left;
}
.m b { font-weight: 600; }
.m .i { width: 16px; height: 16px; }
.m p { hyphens: manual; }

.m-status { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 8px; font-size: 12px; line-height: 16px; font-weight: 600; }
.m-status__punkte { display: flex; gap: 3px; }
.m-status__punkte i { display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.m-kopf { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; border-bottom: 1px solid var(--m-linie); background: var(--m-flaeche); }
.m-kopf__name { display: flex; flex-direction: column; min-width: 0; }
.m-kopf__name small { color: var(--m-muted); font-size: 11px; line-height: 14px; }
.m-logo {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--m-akzent);
  color: var(--m-akzent-text);
  font-size: 12px;
  font-weight: 700;
}
.m-inhalt { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.m-datum { color: var(--m-muted); font-size: 11px; line-height: 15px; font-weight: 600; }
.m-gruss { font-size: 20px; line-height: 24px; font-weight: 700; }
.m-karte {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--m-linie);
  border-radius: 12px;
  background: var(--m-flaeche);
}
.m-karte--aktiv { border: 2px solid var(--m-akzent); }
.m-karte--liste { padding: 8px 10px; }
.m-zeile { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-width: 0; }
.m-zeile > span:first-child { min-width: 0; }
.m-klein { color: var(--m-muted); font-size: 11px; line-height: 15px; }
.m-kunde { font-size: 15px; line-height: 20px; }
.m-uhr { margin: 2px 0; color: var(--m-akzent); font-size: 30px; line-height: 36px; font-weight: 600; letter-spacing: -0.01em; }
.m-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.m-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
}
.m-k--rand { border: 1px solid var(--m-linie); background: var(--m-flaeche); }
.m-k--stopp { background: var(--m-bad); color: var(--m-bad-text); }
.m-k--voll { background: var(--m-akzent); color: var(--m-akzent-text); }
.m-label { margin-top: 4px; font-size: 12px; line-height: 16px; font-weight: 600; }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border: 1px solid var(--m-linie);
  border-radius: 9999px;
  background: var(--m-flaeche);
  font-size: 11px;
  line-height: 15px;
  font-weight: 600;
  white-space: nowrap;
}
.m-chip--ok { border-color: transparent; background: var(--m-ok-bg); color: var(--m-ok); }
.m-chip--warn { border-color: transparent; background: var(--m-warn-bg); color: var(--m-warn); }
.m-chip--an { border-color: var(--m-ink); background: var(--m-ink); color: var(--m-flaeche); }
.m-hinweis { padding: 6px 8px; border-radius: 8px; background: var(--m-warn-bg); color: var(--m-warn); font-size: 11px; line-height: 15px; }
.m-zahl { white-space: nowrap; }
.m-tabs { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 4px 12px; border-top: 1px solid var(--m-linie); background: var(--m-flaeche); }
.m-tabs span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--m-muted); font-size: 10px; line-height: 13px; font-weight: 600; }
.m-tabs .is-aktiv { color: var(--m-akzent); }

/* Breite Ansicht (Tablet, Büro) */
.m-app { display: grid; grid-template-columns: minmax(0, 1fr); }
.m-seite { display: none; flex-direction: column; gap: 2px; padding: 12px 8px; border-right: 1px solid var(--m-linie); background: var(--m-flaeche); }
.m-firma { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding: 2px 6px 10px; border-bottom: 1px solid var(--m-linie); line-height: 16px; }
.m-firma small { display: block; color: var(--m-muted); font-size: 11px; line-height: 14px; }
.m-nav { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; color: var(--m-muted); font-size: 12px; line-height: 16px; font-weight: 600; }
.m-nav.is-aktiv { background: var(--m-akzent-zart); color: var(--m-akzent); }
.m-haupt { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 14px 16px 16px; }
.m-ueber { color: var(--m-muted); font-size: 11px; line-height: 15px; font-weight: 600; }
.m-titel { font-size: 18px; line-height: 22px; font-weight: 700; }
.m-werkzeug { display: flex; flex-wrap: wrap; gap: 8px; }
.m-suche {
  flex: 1 1 160px;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--m-linie);
  border-radius: 9px;
  background: var(--m-flaeche);
  color: var(--m-muted);
  font-size: 12px;
  line-height: 16px;
}
.m-liste { display: grid; gap: 8px; }
.m-liste--zwei { grid-template-columns: minmax(0, 1fr); }
.m-nr { color: var(--m-muted); font-size: 10px; line-height: 13px; }
.m-balken { display: block; height: 6px; margin: 4px 0 2px; overflow: hidden; border-radius: 9999px; background: var(--m-linie); }
.m-balken i { display: block; height: 100%; border-radius: inherit; background: var(--m-akzent); }
.m-balken--ueber i { background: var(--m-warn); }
.w55 { width: 55%; }
.w75 { width: 75%; }
.w80 { width: 80%; }
.w85 { width: 85%; }
.w90 { width: 90%; }
.w95 { width: 95%; }
.w100 { width: 100%; }

/* Einsatzplan */
.m-plan { display: none; grid-template-columns: 46px repeat(5, minmax(0, 1fr)); gap: 4px; }
.m-plan__kopf { padding-bottom: 2px; color: var(--m-muted); font-size: 10px; line-height: 13px; font-weight: 600; text-align: center; }
.m-plan__wer { display: flex; align-items: center; font-size: 11px; font-weight: 600; }
.m-plan__ein { min-width: 0; padding: 5px 6px; border-radius: 6px; background: var(--m-akzent-zart); color: var(--m-akzent); font-size: 10px; line-height: 13px; overflow-wrap: anywhere; }
.m-plan__ein b { display: block; color: var(--m-ink); }
.m-plan__frei { display: grid; place-items: center; min-height: 40px; border: 1px dashed var(--m-linie); border-radius: 6px; color: var(--m-muted); font-size: 12px; }
.m-plan__weg { display: grid; place-items: center; border-radius: 6px; background: var(--m-weg); color: var(--m-muted); font-size: 10px; font-weight: 600; }
.m-tag { display: flex; flex-direction: column; gap: 6px; }
.m-ohne { gap: 4px; }

/* Nachkalkulation */
.m-zahlen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.m-zahlkasten { display: flex; flex-direction: column; min-width: 0; padding: 6px 8px; border: 1px solid var(--m-linie); border-radius: 10px; background: var(--m-flaeche); }
.m-zahlkasten b { font-size: 14px; line-height: 18px; white-space: nowrap; }
.m-zahlkasten--warn b { color: var(--m-warn); }
.m-kalk { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: start; }
.m-vergleich { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; gap: 6px; font-size: 11px; line-height: 15px; }
.m-rechnung .m-zeile { padding: 3px 0; border-bottom: 1px solid var(--m-linie); font-size: 11px; line-height: 15px; }
.m-zeile--summe { font-weight: 700; }
.m-zeile--warn { border-bottom: 0 !important; color: var(--m-bad); font-weight: 700; }

@container (min-width: 420px) {
  .m-liste--zwei { grid-template-columns: 1fr 1fr; }
  .m-plan { display: grid; }
  .m-tag { display: none; }
}
@container (min-width: 480px) {
  .m-zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@container (min-width: 520px) {
  .m-kalk { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
}
@container (min-width: 640px) {
  .m-app { grid-template-columns: 148px minmax(0, 1fr); }
  .m-seite { display: flex; }
}

/* ---------- 2 · Was nervt ---------- */
.nervt { display: grid; gap: var(--s6); }
.nervt__titel { margin-bottom: var(--s4); color: var(--ink-2); font-size: 1.25rem; line-height: 1.75rem; }
.nervt__liste { list-style: none; display: grid; gap: var(--s3); }
.nervt__punkt {
  display: grid;
  gap: var(--s2);
  padding: var(--s4) var(--s5);
  border: 1px solid var(--linie);
  border-radius: var(--r-2xl);
  background: var(--flaeche);
}
.nervt__problem,
.nervt__loesung { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.nervt__problem { color: var(--ink); font-weight: 600; }
.nervt__problem .i { color: var(--muted); }
.nervt__loesung { color: var(--ink-2); }
.nervt__loesung .i { color: var(--akzent); }
.nervt .i { width: 24px; height: 24px; margin-top: 2px; }
@media (min-width: 1024px) {
  .nervt { grid-template-columns: 1fr 1fr; }
}

/* ---------- 3 · So sieht die App aus ---------- */
.reiter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s1);
  max-width: 760px;
  margin-bottom: var(--s6);
  padding: var(--s1);
  border: 1px solid var(--linie);
  border-radius: var(--r-2xl);
  background: var(--flaeche-2);
}
.reiter__knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
  min-height: 52px;
  padding: var(--s2) var(--s3);
  border: 0;
  border-radius: var(--r-xl);
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dauer) var(--kurve), color var(--dauer) var(--kurve);
}
.reiter__knopf:hover { color: var(--ink); background: var(--flaeche); }
.reiter__knopf[aria-selected="true"] { background: var(--flaeche); color: var(--ink); box-shadow: inset 0 0 0 2px var(--akzent); }
@media (min-width: 768px) {
  .reiter { display: inline-grid; grid-template-columns: repeat(4, auto); }
  .reiter__knopf { padding: var(--s2) var(--s4); font-size: 1.125rem; }
}

.ansichten { display: grid; gap: var(--s9); }
.ansicht { display: grid; gap: var(--s6); align-items: center; }
.ansicht.ist-neu { animation: einblenden var(--dauer) var(--kurve); }
@keyframes einblenden { from { opacity: 0; } }
.ansicht__buehne { container-type: inline-size; container-name: buehne; display: flex; justify-content: center; min-width: 0; padding-top: var(--s3); }
.ansicht__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); min-width: 0; }
.ansicht__titel { font-size: 1.5rem; line-height: 2rem; }
@media (min-width: 1024px) {
  .ansicht { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); }
  .ansicht__titel { font-size: 1.875rem; line-height: 2.25rem; }
}
/* schmale Bühne: das Tablet wird zum Handy, die App zeigt ihre Handy-Ansicht */
@container buehne (max-width: 599px) {
  .geraet--tablet { max-width: 320px; padding: var(--s2); border-radius: var(--r-4xl); }
  .geraet--tablet .geraet__bildschirm { border-radius: var(--r-3xl); }
}

/* Leitsatz */
.leitsatz { padding: var(--s10) 0; }
.leitsatz .huelle::before {
  content: "";
  display: block;
  height: 16px;
  margin-bottom: var(--s6);
  background-color: var(--linie-stark);
  -webkit-mask: var(--muster-band) repeat-x left top / 40px 16px;
  mask: var(--muster-band) repeat-x left top / 40px 16px;
}
.leitsatz__text { max-width: 900px; font-size: 1.875rem; line-height: 2.375rem; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
@media (min-width: 768px) {
  .leitsatz__text { font-size: 2.25rem; line-height: 2.875rem; }
  .leitsatz__text span { display: block; }
}
@media (min-width: 1200px) {
  .leitsatz__text { max-width: none; font-size: 3rem; line-height: 3.625rem; }
}

/* ---------- 4 · Ablauf ---------- */
.schritte { position: relative; list-style: none; display: grid; gap: var(--s6); }
.schritte::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 16px;
  background-color: var(--linie-stark);
  -webkit-mask: var(--muster-band-senkrecht) repeat-y left top / 16px 40px;
  mask: var(--muster-band-senkrecht) repeat-y left top / 16px 40px;
}
.schritt { position: relative; display: flex; flex-direction: column; gap: var(--s2); padding-left: 72px; min-width: 0; }
.schritt__nr {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: var(--akzent);
  color: var(--akzent-text);
  font-size: 1.25rem;
  font-weight: 600;
  box-shadow: 0 0 0 6px var(--bg);
}
.schritt__titel { padding-top: var(--s2); font-size: 1.25rem; line-height: 1.75rem; }
.schritt p { color: var(--ink-2); }
@media (min-width: 1024px) {
  .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); }
  .schritte::before {
    left: 24px;
    right: 24px;
    top: 23px;
    bottom: auto;
    width: auto;
    height: 16px;
    -webkit-mask: var(--muster-band) repeat-x left top / 40px 16px;
    mask: var(--muster-band) repeat-x left top / 40px 16px;
  }
  .schritt { padding-left: 0; padding-top: 72px; }
  .schritt__titel { padding-top: 0; }
}

/* ---------- 5 · Bausteine ---------- */
.grund { margin-bottom: var(--s8); padding: var(--s5); border-radius: var(--r-3xl); background: var(--akzent-zart); }
.grund__titel { margin-bottom: var(--s4); font-size: 1.25rem; line-height: 1.75rem; }
.grund__liste { list-style: none; display: grid; gap: var(--s3) var(--s6); }
.grund__liste li { display: flex; align-items: flex-start; gap: var(--s3); }
.grund__liste .i { width: 24px; height: 24px; margin-top: 2px; color: var(--akzent-link); }
@media (min-width: 768px) {
  .grund { padding: var(--s6); }
  .grund__liste { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .grund__liste { grid-template-columns: 1fr 1fr 1fr; }
}

.bausteine { display: grid; gap: var(--s3); min-width: 0; margin: 0; padding: 0; border: 0; }
.bausteine__legende { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s4); padding: 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.bausteine__hinweis { color: var(--muted); font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
@media (min-width: 768px) {
  .bausteine { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .bausteine { grid-template-columns: 1fr 1fr 1fr; }
}
.baustein {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 28px;
  grid-template-areas:
    "icon name wahl"
    "icon text text"
    "icon preis preis";
  column-gap: var(--s3);
  row-gap: var(--s1);
  min-width: 0;
  padding: var(--s4);
  border: 2px solid var(--linie);
  border-radius: var(--r-2xl);
  background: var(--flaeche);
  cursor: pointer;
  transition: border-color var(--dauer) var(--kurve), background-color var(--dauer) var(--kurve);
}
.baustein:hover { border-color: var(--linie-stark); }
.baustein.ist-an { border-color: var(--akzent); background: var(--akzent-zart); }
.baustein input { grid-area: wahl; width: 26px; height: 26px; margin: 1px 0 0; accent-color: var(--akzent); cursor: pointer; }
.baustein:has(input:focus-visible) { outline: 3px solid var(--akzent); outline-offset: 2px; }
.baustein__icon { grid-area: icon; width: 28px; height: 28px; margin-top: 1px; color: var(--akzent-link); }
.baustein__name { grid-area: name; font-size: 1.125rem; line-height: 1.75rem; font-weight: 600; }
.baustein__text { grid-area: text; color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.baustein__preis { grid-area: preis; margin-top: var(--s1); color: var(--ink); font-size: 1rem; line-height: 1.5rem; font-weight: 600; white-space: nowrap; }
.baustein__preis:empty { display: none; }
.bausteine__stand { margin-top: var(--s5); }

.geplant { margin-top: var(--s9); }
.geplant__titel { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); margin-bottom: var(--s4); font-size: 1.25rem; line-height: 1.75rem; }
.geplant__hinweis { color: var(--muted); font-size: 1rem; line-height: 1.5rem; font-weight: 400; }
.geplant__liste { list-style: none; display: grid; gap: var(--s3); }
@media (min-width: 768px) {
  .geplant__liste { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1200px) {
  .geplant__liste { grid-template-columns: 1fr 1fr 1fr; }
}
.baustein--geplant {
  grid-template-columns: 28px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon name chip"
    "icon text text";
  border-style: dashed;
  background: transparent;
  cursor: default;
}
.baustein--geplant:hover { border-color: var(--linie); }
.baustein--geplant .baustein__icon { color: var(--muted); }
.baustein--geplant .chip { grid-area: chip; align-self: start; margin-top: var(--s1); }

/* ---------- 6 · Abo oder Einmalkauf ---------- */
.vergleich { overflow: hidden; border: 1px solid var(--linie); border-radius: var(--r-2xl); background: var(--flaeche); }
.vergleich__tabelle { width: 100%; border-collapse: collapse; }
.vergleich__tabelle th,
.vergleich__tabelle td { padding: var(--s4) var(--s5); border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.vergleich__tabelle tbody tr:last-child > * { border-bottom: 0; }
.vergleich__tabelle thead th { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.vergleich__tabelle thead th.vergleich__wz { color: var(--akzent-link); }
.vergleich__tabelle tbody th { width: 30%; font-weight: 600; }
.vergleich__wz { background: var(--akzent-zart); }
td.vergleich__wz { color: var(--ink); font-weight: 600; }
@media (max-width: 767px) {
  .vergleich__tabelle thead tr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
  .vergleich__tabelle,
  .vergleich__tabelle tbody,
  .vergleich__tabelle tr,
  .vergleich__tabelle th,
  .vergleich__tabelle td { display: block; }
  .vergleich__tabelle tbody tr { display: grid; gap: var(--s2); padding: var(--s4); border-bottom: 1px solid var(--linie); }
  .vergleich__tabelle tbody tr:last-child { border-bottom: 0; }
  .vergleich__tabelle tbody th { width: auto; padding: 0; border: 0; }
  .vergleich__tabelle tbody td { padding: var(--s2) var(--s3); border: 0; border-radius: var(--r-lg); background: var(--flaeche-2); }
  .vergleich__tabelle tbody td.vergleich__wz { background: var(--akzent-zart); }
  .vergleich__tabelle tbody td::before { content: attr(data-label); display: block; color: var(--muted); font-size: 0.875rem; line-height: 1.25rem; font-weight: 600; }
  .vergleich__tabelle tbody td.vergleich__wz::before { color: var(--akzent-link); }
}
.ehrlich { margin-top: var(--s5); padding: var(--s4) var(--s5); border: 1px solid var(--linie); border-radius: var(--r-xl); background: var(--flaeche-2); color: var(--ink-2); }
.ehrlich b { color: var(--ink); }

/* ---------- 7 · Preise ---------- */
.preis { display: grid; gap: var(--s6); }
.preis__eingaben { display: grid; gap: var(--s7); min-width: 0; }
@media (min-width: 1024px) {
  .preis { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); align-items: start; }
  .preis__kasten { position: sticky; top: 104px; }
}
.wahl { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); min-width: 0; margin: 0; padding: 0; border: 0; }
.wahl__frage { padding: 0; font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.wahl__erklaerung { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.wahl__erklaerung:empty { display: none; }
.wahl__auswahl { color: var(--ink-2); }
.wahl__knoepfe { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s2); width: 100%; }
@media (min-width: 480px) {
  .wahl__knoepfe { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 768px) {
  .wahl__knoepfe { grid-template-columns: repeat(3, 1fr); }
}
.wahl__knopf {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-height: 64px;
  min-width: 0;
  padding: var(--s3) var(--s4) var(--s3) 48px;
  border: 2px solid var(--linie-stark);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color var(--dauer) var(--kurve), background-color var(--dauer) var(--kurve);
}
.wahl__knopf::before {
  content: "";
  position: absolute;
  left: var(--s4);
  top: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--linie-stark);
  border-radius: 50%;
  background: var(--flaeche);
}
.wahl__knopf:hover { border-color: var(--ink-2); }
.wahl__knopf[aria-pressed="true"] { border-color: var(--akzent); background: var(--akzent-zart); }
.wahl__knopf[aria-pressed="true"]::before { border-color: var(--akzent); background: var(--akzent); box-shadow: inset 0 0 0 4px var(--flaeche); }
.wahl__titel { font-size: 1.125rem; line-height: 1.5rem; font-weight: 600; }
.wahl__info { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.wahl__genau { display: grid; gap: var(--s2); width: min(100%, 240px); }

.preis__kasten {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  padding: var(--s6) var(--s5);
  border: 2px solid var(--akzent);
  border-radius: var(--r-3xl);
  background: var(--flaeche);
  box-shadow: var(--schatten);
}
.preis__label { color: var(--ink-2); font-weight: 600; }
.preis__summe { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s3); }
#total { font-size: 3rem; line-height: 3.25rem; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis__einheit { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.preis__posten {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s2) var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--linie);
  font-size: 1rem;
  line-height: 1.5rem;
}
.preis__posten dt { color: var(--ink); }
.preis__posten dd { font-weight: 600; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.preis__posten dd.unter { grid-column: 1 / -1; margin-top: -6px; color: var(--ink-2); font-weight: 400; text-align: left; white-space: normal; }
.preis__gruender { padding: var(--s3) var(--s4); border-radius: var(--r-xl); background: var(--akzent-zart); color: var(--ink); font-size: 1rem; line-height: 1.5rem; }
.preis__gruender:empty { display: none; }
.preis__danach { display: grid; gap: var(--s3); padding-top: var(--s4); border-top: 1px solid var(--linie); font-size: 1rem; line-height: 1.5rem; }
.preis__folge { display: grid; gap: var(--s2); padding-left: 1.25rem; list-style: disc; color: var(--ink-2); }
.preis__zahlung { color: var(--ink-2); }
.hinweis { margin-top: var(--s5); max-width: 760px; color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }

/* ---------- 8 · Fragen ---------- */
.fragen { display: grid; gap: var(--s6); }
.fragen .abschnitt__kopf { margin-bottom: 0; }
@media (min-width: 1024px) {
  .fragen { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s9); align-items: start; }
  .fragen__kopf { position: sticky; top: 112px; }
}
.fragen__liste { border-top: 1px solid var(--linie); }
.frage { border-bottom: 1px solid var(--linie); }
.frage summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  min-height: 64px;
  padding: var(--s4) 0;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover > span { text-decoration: underline; text-underline-offset: 4px; }
.frage__pfeil { width: 24px; height: 24px; color: var(--akzent-link); transition: transform var(--dauer) var(--kurve); }
.frage[open] .frage__pfeil { transform: rotate(180deg); }
.frage__antwort { display: grid; gap: var(--s3); max-width: 70ch; padding-bottom: var(--s5); color: var(--ink-2); }

/* ---------- 9 · Betrieb vorstellen ---------- */
.vorstellen { display: grid; gap: var(--s7); }
@media (min-width: 1024px) {
  .vorstellen { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
}
.vorstellen__titel { margin-bottom: var(--s4); font-size: 1.25rem; line-height: 1.75rem; }
.fragenliste { list-style: none; counter-reset: frage; display: grid; gap: var(--s3); }
.fragenliste li { counter-increment: frage; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s3); align-items: start; }
.fragenliste li::before {
  content: counter(frage);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--akzent-zart);
  color: var(--akzent-link);
  font-size: 1rem;
  font-weight: 600;
}
.mehrfragen { margin-top: var(--s5); }
.mehrfragen summary { display: inline-flex; align-items: center; min-height: 48px; color: var(--akzent-link); font-weight: 600; cursor: pointer; }
.mehrfragen ul { display: grid; gap: var(--s2); margin-top: var(--s2); padding-left: 1.25rem; list-style: disc; }

.karte { padding: var(--s5); border: 1px solid var(--linie); border-radius: var(--r-3xl); background: var(--flaeche); box-shadow: var(--schatten); }
@media (min-width: 768px) {
  .karte { padding: var(--s6); }
}
.vorstellen__form { display: grid; gap: var(--s5); min-width: 0; }

.aufnahme { display: grid; gap: var(--s4); padding: var(--s5); border: 1px solid var(--linie); border-radius: var(--r-2xl); background: var(--flaeche-2); }
.aufnahme__titel { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.aufnahme__steuerung { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.knopf--aufnahme { min-height: 64px; padding: var(--s3) var(--s6); border-radius: 9999px; font-size: 1.25rem; line-height: 1.75rem; }
.knopf--aufnahme .i { width: 1.625rem; height: 1.625rem; }
.aufnahme__laeuft { display: inline-flex; align-items: center; gap: var(--s3); font-variant-numeric: tabular-nums; }
.aufnahme__punkt { width: 14px; height: 14px; border-radius: 50%; background: var(--bad); animation: puls 1.4s var(--kurve) infinite; }
@keyframes puls { 50% { opacity: 0.3; } }
.aufnahme__zeit { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.pegel { display: inline-flex; align-items: center; gap: 3px; height: 28px; }
.pegel i { display: block; width: 4px; height: 28px; border-radius: 2px; background: var(--akzent); transform: scaleY(0.15); transition: transform 90ms var(--kurve); }
#play { width: 100%; height: 48px; }
.aufnahme__hinweis { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }

.feld { display: grid; gap: var(--s2); min-width: 0; }
.feld__label { font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.pflicht { color: var(--ink-2); font-weight: 400; }
.feld__eingabe {
  width: 100%;
  min-height: 52px;
  padding: var(--s3) var(--s4);
  border: 2px solid var(--linie-stark);
  border-radius: var(--r-xl);
  background: var(--flaeche);
  color: var(--ink);
  font: inherit;
  font-size: 1.125rem;
  line-height: 1.75rem;
  transition: border-color var(--dauer) var(--kurve);
}
.feld__eingabe::placeholder { color: var(--muted); opacity: 1; }
.feld__eingabe:hover { border-color: var(--ink-2); }
.feld__eingabe:focus-visible { border-color: var(--akzent); outline-offset: 1px; }
.feld__eingabe[aria-invalid="true"] { border-color: var(--bad); }
.feld__eingabe--zahl { max-width: 160px; }
textarea.feld__eingabe { min-height: 120px; resize: vertical; }
.feld__fehler { color: var(--bad); font-size: 1rem; line-height: 1.5rem; font-weight: 600; }
.feld-gruppe { display: grid; gap: var(--s4); }
.feld-gruppe__hinweis { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
@media (min-width: 600px) {
  .feld-gruppe { grid-template-columns: 1fr 1fr; }
  .feld-gruppe__hinweis,
  .feld-gruppe .feld__fehler { grid-column: 1 / -1; }
}
.auswahl { display: grid; justify-items: start; gap: var(--s1); padding: var(--s4); border-radius: var(--r-xl); background: var(--akzent-zart); }
.auswahl__titel { font-weight: 600; }
.auswahl__text { color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.einwilligung {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: var(--s3);
  align-items: start;
  padding: var(--s3) var(--s4);
  border: 2px solid var(--linie);
  border-radius: var(--r-xl);
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.5rem;
  cursor: pointer;
}
.einwilligung:hover { border-color: var(--linie-stark); }
.einwilligung input { width: 28px; height: 28px; margin: 0; accent-color: var(--akzent); cursor: pointer; }
.einwilligung:has(input[aria-invalid="true"]) { border-color: var(--bad); }
.feld__zusatz { margin-top: calc(-1 * var(--s1)); }
.ki-hinweis { display: flex; align-items: flex-start; gap: var(--s2); color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.ki-hinweis .i { width: 22px; height: 22px; margin-top: 1px; color: var(--akzent-link); }
.meldung { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.meldung:empty { display: none; }
.meldung--ok { padding: var(--s4); border-radius: var(--r-xl); background: var(--ok-bg); color: var(--ok); }
.meldung--fehler { color: var(--bad); font-weight: 600; }
.ausweg { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* ---------- 10 · Fußzeile ---------- */
.fuss { padding: var(--s9) 0 var(--s8); border-top: 1px solid var(--linie); background: var(--flaeche); }
.fuss__raster { display: grid; gap: var(--s6); }
@media (min-width: 1024px) {
  .fuss__raster { grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: var(--s8); }
}
.fuss__marke p { margin-top: var(--s3); color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.fuss__nav ul { list-style: none; display: grid; gap: var(--s1); }
.fuss__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 1rem; text-decoration: none; }
.fuss__nav a:hover { color: var(--ink); text-decoration: underline; }
.fuss__recht { display: grid; gap: var(--s3); color: var(--ink-2); font-size: 1rem; line-height: 1.5rem; }
.fuss__recht b { color: var(--ink); }
.fuss__klein { color: var(--ink-2); font-size: 0.875rem; line-height: 1.25rem; }

/* ---------- 404 ---------- */
.nichtda { min-height: 100vh; display: grid; place-items: center; padding: var(--s6) 0; }
.nichtda__karte { display: grid; justify-items: start; gap: var(--s5); max-width: 560px; }
.nichtda h1 { font-size: 2.25rem; line-height: 2.625rem; }

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .aufnahme__punkt { animation: none; }
}

/* Hoher Kontrast unter Windows */
@media (forced-colors: active) {
  .kopf__leiste, .notiz, .menue { background: Canvas; }
  .knopf, .wahl__knopf, .reiter__knopf, .baustein { border: 2px solid ButtonText; }
}
