/* Autoservice Böhme – Gestaltung
   Alles Betriebsspezifische steht oben in den Variablen. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --papier: #ecedea;
  --papier-2: #e0e2dd;
  --blatt: #f5f6f3;
  --tinte: #14181d;
  --tafel: #0e1217;
  --tafel-2: #171d25;
  --stahl: #566070;
  --linie: #c5c9cf;
  --bernstein: #ffb020;
  --rot: #ff4b3e;
  --fokus: #1a5fd0;
  --rahmen-breite: 1160px;
  --seite: clamp(18px, 4vw, 40px);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-stretch: 100%;
}

h1, h2, h3, p, dl, dd, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }

:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }
.cockpit :focus-visible, .abschnitt-dunkel :focus-visible { outline-color: var(--bernstein); }

.sprung {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--bernstein); color: var(--tafel); padding: 10px 16px; font-weight: 700; border-radius: 8px;
}
.sprung:focus { top: 12px; }

.rahmen { width: min(100%, var(--rahmen-breite)); margin-inline: auto; padding-inline: var(--seite); }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  border: 1.5px solid transparent; border-radius: 10px;
  font: inherit; font-weight: 700; font-stretch: 105%; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.knopf:active { transform: translateY(1px); }
.knopf-bernstein { background: var(--bernstein); color: var(--tafel); }
.knopf-bernstein:hover { background: #ffc24d; }
.knopf-hell { background: #fff; color: var(--tafel); }
.knopf-hell:hover { background: #e9ebee; }
.knopf-linie { border-color: rgba(255,255,255,.35); color: #fff; }
.knopf-linie:hover { border-color: #fff; }
.knopf-gross { min-height: 56px; width: 100%; font-size: 1.1rem; }

/* ---------- Cockpit (Kopf) ---------- */
.cockpit { background: var(--tafel); color: #fff; padding-bottom: clamp(40px, 6vw, 72px); }

.kopf { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.marke { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1.15; }
.marke-text { display: grid; }
.marke-bild { flex: none; height: 54px; width: auto; border-radius: 6px; }
@media (max-width: 600px) { .marke { gap: 10px; min-width: 0; } .marke-bild { height: 40px; } .marke-name { font-size: 1rem; } .marke-ort { display: none; } }
@media (max-width: 480px) { .kopf .marke-name { white-space: normal; font-size: .95rem; line-height: 1.15; } }
.marke-name { font-weight: 800; font-stretch: 125%; font-size: 1.15rem; letter-spacing: .005em; }
.marke-ort { font-size: .8rem; color: rgba(255,255,255,.62); }
.kopf-rechts { display: flex; align-items: center; gap: 18px; }
.offen { display: none; align-items: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.78); }
.offen:not([hidden]) { display: none; }
@media (min-width: 1000px) { .offen:not([hidden]) { display: inline-flex; white-space: nowrap; } }
.punkt { width: 9px; height: 9px; border-radius: 50%; background: #5b6572; }
.offen[data-zustand="auf"] .punkt { background: #46d58a; box-shadow: 0 0 0 4px rgba(70,213,138,.18); }

.held { padding-top: clamp(44px, 8vw, 104px); }
.held h1 {
  font-weight: 800; font-stretch: 125%;
  font-size: clamp(2.5rem, 2.2vw + 1.9rem, 5.4rem);
  line-height: 1.02; letter-spacing: -.015em; text-wrap: balance;
}
.held-text { margin-top: 22px; max-width: 64ch; font-size: 1.2rem; color: rgba(255,255,255,.74); }

/* Warnleuchten */
.leuchten { margin-top: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 760px) { .leuchten { grid-template-columns: repeat(6, 1fr); gap: 14px; } }

.leuchte {
  --c: var(--bernstein);
  appearance: none; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 1 / .9; padding: 10px 8px;
  background: var(--tafel-2); border: 1px solid rgba(255,255,255,.08); border-radius: 18px;
  transition: background-color .25s ease, border-color .25s ease;
}
.leuchte[data-farbe="rot"] { --c: var(--rot); }
.leuchte svg {
  width: 42%; max-width: 58px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  color: #3a4452; transition: color .25s ease, filter .25s ease;
}
.leuchte-name { font-size: .86rem; color: rgba(255,255,255,.55); transition: color .25s ease; }
.leuchte:hover svg { color: #5a6676; }

.leuchte.an, .leuchte[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--c) 55%, transparent);
  background: color-mix(in srgb, var(--c) 10%, var(--tafel-2));
}
.leuchte.an svg, .leuchte[aria-pressed="true"] svg {
  color: var(--c);
  filter: drop-shadow(0 0 5px var(--c)) drop-shadow(0 0 16px color-mix(in srgb, var(--c) 65%, transparent));
}
.leuchte.an .leuchte-name, .leuchte[aria-pressed="true"] .leuchte-name { color: #fff; }

/* Anzeige */
.anzeige {
  --c: rgba(255,255,255,.25);
  margin-top: 14px; padding: clamp(20px, 3vw, 32px);
  background: var(--tafel-2); border: 1px solid rgba(255,255,255,.08); border-left: 5px solid var(--c);
  border-radius: 18px; min-height: 236px; display: flex; align-items: center;
}
.anzeige[data-zustand="rot"] { --c: var(--rot); }
.anzeige[data-zustand="gelb"] { --c: var(--bernstein); }
.anzeige > div { width: 100%; }
.anzeige p { max-width: 64ch; }
.anzeige-titel { font-weight: 800; font-stretch: 112%; font-size: clamp(1.35rem, 1vw + 1.1rem, 1.9rem); line-height: 1.15; margin-bottom: 10px; }
.anzeige-kopf { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px; }
.anzeige-kopf .anzeige-titel { margin: 0; }
.anzeige-icon { width: 40px; height: 40px; fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px var(--c)); }
.anzeige-stufe { border: 1.5px solid var(--c); color: var(--c); border-radius: 999px; padding: 1px 12px; font-size: .88rem; font-weight: 700; }
.anzeige-tun { margin-top: 10px; color: rgba(255,255,255,.82); }
.anzeige-leer p:not(.anzeige-titel) { color: rgba(255,255,255,.74); margin-bottom: 20px; }
.anzeige-knoepfe { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

.mehr { margin-top: 14px; }
.mehr button { font: inherit; font-weight: 600; color: rgba(255,255,255,.8); background: none; border: 0; padding: 10px 2px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.mehr button:hover { color: #fff; }
.wa-link { align-self: center; color: rgba(255,255,255,.8); text-underline-offset: 4px; padding: 10px 2px; }
.wa-link:hover { color: #fff; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(64px, 9vw, 128px); }
.abschnitt-grau { background: var(--papier-2); }
.abschnitt-dunkel { background: var(--tafel); color: #fff; }

h2 { font-weight: 800; font-stretch: 115%; font-size: clamp(1.9rem, 1.6vw + 1.5rem, 3.1rem); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-weight: 700; font-stretch: 108%; font-size: 1.2rem; line-height: 1.25; }

.zweispaltig { display: grid; gap: 36px; }
@media (min-width: 900px) { .zweispaltig { grid-template-columns: 4fr 8fr; gap: 64px; } .spalte-kopf { position: sticky; top: 32px; align-self: start; } }
.spalte-kopf p { margin-top: 18px; color: var(--stahl); max-width: 36ch; }

.spalte-inhalt { min-width: 0; }

/* HU-Rechner */
.hu { margin-top: 48px; padding: clamp(20px, 3vw, 32px); border: 1.5px solid var(--tinte); border-radius: 16px; display: grid; gap: 24px; align-items: start; }
@media (min-width: 640px) { .hu { grid-template-columns: 120px 1fr; gap: 32px; } }
.hu h3 { font-size: 1.35rem; }
.hu-hilfe { margin-top: 6px; color: var(--stahl); font-size: .95rem; max-width: 46ch; }
.hu-felder { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 420px; }
.hu-ergebnis { margin-top: 16px; font-weight: 600; max-width: 52ch; }
.hu-ergebnis[data-stufe="zu-spaet"] { color: #b3261e; }
.hu-ergebnis[data-stufe="bald"] { color: #8a5200; }
.hu .knopf { margin-top: 18px; }
.knopf-dunkel { background: var(--tinte); color: #fff; }
.knopf-dunkel:hover { background: #2a313a; }

.plakette { position: relative; width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-stretch: 110%; box-shadow: inset 0 0 0 4px rgba(255,255,255,.35); transition: background-color .25s ease; }
.pl-monat { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); font-size: .95rem; line-height: 1; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.85); color: var(--tinte); }
.pl-jahr { font-size: 2.7rem; line-height: 1; margin-top: 12px; }
.pl-leer { background: var(--papier-2); color: var(--stahl); box-shadow: none; border: 2px dashed var(--linie); }
.pl-blau { background: #2a64c5; color: #fff; }
.pl-gelb { background: #f5d02b; color: var(--tinte); }
.pl-braun { background: #8b5a3a; color: #fff; }
.pl-gruen { background: #3b9a4a; color: #fff; }
.pl-orange { background: #f08a24; color: var(--tinte); }
.pl-rosa { background: #f4a6c2; color: var(--tinte); }

.liste li { display: grid; gap: 6px; padding-block: 22px; border-top: 1.5px solid var(--tinte); }
.liste li:last-child { border-bottom: 1.5px solid var(--tinte); }
@media (min-width: 700px) { .liste li { grid-template-columns: 1fr 1.3fr; gap: 28px; } }
.liste p { color: var(--stahl); }

/* Ablauf */
.ablauf { counter-reset: schritt; margin-top: 44px; display: grid; gap: 28px; }
.ablauf li { counter-increment: schritt; position: relative; padding-left: 52px; }
.ablauf li::before {
  content: counter(schritt); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--tinte); color: var(--bernstein); font-weight: 800; font-size: .95rem;
}
.ablauf li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: -24px; width: 2px; background: var(--linie); }
.ablauf p { margin-top: 6px; color: var(--stahl); max-width: 34ch; }
@media (min-width: 860px) {
  .ablauf { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .ablauf li { padding-left: 0; padding-top: 52px; }
  .ablauf li::before { top: 0; }
  .ablauf li:not(:last-child)::after { left: 46px; right: -22px; top: 16px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- Anfrage ---------- */
.anfrage-raster { display: grid; gap: 48px; }
@media (min-width: 960px) { .anfrage-raster { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .kontakt { position: sticky; top: 32px; } }

.kontakt-vor { margin-top: 16px; color: rgba(255,255,255,.74); max-width: 38ch; }
.kontakt-daten { margin-top: 36px; display: grid; gap: 26px; }
.kontakt-daten dt { font-size: .9rem; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.kontakt-daten a { text-underline-offset: 3px; }
.tel-gross { font-weight: 800; font-stretch: 112%; font-size: 1.8rem; text-decoration: none; }
.tel-gross:hover { color: var(--bernstein); }

.zeiten { border-collapse: collapse; width: 100%; max-width: 380px; }
.zeiten th, .zeiten td { text-align: left; font-weight: 400; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); vertical-align: top; }
.zeiten td { text-align: right; }
.zeiten tr.heute th, .zeiten tr.heute td { color: var(--bernstein); font-weight: 700; }

/* Auftragsschein */
.schein, .quittung {
  position: relative; background: var(--blatt); color: var(--tinte); border-radius: 16px;
  padding: clamp(20px, 3.4vw, 40px); display: grid; gap: 22px;
}
.schein-kopf { position: relative; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 2px dashed var(--linie); }
.schein-kopf::before, .schein-kopf::after {
  content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--tafel);
}
.schein-kopf::before { left: calc(-1 * clamp(20px, 3.4vw, 40px) - 10px); }
.schein-kopf::after { right: calc(-1 * clamp(20px, 3.4vw, 40px) - 10px); }
.schein-titel { font-weight: 800; font-stretch: 115%; font-size: 1.25rem; }
.schein-datum { color: var(--stahl); font-size: .92rem; white-space: nowrap; }
.schein-kopf { flex-wrap: wrap; }

.feld-reihe { display: grid; gap: 22px; }
@media (min-width: 640px) { .feld-reihe { grid-template-columns: 1fr 1fr; gap: 18px; } }
.feld { display: grid; gap: 7px; align-content: start; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld > span, .feld > legend { font-weight: 600; font-size: .95rem; padding: 0; }
.feld em { font-style: normal; font-weight: 400; color: var(--stahl); }

input[type="text"], input[type="tel"], select, textarea {
  width: 100%; height: 52px; padding: 0 14px; font: inherit; font-size: 1.0625rem; color: var(--tinte);
  background: #fff; border: 1.5px solid #aab0b9; border-radius: 8px; appearance: none; -webkit-appearance: none;
}
textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #8a929d; }
select {
  padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--tinte) 50%), linear-gradient(135deg, var(--tinte) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--fokus); outline-offset: 1px; border-color: var(--tinte); }
.feld.ungueltig input, .feld.ungueltig .kennzeichen { border-color: #b3261e; }

/* Kennzeichen-Feld */
.kennzeichen { display: flex; align-items: stretch; height: 52px; background: #fff; border: 2px solid var(--tinte); border-radius: 8px; overflow: hidden; }
.kennzeichen:focus-within { outline: 3px solid var(--fokus); outline-offset: 1px; }
.kennz-eu { flex: 0 0 40px; background: #003a9b; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding-bottom: 5px; font-weight: 700; font-size: .8rem; line-height: 1; }
.kennz-eu i { width: 16px; height: 16px; border-radius: 50%; border: 2px dotted #ffd84a; }
.kennzeichen input { border: 0; border-radius: 0; height: 100%; padding: 0 12px; font-weight: 700; font-stretch: 78%; font-size: 1.65rem; letter-spacing: .06em; text-transform: uppercase; outline: none; }
.kennzeichen input::placeholder { letter-spacing: .06em; font-weight: 600; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #aab0b9; border-radius: 999px; background: #fff; font-weight: 500; transition: background-color .15s ease, color .15s ease; }
.chips input:hover + span { border-color: var(--tinte); }
.chips input:checked + span { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.chips input:checked + span::before { content: "✓"; margin-right: 8px; color: var(--bernstein); font-weight: 800; }
.chips input:focus-visible + span { outline: 3px solid var(--fokus); outline-offset: 2px; }

/* Beschwerden genauer beschreiben */
.genau { border: 1.5px solid #aab0b9; border-radius: 12px; background: #fff; }
.genau summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 52px; font-weight: 600; border-radius: 12px; }
.genau summary::-webkit-details-marker { display: none; }
.genau summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--tinte); color: #fff; display: grid; place-items: center; font-weight: 700; line-height: 1; }
.genau[open] summary::after { content: "–"; }
.genau summary em { margin-left: auto; font-style: normal; font-weight: 700; color: #8a5200; font-size: .9rem; }
.genau summary:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.genau-innen { display: grid; gap: 22px; padding: 4px 16px 20px; }
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 560px) { .kacheln { grid-template-columns: repeat(3, 1fr); } }
.kacheln label { position: relative; display: block; }
.kacheln input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kacheln span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 10px 6px; text-align: center; font-size: .92rem; font-weight: 500; line-height: 1.25; background: var(--blatt); border: 1.5px solid #aab0b9; border-radius: 12px; transition: background-color .15s ease, color .15s ease; }
.kacheln svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--stahl); }
.kacheln input:hover + span { border-color: var(--tinte); }
.kacheln input:checked + span { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.kacheln input:checked + span svg { color: var(--bernstein); }
.kacheln input:focus-visible + span { outline: 3px solid var(--fokus); outline-offset: 2px; }

/* Fahrzeugschein-Scan */
.scan { position: relative; display: grid; gap: 10px; padding: 16px; border: 1.5px dashed #aab0b9; border-radius: 12px; background: #fff; }
.scan-text { font-size: .95rem; color: var(--stahl); }
.scan-text strong { color: var(--tinte); }
.scan-datei { position: absolute; opacity: 0; width: 1px; height: 1px; }
.scan-knopf { justify-self: start; }
.scan-datei:focus-visible + .scan-knopf { outline: 3px solid var(--fokus); outline-offset: 3px; }
.knopf-rand { border-color: var(--tinte); color: var(--tinte); background: transparent; }
.knopf-rand:hover { background: var(--tinte); color: #fff; }
.scan-status, .scan-ergebnis { font-size: .95rem; font-weight: 600; }
.scan-ergebnis { padding: 10px 12px; background: #eaf5ec; border-left: 4px solid #2f8a45; border-radius: 6px; }
.scan-ergebnis button { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--tinte); padding: 4px; font-weight: 400; }
.scan-status[data-stufe="fehler"] { color: #b3261e; }

.schein-leuchte { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff3d6; border: 1.5px solid var(--bernstein); border-radius: 8px; font-size: .95rem; }
.schein-leuchte[data-farbe="rot"] { background: #ffe5e2; border-color: var(--rot); }
.schein-leuchte button { font: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; color: var(--tinte); padding: 6px; }

.zustimmung { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: .92rem; color: var(--stahl); align-items: start; }
.zustimmung input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--tinte); }
.zustimmung.ungueltig { color: #b3261e; }

.falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.fehler { padding: 12px 14px; background: #ffe5e2; border-left: 4px solid #b3261e; color: #7a1710; border-radius: 6px; font-weight: 600; }

/* Quittung */
.quittung h3 { font-stretch: 115%; font-weight: 800; font-size: 1.8rem; }
.quittung dl { display: grid; gap: 0; border-top: 2px dashed var(--linie); }
.quittung dl div { display: grid; grid-template-columns: 9em 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.quittung dt { color: var(--stahl); }
.quittung dd { font-weight: 600; overflow-wrap: anywhere; }
.q-test { padding: 12px 14px; background: #eef1f6; border-left: 4px solid var(--fokus); border-radius: 6px; font-size: .95rem; }
[hidden] { display: none !important; }

/* ---------- Fuß ---------- */
.fuss { background: #090c10; color: rgba(255,255,255,.6); padding-block: 28px; font-size: .92rem; }
.fuss-innen { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
.fuss a { text-underline-offset: 3px; }
.fuss a:hover { color: #fff; }

/* ---------- Rechtstexte ---------- */
.text-seite { background: var(--papier); min-height: 100vh; }
.text-seite .kopf { border-bottom-color: rgba(255,255,255,.1); }
.text-kopf { background: var(--tafel); color: #fff; }
.text-inhalt { padding-block: 56px 96px; max-width: 760px; }
.text-inhalt h1 { font-weight: 800; font-stretch: 120%; font-size: clamp(2rem, 1.4vw + 1.6rem, 3rem); line-height: 1.1; margin-bottom: 28px; }
.text-inhalt h2 { font-size: 1.4rem; margin: 36px 0 10px; font-stretch: 108%; }
.text-inhalt p, .text-inhalt li { margin-bottom: 10px; max-width: 68ch; }
.text-inhalt ul { list-style: disc; padding-left: 1.3em; }
.platzhalter { background: #fff3d6; padding: 0 5px; border-radius: 3px; }

/* ---------- Kurzseite (Aufkleber-QR) ---------- */
.kurz-seite { background: var(--tafel); color: #fff; min-height: 100vh; display: flex; flex-direction: column; }
.kurz-kopf { border-bottom: 0; }
.kurz-inhalt { flex: 1; width: min(100%, 640px); padding-block: 32px 72px; }
.kurz-inhalt h1 { font-weight: 800; font-stretch: 120%; font-size: clamp(2rem, 1.4vw + 1.6rem, 3rem); line-height: 1.08; }
.kurz-hinweis { margin: 14px 0 28px; color: rgba(255,255,255,.78); max-width: 46ch; }
.kurz-inhalt .quittung h2 { font-size: 1.8rem; }
.kurz-seite .fuss { margin-top: auto; }

/* ---------- Aufkleber-Druck ---------- */
.auf-raster { display: grid; gap: 40px; padding-block: 48px 96px; }
@media (min-width: 960px) { .auf-raster { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.auf-eingabe h1 { font-weight: 800; font-stretch: 120%; font-size: clamp(1.9rem, 1.2vw + 1.5rem, 2.6rem); line-height: 1.1; margin-bottom: 14px; }
.auf-eingabe > p { color: var(--stahl); max-width: 52ch; margin-bottom: 26px; }
.auf-form { display: grid; gap: 18px; }
.auf-hinweis { font-size: .92rem; color: var(--stahl); }
.auf-leiste { margin-bottom: 18px; }
.auf-link { margin-top: 16px; font-size: .85rem; color: var(--stahl); overflow-wrap: anywhere; }
.bogen { display: flex; flex-wrap: wrap; gap: 14px; }
.aufkleber { width: 70mm; height: 40mm; box-sizing: border-box; padding: 3mm 3.5mm 2.5mm; background: #fff; color: #000; border: .3mm solid #888; border-radius: 2mm; display: grid; grid-template-columns: 1fr 24mm; grid-template-rows: 1fr auto; column-gap: 3mm; font-family: "Archivo", system-ui, sans-serif; break-inside: avoid; }
.aufkleber p { margin: 0; }
.auf-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.auf-klein { font-size: 8pt; font-weight: 600; }
.auf-datum { font-size: 22pt; font-weight: 800; font-stretch: 110%; line-height: 1.05; }
.auf-km { font-size: 8pt; }
.auf-kz { margin-top: 1.5mm; font-size: 11pt; font-weight: 700; font-stretch: 78%; letter-spacing: .06em; }
.auf-qr { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.auf-qr svg { width: 24mm; height: 24mm; display: block; }
.auf-qr p { font-size: 6pt; line-height: 1.15; margin-top: .5mm; }
.auf-fuss { grid-column: 1 / -1; margin-top: 1.5mm; padding-top: 1.2mm; border-top: .2mm solid #bbb; font-size: 6.5pt; text-align: center; }

@media print {
  @page { size: A4; margin: 10mm; }
  .aufkleber-seite { background: #fff; }
  .text-kopf, .auf-eingabe, .auf-leiste, .auf-link { display: none !important; }
  .auf-raster { display: block; padding: 0; }
  .rahmen { padding-inline: 0; width: auto; }
  .bogen { gap: 6mm; }
}

/* ---------- Schneller Weg zum Formular ---------- */
.kopf-termin { display: none; }
@media (min-width: 760px) { .kopf-termin { display: inline-flex; } }
.kopf .knopf, .marke-name { white-space: nowrap; }
#schein { scroll-margin-top: 16px; }

.leiste { display: none; }
@media (max-width: 759px) {
  .leiste {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px var(--seite) calc(10px + env(safe-area-inset-bottom));
    background: rgba(14,18,23,.96); border-top: 1px solid rgba(255,255,255,.12);
    transform: translateY(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .leiste.sichtbar { transform: none; visibility: visible; }
  .leiste-knopf { flex: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; border: 1.5px solid rgba(255,255,255,.3); border-radius: 10px; color: #fff; font-weight: 700; font-stretch: 105%; text-decoration: none; }
  .leiste-haupt { flex: 1.7; background: var(--bernstein); border-color: var(--bernstein); color: var(--tafel); }
  .leiste-knopf:focus-visible { outline: 3px solid var(--bernstein); outline-offset: 2px; }
  body.mit-leiste { padding-bottom: 76px; }
}
@media (prefers-reduced-motion: reduce) { .leiste { transition: none; } }
