/* easyedits, Oberflaeche. Laut, dunkel, Desktop zuerst.
   Eine Akzentfarbe, eine Formsprache (4 px), Bewegung nur als Antwort. */

/* Schriften liegen selbst in static/schriften/ (seit 21.10.2026, vorher Google
   Fonts), nur latin und latin-ext. Archivo ist variabel, eine Datei fuer 400 bis 700. */
@font-face { font-family: "Archivo"; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("schriften/archivo-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-weight: 400 700; font-stretch: 100%; font-display: swap;
  src: url("schriften/archivo-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: "Archivo Black"; font-weight: 400; font-display: swap;
  src: url("schriften/archivo-black-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo Black"; font-weight: 400; font-display: swap;
  src: url("schriften/archivo-black-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; }

:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1b1b1f;
  --rand: #2a2a30;
  --rand-hell: #45454e;
  --text: #f4f4f2;
  --text-2: #9c9ca4;
  --akzent: #e8ff47;
  --akzent-text: #0b0b0c;
  --amber: #ffb01f;
  --fehler: #ff5a5a;
  --ok: #7cf59a;
  --radius: 4px;
  --display: "Archivo Black", Impact, "Arial Black", "Segoe UI", sans-serif;
  --lauf: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --leiste-hoehe: 88px;
  font-family: var(--lauf);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-bottom: var(--leiste-hoehe);
}

/* --- Einblenden beim Laden --------------------------------------------- */

@keyframes auftauchen {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* --- Hero: Logo und Videoband ------------------------------------------- */
/* Vorbild jp-performance.de: Logo mittig auf Schwarz, darunter ein Band
   ueber die volle Fensterbreite, stumm, Endlosschleife, ohne Bedienung. */

.hero, .schritt, .kopf {
  animation: auftauchen .7s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}
.hero {
  padding: 36px 0 0;              /* kein Seitenrand: das Band soll randlos liegen */
  text-align: center;
}
.logo {
  display: block;
  margin: 0 auto;
  width: min(420px, 70vw);
  height: auto;
}
.band {
  margin: 28px 0 0;
  background: #000;
  line-height: 0;
}
.band-video {
  display: block;
  width: 100%;
  aspect-ratio: 1920 / 800;
  object-fit: cover;
  background: #000;
}

/* --- Kopf ---------------------------------------------------------------- */

.kopf, .seite, .leiste-innen {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  padding-left: 32px;
  padding-right: 32px;
}

.kopf { padding-top: 44px; padding-bottom: 8px; }

.marke {
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}
.marke span { color: var(--akzent); }

.schlagzeile {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 8.5vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 28px 0 20px;
}
.schlagzeile em {
  font-style: normal;
  color: var(--akzent);
}

.claim {
  font-size: 18px;
  color: var(--text-2);
  margin: 0;
  max-width: 44ch;
}

/* Erklaervideo: Knopf unter dem Claim, Video im Dialog ueber der Seite. */
.erklaer-knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 10px 18px 10px 12px;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--rand-hell);
  border-radius: var(--radius);
  font: 600 15px var(--lauf);
  cursor: pointer;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.erklaer-knopf svg {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--akzent);
  color: var(--akzent-text);
}
.erklaer-knopf:hover { border-color: var(--text); transform: translateY(-2px); }

.erklaer {
  padding: 0;
  border: 0;
  background: #000;
  border-radius: var(--radius);
  width: min(92vw, calc(88vh * 9 / 16));
  max-height: 88vh;
  overflow: visible;
}
.erklaer::backdrop { background: rgba(0, 0, 0, .82); }
.erklaer video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; border-radius: var(--radius); }
.erklaer-zu {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--text);
  color: var(--bg);
  font: 700 26px/1 var(--lauf);
  cursor: pointer;
}

/* --- Schritte ------------------------------------------------------------ */

.seite {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 24px;
  padding-bottom: 40px;
  flex: 1;
}

.schritt {
  padding: 40px 0 44px;
  border-top: 1px solid var(--rand);
}

.schritt-kopf {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.nr {
  font-family: var(--display);
  font-size: 112px;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--akzent);
  user-select: none;
}
.schritt h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 6px;
  line-height: 1;
}

.hinweis {
  color: var(--text-2);
  margin: 0 0 20px;
  font-size: 15px;
  max-width: 70ch;
}
#schritt-laenge .hinweis { margin: 20px 0 0; }

.zeile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.zaehler {
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-2);
}
.zaehler.ok { color: var(--ok); }
.warnung {
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--amber);
}
.klein {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
}

/* --- Neun Plaetze -------------------------------------------------------- */
/* Quadratische Kacheln, drei je Reihe, in voller Breite wie die
   Stilkacheln darunter, gleicher Abstand, gleiche rechte Kante. Die
   Silhouette ist eine PNG-Maske (static/silhouetten) in currentColor. */

.slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.slot {
  cursor: pointer;
  outline: none;
}
.slot-bild {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 2px solid var(--rand);
  border-radius: var(--radius);
  background: var(--bg-2);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #8d8d95;
  transition: border-color .2s var(--ease), background .2s, color .2s, transform .35s var(--ease);
}
.slot:hover .slot-bild, .slot:focus-visible .slot-bild, .slot.aktiv .slot-bild {
  border-color: var(--akzent);
  background: var(--bg-3);
  color: var(--akzent);
  transform: translateY(-2px);
}
.slot.belegt .slot-bild { border-color: var(--rand-hell); background: #000; }
.slot.belegt:hover .slot-bild { border-color: var(--akzent); }
.slot-sil {
  width: 78%;
  aspect-ratio: 1 / 1;
  display: block;
}
.slot-maske {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--sil) center / contain no-repeat;
  mask: var(--sil) center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.slot:hover .slot-maske { transform: scale(1.04); }
.slot-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slot-nr {
  position: absolute;
  top: 6px; left: 8px;
  font-family: var(--display);
  font-size: 12px;
  color: var(--text);
  background: rgba(11, 11, 12, .72);
  padding: 2px 7px;
  border-radius: var(--radius);
}
.slot-haupt {
  position: absolute;
  left: 6px; bottom: 6px;
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--akzent);
  color: var(--akzent-text);
  padding: 3px 7px;
  border-radius: var(--radius);
}
.slot .entfernen {
  position: absolute;
  top: 6px; right: 6px;
  width: 26px; height: 26px;
  border-radius: var(--radius);
  border: 0;
  background: rgba(11, 11, 12, .78);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 26px;
  padding: 0;
  transition: background .15s;
}
.slot .entfernen:hover { background: var(--fehler); }
/* Felge und Innenraum: Bestaetigung im Platz, bevor "Erstellen" frei wird. */
/* Hinweis bei Rad und Innenraum, nicht klickbar (20.10.2026) */
.slot-ki {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 6px 8px;
  pointer-events: none;
  background: rgba(11, 11, 12, .82);
  border-top: 2px solid var(--amber);
  color: var(--text);
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  cursor: default;
}
.slot-ki[hidden] { display: none; }
.slot-name {
  margin-top: 6px;
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
}

/* --- Stile --------------------------------------------------------------- */

.stile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.stil {
  text-align: left;
  border: 2px solid var(--rand);
  background: var(--bg-2);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 200px;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 18px;
  cursor: pointer;
  font: inherit;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s, transform .35s var(--ease);
}
.stil:hover { border-color: var(--rand-hell); transform: translateY(-3px); }
.stil:active { transform: translateY(0) scale(.99); }
.stil.gewaehlt {
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--akzent-text);
}
/* Beispielclip aus vorhandenen Testvideos (static/stile/beispiele.py):
   links in der Kachel, damit der Kunde vor der Wahl sieht, was der Stil
   ergibt. Feste Breite, volle Kartenhoehe, gleicher Rand oben und unten.
   Die Hoehe bestimmt der Text; der Rahmen hat keine eigene Hoehe und das
   Video liegt absolut darin, sonst zieht die Eigengroesse des Videos die
   Karte auf. Seitlich wird der 9:16-Clip dafuer leicht beschnitten. */
.stil .vorschau {
  flex: 0 0 auto;
  align-self: stretch;
  width: 110px;
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
  background: #000;
}
.stil .beispiel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.stil .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}
.stil .name {
  font-family: var(--display);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.stil .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.stil .tag {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: var(--radius);
  border: 1px solid var(--rand-hell);
  color: var(--text-2);
  transition: border-color .2s, color .2s;
}
.stil.gewaehlt .tag {
  border-color: rgba(11, 11, 12, .35);
  color: var(--akzent-text);
}

/* --- Laenge -------------------------------------------------------------- */

.dauern {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  gap: 16px;
}
.dauer {
  font: inherit;
  color: var(--text);
  border: 2px solid var(--rand);
  background: var(--bg-2);
  border-radius: var(--radius);
  padding: 18px 20px 16px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s, transform .35s var(--ease);
}
.dauer:hover { border-color: var(--rand-hell); transform: translateY(-3px); }
.dauer:active { transform: translateY(0) scale(.99); }
.dauer.gewaehlt {
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--akzent-text);
}
.dauer .zahl {
  font-family: var(--display);
  font-size: 56px;
  line-height: .9;
  letter-spacing: -0.03em;
}
.dauer .einheit {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
}
.dauer.gewaehlt .einheit { color: var(--akzent-text); }
/* Endpreis je Laenge (20.10.2026) */
.dauer .preis {
  margin-top: 8px;
  font-size: 15px;
  font-weight: 700;
}

/* --- Knoepfe ------------------------------------------------------------- */

.primaer {
  font: inherit;
  font-family: var(--display);
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: var(--akzent);
  color: var(--akzent-text);
  border: 0;
  border-radius: var(--radius);
  padding: 16px 32px;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s var(--ease), opacity .2s, background .2s;
}
.primaer:hover:not(:disabled) { background: #f0ff6e; transform: translateY(-2px); }
.primaer:active:not(:disabled) { transform: translateY(0) scale(.98); }
.primaer:disabled { opacity: .3; cursor: not-allowed; }

.sekundaer {
  font: inherit;
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--text);
  border: 2px solid var(--rand-hell);
  border-radius: var(--radius);
  padding: 14px 24px;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, transform .2s var(--ease);
}
.sekundaer:hover { border-color: var(--text); transform: translateY(-2px); }

/* --- Leiste unten, immer sichtbar --------------------------------------- */

.leiste {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--leiste-hoehe);
  background: rgba(11, 11, 12, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--rand);
  z-index: 10;
}
.leiste-innen, .leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.leiste { padding: 0 32px; }
.leiste-info {
  font-family: var(--display);
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text-2);
  max-width: 60ch;
  line-height: 1.25;
}
.leiste-info.bereit { color: var(--text); }
.zugang {
  font: inherit;
  font-size: 15px;
  width: 170px;
  padding: 12px 14px;
  border: 2px solid var(--rand-hell);
  border-radius: var(--radius);
  background: var(--bg-2);
  color: var(--text);
  outline: none;
}
.zugang:focus { border-color: var(--akzent); }
.leiste-knopf {
  font-size: 20px;
  padding: 18px 44px;
}

/* --- Fehler, Verlauf, Ergebnis ------------------------------------------ */

.fehler {
  color: var(--fehler);
  border: 2px solid rgba(255, 90, 90, .45);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 14px;
  white-space: pre-wrap;
}

.verlauf h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(32px, 5vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: .95;
  margin: 0 0 16px;
}
.verlauf p { margin: 0 0 16px; color: var(--text-2); font-size: 16px; max-width: 60ch; }
.verlauf .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.verlauf .gross {
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  line-height: .9;
  letter-spacing: -0.03em;
  color: var(--akzent);
  margin: 8px 0 16px;
}

.fortschritt {
  height: 8px;
  border-radius: var(--radius);
  background: var(--bg-3);
  overflow: hidden;
  margin: 16px 0;
}
.fortschritt div {
  height: 100%;
  width: 35%;
  background: var(--akzent);
  animation: lauf 1.4s var(--ease) infinite;
}
@keyframes lauf {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

.ergebnis {
  display: grid;
  grid-template-columns: minmax(0, 320px) 1fr;
  gap: 40px;
  align-items: center;
}
/* Der Handyrahmen ist das einzige runde Element: er bildet ein Geraet ab. */
.handy {
  padding: 10px;
  border-radius: 32px;
  background: #1c1c20;
  border: 1px solid var(--rand-hell);
}
.handy video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 24px;
}

/* --- Fuss ---------------------------------------------------------------- */

.fuss {
  padding: 8px 32px 24px;
  text-align: center;
  color: var(--text-2);
  font-size: 12px;
}

/* Instagram und TikTok im Fuss (20.10.2026) */
.sozial {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 20px;
}
.sozial-titel {
  width: 100%;
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
}
.sozial-knopf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid var(--rand-hell);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition: border-color .2s, color .2s, transform .2s var(--ease);
}
.sozial-knopf svg { width: 20px; height: 20px; }
.sozial-knopf:hover { border-color: var(--akzent); color: var(--akzent); transform: translateY(-2px); }

/* --- Handy --------------------------------------------------------------- */

@media (max-width: 760px) {
  .kopf, .seite { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 24px 0 0; }
  .band { margin-top: 18px; }
  /* Vier Spuren waeren 95 px schmal. Das Band wird hoeher und zeigt
     die mittleren zwei Spuren in voller Hoehe (1920x800 auf 780 Breite). */
  .band-video { aspect-ratio: 960 / 800; }
  .schlagzeile { font-size: 40px; }     /* "3 BIS 9 FOTOS." bleibt eine Zeile */
  .claim { font-size: 16px; }
  .schritt { padding: 28px 0 32px; }
  .schritt-kopf { grid-template-columns: 64px 1fr; }
  .nr { font-size: 72px; }
  /* Drei je Reihe wie in der Foto-Vorlage auf dem Handy, bewusst klein. */
  .slots { gap: 10px; }
  .slot-name { font-size: 10px; letter-spacing: 0.02em; }
  .slot .entfernen { width: 34px; height: 34px; line-height: 34px; font-size: 18px; }
  .slot-nr { font-size: 11px; }
  .slot-haupt { font-size: 9px; }
  [class*="styles-module__toolbar___"] { display: none !important; }  /* Markier-Werkzeug nur am Schreibtisch */
  .stile { grid-template-columns: 1fr; }
  .stil { min-height: 0; gap: 14px; padding: 16px; }
  .stil .vorschau { width: 96px; }
  .dauern { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dauer { padding: 14px 12px 12px; }
  .dauer .zahl { font-size: 40px; }
  .ergebnis { grid-template-columns: 1fr; }
  /* Leiste gestapelt (20.10.2026): neben dem Knopf blieb fuer den Text nur
     eine schmale Spalte, Wort fuer Wort umbrochen. Jetzt Text oben, Knopf
     ueber die volle Breite. */
  :root { --leiste-hoehe: 118px; }
  .leiste { flex-direction: column; align-items: stretch; justify-content: center; padding: 10px 16px; gap: 8px; }
  .leiste-info { font-size: 12px; max-width: none; }
  .leiste-knopf { font-size: 16px; padding: 13px 22px; }
}

/* --- Weniger Bewegung ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .kopf, .schritt, .hero { animation: none; }
  .band-video { display: none; }
  .band { aspect-ratio: 1920 / 800; background: #000 url(/static/hero/band.jpg) center / cover no-repeat; }
  .fortschritt div { animation: none; width: 100%; opacity: .6; }
  .slot-bild, .slot-sil, .stil, .dauer, .primaer, .sekundaer, .erklaer-knopf { transition: none; }
  .slot:hover .slot-bild, .stil:hover, .dauer:hover, .primaer:hover:not(:disabled), .sekundaer:hover, .erklaer-knopf:hover { transform: none; }
}

/* --- Markier-Werkzeug ---------------------------------------------------- */

/* Agentation setzt seine Leiste fest unten rechts, genau in unsere. Der
   Klassenname ist gehasht, der Kern "__toolbar___" bleibt stabil. */
[class*="styles-module__toolbar___"] {
  bottom: calc(var(--leiste-hoehe) + 16px) !important;
}

/* Hinweis auf moegliche KI-Abweichungen, SPEC.md §9 (19.10.2026) */
.hinweis-ki { font-size: .85rem; color: var(--text-2); }
.akzeptieren {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 12px 0;
  font-size: .9rem;
  cursor: pointer;
}
.akzeptieren input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--akzent); flex: none; }

/* Kasse (AP-10): Links als Knoepfe */
.knoepfe a.sekundaer, .knoepfe a.primaer { text-decoration: none; }
.knoepfe button:disabled { opacity: .45; cursor: not-allowed; }

/* E-Mail fuer den Downloadlink in der Kasse (20.10.2026) */
.feld { display: flex; flex-direction: column; gap: 6px; margin: 16px 0; max-width: 420px; }
.feld span { font-size: .9rem; font-weight: 600; }
.feld input {
  font: inherit;
  color: var(--text);
  background: var(--bg-2);
  border: 2px solid var(--rand);
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
}
.feld input:focus { border-color: var(--akzent); }
.feld small { font-size: .8rem; color: var(--text-2); }
.verlauf .klein { font-size: .8rem; margin-top: -8px; }

/* --- Fahrzeugart (Auto / Motorrad, 19.10.2026) --------------------------- */

.fahrzeuge {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 16px;
  border: 2px solid var(--rand);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.fahrzeug {
  font: inherit;
  font-family: var(--display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-2);
  background: transparent;
  border: 0;
  border-radius: 2px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s;
}
.fahrzeug:hover { color: var(--text); }
.fahrzeug.gewaehlt { background: var(--akzent); color: var(--akzent-text); }
.wechsel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 16px;
  padding: 14px 16px;
  border: 1px solid var(--rand-hell);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.wechsel[hidden] { display: none; }
.wechsel .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Sprache (Auswahlliste, 13 Sprachen, 20.10.2026) --------------------- */

.sprachen {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
}
.sprache-wahl {
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 7px 10px;
  cursor: pointer;
}
.sprache-wahl:hover, .sprache-wahl:focus { border-color: var(--rand-hell); outline: none; }
.recht-hinweis { font-size: 12px; color: var(--text-2); margin: 6px 0 0; }

/* --- Stil ohne Beispielclip (19.10.2026) ---------------------------------- */
.beispiel-folgt {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-2);
  border: 1px dashed var(--rand-hell);
  border-radius: var(--radius);
}

/* --- Rechtstexte (20.10.2026) ------------------------------------------- */

.recht-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-bottom: 8px; }
.recht-links a, .akzeptieren a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
.recht-links a:hover, .akzeptieren a:hover { color: var(--text); }

body.recht-seite { padding-bottom: 0; }
.recht-kopf {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 0;
  font-size: .9rem;
}
.recht-kopf a { color: var(--text-2); text-decoration: none; }
.recht-kopf a:hover { color: var(--text); }
.recht {
  flex: 1;
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 16px 48px;
  line-height: 1.6;
}
.recht h1 { font-family: var(--display); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.05; margin: 8px 0 24px; }
.recht h2 { font-size: 1.1rem; margin: 32px 0 8px; }
.recht h3 { font-size: 1rem; margin: 20px 0 6px; color: var(--text-2); }
.recht p { margin: 0 0 12px; overflow-wrap: anywhere; }
.recht a { color: var(--akzent); }
.recht-notiz, .recht-stand { color: var(--text-2); font-size: .85rem; }
.recht-formular { border: 1px solid var(--rand); border-radius: var(--radius); padding: 16px; background: var(--bg-2); }

.hinweis-art { color: var(--amber); }
