/* VerwalterProfi24 – Grundsystem der Website und Startseite.
   Richtungsvertrag .impeccable/surfaces/landing.md, Entwurf 2 „Stil Personio“: Weiß als Grund, Fast-Schwarz für Text und
   Knöpfe, Petrol als einziger Akzent, Farbhauch nur hinter der Produktbühne und im Abschluss.
   CSP-tauglich: keine Inline-Stile im HTML, alle Farben in OKLCH.
   Schrift: Hanken Grotesk (SIL Open Font License 1.1, schriften/OFL-HankenGrotesk.txt), lokal ausgeliefert.
   Aufbau: Schrift, Stufen, Grundlagen, Bausteine aller Seiten (Kopf, Fuß, Knopf, Formular), Startseite, Kurzbausteine,
   Medienregeln. Die Namen der Farb- und Zeitstufen nutzen auch seite.css und faq.css. */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('schriften/hanken-grotesk-latin-wght.woff2') format('woff2');
}

/* Ersatz mit den Maßen von Hanken Grotesk, damit der Schriftwechsel keinen Layoutsprung auslöst. */
@font-face {
  font-family: 'Hanken Ersatz';
  src: local('Arial');
  size-adjust: 99.6%;
  ascent-override: 100.4%;
  descent-override: 30.4%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;

  /* Flächen */
  --blatt: oklch(1 0 0);
  --blatt-gedaempft: oklch(0.975 0.004 245);
  --lineatur: oklch(0.925 0.006 245);
  --linie: oklch(0.885 0.008 245);
  --linie-stark: oklch(0.72 0.012 245);
  --linie-eingabe: oklch(0.6 0.012 245);

  /* Text und Knöpfe */
  --tinte: oklch(0.205 0.012 245);
  --tinte-2: oklch(0.43 0.014 245);
  --tinte-3: oklch(0.47 0.014 245);
  --tinte-hauch: oklch(0.34 0.02 225);
  --knopf: oklch(0.155 0.006 245);

  /* Akzent aus dem Logo */
  --akzent: oklch(0.42 0.075 205);
  --akzent-stark: oklch(0.36 0.07 205);
  --akzent-tinte: oklch(0.36 0.07 205);
  --akzent-flaeche: oklch(0.96 0.02 195);
  --akzent-linie: oklch(0.8 0.045 205);

  /* Farbhauch */
  --hauch-a: oklch(0.86 0.075 195);
  --hauch-b: oklch(0.83 0.08 240);
  --hauch-c: oklch(0.94 0.04 185);
  --schatten-hauch: oklch(0.42 0.08 210 / 0.5);
  --schatten-tief: oklch(0.42 0.08 210 / 0.55);
  --schatten-feld: oklch(0.5 0.09 205 / 0.4);
  --rahmen-ansicht: oklch(0.42 0.03 220 / 0.14);

  /* Rückmeldungen */
  --gruen: oklch(0.47 0.105 152);
  --gruen-flaeche: oklch(0.955 0.03 152);
  --gruen-linie: oklch(0.78 0.07 152);
  --bernstein-flaeche: oklch(0.965 0.04 85);
  --bernstein-linie: oklch(0.8 0.1 80);
  --status-warnung: oklch(0.42 0.1 62);
  --rost: oklch(0.5 0.155 32);
  --rost-flaeche: oklch(0.963 0.022 32);
  --rost-linie: oklch(0.8 0.07 32);
  --status-fehler: oklch(0.44 0.15 30);

  /* Schrift */
  --schrift: 'Hanken Grotesk', 'Hanken Ersatz', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --stufe-klein: 0.9375rem;
  --stufe-mittel: 1rem;
  --stufe-text: 1.125rem;
  --stufe-gross: clamp(1.125rem, 1rem + 0.3vw, 1.25rem);
  --stufe-h3: clamp(1.625rem, 1.2rem + 1vw, 2.25rem);
  /* Großer rem-Anteil, damit die Überschriften beim Zoomen mitwachsen (A11Y-14); bei 390 und 1280 px gleich groß wie
     zuvor (h1 40 bzw. 73,6 px, h2 34 bzw. 54,4 px), bei 200 % Zoom 134 % bzw. 146 % statt 124 % bzw. 129 %. */
  --stufe-h2: clamp(2.125rem, 1.5625rem + 2.3vw, 3.5rem);
  --stufe-h1: clamp(min(2.5rem, 12.5vw), 1.5625rem + 3.8vw, 4.75rem);

  /* Maße */
  --breite: 86rem;
  --breite-schmal: 77.5rem;
  --mass: 66ch;
  --rand: clamp(1rem, 2.2vw, 2rem);
  --abstand-abschnitt: clamp(5.5rem, 10vw, 9.5rem);
  --abstand-block: clamp(2.75rem, 6vw, 5.25rem);
  --kopfhoehe: 4.5rem;

  /* Radien */
  --rund-klein: 0.375rem;
  --rund: 0.75rem;
  --rund-mittel: 1.25rem;
  --rund-gross: 1.75rem;
  --rund-band: 2.25rem;
  --rund-buehne: 2.5rem;
  --rund-pille: 62.4375rem;

  /* Bewegung und Ebenen */
  --dauer: 200ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ebene-kopf: 20;
  --ebene-sprung: 30;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--kopfhoehe) + 1.5rem);
  scrollbar-color: var(--linie-stark) var(--blatt);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }

  /* Sprünge des Formularskripts ohne Gleiten: Firefox beendete das sanfte Rollen zum Feld manchmal zu früh (A11Y-G2). */
  html.sofort {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  overflow-x: clip;
  overflow-wrap: break-word;
  background: var(--blatt);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: var(--stufe-text);
  font-weight: 450;
  line-height: 1.5;
  letter-spacing: -0.008em;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  caret-color: var(--akzent);
}

::selection {
  background: var(--hauch-a);
  color: var(--tinte);
}

img,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
fieldset {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: anywhere;
  hyphens: auto;
  hyphenate-limit-chars: 10 4 4;
}

p,
li,
dd {
  text-wrap: pretty;
  hyphens: auto;
}

a {
  color: var(--akzent-tinte);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--tinte);
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--tinte);
  outline-offset: 3px;
  border-radius: var(--rund-klein);
}

[hidden] {
  display: none !important;
}

/* ---- Hilfsklassen ---- */

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.zeichen {
  flex: none;
  width: 1.125rem;
  height: 1.125rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zahl {
  font-feature-settings: 'lnum';
  white-space: nowrap;
}

.huelle {
  width: min(100% - 2 * var(--rand), var(--breite));
  margin-inline: auto;
}

.huelle--schmal {
  width: min(100% - 2 * var(--rand), var(--breite-schmal));
  margin-inline: auto;
}

/* ---- Baustein Sprunglink ---- */

.sprunglink {
  position: absolute;
  z-index: var(--ebene-sprung);
  top: 0.75rem;
  left: var(--rand);
  padding: 0.625rem 1rem;
  border-radius: var(--rund);
  background: var(--knopf);
  color: var(--blatt);
  font-weight: 600;
  transform: translateY(-300%);
}

.sprunglink:hover,
.sprunglink:focus-visible {
  color: var(--blatt);
}

.sprunglink:focus-visible {
  transform: none;
}

/* ---- Baustein Knopf ---- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.875rem;
  padding: 0.5rem 1.25rem;
  border: 0;
  border-radius: var(--rund);
  background: var(--knopf);
  color: var(--blatt);
  font: inherit;
  font-size: var(--stufe-mittel);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dauer) var(--ease-quart);
}

.knopf:hover {
  background: var(--akzent);
  color: var(--blatt);
}

.knopf--klein {
  min-height: 2.75rem;
  padding-inline: 1.125rem;
}

.knopf[aria-disabled='true'] {
  cursor: progress;
}

.knopf[data-laedt] {
  opacity: 0.8;
}

.knopf[data-laedt] .zeichen {
  display: none;
}

.knopf[data-laedt]::after {
  content: '';
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
}

@keyframes drehen {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .knopf[data-laedt]::after {
    animation: drehen 0.8s linear infinite;
  }
}

.leiser-link {
  display: inline-block;
  padding: 0.375rem 0.125rem;
  color: var(--tinte);
  font-size: var(--stufe-mittel);
  font-weight: 500;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--linie-stark);
  transition: text-decoration-color var(--dauer) var(--ease-quart);
}

.leiser-link:hover {
  color: var(--tinte);
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
}

.pfeil-link {
  color: inherit;
  text-decoration: none;
}

.pfeil-link .zeichen {
  display: inline-block;
  width: 0.72em;
  height: 0.72em;
  margin-left: 0.3em;
  stroke-width: 1.8;
  transition: transform var(--dauer) var(--ease-quart);
}

.pfeil-link:hover {
  color: var(--akzent);
}

.pfeil-link:hover .zeichen {
  transform: translateX(0.25rem);
}

/* ---- Baustein Kopfleiste (.seitenkopf, .kopfnavi, .kopfmenue) ---- */

.seitenkopf {
  position: relative;
  z-index: var(--ebene-kopf);
  background: var(--blatt);
}

.seitenkopf--menue {
  position: sticky;
  top: 0;
}

/* Die Hülle trägt das aufgeklappte Menü: Es richtet sich an der Kopfzeile aus, nicht am Knopf „Menü“ (A11Y-1). */
.seitenkopf .huelle {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  min-height: var(--kopfhoehe);
  padding-block: 0.5rem;
}

.logo {
  flex: none;
  display: block;
  border-radius: var(--rund-klein);
}

.logo img {
  width: min(11.8125rem, 46vw);
}

.kopfnavi {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem clamp(1.25rem, 3vw, 2.75rem);
  font-size: var(--stufe-mittel);
  font-weight: 500;
}

.nebenlink {
  padding-block: 0.375rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  color: var(--tinte);
  text-decoration: none;
  transition: background-size 240ms var(--ease-quart);
}

.nebenlink:hover,
.nebenlink[aria-current] {
  background-size: 100% 1.5px;
  color: var(--tinte);
}

.kopfmenue {
  display: none;
  position: static;
}

.kopfmenue summary {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.875rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  font-size: var(--stufe-mittel);
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.kopfmenue summary::-webkit-details-marker {
  display: none;
}

/* Rechts an der Kopfzeile, höchstens 20 rem breit, nie breiter als die Zeile: Auch wenn der Kopf bei großer Schrift
   umbricht und „Menü“ links steht, bleibt die Liste im Fenster (A11Y-1). Die Spalte hängt nicht an der Wortbreite. */
.kopfmenue nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.25rem;
  width: auto;
  max-width: 20rem;
  margin-inline-start: auto;
  max-height: calc(100dvh - var(--kopfhoehe) - 1rem);
  padding: 0.75rem;
  overflow-y: auto;
  border: 1px solid var(--linie);
  border-radius: var(--rund-mittel);
  background: var(--blatt);
  box-shadow: 0 1.5rem 3rem -1.5rem oklch(0.3 0.03 220 / 0.35);
}

.kopfmenue a {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.kopfmenue a:not(.knopf) {
  display: block;
  padding: 0.625rem 0.5rem;
  color: var(--tinte);
  font-weight: 500;
  text-decoration: none;
}

/* Ohne JavaScript (menue.js schließt sonst beim Verlassen): Wandert der Tastaturfokus aus dem offenen Menü, tritt die Liste
   zurück und verdeckt nichts (A11Y-3, WCAG 2.4.11). Kehrt der Fokus zu „Menü“ zurück, ist sie wieder da. Nur bei
   Tastaturfokus (:focus-visible), damit ein per Maus geöffnetes Menü offen bleibt. Dieselbe Regel gilt in seite.css für
   alle Unterseiten; hier nur ohne Skript, weil body:has() bei jeder DOM-Änderung der Startseitenskripte die Stilberechnung
   verteuert (Lighthouse: Blockierzeit rund 100–150 ms mehr). */
@media (scripting: none) {
  body:has(:focus-visible):not(:has(.kopfmenue :focus-visible)) .kopfmenue[open] nav {
    display: none;
  }
}

.kopfmenue a[aria-current] {
  color: var(--akzent-tinte);
}

.kopfmenue .knopf {
  margin-top: 0.375rem;
}

.kopfnavi .knopf {
  margin-left: 0.5rem;
}

@media (min-width: 65.0625rem) {
  .seitenkopf {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 65rem) {
  .seitenkopf--menue .kopfnavi,
  .seitenkopf--menue > .huelle > .knopf {
    display: none;
  }

  .seitenkopf--menue .kopfmenue {
    display: block;
  }

  .kopfnavi .knopf {
    margin-left: 0;
  }
}

/* Niedrige Fenster (auch bei großer Schrift): Der Kopf klebt nicht, also hält auch das Rollen zum Fokusziel keinen Platz
   für ihn frei; sonst lag die Fehlermeldung unter dem Startfeld außerhalb des Fensters (A11Y-G3). */
@media (max-height: 30rem) {
  html {
    scroll-padding-top: 1.5rem;
  }

  .seitenkopf,
  .seitenkopf--menue {
    position: relative;
  }
}

/* Schmales Fenster bei großer Schrift oder starkem Zoom (17,5 rem: 280 px bei normaler Schrift, 560 px bei doppelter):
   Der Kopf bricht dort zweizeilig um und klebt nicht, sonst verdeckt er fokussierte Felder (A11Y-15). Telefone ab
   320 px mit normaler Schrift behalten den klebenden Kopf. */
@media (max-width: 17.5rem) {
  html {
    scroll-padding-top: 1.5rem;
  }

  .seitenkopf,
  .seitenkopf--menue {
    position: relative;
  }
}

/* ---- Baustein Fußzeile (.seitenfuss) ---- */

.seitenfuss {
  border-top: 1px solid var(--lineatur);
  font-size: var(--stufe-klein);
}

.seitenfuss .huelle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2.5rem;
  padding-block: 1.75rem;
}

.seitenfuss .logo img {
  width: min(9.1875rem, 46vw);
}

.seitenfuss p {
  color: var(--tinte-2);
}

/* Urheberzeile im Fuß aller Seiten: eine Stufe kleiner, Farbe wie der übrige Fußtext (--tinte-2 auf Weiß etwa 8:1). */
.seitenfuss .kleingedruckt {
  font-size: 0.875rem;
}

.seitenfuss ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  padding: 0;
  list-style: none;
}

.seitenfuss li a {
  display: inline-block;
  padding-block: 0.375rem;
  color: var(--tinte);
  text-decoration: none;
}

.seitenfuss li a:hover {
  color: var(--tinte);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* ---- Baustein Formular (.feld, .absenden, Rückmeldungen) ---- */

.feld {
  display: grid;
  align-content: start;
  gap: 0.3125rem;
  min-width: 0;
}

.feld label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0 0.5rem;
  font-size: var(--stufe-klein);
  font-weight: 600;
  line-height: 1.35;
}

.pflicht,
.optional {
  color: var(--tinte-2);
  font-size: 0.8125rem;
  font-weight: 500;
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  min-height: 2.875rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--linie-eingabe);
  border-radius: var(--rund);
  background: var(--blatt);
  color: var(--tinte);
  font: inherit;
  font-size: var(--stufe-mittel);
  line-height: 1.4;
  transition: border-color var(--dauer) var(--ease-quart), box-shadow var(--dauer) var(--ease-quart);
}

.feld textarea {
  min-height: 6rem;
  resize: vertical;
}

.feld input::placeholder,
.feld textarea::placeholder {
  color: var(--tinte-3);
  opacity: 1;
}

.feld input:focus-visible,
.feld select:focus-visible,
.feld textarea:focus-visible {
  outline: 2px solid var(--tinte);
  outline-offset: 1px;
  border-color: var(--tinte);
}

.feld .hilfe {
  color: var(--tinte-2);
  font-size: 0.875rem;
  line-height: 1.4;
}

.feld .fehler {
  display: none;
  align-items: flex-start;
  gap: 0.375rem;
  color: var(--status-fehler);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.35;
}

.feld .fehler .zeichen {
  width: 1rem;
  height: 1rem;
  margin-top: 0.0625rem;
}

.feld[data-fehler] input,
.feld[data-fehler] select,
.feld[data-fehler] textarea {
  border-color: var(--rost);
  background: var(--rost-flaeche);
}

.feld[data-fehler] .fehler {
  display: flex;
}

.absenden {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 1.5rem;
  overflow-wrap: anywhere;
}

.zweitweg {
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
}

/* ---- Startseite: erster Bildschirm ---- */

.start {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.25rem, 6vh, 4rem);
  text-align: center;
}

.start-titel {
  max-width: 78.75rem;
  margin: 0 auto;
  font-size: var(--stufe-h1);
  line-height: 1.07;
  letter-spacing: -0.036em;
}

.start-text {
  max-width: 44rem;
  margin: 1.625rem auto 0;
  color: var(--tinte-2);
  font-size: var(--stufe-gross);
  line-height: 1.45;
  text-wrap: balance;
}

/* Feldgrenze in --linie-eingabe (3,95:1 auf Weiß), wie die Felder im Formular unten (A11Y-5, WCAG 1.4.11). */
.startfeld {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  width: min(100%, 29rem);
  margin: 2rem auto 0;
  padding: 0.3125rem;
  border-radius: calc(var(--rund) + 0.3125rem);
  background: var(--blatt);
  box-shadow: 0 0 0 1px var(--linie-eingabe), 0 0.875rem 2.125rem -0.875rem var(--schatten-feld);
}

.startfeld:focus-within {
  box-shadow: 0 0 0 2px var(--tinte), 0 0.875rem 2.125rem -0.875rem var(--schatten-feld);
}

/* Die Beschriftung steht sichtbar im Feld und rückt beim Tippen klein nach oben, statt wie ein Platzhalter zu verschwinden
   (A11Y-6, WCAG 3.3.2). Leer und ohne Fokus sieht das Feld aus wie im Entwurf. */
.startfeld label {
  position: absolute;
  top: 0.3125rem;
  left: 1.0625rem;
  display: flex;
  align-items: center;
  max-width: calc(100% - 2.125rem);
  height: 2.875rem;
  color: var(--tinte-2);
  font-size: 1.0625rem;
  line-height: 1.2;
  text-align: start;
  pointer-events: none;
  transform-origin: 0 50%;
  transition: transform var(--dauer) var(--ease-quart);
}

/* Klein oben steht die Beschriftung immer einzeilig: Die Breite gilt vor der Verkleinerung auf 75 %. */
.startfeld:has(input:focus, input:not(:placeholder-shown)) label {
  max-width: calc((100% - 2.125rem) / 0.75);
  white-space: nowrap;
  transform: translateY(-0.8125rem) scale(0.75);
}

.startfeld input {
  flex: 999 1 9rem;
  min-width: 0;
  min-height: 2.875rem;
  padding: 1rem 0.75rem 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--tinte);
  font: inherit;
  font-size: 1.0625rem;
}

/* Der Platzhalter ist ein Leerzeichen und dient nur der Abfrage :placeholder-shown. */
.startfeld input::placeholder {
  color: transparent;
}

.startfeld .knopf {
  flex: 1 1 auto;
  min-width: 0;
}

/* Unter dem Startfeld: zweiter Weg und der Hinweis auf den Stand, nebeneinander, auf schmalen Bildschirmen untereinander. */
.start-wege {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.125rem 1.75rem;
  margin-top: 1rem;
}

.start-hinweis {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.375rem;
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
  font-weight: 500;
}

.start-hinweis .zeichen {
  width: 1rem;
  height: 1rem;
  color: var(--akzent);
}

/* Ohne Skript führt der Knopf per Anker zum Abschnitt #demo; das Feld könnte dann nichts übergeben. */
@media (scripting: none) {
  .startfeld input {
    display: none;
  }

  /* Ohne Feld keine verwaiste Beschriftung im Browserbaum (A11Y-12). */
  .startfeld label {
    display: none;
  }
}

/* ---- Startseite: Bühne mit Reitern (ohne Skript: Auswahlfelder und :has) ---- */

.buehne {
  position: relative;
  isolation: isolate;
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.buehne::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -13.75rem 0 -3.75rem;
  background:
    radial-gradient(58% 30% at 50% 24%, oklch(0.95 0.035 195 / 0.9), transparent 74%),
    radial-gradient(34% 38% at 0% 46%, oklch(0.84 0.08 205), transparent 76%),
    radial-gradient(36% 40% at 100% 44%, oklch(0.85 0.07 240), transparent 76%),
    radial-gradient(72% 46% at 50% 58%, oklch(0.9 0.05 205), transparent 80%);
  pointer-events: none;
}

.reiter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  min-width: 0;
  padding: 0 var(--rand);
  border: 0;
}

.reiter input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.reiter label {
  display: inline-flex;
  align-items: center;
  gap: 0.5625rem;
  min-height: 2.875rem;
  padding: 0.375rem 1.125rem;
  border-radius: var(--rund-pille);
  background: var(--blatt);
  color: var(--tinte);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.014em;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow: 0 0 0 1px oklch(0.4 0.04 215 / 0.09);
  transition: background-color 220ms var(--ease-quart), color 220ms var(--ease-quart);
}

.reiter .zeichen {
  stroke-width: 1.8;
}

.reiter label:hover {
  background: var(--akzent-flaeche);
}

.reiter input:checked + label {
  background: var(--akzent);
  color: var(--blatt);
  box-shadow: none;
}

.reiter input:focus-visible + label {
  outline: 2px solid var(--tinte);
  outline-offset: 3px;
}

.buehne-rahmen {
  margin-top: 1.5rem;
  padding: 0.75rem;
  border-radius: var(--rund-buehne);
  background: oklch(1 0 0 / 0.55);
  box-shadow: 0 0 0 1px oklch(1 0 0 / 0.85), 0 2.75rem 5.625rem -2.75rem var(--schatten-hauch);
}

.ansichten {
  display: grid;
  overflow: hidden;
  border-radius: var(--rund-gross);
  background: var(--blatt);
  box-shadow: 0 0 0 1px var(--rahmen-ansicht);
}

/* Jedes Bild steckt in einem picture (Mobil-Ausschnitt per source); das picture tritt aus dem Raster zurück. */
.ansichten picture {
  display: contents;
}

/* Nicht gewählte Ansichten sind ausgeblendet (display): Mit loading="lazy" lädt der Browser sie erst bei der Wahl des Reiters.
   object-fit: contain ändert nichts an der Darstellung (Höhe folgt dem Seitenverhältnis), verhindert aber, dass ein
   ausgeblendetes Bild mit seinen Attributmaßen 1440 × 900 gegen den Mobil-Ausschnitt 584 × 815 verglichen wird
   (Lighthouse „image-aspect-ratio“, wenn das Band dieselbe Datei schon geladen hat). */
.ansichten img {
  display: none;
  grid-area: 1 / 1;
  width: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 300ms var(--ease-quart), display 300ms allow-discrete;
}

.buehne:has(#r-jahr:checked) .a-jahr,
.buehne:has(#r-konto:checked) .a-konto,
.buehne:has(#r-rechnung:checked) .a-rechnung,
.buehne:has(#r-schluessel:checked) .a-schluessel,
.buehne:has(#r-vermoegen:checked) .a-vermoegen {
  display: block;
  opacity: 1;
}

@starting-style {
  .buehne:has(.reiter input:checked) .ansichten img {
    opacity: 0;
  }
}

.ansicht-texte {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-top: 1.75rem;
  padding-inline: var(--rand);
  text-align: center;
}

.ansicht-texte p {
  grid-area: 1 / 1;
  max-width: 42rem;
  overflow-wrap: anywhere;
  font-size: 1.0625rem;
  visibility: hidden;
}

.ansicht-texte strong {
  font-weight: 600;
}

.buehne:has(#r-jahr:checked) .t-jahr,
.buehne:has(#r-konto:checked) .t-konto,
.buehne:has(#r-rechnung:checked) .t-rechnung,
.buehne:has(#r-schluessel:checked) .t-schluessel,
.buehne:has(#r-vermoegen:checked) .t-vermoegen {
  visibility: visible;
}

/* Browser ohne :has zeigen alle Ansichten und Sätze untereinander. */
@supports not selector(:has(a)) {
  .ansichten {
    gap: 0.75rem;
  }

  .ansichten img {
    display: block;
    grid-area: auto;
    opacity: 1;
  }

  .ansicht-texte p {
    grid-area: auto;
    visibility: visible;
  }

  .reiter {
    display: none;
  }

  /* Ohne :has steht die Beschriftung des Startfelds dauerhaft klein oben. */
  .startfeld label {
    max-width: calc((100% - 2.125rem) / 0.75);
    white-space: nowrap;
    transform: translateY(-0.8125rem) scale(0.75);
  }
}

/* ---- Startseite: Abschnitte ---- */

.abschnitt {
  padding-top: var(--abstand-abschnitt);
}

.abschnitt-titel {
  font-size: var(--stufe-h2);
  line-height: 1.1;
  letter-spacing: -0.032em;
  text-align: center;
}

.abschnitt h3 {
  font-size: var(--stufe-h3);
  letter-spacing: -0.026em;
}

.doppel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5.5rem);
  margin-top: var(--abstand-block);
}

.doppel-text {
  flex: 5 1 min(100%, 21.25rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  gap: clamp(2rem, 4vw, 3.25rem);
}

.doppel-bild {
  flex: 8 1 min(100%, 27.5rem);
  min-width: 0;
}

.doppel-bild img {
  width: 100%;
  border-radius: var(--rund-gross);
}

.eintrag p,
.band-text p {
  max-width: 32rem;
  margin-top: 0.625rem;
  color: var(--tinte-2);
}

/* Ausschnitt einer Produktansicht: --z Bildbreite, --x und --y Versatz */
.ausschnitt {
  --z: 122%;
  --x: -22.2%;
  --y: -14%;
  min-width: 0;
  overflow: hidden;
}

.ausschnitt img {
  width: var(--z);
  max-width: none;
  margin: var(--y) 0 0 var(--x);
}

.band {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.75rem, 4vw, 4rem);
  margin-top: clamp(2.25rem, 5vw, 4rem);
  padding: clamp(1.75rem, 5vw, 4.5rem) 0 0 clamp(1.5rem, 5vw, 4.5rem);
  overflow: hidden;
  border-radius: var(--rund-band);
  background:
    radial-gradient(70% 90% at 92% 100%, var(--hauch-b), transparent 72%),
    radial-gradient(60% 90% at 30% 110%, var(--hauch-a), transparent 74%),
    radial-gradient(50% 70% at 0% 0%, var(--hauch-c), transparent 74%),
    oklch(0.975 0.012 200);
}

.band-text {
  flex: 4 1 min(100%, 17.5rem);
  align-self: center;
  min-width: 0;
  padding: 0 clamp(1.5rem, 3vw, 2rem) clamp(0rem, 5vw, 4.5rem) 0;
}

.band-text p {
  color: var(--tinte-hauch);
}

.band .ausschnitt {
  --z: 140%;
  --x: -25.5%;
  --y: -14.6%;
  flex: 8 1 min(100%, 27.5rem);
  aspect-ratio: 1.65;
  border-radius: var(--rund-mittel) 0 0;
  background: var(--blatt);
  box-shadow: 0 0 0 1px var(--rahmen-ansicht), 0 1.875rem 4.375rem -2.25rem var(--schatten-tief);
}

.dreier {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5.5rem);
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
}

.dreier .ausschnitt {
  --y: -8.5%;
  flex: 8 1 min(100%, 27.5rem);
  aspect-ratio: 1.5;
  border-radius: var(--rund-gross);
  box-shadow: 0 0 0 1px var(--lineatur), 0 2.25rem 5rem -2.5rem var(--schatten-tief);
}

.faktenliste {
  flex: 4 1 min(100%, 18.75rem);
  min-width: 0;
  padding: 0;
  border-bottom: 1px solid var(--lineatur);
  list-style: none;
}

.faktenliste li {
  padding-block: 1.25rem;
  border-top: 1px solid var(--lineatur);
}

.abschnitt .faktenliste h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.4vw, 1.625rem);
  letter-spacing: -0.022em;
}

.faktenliste p {
  margin-top: 0.25rem;
  color: var(--tinte-2);
}

/* ---- Startseite: Herkunft am Betrag ---- */

.herkunft-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr));
  align-items: center;
  gap: clamp(2.25rem, 5vw, 5.5rem);
  margin-top: var(--abstand-block);
}

.herkunft-text > p {
  max-width: 34rem;
  color: var(--tinte-2);
}

.herkunft {
  margin-top: 1.75rem;
  padding: clamp(1rem, 3vw, 2rem);
  overflow-wrap: anywhere;
  hyphens: auto;
  border-radius: var(--rund-gross);
  background: var(--blatt-gedaempft);
  box-shadow: 0 0 0 1px var(--lineatur);
}

.herkunft-vermerk {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1rem;
  font-size: var(--stufe-klein);
  color: var(--tinte-2);
}

.herkunft-vermerk strong {
  color: var(--tinte);
  font-weight: 600;
}

/* Die Zeile trägt dieselbe Markierung wie die Zeile Allgemeinstrom im Beispielblatt (.blatt-marke): Karte und Blatt gehören zusammen. */
.herkunft-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 1rem -0.75rem 0;
  padding: 0.75rem;
  border-radius: var(--rund);
  background: var(--akzent-flaeche);
  box-shadow: inset 0 0 0 2px var(--akzent);
}

.bezeichnung {
  font-weight: 600;
}

.bezeichnung .neben {
  display: block;
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
  font-weight: 450;
}

.betrag-still {
  font-weight: 600;
}

.betragknopf {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  border: 1px solid var(--akzent);
  border-radius: var(--rund);
  background: var(--blatt);
  color: var(--akzent-tinte);
  font: inherit;
  font-feature-settings: 'lnum';
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--dauer) var(--ease-quart);
}

.betragknopf:hover {
  background: var(--akzent-flaeche);
}

.betragknopf .zeichen {
  transition: transform var(--dauer) var(--ease-quart);
}

.betragknopf[aria-expanded='true'] .zeichen {
  transform: rotate(90deg);
}

.kette {
  margin-top: 0.25rem;
  padding: 0;
  list-style: none;
}

.glied {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0 1.5rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid var(--lineatur);
}

.glied:last-child {
  border-bottom: 0;
}

.glied-art {
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
}

.glied-wert {
  font-weight: 500;
}

.glied--ziel .glied-wert {
  font-weight: 700;
}

.blatt {
  justify-self: center;
  width: min(100%, 30rem);
}

.blatt-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--rund-mittel);
  box-shadow: 0 0 0 1px var(--lineatur), 0 2.25rem 5rem -2.5rem var(--schatten-tief);
}

.blatt img {
  width: 100%;
}

/* Zeile Allgemeinstrom im Blatt (1440 × 2036): Linien bei y 621 und 664, Tabelle x 150 bis 1316. Abstände in Prozent der
   Breite (margin und padding beziehen sich auf die Breite), damit die Marke bei jeder Größe auf der Zeile sitzt. */
.blatt-marke {
  position: absolute;
  top: 0;
  left: 9.9%;
  width: 82.1%;
  height: 0;
  margin-top: 42.85%;
  padding-top: 3.55%;
  border-radius: var(--rund-klein);
  background: var(--akzent-flaeche);
  box-shadow: inset 0 0 0 2px var(--akzent);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.blatt-hinweis {
  display: block;
  padding: 0.5rem 0.875rem;
  background: var(--blatt);
  color: var(--akzent-tinte);
  font-size: var(--stufe-klein);
  font-weight: 500;
}

.blatt figcaption {
  margin-top: 0.875rem;
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
}

.blatt figcaption strong {
  color: var(--tinte);
  font-weight: 600;
}

.beispiele {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 0.75rem clamp(2.25rem, 5vw, 5.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--lineatur);
}

.abschnitt .beispiele h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.4vw, 1.625rem);
  letter-spacing: -0.022em;
}

.beispiele-text p {
  margin-top: 0.75rem;
  color: var(--tinte-2);
}

.beispiel-links {
  display: grid;
  align-content: center;
  gap: 0.25rem;
  padding: 0;
  list-style: none;
}

.beispiel-links a {
  display: inline-block;
  padding-block: 0.375rem;
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* ---- Startseite: Fragen ---- */

.fragenbild {
  width: 100%;
  aspect-ratio: 2.15;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
  object-fit: cover;
  object-position: 50% 12%;
  border-radius: var(--rund-band);
}

.fragenliste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
  gap: 0 clamp(1.25rem, 3vw, 2.5rem);
  margin-top: clamp(1.75rem, 3vw, 2.75rem);
  padding: 0;
  list-style: none;
}

.fragenliste a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 1.375rem 0 1.625rem;
  border-top: 1px solid var(--tinte);
  color: var(--tinte);
  font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.4375rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: -0.02em;
  text-decoration: none;
  overflow-wrap: anywhere;
  hyphens: auto;
  transition: color var(--dauer) var(--ease-quart);
}

.fragenliste .zeichen {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1875rem;
  stroke-width: 1.8;
  transition: transform 240ms var(--ease-quart);
}

.fragenliste a:hover {
  color: var(--akzent);
}

.fragenliste a:hover .zeichen {
  transform: translateX(0.25rem);
}

.alle-link {
  margin-top: 0.5rem;
}

/* ---- Startseite: Stand der Entwicklung ---- */

.stand-raster {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
  gap: clamp(2.5rem, 6vw, 6rem);
}

.stand-titel {
  font-size: var(--stufe-h2);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.stand-text p {
  max-width: 36rem;
  margin-top: 1.125rem;
  color: var(--tinte-2);
}

.abschnitt .stand-liste h3 {
  font-size: clamp(1.375rem, 1.2rem + 0.4vw, 1.625rem);
  letter-spacing: -0.022em;
}

.ausschlussliste {
  margin-top: 0.875rem;
  padding: 0;
  border-bottom: 1px solid var(--lineatur);
  list-style: none;
}

.ausschlussliste li {
  padding-block: 0.625rem;
  border-top: 1px solid var(--lineatur);
}

.stand-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
  margin-top: 1.25rem;
}

.steckbrief {
  margin-top: 2rem;
}

.steckbrief div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  padding-block: 0.625rem;
  border-top: 1px solid var(--lineatur);
}

.steckbrief div:last-child {
  border-bottom: 1px solid var(--lineatur);
}

.steckbrief dd {
  flex: 2 1 16rem;
  min-width: 0;
}

.steckbrief dt {
  flex: 1 1 7rem;
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
  line-height: 1.8;
}

/* ---- Startseite: Abschluss mit Formular ---- */

.abschluss {
  position: relative;
  isolation: isolate;
  margin-top: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(4.5rem, 9vw, 8rem) clamp(5rem, 9vw, 8.5rem);
}

.abschluss::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -2.5rem 0 0;
  background:
    radial-gradient(46% 52% at -4% 60%, oklch(0.86 0.07 205), transparent 78%),
    radial-gradient(46% 52% at 104% 60%, oklch(0.87 0.06 240), transparent 78%),
    radial-gradient(60% 44% at 50% 66%, oklch(0.93 0.035 200), transparent 80%);
  pointer-events: none;
}

.abschluss-text {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  color: var(--tinte-hauch);
  font-size: 1.1875rem;
  text-align: center;
}

/* Innenabstand höchstens 5vw: Bei großer Schrift auf dem Telefon bleibt so Breite für die Zeilen (A11Y-G1). */
.formblatt {
  width: min(100%, 46rem);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: clamp(min(1rem, 5vw), 3.5vw, 2.5rem);
  overflow-wrap: anywhere;
  border-radius: var(--rund-gross);
  background: var(--blatt);
  box-shadow: 0 0 0 1px var(--rahmen-ansicht), 0 1.875rem 4.375rem -2.25rem var(--schatten-tief);
}

.formblatt-kopf {
  color: var(--tinte-2);
}

.ohne-skript {
  margin-top: 1rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid var(--bernstein-linie);
  border-radius: var(--rund);
  background: var(--bernstein-flaeche);
  font-size: var(--stufe-klein);
}

/* Mit Skript hält das noch verborgene Formular seinen Platz frei, damit nichts springt. */
@media (scripting: enabled) {
  .demoformular[hidden] {
    display: block !important;
    visibility: hidden;
  }
}

.demoformular {
  margin-top: 1.25rem;
}

.felder {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem 1.25rem;
}

.feld--breit {
  grid-column: 1 / -1;
}

.weitere {
  grid-column: 1 / -1;
  padding-top: 0.625rem;
  border-top: 1px solid var(--lineatur);
}

.weitere summary {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.25rem;
  color: var(--akzent-tinte);
  font-size: var(--stufe-klein);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.weitere summary::-webkit-details-marker {
  display: none;
}

.weitere summary .zeichen {
  width: 1rem;
  height: 1rem;
  transition: transform var(--dauer) var(--ease-quart);
}

.weitere[open] summary .zeichen {
  transform: rotate(90deg);
}

.weitere .felder {
  margin-top: 0.5rem;
}

.honig {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.sendestatus {
  margin-top: 0.75rem;
  color: var(--tinte-2);
  font-size: var(--stufe-klein);
  font-weight: 600;
}

.sendestatus:empty {
  margin: 0;
}

/* Zeichen und Text teilen sich die Zeile, solange der Text mindestens 10 Zeichenbreiten (em) behält; sonst steht der Text
   in voller Breite unter dem Zeichen, statt bei großer Schrift in eine Silbenspalte zu zerfallen (A11Y-G1). */
.formmeldung,
.bestaetigung {
  flex-wrap: wrap;
}

.formmeldung > p,
.bestaetigung > p {
  flex: 1 1 min(100%, 10em);
  min-width: 0;
}

.formmeldung {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem min(0.875rem, 5vw);
  border: 1px solid var(--rost-linie);
  border-radius: var(--rund);
  background: var(--rost-flaeche);
  font-size: var(--stufe-klein);
  line-height: 1.45;
}

.formmeldung:empty,
.bestaetigung:empty {
  margin: 0;
  padding: 0;
  border: 0;
}

.formmeldung[data-art='hinweis'] {
  border-color: var(--bernstein-linie);
  background: var(--bernstein-flaeche);
}

.formmeldung .zeichen {
  margin-top: 0.125rem;
  color: var(--status-fehler);
}

.formmeldung[data-art='hinweis'] .zeichen {
  color: var(--status-warnung);
}

.datenhinweis {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--lineatur);
  color: var(--tinte-2);
  font-size: 0.875rem;
  line-height: 1.45;
}

.bestaetigung {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1.25rem;
  padding: 1rem min(1.125rem, 5vw);
  border: 1px solid var(--gruen-linie);
  border-radius: var(--rund);
  background: var(--gruen-flaeche);
}

.bestaetigung .zeichen {
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.0625rem;
  color: var(--gruen);
}

.bestaetigung strong {
  display: block;
  font-weight: 700;
}

.direktweg {
  margin-top: 1.5rem;
  color: var(--tinte-hauch);
  font-size: var(--stufe-klein);
  text-align: center;
}

.direktweg a {
  color: var(--tinte);
}

/* ---- Kurzbausteine der Unterseiten ---- */

.einleitung {
  max-width: var(--mass);
  margin-top: 1rem;
  color: var(--tinte-2);
  font-size: var(--stufe-gross);
  line-height: 1.5;
}

.hinweis {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  max-width: 40em;
  margin-top: 2.25rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  background: var(--blatt);
  font-size: var(--stufe-klein);
}

.hinweis .zeichen {
  margin-top: 0.125rem;
  color: var(--akzent-tinte);
}

/* ---- Schmale Bildschirme: Mobil-Ausschnitte (picture/source bis 47,5 rem) in Originalschrift, nicht über 26 rem gezogen ---- */

@media (max-width: 47.5rem) {
  .reiter label {
    min-height: 2.75rem;
    padding-inline: 0.9375rem;
    font-size: var(--stufe-mittel);
  }

  .buehne-rahmen {
    width: min(100% - 2 * var(--rand), 26rem);
    padding: 0.4375rem;
    border-radius: var(--rund-gross);
  }

  .ansichten {
    border-radius: var(--rund-mittel);
  }

  .fragenbild {
    aspect-ratio: 4 / 3;
    object-position: 62% 0;
    border-radius: var(--rund-gross);
  }

  .band {
    border-radius: var(--rund-gross);
  }

  .band .ausschnitt,
  .dreier .ausschnitt {
    max-width: 26rem;
    aspect-ratio: auto;
  }

  .ausschnitt img {
    width: 100%;
    margin: 0;
  }

  .band .ausschnitt {
    margin-left: auto;
  }

  .dreier .ausschnitt {
    margin-inline: auto;
  }

  .doppel-bild img {
    border-radius: var(--rund-gross);
  }
}

/* ---- Bewegung, Kontrastmodus, Druck ---- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0s !important;
    animation-delay: 0s !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

@media (forced-colors: active) {
  .knopf,
  .kopfmenue summary,
  .reiter label,
  .betragknopf {
    border: 1px solid ButtonText;
  }

  .reiter input:checked + label {
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }

  .reiter input:focus-visible + label,
  .feld input:focus-visible,
  .feld select:focus-visible,
  .feld textarea:focus-visible {
    outline: 2px solid Highlight;
  }

  .startfeld {
    outline: 1px solid CanvasText;
  }

  .startfeld:focus-within {
    outline: 2px solid Highlight;
  }

  .herkunft-zeile,
  .blatt-marke {
    outline: 2px solid Highlight;
  }
}

@media print {
  .seitenkopf,
  .seitenkopf--menue {
    position: static;
  }

  .kopfmenue,
  .kopfnavi,
  .startfeld,
  .reiter,
  .buehne::before,
  .abschluss::before {
    display: none;
  }
}
