/* Gaufer Digital, gauferdigital.de. Aus dem freigegebenen Entwurf Runde 11 (2026-11-25,
   v0_Website/v0_website/docs/design-varianten/2026-11-25_gaufer-digital/r11.html).
   Einzige Token-Quelle der Seite ist :root unten (WSG-01). */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("schrift/archivo-latin.woff2?v=1") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("schrift/figtree-400-latin.woff2?v=1") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 600; font-display: swap; src: url("schrift/figtree-600-latin.woff2?v=1") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 700; font-display: swap; src: url("schrift/figtree-700-latin.woff2?v=1") format("woff2"); }

:root {
  --grund: #eef0f2;
  --schrift: #14171a;
  --neben: #555b62;
  --linie: #d3d7dc;
  --wortbild: #e0e3e7;
  --wort-nah: #c6cbd1;
  --akzent: #e8481f;
  --akzent-hell: #fdebe5;

  --fenster: #fff;
  --f-linie: #e3e6ea;
  --f-mulde: #f3f5f7;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --t-mini: 0.8125rem;
  --t-klein: 0.875rem;
  --t-text: 1.0625rem;
  --t-lead: 1.1875rem;
  --t-zahl: 1.75rem;
  --t-stueck: 1.375rem;
  --t-titel: clamp(1.75rem, 1.4vw + 1.25rem, 2.5rem);
  --t-satz: clamp(2.125rem, 3vw + 1.1rem, 4rem);
  --r: 6px;
  --r-fenster: 12px;
  --rand: clamp(20px, 4vw, 40px);
  --breite: 70rem;
  --breite-weit: 88rem;
  --weich: cubic-bezier(0.16, 1, 0.3, 1);
  --federnd: cubic-bezier(0.34, 1.5, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: var(--linie) var(--grund); }
::selection { background: var(--schrift); color: var(--grund); }

body {
  margin: 0;
  /* --z verkleinert die ganze Seite auf kleinen Laptops (Stufen am Dateiende); die Hoehe gleicht das aus */
  zoom: var(--z, 1);
  min-height: calc(100svh / var(--z, 1));
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  background: var(--grund);
  color: var(--schrift);
  font-family: "Figtree", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--t-text);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, ul, ol, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
a { color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
:where(a, button, [tabindex]):focus-visible { outline: 2px solid var(--schrift); outline-offset: 3px; border-radius: 3px; }
h1:focus { outline: none; }

.huelle { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.huelle.weit { max-width: var(--breite-weit); }
.anzeige { font-family: "Archivo", "Figtree", sans-serif; font-weight: 700; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.04; text-wrap: balance; }

.sprung { position: absolute; left: var(--s4); top: -100px; padding: var(--s3) var(--s4); background: var(--schrift); color: var(--grund); border-radius: var(--r); }
.sprung:focus { top: var(--s4); z-index: 9; }

/* Kopf: der Name in der Anzeigeschrift, "Gaufer" schwer, "Digital" leicht */
.kopf .huelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 var(--s5); padding-block: var(--s4); }
.marke {
  display: inline-flex; align-items: center; gap: 0.28em; min-height: 44px;
  font-family: "Archivo", sans-serif; font-stretch: 112%; font-size: 1.25rem; letter-spacing: -0.03em;
  font-weight: 400; text-decoration: none;
}
.marke b { font-weight: 800; }
.navi { order: 3; flex-basis: 100%; display: flex; gap: var(--s5); }
.navi a { display: inline-flex; align-items: center; min-height: 44px; color: var(--neben); text-decoration: none; transition: color 160ms; }
.navi a:hover, .navi a[aria-current="page"] { color: var(--schrift); }
.navi a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 var(--s5);
  background: var(--schrift); color: #fff;
  border: 1px solid var(--schrift); border-radius: var(--r);
  font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--weich), background-color 160ms, color 160ms;
}
.knopf:hover { transform: translateY(-1px); }
.knopf:active { transform: translateY(0); }
.knopf.zweit { background: transparent; color: var(--schrift); }
.knopf.zweit:hover { background: var(--schrift); color: #fff; }

/* Ansichten */
main { display: grid; }
.ansicht { padding-block: var(--s7); }
.mittig { align-self: center; }

.start { text-align: center; }
.satz { font-size: var(--t-satz); max-width: 20ch; margin-inline: auto; }
.unter { margin: var(--s5) auto 0; font-size: var(--t-lead); color: var(--neben); max-width: 34rem; }

/* Arbeiten: drei gleich grosse Fenster, eine Bildschirmhoehe */
.arbeiten { padding-block: var(--s4); }
.seitentitel { font-size: var(--t-titel); }
.arbeiten .seitentitel { text-align: center; }
.einleitung { display: grid; gap: var(--s3); justify-items: center; margin-top: var(--s2); text-align: center; }
.einleitung p { color: var(--neben); font-size: var(--t-klein); }
/* Umschalter fuer das Beispiel: heller Reiter statt dunkler Wahl, damit er nicht wie ein Feld im Fenster wirkt */
.umschalter { display: inline-grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 3px; padding: 3px; border-radius: 9px; background: var(--linie); max-width: 100%; }
.umschalter button { min-height: 44px; padding: 0 var(--s3); white-space: nowrap; border: 0; border-radius: var(--r); background: transparent; color: var(--neben); font-weight: 600; font-size: var(--t-klein); cursor: pointer; transition: background-color 160ms, color 160ms; }
.umschalter button:hover { color: var(--schrift); }
.umschalter button[aria-pressed="true"] { background: var(--fenster); color: var(--schrift); box-shadow: 0 1px 2px rgba(20, 23, 26, 0.18); }
.betrieb { --abstand: var(--s6); display: grid; gap: var(--abstand); margin-top: var(--s5); }
.stueck { display: grid; grid-template-rows: auto 1fr; gap: var(--s3); }
.stueck-text { grid-area: 1 / 1; display: grid; gap: 2px; text-align: center; }
.stueck > .fenster { grid-area: 2 / 1; }
/* Leitung zwischen den Fenstern: ein Punkt wandert hinueber, wenn Daten weitergehen */
.leitung { display: none; }
.stueck h2 { font-size: var(--t-stueck); }
.stueck-text p { color: var(--neben); font-size: var(--t-klein); }

.fenster {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--fenster);
  border: 1px solid var(--f-linie);
  border-radius: var(--r-fenster);
  box-shadow: 0 24px 48px -30px rgba(20, 23, 26, 0.4);
  overflow: hidden;
  font-size: var(--t-klein);
  line-height: 1.4;
}
.fenster-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s4); padding: var(--s3) var(--s4); border-bottom: 1px solid var(--f-linie); }
.fenster-kopf b { font-weight: 700; }
.fenster-kopf span { color: var(--neben); }
.fenster-inhalt { flex: 1; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s4); }
/* Signal: eine Linie laeuft am oberen Rand durch, wenn in diesem Fenster etwas ankommt */
.fenster::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--akzent); transform: scaleX(0); transform-origin: left; opacity: 0; }

/* Web-App */
.frage legend { font-weight: 600; margin-bottom: var(--s2); }
.auswahl { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 var(--s3);
  border: 1px solid var(--f-linie); border-radius: var(--r);
  background: var(--fenster);
  transition: background-color 140ms, color 140ms, border-color 140ms;
}
.chip input:hover:not(:disabled) + span { border-color: var(--neben); }
.chip input:checked + span { background: var(--schrift); border-color: var(--schrift); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--schrift); outline-offset: 2px; }
.chip input:disabled { cursor: default; }
.chip input:disabled + span { color: var(--neben); background: var(--f-mulde); }
/* Anliegen als Schalter mit drei Stellungen */
.segment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 3px; border-radius: var(--r); background: var(--f-mulde); }
.segment .chip span { width: 100%; min-width: 0; padding: 0 var(--s1); border-color: transparent; background: transparent; border-radius: 4px; }
.segment .chip input:hover:not(:disabled) + span { border-color: transparent; background: var(--fenster); }
.segment .chip input:checked + span, .segment .chip input:checked:hover + span { background: var(--schrift); color: #fff; }
/* Tage als Kacheln mit freien Plaetzen */
.tagwahl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.tagchip span { width: 100%; min-width: 0; min-height: 58px; padding: var(--s1) 0; flex-direction: column; gap: 1px; }
.tagchip b { font-weight: 600; }
.tagchip i { font-style: normal; font-size: var(--t-mini); color: var(--neben); }
.tagchip input:checked + span i { color: #c9cdd2; }
.tagchip input:disabled + span b { text-decoration: line-through; }
.unten { margin-top: auto; display: grid; gap: var(--s2); }
.f-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 44px; padding: 0 var(--s4);
  background: var(--schrift); color: #fff;
  border: 0; border-radius: var(--r);
  font-weight: 600; cursor: pointer;
  transition: transform 160ms var(--weich);
}
.f-knopf:hover:not([disabled]) { transform: translateY(-1px); }
.f-knopf:active:not([disabled]) { transform: scale(0.98); }
.f-knopf[disabled] { background: var(--f-mulde); color: var(--neben); cursor: default; }
.f-knopf.gesendet[disabled] { background: var(--akzent); color: #fff; }
.f-knopf svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.f-meldung { color: var(--neben); min-height: 1.4em; }

/* Automatisierung */
.ablauf { flex: 1; display: grid; grid-auto-rows: minmax(48px, 1fr); }
.ablauf li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s3); align-items: center; border-top: 1px solid var(--f-linie); color: var(--neben); transition: color 240ms; }
.ablauf li:first-child { border-top: 0; }
.ablauf li.fertig, .ablauf li.dran { color: var(--schrift); }
.haken { width: 20px; height: 20px; display: block; }
.haken circle { fill: none; stroke: var(--linie); stroke-width: 1.5; stroke-dasharray: 3 3; transition: fill 240ms, stroke 240ms; }
.haken path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 12; stroke-dashoffset: 12; transition: stroke-dashoffset 320ms var(--weich) 80ms; }
.fertig .haken circle { fill: var(--schrift); stroke: var(--schrift); stroke-dasharray: none; }
.fertig .haken path { stroke-dashoffset: 0; }
.dran .haken circle { stroke: var(--akzent); stroke-dasharray: none; }
.ablauf-ende { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s2) var(--s3); }
.ende-knoepfe { display: flex; gap: var(--s1); }
.t-knopf { min-height: 44px; padding: 0 var(--s3); border: 0; border-radius: var(--r); background: transparent; font-weight: 600; cursor: pointer; transition: background-color 160ms; }
.t-knopf:hover:not([disabled]) { background: var(--f-mulde); }
.t-knopf[disabled] { color: var(--neben); cursor: default; }
.ablauf li.abgelehnt { color: var(--neben); }
.abgelehnt .haken circle { stroke: var(--neben); stroke-dasharray: none; }

/* Dashboard */
.zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--f-linie); border-bottom: 1px solid var(--f-linie); }
.zahl { display: grid; gap: 2px; padding: var(--s3) var(--s4); background: var(--fenster); transition: background-color 700ms; }
.zahl > span { color: var(--neben); font-size: var(--t-mini); }
.zahl b { display: block; height: 1.15em; overflow: hidden; font-size: var(--t-zahl); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; transition: color 700ms; }
.zahl.blitz { background: var(--akzent-hell); }
.zahl.blitz b { color: var(--akzent); }
.rolle { display: grid; }
.rolle > span { grid-area: 1 / 1; }
.dash-titel { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s1) var(--s3); }
.dash-titel b { font-weight: 600; }
.dash-titel span { color: var(--neben); }
.tage { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
.tag { display: grid; gap: var(--s1); padding: var(--s1); border: 0; background: none; cursor: pointer; border-radius: var(--r); transition: background-color 160ms; }
.tag:hover, .tag[aria-pressed="true"] { background: var(--f-mulde); }
.stapel { display: flex; flex-direction: column-reverse; gap: 2px; height: 76px; }
#f-dash .fenster-inhalt { gap: var(--s3); }
.block { flex: none; height: 9px; border-radius: 3px; background: var(--linie); transition: background-color 500ms; }
.block.neu { background: var(--akzent); }
.block.ok { background: var(--schrift); }
.block.weg { background: var(--linie); opacity: 0; transform: scaleX(0.2); transition: opacity 320ms, transform 320ms var(--weich), background-color 200ms; }
.tag-name { font-size: var(--t-mini); color: var(--neben); text-align: center; min-height: 20px; }
.zuletzt { margin-top: auto; }
.zuletzt li { display: flex; justify-content: space-between; gap: var(--s3); padding-block: var(--s2); border-top: 1px solid var(--f-linie); }
.marke-neu { color: var(--akzent); font-weight: 600; }
.marke-ok { color: var(--neben); }

/* Web-App: Gruppen mit Titelzeile, optional mit Zaehler rechts */
.felder { display: grid; gap: var(--s4); }
.frage-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); min-height: 24px; margin-bottom: var(--s2); }
.frage-kopf b { font-weight: 600; }
/* Camping: Naechte als Tasten, mehrere nebeneinander ergeben den Aufenthalt */
.frage-info { color: var(--neben); }
.nacht {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  min-height: 58px; padding: var(--s1) 0;
  border: 1px solid var(--f-linie); border-radius: var(--r);
  background: var(--fenster); cursor: pointer;
  transition: background-color 140ms, color 140ms, border-color 140ms, transform 140ms var(--weich);
}
.nacht b { font-weight: 600; }
.nacht i { font-style: normal; font-size: var(--t-mini); color: var(--neben); }
.nacht:hover:not([disabled]) { border-color: var(--neben); }
.nacht:active:not([disabled]) { transform: scale(0.96); }
.nacht[aria-pressed="true"] { background: var(--schrift); border-color: var(--schrift); color: #fff; }
.nacht[aria-pressed="true"] i { color: #c9cdd2; }
.nacht[disabled] { background: var(--f-mulde); color: var(--neben); cursor: default; }
.nacht[disabled] b { text-decoration: line-through; }
.segment.zwei .chip span { flex-direction: column; gap: 1px; min-height: 54px; }
.segment.zwei b { font-weight: 600; }
.segment.zwei i { font-style: normal; font-size: var(--t-mini); color: var(--neben); }
.segment.zwei input:checked + span i { color: #c9cdd2; }
.tagchip i:empty { display: none; }
.tagwahl.kurz .tagchip span { min-height: 44px; }
.tag { cursor: default; }
/* Camping: Belegungsplan, eine Zeile je Platz */
.plan { display: grid; gap: 3px; }
.plan-zeile { display: grid; grid-template-columns: 1.75rem repeat(5, minmax(0, 1fr)); gap: 3px; align-items: center; }
.plan-zeile > span { font-size: var(--t-mini); color: var(--neben); }
.plan-tage > span { text-align: center; min-height: 20px; }
.zelle { height: 15px; border-radius: 3px; background: var(--f-mulde); transition: background-color 500ms; }
.zelle.voll { background: var(--linie); }
.zelle.neu { background: var(--akzent); }
.zelle.ok { background: var(--schrift); }
/* Hofladen: Bestand, ein Kaestchen je Stueck */
.lager { display: grid; gap: var(--s3); }
.lager-zeile { display: grid; grid-template-columns: 5.25rem minmax(0, 1fr) 3.5rem; gap: var(--s2); align-items: center; }
.lager-stuecke { display: flex; gap: 2px; }
.stueckchen { flex: 1; height: 15px; border-radius: 3px; background: var(--f-mulde); transition: background-color 500ms; }
.stueckchen.weg { background: var(--linie); }
.stueckchen.neu { background: var(--akzent); }
.stueckchen.ok { background: var(--schrift); }
.lager-rest { font-size: var(--t-mini); color: var(--neben); text-align: right; }

/* Ueber mich */
.ueber { display: grid; gap: var(--s6); justify-items: center; text-align: center; max-width: 54rem; margin-inline: auto; }
.ueber-foto { width: 100%; max-width: 13rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: var(--r-fenster); }
.ueber-text { display: grid; gap: var(--s4); justify-items: center; }
.ueber-text p { max-width: 34rem; }
.aktionen { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s2); }
.ort { color: var(--neben); font-size: var(--t-klein); }

/* Impressum und Datenschutz: laufender Text in Lesebreite */
.recht { max-width: 42rem; }
.recht .seitentitel { margin-bottom: var(--s6); hyphens: auto; }
.recht section { display: grid; gap: var(--s3); }
.recht section + section { margin-top: var(--s6); }
.recht h2 { font-size: var(--t-stueck); margin-top: var(--s2); }
.recht h3 { font-size: var(--t-text); font-weight: 600; margin: var(--s3) 0 0; }
.recht h4 { font-size: var(--t-text); font-weight: 600; color: var(--neben); margin: 0; }
.recht p, .recht li { max-width: 68ch; hyphens: auto; }
.recht ul { display: grid; gap: var(--s1); padding-left: var(--s5); list-style: disc; }
.recht a { overflow-wrap: anywhere; }
.recht .laut { font-size: var(--t-klein); font-weight: 600; }
.recht .stand { margin-top: var(--s6); color: var(--neben); font-size: var(--t-klein); }

/* Sockel: der Name, unten angeschnitten, reagiert auf den Zeiger */
.sockel { overflow: hidden; }
html:not([data-aktiv="start"]) .sockel { display: none; }
.wortbild {
  display: flex;
  justify-content: center;
  font-family: "Archivo", sans-serif;
  font-size: calc(min(27vw, 40svh) / var(--z, 1));
  line-height: 0.74;
  margin-bottom: -0.15em;
  letter-spacing: -0.03em;
  white-space: nowrap;
  user-select: none;
}
.wortbild span {
  --n: 0;
  font-variation-settings: "wght" calc(600 + var(--n) * 300), "wdth" calc(94 + var(--n) * 31);
  color: color-mix(in srgb, var(--wort-nah) calc(var(--n) * 100%), var(--wortbild));
}

.fuss { border-top: 1px solid var(--linie); font-size: var(--t-klein); color: var(--neben); }
.fuss .huelle { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 var(--s5); padding-block: var(--s1); }
.fuss span, .fuss a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-links { display: flex; gap: var(--s5); }

@media (prefers-reduced-motion: no-preference) {
  .wortbild { animation: aufsteigen 1100ms var(--weich) both; }
  .wortbild span { transition: font-variation-settings 420ms var(--weich), color 420ms; }
  .fenster.signal::after { animation: signal 900ms var(--weich); }
  .leitung.laeuft::after { animation: fliessen 460ms var(--weich); }
  @keyframes fliessen { 0% { left: 0; opacity: 1; } 80% { opacity: 1; } 100% { left: calc(100% - 8px); opacity: 0; } }
  .block.faellt { animation: fallen 620ms var(--federnd); }
  .zelle.faellt, .stueckchen.faellt { animation: aufgehen 520ms var(--federnd); }
  @keyframes aufgehen { from { transform: scale(0.3); opacity: 0; } }
  .zuletzt li.frisch { animation: einruecken 460ms var(--weich); }
  .rolle.hoch .alt { animation: hoch-raus 460ms var(--weich) forwards; }
  .rolle.hoch .neuw { animation: hoch-rein 460ms var(--weich) both; }
  .rolle.runter .alt { animation: runter-raus 460ms var(--weich) forwards; }
  .rolle.runter .neuw { animation: runter-rein 460ms var(--weich) both; }
  @keyframes aufsteigen { from { transform: translateY(38%); } }
  @keyframes signal { 0% { transform: scaleX(0); opacity: 1; } 70% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
  @keyframes fallen { from { transform: translateY(-70px); opacity: 0; } 40% { opacity: 1; } }
  @keyframes einruecken { from { opacity: 0; transform: translateY(-8px); } }
  @keyframes hoch-raus { to { transform: translateY(-100%); opacity: 0; } }
  @keyframes hoch-rein { from { transform: translateY(100%); opacity: 0; } }
  @keyframes runter-raus { to { transform: translateY(100%); opacity: 0; } }
  @keyframes runter-rein { from { transform: translateY(-100%); opacity: 0; } }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 240ms; }
}
@media (prefers-reduced-motion: reduce) {
  .block, .haken path, .haken circle, .zahl, .zahl b { transition: none; }
}

@media (min-width: 768px) {
  .navi { order: 0; flex-basis: auto; gap: var(--s6); }
  .ueber { grid-template-columns: 16rem minmax(0, 1fr); gap: var(--s7); align-items: center; justify-items: start; text-align: left; }
  .ueber-foto { max-width: 16rem; }
  .ueber-text { justify-items: start; }
  .aktionen { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .arbeiten { align-self: center; }
  .betrieb { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  /* Gleiche Hoehe in allen drei Beispielen, damit beim Umschalten nichts springt */
  .betrieb .fenster { min-height: 380px; }
  .leitung {
    display: block; position: relative; z-index: 1;
    grid-area: 2 / 1; align-self: center; justify-self: start;
    width: var(--abstand); margin-left: calc(-1 * var(--abstand));
    height: 2px; background: var(--linie);
  }
  .leitung::after { content: ""; position: absolute; left: 0; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--akzent); opacity: 0; }
}
@media (min-width: 1280px) {
  .betrieb { --abstand: var(--s7); }
}
/* Kleine Laptops: Arbeiten braucht bei z = 1 rund 755 px Hoehe (gemessen 2026-11-25 bei 1280 px Breite:
   Kopf 76 + Ansicht 625 + Fuss 53). Darunter wird die Seite stufenweise kleiner, je Stufe gilt
   z * 755 <= Hoehe, damit Arbeiten weiter auf einen Bildschirm passt. Nur ab 1024 px Breite, das Handy scrollt.
   Pruefwerte: 1280 x 800 bleibt z = 1, 1260 x 627 bekommt 0,82. Nur die Startseite ([data-aktiv]),
   Impressum und Datenschutz scrollen in voller Groesse. */
@media (min-width: 1024px) and (max-width: 1199px) { [data-aktiv] body { --z: 0.9; } }
@media (min-width: 1024px) and (max-height: 759px) { [data-aktiv] body { --z: 0.92; } }
@media (min-width: 1024px) and (max-height: 694px) { [data-aktiv] body { --z: 0.82; } }
@media (min-width: 1024px) and (max-height: 619px) { [data-aktiv] body { --z: 0.75; } }
@media (min-width: 1024px) and (max-height: 566px) { [data-aktiv] body { --z: 0.68; } }
@media (min-width: 1024px) and (max-height: 513px) { [data-aktiv] body { --z: 0.62; } }
