/* Dräger Design · Mappen · gemeinsames Aussehen
   --------------------------------------------
   Der Kartenstapel zum Wischen. Zwei Seiten benutzen ihn:
     /pitch        Mappe für die Werbung neuer Vertriebspartner  (assets/pitch.js)
     /kundenmappe  Mappe für das Gespräch beim Betrieb           (assets/kundenmappe.js)
   Beide sollen gleich aussehen, deshalb liegt das Aussehen hier und nicht zweimal
   in den Seiten. Was nur eine der beiden braucht, steht in ihrer eigenen Datei.
*/
:root {
  --bg:       #060608;
  --flaeche:  #0d0e12;
  --fg:       #ffffff;
  --gold:     #c9a05e;
  --gold-2:   #e6c98a;
  --linie:    rgba(255,255,255,0.09);
  --leise:    rgba(255,255,255,0.58);
  --display:  'Instrument Serif', Georgia, serif;
  --sans:     'Inter', system-ui, -apple-system, sans-serif;
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --kopf:     54px;
  --fuss:     72px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--fg);
  font-family: var(--sans); font-weight: 300; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow: hidden; overscroll-behavior: none;
}
em { font-style: italic; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

/* ------------------------------------------------------------------ Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: calc(var(--kopf) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 16px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(180deg, rgba(6,6,8,0.94), rgba(6,6,8,0));
}
.kopf img { height: 17px; width: auto; opacity: 0.85; }
.kopf-rechts { display: flex; align-items: center; gap: 10px; }
.balken-bett { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.07); }
#balken { height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0.1); transition: transform 320ms var(--ease); }

/* ---------------------------------------------------------------- Karten */
.deck {
  /* dvh statt %: auf dem iPhone wächst und schrumpft die sichtbare Höhe mit der
     Adressleiste, sonst steht der Fuß zeitweise unter dem Bildschirmrand. */
  display: flex; height: 100%; height: 100dvh; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.deck::-webkit-scrollbar { display: none; }
.karte { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; height: 100%; overflow-y: auto; }
.innen {
  min-height: 100%; max-width: 620px; margin: 0 auto; display: flex; flex-direction: column;
  justify-content: center; gap: 18px;
  padding: calc(var(--kopf) + env(safe-area-inset-top) + 14px) 20px calc(var(--fuss) + env(safe-area-inset-bottom) + 14px);
}
.innen.mitte { text-align: center; align-items: center; }

.augen { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; }
h2 { font-size: clamp(28px, 7vw, 40px); }
.gross { font-size: clamp(34px, 9vw, 54px); }
.gross em, h2 em { color: var(--gold-2); }
.lead { font-size: 16px; color: var(--leise); max-width: 34ch; }
.satz { font-size: 16px; color: rgba(255,255,255,0.82); }
.klein { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.ref { font-size: 13px; color: var(--gold-2); }
.wisch { font-size: 12px; letter-spacing: 0.14em; color: rgba(255,255,255,0.55); margin-top: 6px; }
.block { display: flex; flex-direction: column; gap: 14px; }
.ueber { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.karte.bsp .innen { gap: 16px; }
/* ---------------------------------------------------- Rechner und Tablet quer
   Hier liefert das <picture> die Querformat-Aufnahme, also braucht die Buehne auch
   einen Querformat-Rahmen. Der Text steht daneben statt darunter: uebereinander
   kostet er die Hoehe, die das Bild braucht — nebeneinander bekommt die Buehne
   fast die volle Fensterhoehe. Die Hoehe ist doppelt begrenzt, von oben durch das
   Fenster, von der Seite durch den Platz neben der Textspalte. */
@media (orientation: landscape) and (min-height: 621px) {
  .karte.bsp .innen {
    display: grid; grid-template-columns: auto minmax(260px, 320px);
    align-items: center; justify-content: center; gap: 40px;
    max-width: min(96vw, 1720px);
  }
  .karte.bsp .ba {
    aspect-ratio: 1160 / 677; width: auto;
    height: min(calc(100dvh - 150px), 820px, calc((96vw - 360px) / 1.714));
  }
  .karte.bsp .ueber { align-items: flex-start; text-align: left; gap: 14px; }
  /* Schriftgrade fuer den Bildschirmabstand am Schreibtisch, nicht fuer die Hand. */
  .karte.bsp .augen { font-size: 12.5px; letter-spacing: 0.11em; }
  .karte.bsp .satz { font-size: 20px; line-height: 1.5; }
  .karte.bsp .klein { font-size: 13.5px; }
}

.knopf {
  display: inline-flex; align-items: center; justify-content: center; align-self: flex-start;
  background: var(--gold); color: #1a1206; border: 0; border-radius: 999px;
  padding: 13px 26px; font-size: 15px; font-weight: 600; cursor: pointer;
  transition: transform 220ms var(--ease), background 220ms var(--ease);
}
.innen.mitte .knopf { align-self: center; }
.knopf:active { transform: scale(0.97); }
.knopf.leer { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid var(--linie); }
.knopf.schmal { padding: 9px 18px; font-size: 13.5px; }

/* -------------------------------------------------------- Vorher/Nachher */
/* Bühne im Hochformat: die Aufnahmen sind Handy-Aufnahmen (390 × 844). Auf dem
   Rechner steht sie als hohe Karte in der Mitte, auf dem Handy füllt sie den
   Bildschirm — dafür ist die Mappe gebaut. */
.ba {
  position: relative; aspect-ratio: 390 / 844; height: min(68vh, 620px); width: auto;
  margin: 0 auto; border-radius: 18px; overflow: hidden; background: #14161b;
  border: 1px solid var(--linie); touch-action: pan-x pan-y; user-select: none;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba-alt { clip-path: inset(0 0 0 0); will-change: clip-path; }
/* Kein Vorher-Bild, weil es keine Seite gab: links steht der Satz auf leerer Fläche. */
.ba-leer {
  position: absolute; inset: 0;
  display: grid; place-items: center start; padding: 0 6%;
  background: #0b0c10; color: rgba(255,255,255,0.55);
  font-size: clamp(13px, 3.4vw, 18px); line-height: 1.45;
}
/* Der Satz steht in der linken Haelfte, nicht mittig ueber der ganzen Flaeche:
   bei halbem Regler waere sonst die Haelfte davon abgeschnitten. */
.ba-leer span { max-width: 38%; }
/* Kurzfilm des Ablaufs: gleiche Bühne wie ein Vergleich, nur ohne Regler. */
.ba-film { background: #000; }
.ba-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.film-knopf {
  position: absolute; left: 50%; top: 50%; z-index: 4; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.45); background: rgba(6,6,8,0.55);
  backdrop-filter: blur(8px); color: #fff; font-size: 19px; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease);
}
.ba-film.wartet .film-knopf { opacity: 1; }

/* Schaustück ohne Vergleich: nur das Ergebnis. */
.ba-solo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.ba-schild {
  position: absolute; top: 10px; z-index: 3; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; background: rgba(6,6,8,0.72); backdrop-filter: blur(6px);
  color: rgba(255,255,255,0.9);
}
.ba-schild.l { left: 10px; }
.ba-schild.r { right: 10px; color: var(--gold-2); }
.ba-linie { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: rgba(255,255,255,0.9); z-index: 4; pointer-events: none; }
.ba-griff {
  position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin: -22px 0 0 -22px;
  border-radius: 999px; border: 1px solid rgba(255,255,255,0.5); background: rgba(6,6,8,0.62);
  backdrop-filter: blur(8px); display: grid; place-items: center; cursor: ew-resize;
  touch-action: none; color: #fff;
}
.ba-griff svg { width: 19px; height: 19px; }
.ba-griff:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* -------------------------------------------------------------- Schritte */
.schritte { list-style: none; display: grid; gap: 12px; }
.schritte li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px 12px; align-items: start;
  padding-bottom: 12px; border-bottom: 1px solid var(--linie);
}
.schritte .n { font-family: var(--display); font-size: 24px; color: var(--gold); line-height: 1; }
.schritte b { font-size: 16px; font-weight: 500; display: block; }
.schritte p { font-size: 13.5px; color: var(--leise); line-height: 1.55; }
.schritte .z { grid-column: 2; font-size: 11.5px; color: rgba(255,255,255,0.55); }

/* --------------------------------------------------------------- Fakten */
.fakten { list-style: none; display: grid; gap: 11px; }
.fakten li { display: grid; gap: 2px; padding-bottom: 11px; border-bottom: 1px solid var(--linie); }
.fakten b { font-size: 15px; font-weight: 500; }
.fakten span { font-size: 13.5px; color: var(--leise); }
/* Neun Bedingungen passen einspaltig nicht mehr auf die Karte, ohne dass jemand
   scrollen muss. Ab Tablet-Breite deshalb zwei Spalten. */
@media (min-width: 720px) { .fakten { grid-template-columns: 1fr 1fr; gap: 11px 28px; } }

/* -------------------------------------------------------------- Rechner */
/* ---------------------------------------------------- Rückruf auf der Schlusskarte
   Wer die Mappe sieht und nicht sofort ein Formular ausfüllen will, war bisher weg.
   Bewusst zwei Felder: Name und Nummer. Alles weitere klärt das Telefonat. */
.rueck { display: grid; gap: 10px; width: 100%; max-width: 320px; text-align: left; margin-top: 4px; }
.rueck input {
  width: 100%; background: rgba(255,255,255,0.05); color: var(--fg);
  border: 1px solid var(--linie); border-radius: 10px; padding: 12px 14px; font-size: 15px;
}
.rueck input::placeholder { color: rgba(255,255,255,0.55); }
.rueck input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.08); }
.rueck .fehler { color: #ff9a7a; font-size: 12.5px; }
.rueck .dank { color: var(--gold-2); font-size: 15px; line-height: 1.5; }
.oder { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin: 2px 0; }

.feld { display: grid; gap: 8px; }
.feld-t { font-size: 12.5px; color: rgba(255,255,255,0.55); }
.feld-t b { color: var(--gold-2); font-weight: 500; font-variant-numeric: tabular-nums; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg button {
  flex: 1 1 auto; border: 1px solid var(--linie); background: transparent; color: rgba(255,255,255,0.66);
  border-radius: 999px; padding: 9px 12px; font-size: 13px; cursor: pointer; transition: all 200ms var(--ease);
}
.seg button[aria-pressed="true"] { background: rgba(201,160,94,0.16); border-color: rgba(201,160,94,0.55); color: var(--gold-2); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.16); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: rgba(255,255,255,0.16); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px;
  border-radius: 999px; background: var(--gold); border: 3px solid #060608;
}
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 999px; background: var(--gold); border: 3px solid #060608; }
.ergebnis { display: grid; gap: 10px; margin-top: 2px; }
.erg {
  display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px;
  background: var(--flaeche); border: 1px solid var(--linie);
}
.erg span { font-size: 12px; color: rgba(255,255,255,0.55); }
.erg b { font-family: var(--display); font-size: 34px; font-weight: 400; color: var(--gold-2); font-variant-numeric: tabular-nums; line-height: 1.1; }
.erg i { font-style: normal; font-size: 11.5px; color: rgba(255,255,255,0.55); }

/* Zusatzprodukte unter dem Rechner: SEO-Pflege und die vier Social-Pakete. Bewusst
   schmaler gesetzt als die Ergebniskacheln, es ist eine Ergänzung und kein zweites
   Hauptergebnis. */
.zusatz { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--linie); }
.zus-zeile {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 7px 0; border-bottom: 1px solid var(--linie);
}
.zus-zeile:last-of-type { border-bottom: 0; }
.zus-zeile span { font-size: 13.5px; display: grid; gap: 1px; }
.zus-zeile i { font-style: normal; font-size: 11px; color: rgba(255,255,255,0.5); }
.zus-zeile b {
  font-family: var(--display); font-weight: 400; font-size: 19px; color: var(--gold-2);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}

/* ------------------------------------------------------------------ Fuß */
.fuss {
  position: fixed; inset: auto 0 0 0; z-index: 30;
  height: calc(var(--fuss) + env(safe-area-inset-bottom));
  padding: 0 16px env(safe-area-inset-bottom);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: linear-gradient(0deg, rgba(6,6,8,0.96) 40%, rgba(6,6,8,0));
}
.rund {
  width: 42px; height: 42px; flex: 0 0 42px; border-radius: 999px; border: 1px solid var(--linie);
  background: rgba(255,255,255,0.04); display: grid; place-items: center; cursor: pointer;
  transition: opacity 200ms var(--ease);
}
.rund:disabled { opacity: 0.25; cursor: default; }
.rund svg { width: 18px; height: 18px; }
#punkte { display: flex; gap: 6px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: 60%; }
.punkt {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,0.22);
  cursor: pointer; transition: all 240ms var(--ease);
}
.punkt.an { background: var(--gold); width: 18px; }

/* ----------------------------------------------------------- Mappe-Blatt */
#schleier { position: fixed; inset: 0; z-index: 40; background: rgba(0,0,0,0.6); opacity: 0; pointer-events: none; transition: opacity 260ms var(--ease); }
#schleier.auf { opacity: 1; pointer-events: auto; }
#blatt {
  position: fixed; z-index: 41; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow-y: auto;
  background: #101116; border-top: 1px solid var(--linie); border-radius: 18px 18px 0 0;
  padding: 18px 18px calc(18px + env(safe-area-inset-bottom));
  transform: translateY(101%); display: grid; gap: 12px;
  /* Zusätzlich unsichtbar schalten: solange nichts drinsteht, ist das Blatt fast
     ohne Höhe — dann schiebt translateY(101%) es nicht aus dem Bild und es steht
     als leerer Kasten am Rand. */
  opacity: 0; visibility: hidden;
  transition: transform 320ms var(--ease), opacity 200ms var(--ease), visibility 0s linear 320ms;
}
#blatt.auf {
  transform: translateY(0); opacity: 1; visibility: visible;
  transition: transform 320ms var(--ease), opacity 200ms var(--ease), visibility 0s linear 0s;
}
@media (min-width: 720px) {
  #blatt { left: auto; right: 20px; bottom: 20px; width: 420px; border-radius: 18px; max-height: 78vh; }
}
.blatt-kopf { display: flex; align-items: center; justify-content: space-between; }
.blatt-kopf b { font-size: 17px; font-weight: 500; }
.mappe { list-style: none; display: grid; gap: 2px; }
.mappe li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--linie); opacity: 0.5; }
.mappe li.an { opacity: 1; }
.mappe label { display: flex; align-items: center; gap: 10px; flex: 1 1 auto; cursor: pointer; min-width: 0; }
.mappe input { width: 19px; height: 19px; accent-color: var(--gold); flex: 0 0 auto; }
/* Nur das Textpaar im Etikett, nicht die Pfeil-Spalte daneben: sonst gewinnt diese
   Regel gegen .pfeile und die beiden Knöpfe stapeln sich untereinander. */
.mappe label span { display: grid; min-width: 0; }
.mappe b { font-size: 14px; font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mappe i { font-style: normal; font-size: 11px; color: rgba(255,255,255,0.55); }
.pfeile { display: flex; gap: 4px; flex: 0 0 auto; flex-wrap: nowrap; }
.pfeile button {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--linie);
  background: transparent; cursor: pointer; font-size: 13px;
}
.pfeile button:disabled { opacity: 0.25; cursor: default; }
.blatt-fuss { display: flex; gap: 8px; justify-content: space-between; }

#hinweis {
  position: fixed; z-index: 50; left: 50%; bottom: calc(var(--fuss) + env(safe-area-inset-bottom) + 14px);
  transform: translate(-50%, 12px); background: #16181f; border: 1px solid var(--linie);
  border-radius: 999px; padding: 9px 18px; font-size: 13px; max-width: 88vw;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}
#hinweis.auf { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------- Beispiele auf dem Handy
   Der Vergleich ist der Grund, warum jemand hinschaut — er bekommt so viel Platz,
   wie das Geraet hergibt. Hochkant randlos ueber die volle Breite; quer faellt die
   Leiste weg und das Bild nimmt den ganzen Bildschirm. Quer ist es rund doppelt so
   gross wie hochkant, deshalb steht der Hinweis auf der ersten Beispielkarte. */
/* ------------------------------------------------- Medienkarten auf dem Handy
   Bild und Film füllen den ganzen Bildschirm, der Text legt sich als Streifen
   darüber — hochkant wie quer. Zu jeder Haltung gehört die passende Aufnahme
   (siehe pitch-daten.js), sonst bliebe ein Streifen in der Mitte übrig.
   Quer ist die Haltung zum Vorzeigen: gedreht ist der Bildschirm am größten. */
@media (max-width: 820px), (orientation: landscape) and (max-height: 620px) {
  .karte.bsp .innen { display: block; position: relative; height: 100%; padding: 0; max-width: none; }
  .karte.bsp .ba {
    position: absolute; inset: 0; height: auto; width: 100%; max-width: none;
    margin: 0; border-radius: 0; border: 0; aspect-ratio: auto;
  }
  .karte.bsp .ueber {
    position: absolute; left: 0; right: 0; bottom: 0; gap: 8px;
    padding: 34px 20px calc(var(--fuss) + env(safe-area-inset-bottom) + 6px);
    background: linear-gradient(0deg, rgba(6,6,8,0.97) 74%, rgba(6,6,8,0.72) 90%, rgba(6,6,8,0));
  }
  .karte.bsp .satz { font-size: 15px; }
  .karte.bsp .ba-schild { top: calc(var(--kopf) + env(safe-area-inset-top) + 8px); }
}

/* Quer gehalten ist der Bildschirm niedrig: Kopf, Fuß und Textstreifen werden
   schmaler, damit vom Bild möglichst wenig verdeckt bleibt. */
@media (orientation: landscape) and (max-height: 620px) {
  :root { --kopf: 40px; --fuss: 52px; }
  .kopf img { height: 14px; }
  .karte.bsp .ueber { padding: 26px 22px calc(var(--fuss) + env(safe-area-inset-bottom) + 2px); gap: 5px; }
  .karte.bsp .klein { display: none; }
  .karte.bsp .satz { font-size: 14.5px; max-width: 60ch; }
  .karte.bsp .knopf { display: none; }
  /* Quer füllt das Bild den ganzen Bildschirm — der Griff blieb dabei so groß wie
     hochkant und wirkt auf der doppelt so großen Fläche verloren. Genau hier wird er
     aber am meisten benutzt: quer hält man das Gerät hin, wenn jemand mitschauen soll,
     und gezogen wird mit dem Daumen von der Seite. Deshalb deutlich größer. */
  .ba-griff { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .ba-griff svg { width: 27px; height: 27px; }
}

/* Die uebrigen Karten (Text, Rechner, Bedingungen) wirkten am Rechner ebenfalls
   zu klein: sie sind fuer den Daumen bemasst, nicht fuer einen Meter Abstand. */
@media (min-width: 821px) and (min-height: 621px) {
  /* Die Grade haengen an der Fensterhoehe, nicht an einer festen Zahl: auf einem
     Bildschirm mit 720 Punkten Hoehe liefe die Karte sonst ueber und bekaeme einen
     Rollbalken, auf einem grossen bliebe sie unnoetig klein. */
  .innen { max-width: 780px; gap: clamp(14px, 2.4vh, 24px); }
  .augen { font-size: clamp(11.5px, calc(4px + 1.1vh), 13px); }
  .satz { font-size: clamp(16px, calc(6px + 1.6vh), 20px); line-height: 1.55; }
  .klein { font-size: clamp(12.5px, calc(4px + 1.2vh), 14.5px); }
  h2 { font-size: clamp(30px, 3.6vw, 52px); }
  .gross { font-size: clamp(40px, 5.2vw, 76px); }
  .schritte { gap: clamp(9px, 1.7vh, 15px); }
  .schritte .n { font-size: clamp(23px, calc(8px + 2.4vh), 30px); }
  .schritte b { font-size: clamp(16px, calc(6px + 1.6vh), 19.5px); }
  .schritte p { font-size: clamp(14px, calc(5px + 1.35vh), 16.5px); }
  .schritte .z { font-size: clamp(11.5px, calc(4px + 1.1vh), 13px); }
  .fakten { gap: clamp(9px, 1.7vh, 15px); }
  .fakten li { padding-bottom: clamp(9px, 1.7vh, 15px); }
  .fakten b { font-size: clamp(15px, calc(6px + 1.5vh), 18px); }
  .fakten span { font-size: clamp(13px, calc(5px + 1.3vh), 15.5px); }
  /* Die Rechner-Karte ist die dichteste: Ueberschrift, drei Felder, zwei Ergebnisse
     und der Pflichthinweis. Ihre Abstaende und die grosse Zahl haengen deshalb
     ebenfalls an der Hoehe, sonst braeuchte sie auf 720 Punkten einen Rollbalken. */
  .feld { gap: clamp(5px, 1vh, 8px); }
  .feld-t { font-size: clamp(12px, calc(4px + 1.15vh), 14px); }
  .ergebnis { gap: clamp(7px, 1.4vh, 12px); }
  .erg b { font-size: clamp(27px, calc(8px + 3.1vh), 40px); }
  .erg span { font-size: clamp(12px, calc(4px + 1.15vh), 14px); }
  .erg i { font-size: clamp(11.5px, calc(4px + 1.05vh), 13px); }
}

/* Flacher Bildschirm (etwa 1280 x 720): nur die Rechner-Karte wird dort noch zu hoch.
   Sie ruecken Ueberschrift und Abstaende zusammen, statt dass die Karte einen
   Rollbalken bekommt — mitten im Gespraech will niemand scrollen. */
@media (min-width: 821px) and (min-height: 621px) and (max-height: 800px) {
  .karte[data-k="rechner"] .innen { gap: 10px; }
  .karte[data-k="rechner"] .block { gap: 10px; }
  .karte[data-k="rechner"] h2 { font-size: 30px; }
  .karte[data-k="rechner"] .klein { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
