/* Gestaltung angelehnt an gsstolpen.de: Weiß, Stahlblau, Petrol, Orbitron + Roboto Slab, eckig */
@font-face { font-family: "Orbitron"; src: url("/marke/orbitron-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("/marke/orbitron-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("/marke/robotoslab-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Slab"; src: url("/marke/robotoslab-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --blau: #0073b0;        /* 4,9:1 auf Weiß */
  --blau-dunkel: #005a8a; /* Hover */
  --petrol: #003652;
  --panel: #eef2f4;
  --linie: #c9d3d9;
  --text: #1d2a33;
  --leise: #4f5f6a;       /* 6,4:1 auf Weiß */
  --warnung: #8a5300;     /* 6,1:1 auf Weiß */
  --fehler: #b00020;
  --weiss: #fff;
  --titel: "Orbitron", "Segoe UI", Arial, sans-serif;
  --fliess: "Roboto Slab", Georgia, serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--weiss); color: var(--text); font: 16px/1.6 var(--fliess); }
.vorlesen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

.sprunglink { position: absolute; left: 8px; top: -60px; background: var(--petrol); color: #fff; padding: 10px 16px; z-index: 10; }
.sprunglink:focus { top: 8px; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--linie); background: #fff; }
.kopf-innen { max-width: 1240px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { width: 220px; height: auto; display: block; }

/* Fortschritt */
.fortschritt { background: var(--panel); border-bottom: 1px solid var(--linie); }
.fortschritt ol { list-style: none; margin: 0 auto; padding: 0 24px; max-width: 1240px; display: grid; grid-template-columns: repeat(5, 1fr); }
.fortschritt a { display: flex; align-items: center; gap: 10px; padding: 14px 8px; min-height: 52px; color: var(--leise); text-decoration: none;
  font-family: var(--titel); text-transform: uppercase; font-size: 14px; letter-spacing: 0.03em; border-bottom: 3px solid transparent; }
.fortschritt .nr { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 2px solid currentColor; font-size: 13px; flex: none; }
.fortschritt a[aria-current="step"] { color: var(--blau); border-bottom-color: var(--blau); }
.fortschritt a[aria-current="step"] .nr { background: var(--blau); border-color: var(--blau); color: #fff; }
.fortschritt a.erledigt { color: var(--petrol); }
.fortschritt a.erledigt .nr { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.fortschritt a[aria-disabled="true"] { pointer-events: none; opacity: 0.55; }

/* Inhalt */
.inhalt { max-width: 1240px; margin: 0 auto; padding: 32px 24px 48px; }
.inhalt:focus { outline: none; }
h1, h2, legend { font-family: var(--titel); text-transform: uppercase; color: var(--blau); font-weight: 400; letter-spacing: 0.02em; }
h1 { font-size: clamp(24px, 3.2vw, 36px); margin: 0 0 24px; line-height: 1.2; }
h1:focus { outline: none; }
h2 { font-size: 18px; margin: 24px 0 8px; }

/* Schritt 1: Kacheln wie die Geschäftsbereiche */
.produktkacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.produktkachel {
  width: 100%; min-height: 260px; border: 0; cursor: pointer; color: #fff; text-align: center;
  background: linear-gradient(135deg, rgba(0,115,176,0.92), rgba(0,90,138,0.96)), repeating-linear-gradient(100deg, #8aa2b2 0 2px, #9db3c1 2px 5px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px 12px;
  font-family: var(--fliess); transition: filter 0.15s;
}
.produktkachel:hover { filter: brightness(1.08); }
.produktkachel svg { width: 84px; height: 84px; stroke: #fff; fill: none; stroke-width: 2.5; }
.produktkachel .name { font-family: var(--titel); text-transform: uppercase; font-size: clamp(13px, 1.25vw, 18px); letter-spacing: 0.02em; hyphens: manual; overflow-wrap: normal; }
/* weiche Trennstellen (Handtuch-halter usw.) setzt app.js; nie einzelne Buchstaben umbrechen */
.produktkachel .details { font-size: 15px; opacity: 0.95; text-transform: none; font-family: var(--fliess); letter-spacing: 0; }
/* gewählte Kachel: Rahmen außerhalb, damit alle Kacheln gleich groß bleiben */
.produktkachel { position: relative; }
.produktkachel[aria-pressed="true"] { outline: 3px solid var(--petrol); outline-offset: 3px; }
.produktkachel[aria-pressed="true"]::after {
  content: "✓ Ausgewählt"; position: absolute; top: 10px; right: 10px; background: #fff; color: var(--petrol);
  font: 12px var(--titel); text-transform: uppercase; padding: 4px 8px;
}

/* Schritt 2 */
.gestalten { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, 1fr); gap: 32px; align-items: start; }
.buehne { margin: 0; position: sticky; top: 16px; border: 1px solid var(--linie);
  background: radial-gradient(ellipse at 30% 30%, #f4f7f9 0%, #d9e1e6 55%, #b9c6cf 100%); }
.ansichten { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 0; background: #fff; }
.ansichten button[aria-pressed="true"] { background: var(--blau); color: #fff; }
.raum { position: relative; height: 52vh; min-height: 300px; touch-action: none; cursor: grab; }
.raum:active { cursor: grabbing; }
.raum canvas { display: block; width: 100%; height: 100%; }
.bild { height: 52vh; min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 48px 16px 8px; color: var(--petrol); }
.bild svg { width: 100%; height: 100%; }
.drehknoepfe { position: absolute; top: 12px; right: 12px; display: flex; gap: 0; background: #fff; }
.infobox { background: rgba(0, 54, 82, 0.92); color: #fff; padding: 14px 18px; }
.status { margin: 0; font-size: 15px; }
.status.warnung { color: #ffd38a; }
.status.fehler { color: #ffb3b3; }
.preis { margin: 4px 0 0; font-family: var(--titel); font-size: 22px; }
.preis small { font-family: var(--fliess); font-size: 14px; margin-left: 8px; opacity: 0.9; }

.einstellungen { display: flex; flex-direction: column; gap: 8px; }
.gruppe { border: 0; border-top: 1px solid var(--linie); margin: 0 0 8px; padding: 12px 0 0; }
.gruppe legend { font-size: 15px; padding: 0 8px 0 0; }
.feld { display: block; margin: 12px 0 6px; font-size: 15px; color: var(--text); }
.feld.regler { display: flex; justify-content: space-between; }
.haken { display: flex; align-items: center; gap: 8px; margin: 10px 0 4px; font-size: 15px; color: var(--text); cursor: pointer; }
.haken input { width: 18px; height: 18px; accent-color: var(--blau); margin: 0; }
.feld output { font-family: var(--titel); color: var(--blau); }
.optional { color: var(--leise); font-size: 14px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"] {
  display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8a9aa5; border-radius: 0;
  font: inherit; color: var(--text); background: #fff;
}
input:focus { border-color: var(--blau); }
input[aria-invalid="true"] { border-color: var(--fehler); border-width: 2px; }
input.kurz { max-width: 160px; }
input[type="range"] { width: 100%; min-height: 44px; accent-color: var(--blau); }
.zeile { display: grid; grid-template-columns: 140px 1fr; gap: 16px; }

.chip {
  min-height: 48px; background: #fff; border: 1px solid var(--linie); border-radius: 0; color: var(--text); cursor: pointer; text-align: left;
}

/* je Zeile: Schriftauswahl (aufklappbare Liste) und Schrifthöhe nebeneinander, direkt unter dem Eingabefeld */
.zeilenwahl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 6px; }
.zeilenhoehe { display: flex; align-items: center; gap: 8px; }
.zeilenhoehe input { flex: 1; min-width: 0; }
.zeilenhoehe output { font-family: var(--titel); color: var(--blau); font-size: 14px; min-width: 52px; text-align: right; white-space: nowrap; }
.zeilenhoehe.leer { visibility: hidden; }
.combo { position: relative; }
/* Schriftmuster in der eingegebenen Schreibweise wie im Blech (Schreibschrift und Fraktur in Versalien unleserlich) */
.combo > button {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 44px; padding: 4px 12px;
  background: #fff; border: 1px solid #8a9aa5; border-radius: 0; color: var(--text); cursor: pointer; text-align: left;
  font-size: 20px; line-height: 1.3; text-transform: none; letter-spacing: 0;
}
.combo > button span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo > button::after {
  content: ""; flex: none; width: 7px; height: 7px; margin-bottom: 4px; border: solid var(--blau); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.combo [role="listbox"] {
  position: absolute; z-index: 20; left: 0; top: 100%; min-width: 100%; width: max-content; max-width: min(440px, calc(100vw - 32px));
  max-height: 340px; overflow-y: auto; margin: 2px 0 0; padding: 4px 0; list-style: none;
  background: #fff; border: 1px solid var(--blau); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.combo [role="listbox"]:focus-visible { outline: none; }
.combo [role="option"] { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 6px 12px; cursor: pointer; }
.combo [role="option"] .muster { font-size: 22px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.combo [role="option"] .schriftname { flex: none; font-size: 12px; color: var(--leise); }
.combo [role="option"]:hover, .combo [role="option"].aktiv { background: #e6f1f8; }
.combo [role="option"][aria-selected="true"] { box-shadow: inset 4px 0 0 var(--blau); }
@media (max-width: 480px) { .zeilenwahl { grid-template-columns: 1fr; gap: 2px; } }
.chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.chip { text-align: center; font-family: var(--titel); font-size: 14px; }
.chips.zwei { grid-template-columns: repeat(2, 1fr); }
.chips.drei { grid-template-columns: repeat(3, 1fr); }
.chips.drei .chip { font-size: 12px; padding: 4px; }
.chip[aria-checked="true"] { border: 2px solid var(--blau); background: #e6f1f8; }

/* Buttons */
button, .umriss, .primaer { font-family: var(--titel); text-transform: uppercase; letter-spacing: 0.03em; }
.primaer { min-height: 48px; padding: 12px 24px; border: 2px solid var(--blau); background: var(--blau); color: #fff; font-size: 15px; cursor: pointer; border-radius: 0; }
.primaer:hover { background: var(--blau-dunkel); border-color: var(--blau-dunkel); }
.primaer[aria-disabled="true"], .primaer:disabled { background: #9fb3c0; border-color: #9fb3c0; cursor: not-allowed; }
.umriss { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; border: 2px solid var(--blau);
  background: #fff; color: var(--blau); text-decoration: none; font-size: 14px; cursor: pointer; border-radius: 0; }
.umriss:hover { background: #e6f1f8; }
.umriss.klein { min-height: 40px; min-width: 44px; padding: 6px 12px; font-size: 13px; border-width: 1px; }

.aktionsleiste { display: flex; align-items: center; gap: 16px; justify-content: space-between; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--linie); }
.leistenpreis { font-family: var(--titel); color: var(--petrol); margin-left: auto; }

/* Schritt 3 */
.hinweis-pflicht { color: var(--leise); margin-top: -12px; }
#formular { max-width: 640px; }
.feldfehler { color: var(--fehler); margin: 4px 0 0; font-size: 14px; min-height: 0; }
.feldfehler:empty { display: none; }
.fehlerliste { border: 2px solid var(--fehler); padding: 12px 16px; margin-bottom: 16px; max-width: 640px; }
.fehlerliste h2 { color: var(--fehler); margin: 0 0 6px; font-size: 16px; }
.fehlerliste ul { margin: 0; padding-left: 20px; }
.fehlerliste a { color: var(--fehler); }

.staffel { border-collapse: collapse; margin-top: 16px; min-width: 280px; font-variant-numeric: tabular-nums; }
.staffel caption { text-align: left; font-family: var(--titel); text-transform: uppercase; color: var(--blau); font-size: 14px; padding-bottom: 6px; }
.staffel th, .staffel td { text-align: left; padding: 6px 16px 6px 0; border-bottom: 1px solid var(--linie); }
.staffel th { color: var(--leise); font-weight: 400; font-size: 14px; }
.staffel tr.aktiv td { color: var(--blau); font-weight: 700; }

/* Schritt 4 */
.pruefen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.pruef-vorschau { background: var(--panel); border: 1px solid var(--linie); padding: 16px; color: var(--petrol); }
.pruef-vorschau svg { width: 100%; height: auto; }
.zusammenfassung { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.zusammenfassung dt { color: var(--leise); }
.zusammenfassung dd { margin: 0; }
.preisaufstellung dd { text-align: right; font-variant-numeric: tabular-nums; }
.preisaufstellung .summe { font-weight: 700; border-top: 1px solid var(--linie); padding-top: 6px; }
.aendern, .link { color: var(--blau); font-weight: 700; }
.kleingedruckt { color: var(--leise); font-size: 14px; }
.fehler { color: var(--fehler); }

.bestaetigung { background: var(--panel); border-left: 4px solid var(--blau); padding: 20px 24px; max-width: 640px; }

/* Umschalter Produktgestaltung / Kampagnenplanung */
.bereiche { display: flex; }
.bereiche a, .bereiche button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--blau); color: var(--blau);
  text-decoration: none; font-family: var(--titel); text-transform: uppercase; font-size: 13px; letter-spacing: 0.03em; }
.bereiche a + a, .bereiche button + button { border-left: 0; }
.bereiche button { background: #fff; cursor: pointer; border-radius: 0; }
.bereiche a[aria-current="page"], .bereiche button[aria-pressed="true"] { background: var(--blau); color: #fff; }
.bereiche a:not([aria-current="page"]):hover, .bereiche button:not([aria-pressed="true"]):hover { background: #e6f1f8; }

.einladung { background: var(--panel); border-left: 4px solid var(--blau); padding: 10px 16px; margin: 0 0 20px; font-weight: 700; color: var(--petrol); }

/* Kampagnenplanung */
/* relative: sonst entkommt der absolut positionierte Vorlesetext dem Scrollrahmen */
.tabelle-rahmen { position: relative; overflow-x: auto; border: 1px solid var(--linie); }
.tabelle { width: 100%; border-collapse: collapse; font-size: 15px; }
.tabelle th, .tabelle td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.tabelle thead th { background: var(--panel); color: var(--leise); font-weight: 400; font-size: 14px; white-space: nowrap; }
.tabelle tbody th { font-weight: 700; }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; }
.tabelle .wahl { width: 44px; }
.tabelle .wahl input { width: 22px; height: 22px; accent-color: var(--blau); }
.tabelle .aktionen { white-space: nowrap; }
.tabelle .aktionen > * + * { margin-left: 12px; }
.linkknopf { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; text-transform: none; letter-spacing: normal; text-decoration: underline; cursor: pointer; }
.knoepfe { display: flex; gap: 12px; }
.tabelle .leer { color: var(--leise); }
.sperre { color: var(--fehler); }
.kampagnen-kopf { grid-template-columns: 1fr 200px 150px; max-width: 800px; }
input[type="number"] { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8a9aa5; border-radius: 0; font: inherit; color: var(--text); background: #fff; }

/* Aktionsrabatt: rotes Preisschild wie im Handel, gestrichener Preis mit Aktionspreis daneben */
.aktionsschild { display: inline-flex; align-items: baseline; gap: 6px; position: relative; vertical-align: middle;
  background: #c8102e; color: #fff; font-family: var(--titel); text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 12px; line-height: 1; padding: 7px 12px 7px 22px; margin-right: 10px; transform: rotate(-3deg);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); }
.aktionsschild::before { content: ""; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #fff; }
.aktionsschild .prozent { font-size: 16px; font-weight: 700; }
.altpreis { color: var(--leise); text-decoration: line-through; text-decoration-color: #c8102e; text-decoration-thickness: 2px; font-size: 0.85em; }
.aktionspreis { color: #c8102e; text-decoration: none; font-weight: 700; }
.produktkachel .aktionsschild { position: absolute; top: 14px; left: -6px; margin: 0; font-size: 10px; padding: 6px 10px 6px 19px; }
.produktkachel .aktionsschild .prozent { font-size: 13.5px; }
.produktkachel .altpreis { color: #fff; opacity: 0.8; text-decoration-color: #fff; }
.produktkachel .aktionspreis { color: #fff; }
.preis .aktionsschild { margin-bottom: 6px; }
/* dunkle Preisleiste unter der Vorschau: hell statt rot, sonst zu wenig Kontrast */
.preis .altpreis { color: #fff; opacity: 0.75; text-decoration-color: #ff8a96; }
.preis .aktionspreis { color: #fff; }
h2 .aktionsschild { font-size: 11px; margin-left: 12px; }
.aktion-hinweis { background: #fdecee; border-left: 4px solid #c8102e; padding: 10px 14px; margin: 0 0 12px; }
#kSuche { max-width: 640px; margin-bottom: 12px; }
#kampagnenFormular .aktionsleiste { margin-top: 16px; }
input[type="date"], input[type="search"], input[type="url"] { display: block; width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #8a9aa5; border-radius: 0; font: inherit; color: var(--text); background: #fff; }

.aktionsleiste.oben { margin: 0 0 24px; padding: 0 0 16px; border-top: 0; border-bottom: 1px solid var(--linie); justify-content: flex-start; }
.aktionsleiste.oben .primaer { margin-left: auto; }
.qrbogen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
.qrkarte { display: flex; gap: 16px; align-items: center; border: 1px solid var(--linie); padding: 12px; break-inside: avoid; }
.qrkarte .qr { width: 120px; flex: none; }
.qrkarte .qr svg { display: block; width: 100%; height: auto; }
.qrlink { font-size: 12px; color: var(--leise); word-break: break-all; }
.qrkarte .leise, .qrkarte .qrlink { color: var(--text); }
.wunsch { max-width: 640px; margin: 32px 0 0; padding: 16px 20px; background: var(--panel); border-left: 4px solid var(--blau); }
.wunsch h2 { margin-top: 0; }
.wunsch textarea { display: block; width: 100%; padding: 10px 12px; border: 1px solid #8a9aa5; border-radius: 0; font: inherit; color: var(--text); background: #fff; resize: vertical; }
.wunsch .aktionsleiste { margin-top: 12px; padding-top: 0; border-top: 0; }
.wunsch #wunschStatus { margin: 0; }
.wuensche { list-style: none; margin: 0; padding: 0; max-width: 800px; }
.wuensche li { padding: 10px 0; border-bottom: 1px solid var(--linie); }
.wuensche li p { margin: 0; white-space: pre-line; }
.wuensche li p.leise { margin-bottom: 4px; }
.wuensche .leer { color: var(--leise); }
.heatlegende { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 16px; font-size: 14px; color: var(--leise); }
.heatlegende span { display: inline-flex; align-items: center; gap: 8px; }
.heatlegende i { display: inline-block; width: 64px; height: 14px; border: 1px solid var(--linie); }
.heatlegende .weiss { width: 20px; background: #fff; }
.heatlegende .gelb { background: linear-gradient(90deg, hsl(48 95% 93%), hsl(48 95% 66%)); }
.heatlegende .gruen { background: linear-gradient(90deg, hsl(130 50% 93%), hsl(130 50% 66%)); }
.leise { color: var(--leise); font-size: 14px; margin: 6px 0 0; }

@media print {
  .kopf, .fortschritt, .sprunglink, .nicht-drucken { display: none !important; }
  .inhalt { padding: 0; max-width: none; }
  h1 { font-size: 18px; color: #000; }
  .qrbogen { grid-template-columns: repeat(2, 1fr); gap: 8mm; }
  .qrkarte { border-color: #999; background: #fff !important; }
  .qrkarte .qr { width: 35mm; }
  .qrlink { color: #000; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

@media (max-width: 900px) {
  .gestalten, .pruefen { grid-template-columns: 1fr; }
  .buehne { position: relative; top: 0; }
  .drehknoepfe { position: static; justify-content: center; padding: 8px 0; background: transparent; }
  .raum, .bild { height: 38vh; min-height: 240px; }
  .produktkacheln { grid-template-columns: 1fr; }
  .produktkachel { min-height: 150px; flex-direction: row; justify-content: flex-start; text-align: left; }
  .produktkachel svg { width: 60px; height: 60px; flex: none; }
  .fortschritt .text { display: none; }
  .fortschritt a { justify-content: center; }
  .fortschritt a[aria-current="step"] .text { display: inline; }
  .fortschritt ol { grid-template-columns: auto auto auto auto auto; justify-content: space-between; }
  .aktionsleiste { position: sticky; bottom: 0; background: #fff; margin: 24px -16px 0; padding: 12px 16px; box-shadow: 0 -2px 8px rgba(0,0,0,0.12); z-index: 5; }
  .aktionsleiste .umriss { padding: 10px 12px; }
  .logo { width: 140px; }
  .kopf-innen { padding: 10px 16px; flex-wrap: wrap; }
  .bereiche { width: 100%; }
  .bereiche a { flex: 1 1 0; min-width: 0; justify-content: center; padding: 6px 4px; font-size: 11px; letter-spacing: 0; }
  .zeile.kampagnen-kopf { grid-template-columns: 1fr; gap: 0; }
  .inhalt { padding: 24px 16px 0; }
  .zeile { grid-template-columns: 110px 1fr; }
}

/* Fußzeile mit Impressum, Datenschutz und AGB (Konfigurator) */
.fuss { max-width: 1200px; margin: 40px auto 0; padding: 16px; border-top: 1px solid var(--linie); font-size: 14px; color: var(--leise);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.fuss p { margin: 0; }
.fuss a { color: inherit; }
#kPruefung { margin: 12px 0; }
#kAdresse { width: 100%; max-width: 640px; }

/* Schritt 5: Bezahlen (Stripe-Attrappe) */
.bezahlen { max-width: 640px; }
.zahlart { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.zahlart input { width: 20px; height: 20px; accent-color: var(--blau); }
.kartenfeld { border: 1px solid var(--linie); background: var(--panel); padding: 12px 16px 16px; margin: 8px 0 16px; }
.kartenfeld[hidden] { display: none !important; }
.testmodus { margin: 0 0 4px; font-size: 14px; color: var(--leise); }
.testmarke { display: inline-block; background: #ffde92; color: #5a4100; font-family: var(--titel); text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; padding: 2px 6px; margin-right: 6px; }
.karte-zeile { grid-template-columns: 1fr 1fr; }
.klarna-plaene { margin: 8px 0 0; }
.zahlfenster { border: 1px solid var(--linie); padding: 20px 24px; max-width: min(540px, calc(100vw - 32px)); width: 100%; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25); }
.zahlfenster::backdrop { background: rgba(0, 30, 50, 0.45); }
.zahlfenster h2 { margin-top: 0; }
.zahlfenster .aktionsleiste { margin-top: 16px; }

/* bis feststeht, ob der Kampagnenlink gilt: nichts vom Konfigurator zeigen */
.wartet #fortschritt, .wartet #inhalt { visibility: hidden; }
.gesperrt { max-width: 640px; }
.gesperrt p { font-size: 17px; }

/* Kampagnentool: Vorschau der Aktions-Mail */
.mailrahmen { display: block; width: 100%; max-width: 720px; height: 80vh; min-height: 520px; border: 1px solid var(--linie); background: #e6edf2; }
.mailversand { max-width: 720px; margin: 8px 0 20px; padding: 12px 16px; border: 1px solid var(--linie); }
.mailversand h2 { margin: 0 0 6px; font-size: 18px; }
.mailversand p { margin: 6px 0; }
a.primaer { display: inline-flex; align-items: center; text-decoration: none; }
a.primaer[aria-disabled="true"] { pointer-events: none; background: #9fb3c0; border-color: #9fb3c0; }
.heatlegende i.blau { background: #cfe6f5; }
#s-mail select { min-width: 280px; }
