/* =========================================================================
   PadOfis Website — gemeinsames Stylesheet fuer die deutsche (/) und
   tuerkische (/tr) Fassung.

   Dunkle Fassung: Grundton Mitternachtsblau (#0b0f19), davor eine bewegte
   Canvas (hintergrund.js). Handlungsfarbe ist Orange (Richtung mobile.de),
   dazu das Gold aus dem Markenzeichen und ein kuehles Blau als Gegengewicht.

   Die Nachbauten der App-Oberflaeche (Bildschirm, Vertrag, Ausweis, Tabelle)
   bleiben absichtlich hell — die App sieht so aus, und der Kontrast zum
   dunklen Umfeld laesst sie wie ein Fenster wirken.

   Schriften liegen unter /schriften und werden selbst ausgeliefert. Keine
   Anfrage an Google, damit die Seite ohne Fremdanfragen auskommt (DSGVO).
   ========================================================================= */

/* ---- Schriften ---------------------------------------------------------- */
/* Outfit und Plus Jakarta Sans, beide SIL Open Font License 1.1.
   Es sind variable Schriftschnitte: eine Datei deckt alle Staerken ab. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schriften/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/schriften/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/schriften/jakarta-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jakarta";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/schriften/jakarta-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
                 U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
                 U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
                 U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---- Farben und Masse --------------------------------------------------- */

:root {
  /* Grundtoene */
  --grund:      #0b0f19;
  --grund-2:    #070a10;
  --navy:       #1a1a2e;
  --navy-2:     #232340;
  --navy-3:     #2d2d4d;

  /* Akzente */
  --orange:     #ff5a00;
  --orange-hi:  #ff7c2e;
  --orange-schein: rgba(255, 90, 0, .35);
  --gold:       #c8892f;
  --gold-lt:    #f0b25e;
  --blau:       #38bdf8;
  --blau-tief:  #0284c7;
  --teal:       #2dd4bf;
  --gruen:      #34d399;

  /* Flaechen auf dunklem Grund */
  --flaeche:    rgba(18, 24, 38, .72);
  --flaeche-hi: rgba(30, 41, 59, .85);
  --flaeche-tief: rgba(7, 10, 16, .55);
  --rand:       rgba(255, 255, 255, .10);
  --rand-hell:  rgba(255, 255, 255, .20);
  --rand-orange: rgba(255, 90, 0, .32);

  /* Schrift auf dunklem Grund */
  --txt:        #f8fafc;
  --txt-mute:   #94a3b8;

  /* Helle Nachbauten der App-Oberflaeche */
  --paper:      #ffffff;
  --mist:       #f5f6f9;
  --mist-2:     #eceef3;
  --line:       #e2e6ee;
  --txt-hell:   #14161c;
  --txt-hell-mute: #5b6472;

  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;

  --schatten-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 2px 8px rgba(0, 0, 0, .22);
  --schatten:    0 12px 32px rgba(0, 0, 0, .45);
  --schatten-lg: 0 24px 60px rgba(0, 0, 0, .6);

  --font: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-display: "Outfit", "Century Gothic", "Trebuchet MS", var(--font);

  --wrap: 1160px;
  --pad: clamp(20px, 5vw, 40px);
  --uebergang: .22s cubic-bezier(.16, 1, .3, 1);
}

/* ---- Grundlagen --------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--grund);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--txt);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--orange); color: #fff; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--orange);
  color: #fff;
  padding: 12px 20px;
  font-weight: 700;
}
.skip:focus { left: 12px; top: 12px; }

/* ---- Bewegter Hintergrund ---------------------------------------------- */

/* Die Canvas steht fest hinter allem, die Seite scrollt darueber hinweg. */
#hintergrund {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  display: block;
  pointer-events: none;
}

/* Zwei weiche Farbschleier darueber, damit der Grund nicht flach wirkt. */
.schleier {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: .42;
}
.schleier-orange {
  top: -140px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--orange) 0%, transparent 70%);
}
.schleier-blau {
  bottom: 6%; left: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, var(--blau-tief) 0%, transparent 70%);
}
@media (max-width: 760px) {
  .schleier { opacity: .3; filter: blur(100px); }
  .schleier-orange { width: 340px; height: 340px; }
  .schleier-blau { width: 380px; height: 380px; }
}

/* ---- Marke -------------------------------------------------------------- */

/* Das Zeichen liegt einmal als <symbol> im Dokument und wird per <use>
   eingesetzt — so stehen die Farbverlaeufe nur ein einziges Mal im Quelltext. */
.marke-vorrat { position: absolute; width: 0; height: 0; overflow: hidden; }

.marke { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.marke-zeichen { width: 27px; height: 44px; flex: none; }

.marke-text { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.marke-wort {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.025em;
  color: #fff;
}
.marke-wort em { font-style: normal; color: var(--orange); }
.marke-unter {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .215em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

/* ---- Kopfzeile ---------------------------------------------------------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 25, .86);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--rand);
  color: var(--txt);
}
.kopf-innen {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.kopf .marke { color: #fff; }

.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--txt-mute);
  transition: color .18s;
  white-space: nowrap;
}
.nav a:hover { color: #fff; }

.sprache {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--rand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.sprache a {
  padding: 4px 11px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--txt-mute);
  letter-spacing: .04em;
}
.sprache a[aria-current="true"] { background: var(--orange); color: #fff; }

/* Menue-Schalter fuer schmale Fenster */
.menue-schalter {
  display: none;
  margin-left: auto;
  width: 44px; height: 40px;
  background: transparent;
  border: 1px solid var(--rand-hell);
  border-radius: var(--r-sm);
  color: #fff;
  cursor: pointer;
  padding: 0;
}
.menue-schalter span {
  display: block;
  width: 18px; height: 2px;
  margin: 3px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menue-schalter[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menue-schalter[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menue-schalter[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---- Schaltflaechen ----------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease,
              border-color .16s ease, color .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

.btn-haupt {
  background: linear-gradient(135deg, var(--orange) 0%, #d94600 100%);
  color: #fff;
  box-shadow: 0 6px 20px var(--orange-schein);
}
.btn-haupt:hover {
  background: linear-gradient(135deg, #ff7300 0%, var(--orange) 100%);
  box-shadow: 0 10px 28px rgba(255, 90, 0, .5);
}

.btn-klein { padding: 10px 20px; font-size: 15px; }

.btn-rand {
  background: rgba(255, 255, 255, .05);
  border-color: var(--rand);
  color: var(--txt);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-rand:hover { background: rgba(255, 255, 255, .12); border-color: var(--rand-hell); }

.btn-hell {
  background: rgba(255, 255, 255, .92);
  color: #0b0f19;
}
.btn-hell:hover { background: #fff; }

/* ---- Abschnitte --------------------------------------------------------- */

.abschnitt { position: relative; padding: clamp(64px, 9vw, 112px) 0; }

/* Die frueheren hellen und dunklen Baender sind jetzt zwei Abstufungen von
   Dunkel — sie gliedern die Seite weiter, lassen die Canvas aber durch. */
.abschnitt-mist {
  background: var(--flaeche-tief);
  border-top: 1px solid var(--rand);
  border-bottom: 1px solid var(--rand);
}
.abschnitt-dunkel {
  background: rgba(4, 6, 11, .68);
  border-top: 1px solid var(--rand);
  border-bottom: 1px solid var(--rand);
}

/* Der Kicker ist eine kleine Pille — im Kopfbereich mit pulsendem Punkt. */
.marke-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-lt);
  background: rgba(200, 137, 47, .1);
  border: 1px solid rgba(200, 137, 47, .28);
  border-radius: 999px;
  padding: 6px 16px;
  margin-bottom: 18px;
}
.marke-kicker::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.h2 { font-size: clamp(29px, 4.1vw, 45px); font-weight: 800; }
.h3 { font-size: clamp(20px, 2.2vw, 24px); }

.blei {
  font-size: clamp(17px, 1.7vw, 19px);
  color: var(--txt-mute);
  max-width: 62ch;
  margin-top: 18px;
}

.kopfblock { max-width: 700px; margin-bottom: clamp(40px, 5vw, 60px); }

/* ---- Held --------------------------------------------------------------- */

.held {
  position: relative;
  padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px);
}

.held-innen {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 68px);
  align-items: center;
}

/* Im Kopfbereich bekommt der Kicker Orange und einen pulsenden Punkt. */
.held .marke-kicker {
  color: var(--orange-hi);
  background: rgba(255, 90, 0, .12);
  border-color: var(--rand-orange);
}
.held .marke-kicker::before {
  width: 8px; height: 8px;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
  animation: pulsen 2.4s infinite;
}
@keyframes pulsen {
  0%   { transform: scale(.9);  box-shadow: 0 0 0 0 rgba(255, 90, 0, .7); }
  70%  { transform: scale(1.1); box-shadow: 0 0 0 9px rgba(255, 90, 0, 0); }
  100% { transform: scale(.9);  box-shadow: 0 0 0 0 rgba(255, 90, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .held .marke-kicker::before { animation: none; }
}

.held h1 {
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -.035em;
}
.held h1 em {
  font-style: normal;
  background: linear-gradient(96deg, var(--gold-lt) 0%, var(--orange-hi) 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.held .blei { max-width: 52ch; }

.held-knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.held-fuss {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 30px;
  font-size: 14.5px;
  color: var(--txt-mute);
}
.held-fuss span { display: inline-flex; align-items: center; gap: 8px; }
.held-fuss span::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px rgba(45, 212, 191, .6);
  flex: none;
}

/* ---- Bildschirm-Nachbau (Dashboard) ------------------------------------- */
/* Bleibt hell: so sieht die App aus. Der Kontrast macht sie zum Blickfang. */

.schirm {
  border-radius: var(--r-lg);
  background: linear-gradient(168deg, #fbfbfd, #eef0f6);
  box-shadow: var(--schatten-lg), 0 0 0 1px rgba(255, 255, 255, .12);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-7deg) rotateX(2.5deg);
  transform-origin: left center;
  color: var(--txt-hell);
}
@media (prefers-reduced-motion: reduce) { .schirm { transform: none; } }

.schirm-leiste {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: var(--navy);
  color: #fff;
}
/* In der Leiste des Nachbaus ist kein Platz fuer die Unterzeile. */
.schirm-leiste .marke-zeichen { width: 14px; height: 23px; }
.schirm-leiste .marke-wort { font-size: 15px; }
.schirm-leiste .marke-unter { display: none; }
.schirm-knoepfe { margin-left: auto; display: flex; gap: 6px; }
.schirm-knoepfe i {
  display: block;
  width: 26px; height: 15px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .17);
}

.schirm-koerper { padding: 16px; display: grid; gap: 12px; }

.kpi-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 11px;
  min-width: 0;
}
.kpi b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.kpi small { display: block; font-size: 10px; color: var(--txt-hell-mute); margin-top: 2px; }
.kpi.gruen b { color: #157f4a; }
.kpi.akzent { border-color: rgba(255, 90, 0, .4); box-shadow: inset 0 0 0 1px rgba(255, 90, 0, .12); }

.modul-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.modul {
  border-radius: 10px;
  padding: 12px 11px;
  color: #fff;
  min-height: 74px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.modul i { font-style: normal; font-size: 17px; line-height: 1; }
.modul b { font-size: 12.5px; font-weight: 700; }
.modul.m1 { background: var(--navy); }
.modul.m2 { background: #2a9d8f; }
.modul.m3 { background: #457b9d; }

.warnkarte {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  color: var(--txt-hell);
}
.warnkarte strong { display: block; font-size: 12px; margin-bottom: 6px; color: var(--navy); }
.warnzeile { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; color: var(--txt-hell-mute); }
.warnzeile em { font-style: normal; font-weight: 700; color: #c2410c; }

/* ---- Streifen mit Kennzahlen ------------------------------------------- */

.streifen { padding: 0 0 clamp(40px, 6vw, 64px); }
.streifen-gitter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--schatten);
  padding: 28px clamp(24px, 4vw, 40px);
}
.streifen-gitter div b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--orange-hi);
  letter-spacing: -.02em;
}
.streifen-gitter div span { font-size: 14.5px; color: var(--txt-mute); }

/* ---- Modulkarten (Bento) ------------------------------------------------ */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.mkarte {
  --akzent: var(--gold-lt);
  position: relative;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--schatten-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--uebergang), box-shadow var(--uebergang),
              border-color var(--uebergang), background-color var(--uebergang);
}
/* Farbkante oben, faehrt beim Zeigen aus */
.mkarte::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--akzent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
/* Farbhauch in der Ecke */
.mkarte::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -70px; top: -70px;
  width: 230px; height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--akzent), transparent 68%);
  opacity: .1;
  transition: opacity var(--uebergang);
}
.mkarte:hover {
  transform: translateY(-6px);
  background: var(--flaeche-hi);
  border-color: color-mix(in srgb, var(--akzent) 42%, transparent);
  box-shadow: var(--schatten);
}
.mkarte:hover::before { transform: scaleX(1); }
.mkarte:hover::after { opacity: .2; }
@media (prefers-reduced-motion: reduce) { .mkarte:hover { transform: none; } }

@supports not (border-color: color-mix(in srgb, red 40%, transparent)) {
  .mkarte:hover { border-color: var(--rand-hell); }
}

.mkarte-kopf {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.mkarte-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  flex: none;
  border-radius: 13px;
  font-size: 22px;
  line-height: 1;
  background: color-mix(in srgb, var(--akzent) 14%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--akzent) 30%, transparent);
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .mkarte-icon { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--rand); }
}
.mkarte-etikett {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--akzent);
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--akzent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--akzent) 26%, transparent);
  white-space: nowrap;
}
@supports not (background: color-mix(in srgb, red 10%, transparent)) {
  .mkarte-etikett { background: rgba(255, 255, 255, .07); border-color: var(--rand); }
}

.mkarte h3 { font-size: 21px; margin-bottom: 8px; }
.mkarte-blei { color: var(--txt-mute); font-size: 15px; }

/* Kompakte Merkmalsliste in der Karte */
.mliste {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 9px;
  font-size: 14.5px;
}
.mliste li {
  position: relative;
  padding-left: 22px;
  color: var(--txt-mute);
  line-height: 1.5;
}
.mliste li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 8px; height: 8px;
  border-radius: 3px;
  background: var(--akzent);
  opacity: .6;
}
.mliste li strong { color: var(--txt); font-weight: 650; }

/* Schlagworte am Kartenfuss */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 20px;
}
.chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--txt-mute);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--rand);
  border-radius: 7px;
  padding: 4px 9px;
  white-space: nowrap;
}

/* Breite Karte: Text links, Kennzahlen rechts */
.mkarte-breit { grid-column: span 6; }
.mkarte-breit .mkarte-innen {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.mkarte-breit .mliste { grid-template-columns: 1fr 1fr; gap: 9px 22px; }

.mkarte-tafel {
  background: rgba(0, 0, 0, .32);
  border: 1px solid var(--rand);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 12px;
}
.tafel-titel {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--txt-mute);
}
.tafel-wert {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rand);
}
.tafel-wert:last-child { padding-bottom: 0; border-bottom: 0; }
.tafel-wert span { font-size: 13.5px; color: var(--txt-mute); }
.tafel-wert b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--txt);
  white-space: nowrap;
}
.tafel-wert b.gruen { color: var(--gruen); }
.tafel-wert b.warn { color: #fb923c; }

/* Kleine Karten */
.mkarte-klein { grid-column: span 2; padding: 24px 22px; }
.mkarte-klein h3 { font-size: 18.5px; }
.mkarte-klein .mkarte-blei { font-size: 14.5px; }
.mkarte-klein .mliste { font-size: 14px; margin-top: 14px; }

/* Verwaltungsstreifen */
.mkarte-streifen { grid-column: span 6; }
.streifen-innen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}
.streifen-innen div { display: grid; gap: 4px; }
.streifen-innen i { font-style: normal; font-size: 20px; line-height: 1; }
.streifen-innen b { font-size: 15px; }
.streifen-innen small { font-size: 13.5px; color: var(--txt-mute); line-height: 1.45; }

/* ---- Funktionsreihen ---------------------------------------------------- */

.reihe {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.reihe + .reihe { margin-top: clamp(56px, 7vw, 96px); }
.reihe:nth-child(even) .reihe-text { order: 2; }

.liste { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.liste li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  color: var(--txt-mute);
}
.liste li strong { color: var(--txt); font-weight: 700; }
.liste li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(45, 212, 191, .16);
  border: 1px solid rgba(45, 212, 191, .3);
}
.liste li::after {
  content: "";
  position: absolute;
  left: 7px; top: 10px;
  width: 7px; height: 4px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

/* ---- Helle Nachbauten: Vertrag, Ausweis, Bestandsliste ------------------ */
/* Alles unter diesen drei Bloecken zeigt die App selbst und bleibt hell. */

.papier {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--schatten-lg);
  padding: 26px 24px;
  display: grid;
  gap: 11px;
  color: var(--txt-hell);
}
.papier-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.papier-kopf b { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--navy); }
.papier-kopf span { font-size: 11px; color: var(--txt-hell-mute); text-align: right; }
.balken { height: 8px; border-radius: 4px; background: var(--mist-2); }
.balken.k { width: 45%; }
.balken.m { width: 72%; }
.balken.g { width: 92%; }
.papier-gitter { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; margin: 4px 0; }
.feld { border: 1px solid var(--line); border-radius: 6px; padding: 7px 9px; }
.feld small { display: block; font-size: 9.5px; text-transform: uppercase; letter-spacing: .07em; color: #98a1b0; }
.feld b { font-size: 12.5px; color: var(--txt-hell); }
.unterschrift {
  border-top: 1px dashed #c3cad8;
  padding-top: 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.unterschrift small { font-size: 10px; color: var(--txt-hell-mute); }
.kritzel { width: 116px; height: 34px; }
.kritzel path { fill: none; stroke: var(--navy); stroke-width: 2.4; stroke-linecap: round; }

/* Ausweis-Vorschau */
.scan { display: grid; gap: 14px; }
.ausweis {
  background: linear-gradient(140deg, var(--navy), var(--navy-3));
  color: #fff;
  border: 1px solid var(--rand-hell);
  border-radius: var(--r);
  padding: 18px 20px;
  box-shadow: var(--schatten);
  display: grid;
  gap: 12px;
  position: relative;
  overflow: hidden;
}
.ausweis::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 44%, rgba(255, 255, 255, .13) 50%, transparent 56%);
}
.ausweis-kopf { display: flex; justify-content: space-between; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt); }
.ausweis-zeilen { display: grid; grid-template-columns: 52px 1fr; gap: 12px; align-items: center; }
.portrait { width: 52px; height: 66px; border-radius: 6px; background: rgba(255, 255, 255, .16); }
.ausweis .balken { background: rgba(255, 255, 255, .22); }
.pfeil { display: grid; place-items: center; font-size: 22px; color: var(--gold-lt); }
.treffer {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--schatten);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  color: var(--txt-hell);
}

/* Bestands-Tabelle */
.tabelle {
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--schatten-lg);
  overflow: hidden;
  font-size: 13.5px;
  color: var(--txt-hell);
}
.tabelle-kopf,
.tabelle-zeile {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 11px 16px;
  align-items: center;
}
.tabelle-kopf {
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tabelle-zeile + .tabelle-zeile { border-top: 1px solid var(--mist-2); }
.tabelle-zeile b { color: var(--navy); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pille {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
}
.pille.gut  { background: rgba(21, 127, 74, .12);  color: #157f4a; }
.pille.mahn { background: rgba(234, 88, 12, .13);  color: #c2410c; }
.pille.stopp{ background: rgba(220, 38, 38, .12);  color: #dc2626; }
.marge { font-weight: 700; color: #157f4a; text-align: right; }

/* ---- Ablauf ------------------------------------------------------------- */

.schritte {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  counter-reset: schritt;
}
.schritt {
  position: relative;
  padding-top: 26px;
  border-top: 2px solid var(--rand);
  counter-increment: schritt;
}
.schritt::before {
  content: counter(schritt, decimal-leading-zero);
  position: absolute;
  top: -16px; left: 0;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  background: #060911;
  color: var(--orange-hi);
  padding-right: 12px;
}
.schritt h3 { font-size: 20px; margin-bottom: 10px; }
.schritt p { color: var(--txt-mute); font-size: 15.5px; }

/* ---- Geraete ------------------------------------------------------------ */

.geraete {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.geraet {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--r);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 22px 20px;
  text-align: center;
  transition: transform var(--uebergang), border-color var(--uebergang);
}
.geraet:hover { transform: translateY(-4px); border-color: var(--rand-orange); }
@media (prefers-reduced-motion: reduce) { .geraet:hover { transform: none; } }
.geraet i { font-style: normal; font-size: 30px; display: block; margin-bottom: 10px; }
.geraet b { display: block; font-size: 15.5px; }
.geraet small { color: var(--txt-mute); font-size: 13.5px; }

/* ---- Fragen ------------------------------------------------------------- */

.fragen { max-width: 820px; margin-top: 8px; }
.frage {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: var(--r);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--uebergang);
}
.frage[open] { border-color: var(--rand-orange); }
.frage summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(16.5px, 2vw, 18.5px);
  font-weight: 700;
  letter-spacing: -.01em;
  list-style: none;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after {
  content: "+";
  margin-left: auto;
  font-size: 24px;
  font-weight: 400;
  color: var(--orange);
  line-height: 1;
  transition: transform .2s;
  flex: none;
}
.frage[open] summary::after { transform: rotate(45deg); }
.frage p { padding: 0 24px 22px; color: var(--txt-mute); }

/* ---- Aufruf ------------------------------------------------------------- */

.aufruf {
  position: relative;
  background: linear-gradient(140deg, rgba(26, 26, 46, .9), rgba(7, 10, 16, .92));
  border: 1px solid var(--rand-orange);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 68px) clamp(28px, 5vw, 60px);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--schatten-lg);
}
.aufruf::before {
  content: "";
  position: absolute;
  width: 540px; height: 540px;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 90, 0, .34), transparent 66%);
  pointer-events: none;
}
.aufruf > * { position: relative; }
.aufruf h2 { font-size: clamp(27px, 3.8vw, 40px); font-weight: 800; }
.aufruf p { color: var(--txt-mute); margin: 16px auto 0; max-width: 54ch; }
.aufruf-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 32px; }

/* ---- Fusszeile ---------------------------------------------------------- */

.fuss {
  position: relative;
  background: var(--grund-2);
  color: var(--txt-mute);
  border-top: 1px solid var(--rand);
  padding: 56px 0 30px;
  font-size: 14.5px;
}
.fuss-oben {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rand);
}
.fuss .marke { color: #fff; margin-bottom: 14px; }
.fuss h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #fff;
  margin-bottom: 14px;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { text-decoration: none; transition: color .16s; }
.fuss a:hover { color: var(--orange-hi); }
.fuss-unten {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13.5px;
}

/* ---- Einblenden beim Scrollen ------------------------------------------ */

.zeig {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .68, .3, 1);
}
.zeig.da { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .zeig { opacity: 1; transform: none; transition: none; }
}

/* ---- Rechtsseiten ------------------------------------------------------- */

/* Impressum und Datenschutz sind reiner Fliesstext. Damit das Gitter im
   Hintergrund nicht durch die Zeilen laeuft, liegt der Text auf einem Blatt. */
.recht {
  position: relative;
  max-width: 900px;
  margin: clamp(32px, 5vw, 56px) auto clamp(48px, 7vw, 80px);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
  background: rgba(7, 10, 16, .8);
  border: 1px solid var(--rand);
  border-radius: var(--r-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--schatten);
}
.recht h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; margin-bottom: 24px; }
.recht h2 { font-family: var(--font-display); font-size: 21px; margin: 40px 0 12px; }
.recht p, .recht ul { color: var(--txt-mute); max-width: 72ch; }
.recht ul { padding-left: 22px; display: grid; gap: 8px; }
.recht p + p { margin-top: 14px; }
.platzhalter {
  background: rgba(200, 137, 47, .1);
  border: 1px solid rgba(200, 137, 47, .3);
  border-left: 4px solid var(--gold);
  border-radius: var(--r-sm);
  padding: 16px 20px;
  color: var(--gold-lt);
  font-size: 15px;
  margin: 24px 0;
  max-width: 72ch;
}

/* ---- Schmale Fenster ---------------------------------------------------- */

@media (max-width: 1000px) {
  .held-innen { grid-template-columns: 1fr; }
  .schirm { transform: none; }
  .held-bild { order: 2; }
  .reihe { grid-template-columns: 1fr; }
  .reihe:nth-child(even) .reihe-text { order: 0; }

  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mkarte, .mkarte-klein { grid-column: span 1; }
  .mkarte-breit, .mkarte-streifen, .m-fuell { grid-column: span 2; }
  .mkarte-breit .mkarte-innen { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .menue-schalter { display: block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    background: rgba(7, 10, 16, .97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--rand);
    padding: 8px var(--pad) 20px;
    display: none;
  }
  .nav.offen { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 16px; }
  .nav .btn { margin-top: 16px; }
  .nav .sprache { align-self: flex-start; margin-top: 16px; }
  .kopf-innen { position: relative; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .kpi-reihe { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .mkarte, .mkarte-breit, .mkarte-klein, .mkarte-streifen, .m-fuell { grid-column: 1 / -1; }
  .mkarte-breit .mliste { grid-template-columns: 1fr; }
  .papier-gitter, .treffer { grid-template-columns: 1fr; }
  .tabelle-kopf, .tabelle-zeile { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .tabelle-kopf span:last-child, .tabelle-zeile .marge { display: none; }
  .held-knoepfe .btn, .aufruf-knoepfe .btn { width: 100%; }
  .fuss-oben { grid-template-columns: 1fr 1fr; }
}

/* ---- Druck -------------------------------------------------------------- */
/* Auf Papier ist Dunkelblau nur Toner — alles wird hell und schlicht. */

@media print {
  #hintergrund, .schleier, .kopf, .aufruf, .held-knoepfe { display: none !important; }
  html, body { background: #fff; color: #000; }
  .abschnitt, .abschnitt-mist, .abschnitt-dunkel, .held, .fuss,
  .mkarte, .frage, .geraet, .streifen-gitter, .aufruf, .recht {
    background: #fff !important;
    color: #000 !important;
    border-color: #ccc !important;
    box-shadow: none !important;
  }
  .blei, .mkarte-blei, .mliste li, .liste li, .chip, .frage p,
  .schritt p, .geraet small, .streifen-innen small, .fuss {
    color: #333 !important;
  }
  .mkarte h3, .liste li strong, .mliste li strong { color: #000 !important; }
}
