/* ==========================================================================
   Online-Formulare – Gestaltung angelehnt an muehlhausen-kraichgau.de
   Farben/Werte direkt aus dem CSS der Gemeindewebseite übernommen.
   ========================================================================== */

@font-face { font-family: "Instrument Sans"; font-weight: 400; font-display: swap; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 500; font-display: swap; src: url("../fonts/instrument-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); }
/* Erweiterte lateinische Zeichen (ş, ğ, ł, ő …) für Namen */
@font-face { font-family: "Instrument Sans"; font-weight: 400 500; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF; }
@font-face { font-family: "Instrument Sans"; font-weight: 600; font-display: swap; src: url("../fonts/instrument-sans-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02FF, U+1E00-1EFF; }

:root {
  --blau: #264796;          /* --color-primary der Website */
  --blau-hell: #a8bcd8;     /* --color-primary-disabled */
  --text: #070e1d;          /* --color-font */
  --text-2: #4d5060;
  --grau: #959594;          /* --border-color */
  --creme: #fdf8ef;         /* --color-gray-light */
  --fehler: #b02a37;
  --fehler-rand: #dc3545;   /* --color-danger */
  --erfolg: #1e7b34;
  --warnung-bg: #fff8d6;
  --radius: 2.5rem;         /* --border-radius */
  --radius-klein: 1.25rem;
  --rand: 1rem;
  --kopf-hoehe: 4.5rem;
  --schrift: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
@media (min-width: 48rem) { :root { --rand: 3rem; --kopf-hoehe: 6.25rem; } }

html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--schrift);
  font-size: clamp(1rem, .94rem + .25vw, 1.1rem);
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: var(--blau); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprungmarke {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--blau); color: #fff; padding: .6rem 1.2rem; border-radius: var(--radius);
}
.sprungmarke:focus { top: 1rem; }

/* ── Kopf (wie muehlhausen-kraichgau.de: cremefarbener Balken, großes Logo) ── */
.kopf { background: var(--creme); }
.kopf__innen, .inhalt, .fuss__innen {
  max-width: 82.5rem; margin: 0 auto; padding-left: var(--rand); padding-right: var(--rand);
}
.kopf__innen { display: flex; align-items: center; min-height: var(--kopf-hoehe); }
/* Wortmarke „Onlinedienste“: Desktop neben dem Logo mit feinem Trennstrich, Handy unter dem Schriftzug */
.kopf__marke { display: flex; align-items: center; gap: 1.1rem; margin-left: 1.1rem; color: var(--blau); font-size: 1.4rem; font-weight: 500; letter-spacing: .005em; white-space: nowrap; }
.kopf__marke::before { content: ""; width: 1px; height: 2.6rem; background: #d8ccb6; }
@media (max-width: 39.99rem) {
  .kopf__innen { flex-wrap: wrap; row-gap: .15rem; padding-top: .7rem; padding-bottom: .7rem; }
  .kopf__marke { flex-basis: 100%; margin-left: 0; padding-left: 2.85rem; font-size: 1rem; letter-spacing: .01em; }
  .kopf__marke::before { display: none; }
}
.logo { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--text); }
.logo__icon { height: 2.6rem; width: auto; }
.logo__text { height: 2.6rem; width: auto; }
@media (min-width: 62rem) {
  .logo__icon, .logo__text { height: 3.25rem; }
}

/* ── Inhalt ────────────────────────────────────────────────────────────── */
.inhalt { padding-top: 1.75rem; padding-bottom: 4rem; }
.inhalt > * { max-width: 48rem; }
.inhalt:focus { outline: none; }

.brotkrumen ol { display: flex; flex-wrap: wrap; gap: .25rem .6rem; list-style: none; margin: 0 0 2.5rem; padding: 0; font-size: .9375rem; }
.brotkrumen li { display: flex; align-items: center; gap: .6rem; }
.brotkrumen li + li::before {
  content: ""; width: .45rem; height: .45rem; border: solid var(--text); border-width: 0 2px 2px 0;
  transform: rotate(-45deg); margin-right: .15rem;
}
.brotkrumen a { font-weight: 500; }

.titel { margin: 0 0 2rem; font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.8rem); font-weight: 400; line-height: 1.25; hyphens: auto; overflow-wrap: break-word; }
.einleitung { margin: 0 0 1.25rem; }
.zwischentitel { font-size: 1.35rem; font-weight: 500; margin: 2.5rem 0 1rem; }
.kopfzeile { margin: 0 0 .5rem; }
.kopfzeile__trenner { color: var(--grau); }

/* Fortschritt: wandernder Balken mit den Schrittnamen darunter */
.fortschritt { margin: 0 0 2.25rem; }
.fortschritt__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 .6rem; }
.fortschritt__zurueck { display: inline-flex; align-items: baseline; gap: .45rem; font-weight: 500; }
.fortschritt__zahl { margin: 0 0 0 auto; font-size: .9375rem; color: var(--text); }
.fortschritt__balken { height: .5rem; border-radius: .25rem; background: var(--creme); box-shadow: inset 0 0 0 1px #efe6d6; overflow: hidden; }
.fortschritt__balken span { display: block; height: 100%; width: 0; background: var(--blau); border-radius: .25rem; transition: width .5s ease; }
.fortschritt--p20 .fortschritt__balken span { width: 20%; }
.fortschritt--p25 .fortschritt__balken span { width: 25%; }
.fortschritt--p33 .fortschritt__balken span { width: 33.34%; }
.fortschritt--p40 .fortschritt__balken span { width: 40%; }
.fortschritt--p50 .fortschritt__balken span { width: 50%; }
.fortschritt--p60 .fortschritt__balken span { width: 60%; }
.fortschritt--p67 .fortschritt__balken span { width: 66.67%; }
.fortschritt--p75 .fortschritt__balken span { width: 75%; }
.fortschritt--p80 .fortschritt__balken span { width: 80%; }
.fortschritt--p100 .fortschritt__balken span { width: 100%; }
.fortschritt__schritte { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: .55rem 0 0; padding: 0; font-size: .875rem; color: var(--text-2); }
.fortschritt__schritte--4 { grid-template-columns: repeat(4, 1fr); }
.fortschritt__schritte--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 39.99rem) {
  .fortschritt__schritte--5 { font-size: .8125rem; }
  .fortschritt__lang, .fortschritt__schritte--5 .fortschritt__haken { display: none; }   /* „SEPA“ statt „SEPA-Mandat“ */
}
.fortschritt__schritte li { text-align: center; }
.fortschritt__schritte li:first-child { text-align: left; }
.fortschritt__schritte li:last-child { text-align: right; }
.fortschritt__schritte .aktuell { color: var(--blau); font-weight: 600; }
.fortschritt__schritte .erledigt { color: var(--text); }
.fortschritt__haken { color: var(--blau); font-weight: 600; }

/* Papierweg: schlanke Karte mit PDF-Symbol, deutlich vom Formular abgesetzt */
.papier {
  display: flex; align-items: center; gap: 1rem; max-width: 30rem; margin: 0 0 1.5rem;
  padding: .85rem 1.25rem .85rem 1rem; border: 1px solid #e3dccd; border-radius: var(--radius-klein);
  background: #fff; color: var(--text); text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.papier:hover { border-color: var(--blau); background: var(--creme); }
.papier__symbol { flex: none; width: 2.5rem; height: 2.5rem; color: var(--blau); }
.papier__text { display: grid; gap: .1rem; line-height: 1.35; }
.papier__frage { font-size: .875rem; color: var(--text-2); }
.papier__link { font-weight: 500; color: var(--blau); text-decoration: underline; text-underline-offset: .18em; }
.papier:hover .papier__link { text-decoration-thickness: 2px; }
/* 3g: mit SEPA-Mandat zwei Vordrucke – die Karte selbst ist dann kein Link, nur die beiden Zeilen */
.papier--zwei:hover { border-color: #e3dccd; background: #fff; }
.papier--zwei:hover .papier__link { text-decoration-thickness: auto; }
.papier--zwei .papier__link:hover { text-decoration-thickness: 2px; }
.papier--zwei .papier__link + .papier__link { margin-top: .2rem; }

/* PDF-Symbol in Knöpfen und Links */
.symbol-pdf { width: 1.5rem; height: 1.5rem; flex: none; margin: -.2rem 0; }

/* ── Hinweise ─────────────────────────────────────────────────────────── */
.hinweis { border-radius: var(--radius-klein); padding: 1.1rem 1.4rem; margin: 0 0 1.5rem; border: 1px solid; }
.hinweis h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 .4rem; }
.hinweis p { margin: .3rem 0; }
.hinweis ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.hinweis:focus { outline: 3px solid var(--blau); outline-offset: 2px; }
.hinweis--fehler { border-color: var(--fehler-rand); background: #fdf1f2; }
.hinweis--fehler a { color: var(--fehler); font-weight: 500; }
.hinweis--erfolg { border-color: var(--erfolg); background: #eff8f1; }
.hinweis--warnung { border-color: #c9a400; background: var(--warnung-bg); }

.pflichthinweis { font-size: .875rem; color: var(--text-2); }
.pflicht { color: var(--fehler); font-weight: 600; }
.optional { font-weight: 400; color: var(--text-2); font-size: .875rem; }

/* ── Formular ─────────────────────────────────────────────────────────── */
.abschnitt { border: 0; border-top: 1px solid var(--grau); margin: 0; padding: 1.5rem 0 1.75rem; min-width: 0; }
.abschnitt__titel { float: left; width: 100%; padding: 0; margin: 0 0 1rem; font-size: 1.25rem; font-weight: 500; display: flex; align-items: center; gap: .7rem; }
/* Abschnitte nummeriert wie im PDF; ausgeblendete zählen nicht mit, „Bestätigung“ ohne Nummer (3g: per Klasse statt
   „letzter Abschnitt“ – sonst fehlte bei Formularen ohne Bestätigung, z. B. dem SEPA-Mandat, die letzte Nummer) */
.formular { counter-reset: abschnitt; }
.formular .abschnitt:not(.abschnitt--bestaetigung) { counter-increment: abschnitt; }
.formular .abschnitt:not(.abschnitt--bestaetigung) .abschnitt__titel::before,
.zusammenfassung__abschnitt h2::before {
  content: counter(abschnitt); flex: none; display: inline-grid; place-items: center;
  width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blau); color: #fff;
  font-size: .875rem; font-weight: 600; line-height: 1;
}
.zusammenfassung { counter-reset: abschnitt; }
.zusammenfassung__abschnitt { counter-increment: abschnitt; }
.abschnitt__titel + * { clear: both; }
.abschnitt__text { margin: 0 0 1rem; color: var(--text-2); max-width: 42rem; }

.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.feld { grid-column: span 12; min-width: 0; display: flex; flex-direction: column; }
.feld > input, .feld > select, .feld > .einheit-wrap { margin-top: auto; }
.feld > .auswahl, .feld > .bestaetigung { flex: 1 1 auto; }
@media (min-width: 40rem) {
  .feld--halb { grid-column: span 6; }
  .feld--drittel { grid-column: span 4; }
  .feld--zweidrittel { grid-column: span 8; }
}
.feld[hidden], .abschnitt[hidden] { display: none; }

.feld__label { display: block; font-weight: 500; margin: 0 0 .35rem; padding: 0; }
.feld__hilfe { margin: -.15rem 0 .4rem; font-size: .875rem; color: var(--text-2); }
.feld__hinweis { margin: 0; padding: .8rem 1.2rem; background: var(--creme); border-radius: var(--radius-klein); }
.feld__fehler { margin: 0 0 .4rem; font-size: .9rem; color: var(--fehler); font-weight: 500; }
.feld__fehler::before { content: "! "; font-weight: 700; }

input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="time"], select, textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff;
  border: 1px solid var(--grau); border-radius: var(--radius);
  padding: .7rem 1.2rem; min-height: 3rem;
}
textarea { border-radius: var(--radius-klein); resize: vertical; }
select {
  appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23264796' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1.2rem center;
}
input:hover, select:hover, textarea:hover { border-color: var(--text); }
input:focus-visible, select:focus-visible, textarea:focus-visible { border-color: var(--blau); }
.feld--fehler input, .feld--fehler select, .feld--fehler textarea { border-color: var(--fehler-rand); border-width: 2px; }

input.mit-symbol {
  padding-left: 3.1rem; background-repeat: no-repeat; background-position: 1.15rem center; background-size: 1.3rem 1.3rem;
}
input.symbol--mail { background-image: url("../img/symbole/mail.svg"); }
input.symbol--telefon { background-image: url("../img/symbole/telefon.svg"); }
input.symbol--ort { background-image: url("../img/symbole/ort.svg"); }
input.symbol--person { background-image: url("../img/symbole/person.svg"); }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  width: 1.3rem; height: 1.3rem; padding: 0; cursor: pointer; opacity: .9;
  background: url("../img/symbole/kalender.svg") center / contain no-repeat;
}
input[type="time"]::-webkit-calendar-picker-indicator { background-image: url("../img/symbole/uhr.svg"); }
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="time"]::-webkit-calendar-picker-indicator:hover { opacity: 1; }

.einheit-wrap { position: relative; }
.einheit-wrap input { padding-right: 3rem; }
.einheit { position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--text-2); pointer-events: none; }

/* Auswahl (Radio) als Pillen-Zeilen wie im Online-Bürgerbüro */
.auswahl { border: 0; margin: 0; padding: 0; min-width: 0; }
.auswahl .feld__label { float: left; width: 100%; }
.auswahl .feld__label ~ * { clear: both; }
.auswahl__option {
  display: flex; align-items: center; gap: .8rem; margin: 0 0 .6rem;
  padding: .8rem 1.3rem; border: 1px solid var(--grau); border-radius: var(--radius); cursor: pointer;
}
.auswahl__option:hover { border-color: var(--blau); background: var(--creme); }
.auswahl__option:has(input:checked) { border-color: var(--blau); background: var(--creme); box-shadow: inset 0 0 0 1px var(--blau); }
.auswahl__option input, .bestaetigung input { accent-color: var(--blau); width: 1.25rem; height: 1.25rem; margin: 0; flex: none; }
@media (min-width: 40rem) {
  .auswahl { display: flex; flex-wrap: wrap; gap: 0 .75rem; }
  .auswahl > :not(.auswahl__option) { flex-basis: 100%; }
  .auswahl__option { flex: 1 1 14rem; }
}
.feld--fehler .auswahl__option { border-color: var(--fehler-rand); }

.bestaetigung { display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.bestaetigung input { margin-top: .15rem; }

/* Personen (wiederholbare Gruppe) */
.personen { grid-column: span 12; display: grid; gap: 1rem; }
.person { border: 1px solid var(--grau); border-radius: var(--radius-klein); padding: 1rem 1.25rem 1.25rem; margin: 0; min-width: 0; }
.person__titel { font-weight: 600; padding: 0 .4rem; }
.js .person[data-reserve] { display: none; }
.js .personen__hinweis { display: none; }
.personen__hinweis { font-size: .875rem; color: var(--text-2); margin: 0; }
.personen__knoepfe { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ── Knöpfe ───────────────────────────────────────────────────────────── */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font: inherit; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
  color: #fff; background: var(--blau); border: 1px solid var(--blau); border-radius: 2.2rem;
  padding: .8rem 2rem; min-height: 3.125rem; font-size: 1rem;
}
.knopf:hover { background: #1c3672; border-color: #1c3672; color: #fff; }
.knopf--zweitrangig { background: #fff; color: var(--blau); }
.knopf--zweitrangig:hover { background: var(--creme); color: var(--blau); border-color: var(--blau); }
.knopf--gross { font-size: 1.1rem; padding: 1rem 2rem; }
.knopf--klein { padding: .5rem 1.1rem; min-height: 2.5rem; font-size: .9375rem; }
.aktionen { display: flex; justify-content: flex-end; padding-top: 1.5rem; border-top: 1px solid var(--grau); }
.textlink { font-weight: 500; }
.knopf .symbol-pdf { margin-left: -.35rem; }

/* ── Zusammenfassung ──────────────────────────────────────────────────── */
.zusammenfassung { margin-bottom: 2rem; }
.zusammenfassung__abschnitt { border-top: 1px solid var(--grau); padding: 1rem 0; }
.zusammenfassung__abschnitt h2 { font-size: 1.1rem; font-weight: 500; margin: 0 0 .6rem; display: flex; align-items: center; gap: .65rem; }
.zusammenfassung__abschnitt h2::before { width: 1.5rem; height: 1.5rem; font-size: .8125rem; }
.zusammenfassung dl { margin: 0; display: grid; gap: .35rem; }
.zusammenfassung dl > div { display: grid; gap: 0 1.5rem; }
@media (min-width: 40rem) { .zusammenfassung dl > div { grid-template-columns: 16rem 1fr; } }
.zusammenfassung dt { color: var(--text-2); }
.zusammenfassung dd { margin: 0; overflow-wrap: anywhere; }

/* ── Fertig ───────────────────────────────────────────────────────────── */
.vorgangsnummer { font-size: 1.15rem; letter-spacing: .04em; white-space: nowrap; }
.download { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.5rem 0 1rem; }
.naechste-schritte { padding-left: 1.3rem; }
.naechste-schritte li { margin-bottom: .35rem; }
.datenschutz-box { margin-top: 2rem; border-top: 1px solid var(--grau); padding-top: 1.25rem; }
.datenschutz-box h2 { font-size: 1.05rem; font-weight: 500; margin: 0 0 .4rem; }
.datenschutz-box p { color: var(--text-2); max-width: 42rem; }


/* ── Abschluss (Schritt 2) ───────────────────────────────────────────── */
.abschluss { background: var(--creme); border-radius: var(--radius-klein); padding: 1.4rem 1.5rem 1.6rem; }
.abschluss h2 { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 500; }
.abschluss p { margin: 0 0 1rem; }
.abschluss__wege { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0 0 .75rem; }
.abschluss__text { font-size: .9375rem; color: var(--text-2); }

/* ── Fuß (wie muehlhausen-kraichgau.de) ───────────────────────────────── */
.fuss { background: var(--creme); margin-top: 3rem; }
.fuss__innen { padding-top: 3rem; padding-bottom: 2rem; }
.fuss__kontakt { font-size: .9375rem; }
.logo--fuss { margin-bottom: 1.75rem; }
.fuss__titel { font-size: 1rem; font-weight: 400; margin: 0 0 .75rem; }
.fuss p { margin: 0 0 1rem; }
.fuss__wege { display: grid; gap: .5rem; justify-items: start; }
.fuss__wege a { display: inline-flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 500; }
.fuss__wege a:hover { text-decoration: underline; }
.fuss__wege img { width: 2rem; height: 2rem; }
.fuss__rechtliches { border-top: 1px solid #e9e1d2; }
.fuss__rechtliches .fuss__innen { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.fuss__rechtliches ul { display: flex; flex-wrap: wrap; gap: .5rem 2rem; list-style: none; margin: 0; padding: 0; }
.fuss__rechtliches a { font-weight: 500; }

.debug { white-space: pre-wrap; font-size: .8125rem; background: #f4f4f4; padding: 1rem; border-radius: .5rem; }

@media print {
  .kopf, .fuss, .aktionen, .fortschritt, .papier, .sprungmarke, .brotkrumen { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

[hidden] { display: none !important; }

/* ── Schritt 2a: Dateien, Honeypot, Status ────────────────────────────── */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.feld--datei input[type="file"] {
  display: block; width: 100%; padding: .7rem 1rem; border: 1px dashed var(--linie, #959594);
  border-radius: var(--radius-klein, .5rem); background: var(--creme); font: inherit; cursor: pointer;
}
.feld--datei input[type="file"]::file-selector-button {
  font: inherit; color: var(--blau); background: #fff; border: 1px solid var(--blau);
  border-radius: 2rem; padding: .45rem 1.1rem; margin-right: 1rem; cursor: pointer;
}
.dateiliste { list-style: none; margin: 0 0 .6rem; padding: 0; }
.dateiliste li {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem;
  padding: .6rem 1rem; margin-bottom: .4rem; background: var(--creme); border-radius: var(--radius-klein, .5rem);
}
.dateiliste li::before { content: "📎"; }
.dateiliste__name { font-weight: 500; word-break: break-all; }
.dateiliste__groesse { color: var(--text-2); font-size: .9rem; }
.textknopf {
  margin-left: auto; font: inherit; font-size: .95rem; color: var(--blau); background: none; border: 0;
  padding: 0; text-decoration: underline; text-underline-offset: .18em; cursor: pointer;
}
.tabelle-rahmen { overflow-x: auto; }
.statustabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.statustabelle th, .statustabelle td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid #e3e1dc; vertical-align: top; }
.statustabelle td:last-child { text-align: center; font-weight: 700; }

/* ── BundID ─────────────────────────────────────────────────────────────── */
.hinweis--bundid { border-color: var(--blau); background: #f2f5fb; display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; align-items: center; justify-content: space-between; }
.hinweis--bundid p { margin: 0; flex: 1 1 22rem; }
.hinweis--bundid form { margin: 0; }
input.gesperrt, input[readonly] { background: #f2f5fb; border-color: #c8d2e6; color: #1c2b4a; }
.feld__bundid { color: var(--blau); font-size: .875rem; margin-top: .3rem; }

/* ── Schritt „Anmelden“: BundID oder ohne Anmeldung ──────────────────── */
.bundid-karte { border: 1px solid #d4dbea; border-radius: var(--radius-klein); overflow: hidden; margin: 0 0 1.25rem; background: #fff; }
/* Logo-Band: blau mit heller Logofassung (bundid-logo-weiss.*), hell mit der Farbfassung (bundid-logo.*) */
.bundid-karte__band { display: flex; align-items: center; justify-content: center; min-height: 6.5rem; padding: 1.4rem 1.25rem; }
.bundid-karte__band--blau { background: var(--blau); }
.bundid-karte__band--hell { background: #f4f6fb; border-bottom: 1px solid #d4dbea; }
.bundid-karte__logo { height: 3.5rem; width: auto; max-width: 100%; display: block; }
.bundid-karte__wortmarke { color: #fff; font-size: 2rem; font-weight: 600; letter-spacing: .01em; }
.bundid-karte__inhalt { padding: 1.5rem 1.6rem 1.4rem; }
.bundid-karte h2, .ohne-karte h2 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; margin: 0 0 .6rem; font-size: 1.35rem; font-weight: 500; }
.bundid-karte p { margin: 0 0 .9rem; }
.vorteile { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .45rem; }
.vorteile li { position: relative; padding-left: 1.9rem; }
.vorteile li::before {
  content: ""; position: absolute; left: .1rem; top: .3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.3 2.2 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / .8rem no-repeat;
}
.bundid-karte__weiter { background: #f7f8fc; border: 1px solid #e3e8f2; border-radius: 1rem; padding: 1.1rem 1.25rem 1.25rem; margin: 0 0 .9rem; }
.bundid-karte__hinweis { font-size: .9375rem; color: var(--text-2); }
.bundid-karte__hinweis strong { display: block; color: var(--text); font-weight: 600; margin-bottom: .15rem; }
.bundid-karte__weiter form { margin: 0; }
.bundid-karte__mehr { margin: 0 !important; font-size: .9375rem; }
.ohne-karte {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem;
  border: 1px solid #e3dccd; border-radius: var(--radius-klein); padding: 1.25rem 1.6rem; margin: 0 0 2rem;
}
.ohne-karte h2 { font-size: 1.15rem; margin-bottom: .2rem; }
.ohne-karte p { margin: 0; color: var(--text-2); }
.papier--start { margin-top: 0; }
@media (max-width: 39.99rem) {
  .bundid-karte__inhalt, .ohne-karte { padding-left: 1.15rem; padding-right: 1.15rem; }
  .bundid-karte__weiter .knopf, .ohne-karte .knopf { width: 100%; }
}
