/* verdigado Demos, erzeugt von bau.py aus tokens.json (Theme verdigado, Variante D) */
@font-face {
  font-family: 'Sarabun';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url(schriften/sarabun-latin-400-normal.woff2) format('woff2');
}
@font-face {
  font-family: 'Sarabun';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url(schriften/sarabun-latin-600-normal.woff2) format('woff2');
}
:root {
  --flaeche: #f3f4f6;
  --flaeche-2: #ffffff;
  --linie: #e1e4e8;
  --feldrand: #6e7781;
  --text: #1f2328;
  --text-leise: #59636e;
  --primaer: #e60064;
  --primaer-hover: #a00057;
  --primaer-tint: #fdeaf2;
  --primaer-text: #c00054;
  --auf-primaer: #ffffff;
  --kopf: #ffffff;
  --seitenkopf: #f3f4f6;
  --seitenkopf-text: #1f2328;
  --seitenkopf-text-leise: #545d68;
  --seitenkopf-knopf: #e60064;
  --seitenkopf-knopf-text: #ffffff;
  --seitenkopf-knopf-hover: #a00057;
  --seitenkopf-knopf-leise-rand: #6e7781;
  --kopf-linie: #e1e4e8;
  --kopf-text: #1f2328;
  --kopf-text-leise: #59636e;
  --akzent: #e60064;
  --hinweis-tint: #eceef1;
  --hinweis-text: #24292f;
  --hinweis-rand: #6e7781;
  --diagramm-1: #8c959f;
  --diagramm-2: #00354e;
  --diagramm-hervor: #e60064;
  --fehler: #b42318;
  --auf-fehler: #ffffff;
  --fehler-tint: #fdecea;
  --fehler-text: #b42318;
  --erfolg: #1a7f37;
  --auf-erfolg: #ffffff;
  --erfolg-tint: #dafbe1;
  --erfolg-text: #116329;
  --auswahl: #f4f4f4;
  --verlauf: radial-gradient(
      55% 60% at 88% 8%,
      rgba(230, 0, 100, 0.13),
      transparent 70%
    ),
    radial-gradient(60% 65% at 10% 90%, rgba(0, 53, 78, 0.07), transparent 70%),
    #f3f4f6;
  --praeg: url(waben-hell.svg);
  --praeg-deck: 0.4;
  --schatten-bild: 0 4px 12px rgba(20, 25, 31, 0.12);
  --schatten-handy: 0 6px 18px rgba(20, 25, 31, 0.18);
  --logo-hell: block;
  --logo-dunkel: none;
  color-scheme: light dark;
  --band: #e60064;
  --bandh: 5px;
  --herz: #e60064;
  --r: 6px;
  --rk: 8px;
  --rv: 999px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --flaeche: #171b21;
    --flaeche-2: #2a313c;
    --linie: #434c5a;
    --feldrand: #768392;
    --text: #e6edf3;
    --text-leise: #9aa5b1;
    --primaer: #e60064;
    --primaer-hover: #c8005a;
    --primaer-tint: #3a1f2b;
    --primaer-text: #ff6fa6;
    --auf-primaer: #ffffff;
    --kopf: #262c36;
    --seitenkopf: #171b21;
    --seitenkopf-text: #e6edf3;
    --seitenkopf-text-leise: #9aa5b1;
    --seitenkopf-knopf: #e60064;
    --seitenkopf-knopf-text: #ffffff;
    --seitenkopf-knopf-hover: #c8005a;
    --seitenkopf-knopf-leise-rand: #768392;
    --kopf-linie: #363d48;
    --kopf-text: #e6edf3;
    --kopf-text-leise: #9aa5b1;
    --akzent: #ff5c9a;
    --hinweis-tint: #3a4350;
    --hinweis-text: #e6e9ee;
    --hinweis-rand: #9aa5b1;
    --diagramm-1: #768392;
    --diagramm-2: #3d86ab;
    --diagramm-hervor: #ff5c9a;
    --fehler: #b42318;
    --auf-fehler: #ffffff;
    --fehler-tint: #3a1d1b;
    --fehler-text: #ff9a8f;
    --erfolg: #1a7f37;
    --auf-erfolg: #ffffff;
    --erfolg-tint: #1b2f22;
    --erfolg-text: #6fdd8b;
    --auswahl: #20262e;
    --verlauf: radial-gradient(
        55% 60% at 88% 8%,
        rgba(160, 0, 87, 0.28),
        transparent 70%
      ),
      radial-gradient(
        60% 65% at 10% 92%,
        rgba(15, 69, 96, 0.55),
        transparent 70%
      ),
      #171b21;
    --praeg: url(waben-dunkel.svg);
    --praeg-deck: 0.6;
    --schatten-bild: 0 4px 12px rgba(0, 0, 0, 0.38);
    --schatten-handy: 0 6px 18px rgba(0, 0, 0, 0.5);
    --logo-hell: none;
    --logo-dunkel: block;
  }
}
/* Umschalter hell/dunkel ohne JS (v11): dieselben Token-Blöcke, per :has() gewählt. Ohne :has() fallen diese Regeln weg, Auto bleibt. */
:root:has(#thema-hell:checked) {
  --flaeche: #f3f4f6;
  --flaeche-2: #ffffff;
  --linie: #e1e4e8;
  --feldrand: #6e7781;
  --text: #1f2328;
  --text-leise: #59636e;
  --primaer: #e60064;
  --primaer-hover: #a00057;
  --primaer-tint: #fdeaf2;
  --primaer-text: #c00054;
  --auf-primaer: #ffffff;
  --kopf: #ffffff;
  --seitenkopf: #f3f4f6;
  --seitenkopf-text: #1f2328;
  --seitenkopf-text-leise: #545d68;
  --seitenkopf-knopf: #e60064;
  --seitenkopf-knopf-text: #ffffff;
  --seitenkopf-knopf-hover: #a00057;
  --seitenkopf-knopf-leise-rand: #6e7781;
  --kopf-linie: #e1e4e8;
  --kopf-text: #1f2328;
  --kopf-text-leise: #59636e;
  --akzent: #e60064;
  --hinweis-tint: #eceef1;
  --hinweis-text: #24292f;
  --hinweis-rand: #6e7781;
  --diagramm-1: #8c959f;
  --diagramm-2: #00354e;
  --diagramm-hervor: #e60064;
  --fehler: #b42318;
  --auf-fehler: #ffffff;
  --fehler-tint: #fdecea;
  --fehler-text: #b42318;
  --erfolg: #1a7f37;
  --auf-erfolg: #ffffff;
  --erfolg-tint: #dafbe1;
  --erfolg-text: #116329;
  --auswahl: #f4f4f4;
  --verlauf: radial-gradient(
      55% 60% at 88% 8%,
      rgba(230, 0, 100, 0.13),
      transparent 70%
    ),
    radial-gradient(60% 65% at 10% 90%, rgba(0, 53, 78, 0.07), transparent 70%),
    #f3f4f6;
  --praeg: url(waben-hell.svg);
  --praeg-deck: 0.4;
  --schatten-bild: 0 4px 12px rgba(20, 25, 31, 0.12);
  --schatten-handy: 0 6px 18px rgba(20, 25, 31, 0.18);
  --logo-hell: block;
  --logo-dunkel: none;
  color-scheme: light;
}
:root:has(#thema-dunkel:checked) {
  --flaeche: #171b21;
  --flaeche-2: #2a313c;
  --linie: #434c5a;
  --feldrand: #768392;
  --text: #e6edf3;
  --text-leise: #9aa5b1;
  --primaer: #e60064;
  --primaer-hover: #c8005a;
  --primaer-tint: #3a1f2b;
  --primaer-text: #ff6fa6;
  --auf-primaer: #ffffff;
  --kopf: #262c36;
  --seitenkopf: #171b21;
  --seitenkopf-text: #e6edf3;
  --seitenkopf-text-leise: #9aa5b1;
  --seitenkopf-knopf: #e60064;
  --seitenkopf-knopf-text: #ffffff;
  --seitenkopf-knopf-hover: #c8005a;
  --seitenkopf-knopf-leise-rand: #768392;
  --kopf-linie: #363d48;
  --kopf-text: #e6edf3;
  --kopf-text-leise: #9aa5b1;
  --akzent: #ff5c9a;
  --hinweis-tint: #3a4350;
  --hinweis-text: #e6e9ee;
  --hinweis-rand: #9aa5b1;
  --diagramm-1: #768392;
  --diagramm-2: #3d86ab;
  --diagramm-hervor: #ff5c9a;
  --fehler: #b42318;
  --auf-fehler: #ffffff;
  --fehler-tint: #3a1d1b;
  --fehler-text: #ff9a8f;
  --erfolg: #1a7f37;
  --auf-erfolg: #ffffff;
  --erfolg-tint: #1b2f22;
  --erfolg-text: #6fdd8b;
  --auswahl: #20262e;
  --verlauf: radial-gradient(
      55% 60% at 88% 8%,
      rgba(160, 0, 87, 0.28),
      transparent 70%
    ),
    radial-gradient(60% 65% at 10% 92%, rgba(15, 69, 96, 0.55), transparent 70%),
    #171b21;
  --praeg: url(waben-dunkel.svg);
  --praeg-deck: 0.6;
  --schatten-bild: 0 4px 12px rgba(0, 0, 0, 0.38);
  --schatten-handy: 0 6px 18px rgba(0, 0, 0, 0.5);
  --logo-hell: none;
  --logo-dunkel: block;
  color-scheme: dark;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  color: var(--text);
  font-family: 'Sarabun', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
  position: relative;
}
main::before {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 420px;
  height: 420px;
  background: var(--praeg) no-repeat right bottom/420px 420px;
  opacity: var(--praeg-deck);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(900px, 100%);
  background: var(--verlauf);
  -webkit-mask-image: linear-gradient(#000 50%, transparent);
  mask-image: linear-gradient(#000 50%, transparent);
  pointer-events: none;
  z-index: 0;
}
.band {
  position: relative;
  z-index: 1;
  height: var(--bandh);
  background: var(--band);
}
.innen {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.kopf {
  background: var(--kopf);
  color: var(--kopf-text);
  border-bottom: 1px solid var(--kopf-linie);
  position: relative;
  z-index: 1;
}
.kopf .innen {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
}
.marke {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--kopf-text);
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  border-radius: var(--r);
}
.marke img {
  width: 32px;
  height: 32px;
}
.logo-hell {
  display: var(--logo-hell);
}
.logo-dunkel {
  display: var(--logo-dunkel);
}
.thema {
  display: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  min-width: 0;
}
@supports selector(:has(*)) {
  .thema {
    display: block;
  }
} /* ohne :has() wirkt der Schalter nicht, dann ausblenden */
.thema-segmente {
  display: flex;
  border: 1px solid var(--feldrand);
  border-radius: var(--r);
  padding: 2px;
  gap: 2px;
}
.thema input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.thema label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 30px;
  min-width: 30px;
  padding: 3px 10px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: var(--kopf-text-leise);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1;
}
.thema label:hover {
  color: var(--kopf-text);
}
.thema input:checked + label {
  background: var(--primaer-tint);
  color: var(--primaer-text);
  border-color: var(--primaer-text);
}
.thema input:focus-visible + label {
  outline: 3px solid var(--primaer-text);
  outline-offset: 2px;
}
.thema svg {
  flex: none;
}
@media (forced-colors: active) {
  .thema input:checked + label {
    border-color: Highlight;
    background: Highlight;
    color: HighlightText;
    forced-color-adjust: none;
  }
  .thema input:focus-visible + label {
    outline-color: Highlight;
  }
}
@media (max-width: 599px) {
  .thema label {
    padding: 3px 6px;
  }
  .thema .t {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}
.marke span {
  color: var(--kopf-text-leise);
  font-weight: 400;
}
main {
  flex: 1;
  position: relative;
  z-index: 1;
  padding-bottom: 48px;
}
main > .innen {
  position: relative;
  z-index: 1;
}
.inhaltsseite main::before {
  display: none;
}
h1,
h2,
h3 {
  font-weight: 600;
  margin: 0;
}
h1 {
  font-size: clamp(26px, 7vw, 30px);
  line-height: 1.2;
  color: var(--seitenkopf-text);
}
h3 {
  font-size: 18px;
  line-height: 1.3;
}
.seitenkopf {
  padding: 24px 0 28px;
}
.hinweis {
  margin: 18px 0 0;
  background: var(--hinweis-tint);
  color: var(--hinweis-text);
  border: 1px solid var(--hinweis-rand);
  border-left-width: 4px;
  border-radius: var(--r);
  padding: 10px 14px;
  width: fit-content;
  max-width: 100%;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hinweis svg {
  flex: none;
  margin-top: 3px;
}
.raster {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.raster > li {
  display: flex;
  min-width: 0;
}
.karte {
  background: var(--flaeche-2);
  border: 1px solid var(--linie);
  border-radius: var(--rk);
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 14px;
}
/* v8: groß 16:10 links, rechts die Handy-Ansicht 390:844 komplett im schlichten Rahmen, beide gleich hoch */
.bild {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  border: 1px solid var(--linie);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--flaeche);
}
.bild img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
/* v9: Bühne – vollbreiter Block oben in der Karte; Desktop-Bild links oben (80 %), davor das Handy rechts unten versetzt.
   Schatten bewusst (Wunsch Sebastian v9, Ausnahme zu regeln.md). Fokusring über ::after, damit kein Bild nach vorn springt. */
.karte {
  overflow: hidden;
}
.buehne {
  margin: -14px -14px 0;
  padding: 18px;
  background: var(--flaeche);
  border-bottom: 1px solid var(--linie);
}
.buehne-innen {
  position: relative;
  aspect-ratio: 100/70;
}
.buehne .bild.haupt {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  box-shadow: var(--schatten-bild);
}
.handy {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 27%;
  z-index: 2;
  display: block;
  border: 2px solid var(--linie);
  border-radius: 12px;
  padding: 3px;
  background: var(--flaeche-2);
  box-shadow: var(--schatten-handy);
}
.handy img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 390/844;
  object-fit: contain;
  border-radius: 8px;
}
.buehne a:focus-visible {
  outline: none;
}
.buehne a::after {
  content: '';
  position: absolute;
  pointer-events: none;
  border-radius: inherit;
  z-index: 10;
}
.buehne .bild.haupt::after {
  inset: 0;
  z-index: 1;
} /* unter dem Handy (z-index 2): der Ring endet am Handy */
.buehne.allein .bild.haupt {
  position: relative;
  width: 100%;
}
.buehne .handy::after {
  inset: -6px;
  border-radius: 16px;
}
.buehne .bild.haupt:focus-visible::after {
  box-shadow: inset 0 0 0 3px var(--primaer-text);
}
.buehne .handy:focus-visible::after {
  outline: 3px solid var(--primaer-text);
}
@media (min-width: 600px) {
  .buehne {
    margin: -16px -16px 0;
    padding: 20px;
  }
  .buehne-innen {
    aspect-ratio: 100/56;
  }
  .buehne .bild.haupt {
    width: 80%;
  }
  .handy {
    width: 22%;
  }
}
a.bild:hover,
a.handy:hover {
  border-color: var(--primaer-text);
}
.flaeche {
  background: var(--hinweis-tint);
  color: var(--hinweis-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.flaeche svg {
  color: var(--text-leise);
  width: auto;
  height: 46%;
}
.flaeche b {
  font-size: 13px;
  font-weight: 600;
}
.kk {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.kt {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.kt h3 {
  font-size: 17px;
  line-height: 1.3;
}
.meta {
  order: -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.kk p {
  margin: 0;
}
.kk .text {
  font-size: 14px;
  line-height: 1.45;
}
.unten {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.knopf.aus {
  background: var(--flaeche);
  color: var(--text-leise);
  border: 1px dashed var(--feldrand);
  cursor: default;
}
@media (min-width: 600px) {
  .raster {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .karte {
    padding: 16px;
  }
}
@media (min-width: 1000px) {
  .raster {
    gap: 20px;
  }
}
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--rv);
  padding: 1px 10px 1px 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  border: 1px solid;
  white-space: nowrap;
}
.chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.chip.live {
  background: var(--erfolg-tint);
  color: var(--erfolg-text);
  border-color: var(--erfolg-text);
}
.chip.bald {
  background: var(--hinweis-tint);
  color: var(--hinweis-text);
  border-color: var(--hinweis-rand);
}
.chip.bald::before {
  background: transparent;
  border: 2px solid currentColor;
  width: 9px;
  height: 9px;
}
.chip.extern {
  background: var(--flaeche-2);
  color: var(--text-leise);
  border-color: var(--feldrand);
  padding-left: 9px;
  white-space: normal;
  text-align: left;
}
.chip.extern::before {
  display: none;
}
.chip svg {
  flex: none;
}
.text-seite {
  background: var(--flaeche-2);
  border: 1px solid var(--linie);
  border-radius: var(--rk);
  padding: 20px;
  max-width: 72ch;
}
.text-seite p {
  margin: 0 0 12px;
}
.text-seite p:last-child {
  margin: 0;
}
.zurueck {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 20px;
  min-height: 24px;
}
.zurueck svg {
  transform: scaleX(-1);
}
.daten {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  color: var(--text-leise);
  font-size: 13px;
  line-height: 1.4;
}
.daten svg {
  flex: none;
  margin-top: 1px;
}
.knopf {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
}
.knopf.primaer {
  background: var(--primaer);
  color: var(--auf-primaer);
}
.knopf.primaer:hover {
  background: var(--primaer-hover);
}
a {
  color: var(--primaer-text);
  text-underline-offset: 3px;
}
a:focus-visible {
  outline: 3px solid var(--primaer-text);
  outline-offset: 2px;
}
.fuss {
  background: var(--kopf);
  border-top: 1px solid var(--kopf-linie);
  color: var(--kopf-text-leise);
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.fuss .innen {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}
.fuss a {
  color: var(--kopf-text-leise);
}
.fuss b {
  color: var(--kopf-text);
  font-weight: 600;
}
.herz {
  color: var(--herz);
}
.knoepfe {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.knoepfe .knopf {
  align-self: stretch;
}
.knopf.sekundaer {
  background: var(--flaeche-2);
  color: var(--primaer-text);
  border-color: var(--primaer-text);
}
.knopf.sekundaer:hover {
  background: var(--primaer-tint);
}
h2.ab {
  font-size: 20px;
  line-height: 1.3;
  color: var(--seitenkopf-text);
  margin: 0 0 14px;
}
.mehr-karte {
  margin-top: 20px;
  width: 100%;
}
.mehr-karte h2 {
  font-size: 17px;
  line-height: 1.3;
  margin: 0;
}
.gruppen {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px 24px;
}
.gruppen h3 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-leise);
  margin: 0 0 2px;
}
.gruppen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-leise);
}
.gruppen li {
  display: flex;
  align-items: baseline;
} /* flex: Leerraum aus Formatierern (Prettier) bleibt unsichtbar */
.gruppen li:not(:last-child)::after {
  content: '·';
  content: '·' / '';
  padding: 0 0.35em;
}
.gruppen a {
  white-space: nowrap;
  color: var(--text);
  text-decoration-color: var(--feldrand);
}
.gruppen a:hover {
  color: var(--primaer-text);
  text-decoration-color: currentColor;
}
@media (min-width: 600px) {
  .gruppen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (min-width: 720px) {
  .seitenkopf {
    padding: 32px 0 32px;
  }
}
