/* bandbuchen – Gestaltung nach Styleguide „Warm Minimal“ (Konzept B). Mobil zuerst, ab 760 px Desktop. */

@font-face { font-family: Manrope; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-wght-normal.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: Manrope; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(/fonts/manrope-latin-ext-wght-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FBF8F3; --text: #2B1E17; --muted: #5E4B3E; --muted2: #6E5A4B; --soft: #8A7262;
  --primary: #3B2A20; --primary-hover: #1E1612; --accent: #B5643E; --accent-text: #9A5232; --accent-dark: #D9895F;
  --surface: #FFFFFF; --surface2: #F3ECE2; --info: #F1E4D6; --border: #E7DCCD; --border2: #CDBBA6; --line: #DCCDB9;
  --error: #8E2F22; --error-border: #A33A2A; --ok: #2F5A34;
  --ftr: #2B1E17; --ftr-text: #EFE6DA; --ftr-muted: #C9B8A6; --ftr-line: #4A382C;
  --r-s: 10px; --r-m: 12px; --r-l: 16px; --r-xl: 20px; --pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Manrope, system-ui, sans-serif; font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { line-height: 1.15; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: var(--r-m); background: var(--primary); color: #fff; font-weight: 700; }
.skip:focus { top: 8px; color: #fff; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 760px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.abschnitt { padding-top: 48px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.abschnitt > h2, .breit > h2, .rep-kopf h2, .cta h2 { margin: 0; font-size: 28px; font-weight: 700; }
@media (min-width: 760px) { .abschnitt { padding-top: 64px; padding-bottom: 64px; } }
.flaeche { background: var(--surface2); }
.linie { border-top: 1px solid var(--border); }
.leise { color: var(--muted); margin: 0; }
.klein { font-size: 14px; }
.schmal { max-width: 600px; }
.hinweis { margin: 0; padding: 12px 16px; border-radius: var(--r-m); background: var(--surface2); color: var(--muted); }
.stern { color: var(--error); }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: var(--pill); font-weight: 700; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; text-align: center; }
.btn-p { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-p:hover { background: var(--primary-hover); color: #fff; }
.btn-s { background: var(--surface); color: var(--text); border-color: var(--soft); font-weight: 600; }
.btn-s:hover { background: var(--surface2); color: var(--text); }
.btn-l { min-height: 52px; padding: 0 28px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.textknopf { border: none; background: none; padding: 10px 0; min-height: 44px; font-weight: 700; font-size: 15px; color: var(--primary); text-decoration: underline; cursor: pointer; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.pfeil-link { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; font-weight: 700; color: var(--primary); }
.zurueck { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: none; }

/* Chips */
.chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: var(--pill); background: var(--surface2); font-size: 14px; font-weight: 500; }
.chip-k { padding: 2px 10px; font-size: 13px; font-weight: 500; }

/* ---------- Kopfbereich ---------- */
.hdr { position: relative; z-index: 20; border-bottom: 1px solid var(--border); background: var(--bg); }
.hdr-bar { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.hdr-logo { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; text-decoration: none; }
.hdr-logo .logo { width: 150px; height: 32px; }
.hdr-nav { display: none; }
.hdr-burger { display: flex; width: 44px; height: 44px; border: 1px solid var(--soft); border-radius: var(--r-m); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.hdr-burger .i-zu { display: none; }
.hdr.offen .hdr-burger .i-auf { display: none; }
.hdr.offen .hdr-burger .i-zu { display: block; }
.hdr.offen .hdr-book { display: none; }
.mnav { position: absolute; top: 100%; left: 0; right: 0; min-height: calc(100vh - 73px); display: flex; flex-direction: column; padding: 8px 16px 24px; background: var(--bg); border-top: 1px solid var(--border); font-size: 20px; font-weight: 600; }
.ml { display: flex; align-items: center; gap: 12px; min-height: 60px; border-bottom: 1px solid var(--border); text-decoration: none; color: var(--text); }
.ml:hover { box-shadow: inset 3px 0 0 var(--accent); color: var(--text); }
.ml-gruppe { display: flex; flex-direction: column; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.ml-gruppe .ml { border-bottom: none; }
.ml-sub { min-height: 52px; padding-left: 16px; font-size: 17px; font-weight: 500; }
.ml-sub img, .mi img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.mnav-cta { margin-top: 24px; min-height: 52px; }
.mnav-mail { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--muted); }
body.menue-offen { overflow: hidden; }

@media (min-width: 760px) {
  .hdr-bar { gap: 28px; }
  .hdr-logo .logo { width: 186px; height: 40px; }
  .hdr-nav { display: flex; align-items: center; gap: 28px; }
  .hdr-burger, .mnav { display: none !important; }
  .hdr-book { display: inline-flex !important; padding: 0 20px; }
}
.nl { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0; border: none; background: none; text-decoration: none; color: var(--text); font-weight: 500; font-size: 15px; cursor: pointer; box-shadow: inset 0 -2px 0 transparent; }
.nl:hover { box-shadow: inset 0 -2px 0 var(--accent); color: var(--text); }
.nl.cur { font-weight: 700; box-shadow: inset 0 -2px 0 var(--accent); }
.dd { position: relative; }
.dd .chev { transition: none; }
.dd [aria-expanded="true"] .chev { transform: rotate(180deg); }
.dd-list { position: absolute; top: 100%; left: -12px; min-width: 240px; margin: 8px 0 0; padding: 8px; list-style: none; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-m); box-shadow: 0 12px 28px -14px rgba(43, 30, 23, .45); z-index: 30; display: flex; flex-direction: column; gap: 2px; }
.mi { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border-radius: 8px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; }
.mi:hover { background: var(--surface2); color: var(--text); }
.mi-leise { font-weight: 500; color: var(--muted); }
.dd-sep { border-top: 1px solid var(--border); margin-top: 4px; padding-top: 4px; }

/* ---------- Fußbereich ---------- */
.ftr { background: var(--ftr); color: var(--ftr-text); line-height: 1.6; }
.ftr-top { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 6px; }
.ftr-top .logo { margin-bottom: 12px; }
.ftr-k { margin: 0; font-size: 14px; color: var(--ftr-muted); }
.ftr-mail, .ftr-link { align-self: flex-start; padding: 10px 0; font-size: 15px; font-weight: 600; }
.ftr-mail { color: #fff; }
.ftr-link { color: var(--ftr-text); }
.ftr-mail:hover, .ftr-link:hover { color: #fff; }
.ftr-unten { border-top: 1px solid var(--ftr-line); }
.ftr-zeile { padding-top: 4px; padding-bottom: 4px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 20px; font-size: 13px; color: var(--ftr-muted); }
.ftr-zeile > span { padding: 12px 0; }
.ftr-zeile nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
.ftr-zeile nav a { color: var(--ftr-muted); text-decoration: none; padding: 12px 0; }
.ftr-zeile nav a:hover { color: #fff; text-decoration: underline; }

/* ---------- Startseite ---------- */
.hero { padding-top: 48px; padding-bottom: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -.025em; max-width: 760px; text-wrap: balance; }
.hero p { margin: 0; max-width: 560px; color: var(--muted); font-size: 18px; }
@media (min-width: 760px) { .hero { padding-top: 72px; padding-bottom: 56px; } }

.bands { padding-bottom: 48px; }
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.karte { display: flex; flex-direction: column; gap: 10px; padding: 10px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; }
.karte-bild { display: block; border-radius: var(--r-s); overflow: hidden; }
.karte-bild img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.karte-kopf { display: flex; flex-direction: column; gap: 2px; }
.karte h2 { margin: 0; font-size: 16px; line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
.karte-kurz, .karte-tags, .karte-profil, .karte .nur-breit, .karte-rep .lang { display: none; }
.karte-genres { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.karte-rep { font-size: 13px; }
.karte-knoepfe { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.karte-knoepfe .btn { flex: 1 1 140px; min-height: 44px; font-size: 14px; padding: 0 12px; }
@media (min-width: 760px) {
  .bands { padding-bottom: 72px; }
  .karten { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
  .karte { gap: 20px; padding: 24px; border-radius: var(--r-l); }
  .karte-bild img { aspect-ratio: 3 / 2; }
  .karte-kopf { gap: 6px; }
  .karte h2 { font-size: 28px; letter-spacing: -.015em; }
  .karte-kurz { display: block; margin: 0; color: var(--muted); }
  .karte-tags { display: flex; }
  .karte-genres, .karte-rep .kurz { display: none; }
  .karte-rep .lang, .karte .nur-breit { display: inline; }
  .karte-rep { font-size: 16px; }
  .karte-profil { display: inline-flex; }
  .karte-knoepfe .btn { min-height: 48px; font-size: 16px; }
}

.tabelle-rolle { position: relative; overflow-x: auto; max-width: 100%; }
.vergleich { width: 100%; border-collapse: collapse; font-size: 14px; table-layout: fixed; }
.vergleich thead th { text-align: left; padding: 12px 0 12px 12px; }
.vergleich .v-erste { width: 36px; padding-left: 0; position: relative; }
.vergleich tbody tr { border-top: 1px solid var(--line); }
.vergleich tbody th { text-align: left; padding: 14px 0; font-weight: 600; vertical-align: top; }
.vergleich td { padding: 14px 0 14px 12px; vertical-align: top; overflow-wrap: anywhere; }
.v-text { display: none; }
@media (min-width: 760px) {
  .vergleich { font-size: 15px; table-layout: auto; min-width: 560px; }
  .vergleich .v-erste { width: 28%; }
  .vergleich thead th:not(.v-erste) { width: 36%; padding: 12px 16px; }
  .vergleich td { padding: 14px 16px; }
  .v-text { display: inline; }
  .v-icon { display: none; }
}

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.video { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.video figcaption { font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.video-ds { font-size: 13px; font-weight: 500; color: var(--muted2); }
.video-flaeche { position: relative; aspect-ratio: 16 / 9; width: 100%; border: none; border-radius: var(--r-l); background: var(--ftr); overflow: hidden; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.video-flaeche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-flaeche .play { position: relative; }
.video-flaeche iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-leer { cursor: default; }
.video-hinweis { position: relative; padding: 6px 14px; border-radius: var(--pill); background: rgba(43, 30, 23, .82); color: #FBF8F3; font-weight: 600; font-size: 14px; }

/* ---------- Bandprofil ---------- */
.profil-kopf { padding-top: 16px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.brot { font-size: 14px; color: var(--muted); display: flex; gap: 8px; }
.brot a { color: var(--muted); }
.profil-hero { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.profil-text { flex: 1 1 380px; display: flex; flex-direction: column; gap: 16px; }
.profil-text h1 { margin: 0; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.lead { margin: 0; font-size: 18px; color: var(--muted); }
.profil-bild { flex: 1 1 380px; min-width: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.sprungmarken { display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--border); padding-top: 20px; }
.sprungmarken a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--border2); text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
.sprungmarken a:hover { background: var(--surface2); color: var(--text); }
.zweispaltig { flex-direction: row; flex-wrap: wrap; gap: 40px; }
.breit { flex: 2 1 420px; display: flex; flex-direction: column; gap: 12px; }
.breit p { margin: 0; }
.eckdaten { flex: 1 1 280px; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.eckdaten dt, .technik dt { font-size: 14px; color: var(--muted); }
.eckdaten dd { margin: 0; font-weight: 600; }

.rep { gap: 18px; }
.rep-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.rep-kopf > div { display: flex; flex-direction: column; gap: 4px; }
.ok-text { margin: 0; font-size: 14px; color: var(--ok); font-weight: 600; }
.ok-text:empty { display: none; }
.suche { flex: none; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }
.suche label { font-weight: 600; font-size: 15px; }
.suche-feld { position: relative; }
.suche-feld svg { position: absolute; left: 14px; top: 15px; color: var(--muted); }
.suche-feld input { min-height: 48px; width: 100%; border-radius: var(--pill); border: 1px solid var(--soft); padding: 0 16px 0 42px; font-size: 16px; background: var(--surface); }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { min-height: 44px; padding: 0 16px; border-radius: var(--pill); font-weight: 600; font-size: 14px; cursor: pointer; background: var(--surface); color: var(--text); border: 1px solid var(--soft); }
.fchip .fchip-n { font-weight: 500; color: var(--muted2); }
.fchip[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.fchip[aria-pressed="true"] .fchip-n { color: #E9DCCB; }
.sortknopf { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px 0 0; border: none; background: none; font-weight: 700; font-size: 15px; color: var(--text); cursor: pointer; }
.sort-i { font-size: 12px; color: var(--muted2); }
.sortknopf[aria-pressed="true"] .sort-i { color: var(--accent); }
.sortleiste { display: flex; flex-wrap: wrap; gap: 0 16px; border-bottom: 2px solid var(--primary); }
.rep-tab { width: 100%; border-collapse: collapse; font-size: 15px; }
.rep-tab thead { display: none; }
.rep-tab tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t g" "a g"; column-gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.rep-tab td { padding: 0; }
.r-t { grid-area: t; font-weight: 700; }
.r-a { grid-area: a; font-size: 14px; color: var(--muted); }
.r-g { grid-area: g; }
.r-g:empty, .r-g .chip:empty { display: none; }
@media (min-width: 760px) {
  .sortleiste { display: none; }
  .rep-tab thead { display: table-header-group; }
  .rep-tab thead tr { border-bottom: 2px solid var(--primary); }
  .rep-tab th { text-align: left; padding: 4px 0; }
  .rep-tab tbody tr { display: table-row; padding: 0; }
  .rep-tab td { padding: 12px 12px 12px 0; }
  .r-t { font-weight: 600; }
  .r-a { font-size: 15px; color: var(--text); }
}
.mehr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.keine { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: var(--r-m); background: var(--surface2); }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.galerie-bild { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-m); overflow: hidden; background: var(--ftr); cursor: zoom-in; }
.galerie-bild img { width: 100%; height: 100%; object-fit: cover; }
.lightbox { padding: 0; border: none; background: transparent; max-width: min(96vw, 1100px); }
.lightbox::backdrop { background: rgba(30, 22, 18, .85); }
.lightbox img { max-height: 86vh; border-radius: var(--r-m); }
.lightbox button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(251, 248, 243, .95); font-size: 22px; cursor: pointer; }

.besetzung { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.besetzung li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.besetzung li > span:last-child { display: flex; flex-direction: column; }
.punkt { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.punkt-ff { background: var(--primary); }
.punkt-vnb { background: var(--accent); }
.technik { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 16px; }
.technik > div { padding: 16px; border-radius: var(--r-l); border: 1px solid var(--border); background: var(--surface); }
.technik dd { margin: 4px 0 0; font-weight: 600; }
.cta { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.cta > div:first-child { display: flex; flex-direction: column; gap: 4px; }

/* ---------- Formulare ---------- */
.fld { display: flex; flex-direction: column; gap: 6px; }
.lbl { font-weight: 600; }
.fld input, .fld select, .fld textarea { min-height: 48px; width: 100%; border-radius: var(--r-s); padding: 0 14px; font-size: 16px; background: var(--surface); color: var(--text); border: 1px solid var(--soft); }
.fld textarea { padding: 12px 14px; resize: vertical; }
.fld [aria-invalid="true"] { border: 2px solid var(--error-border); }
.err { margin: 0; color: var(--error); font-size: 14px; font-weight: 600; }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 15px; }
.check input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--primary); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.meldung { margin: 0; padding: 12px 16px; border-radius: var(--r-m); font-size: 15px; }
.meldung p { margin: 0; }
.meldung p + p { margin-top: 6px; }
.meldung-info { background: var(--info); }
.meldung-ok { background: #E6EFE3; color: var(--ok); font-weight: 600; }
.meldung-fehler { border: 2px solid var(--error-border); background: var(--surface); color: var(--error); font-weight: 600; }
.seite-oben { padding-top: 20px; padding-bottom: 56px; }
@media (min-width: 760px) { .seite-oben { padding-top: 32px; padding-bottom: 72px; } }
.seite-kopf { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.h-seite { margin: 0; font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; }
.kontakt-raster { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.kontakt-form { flex: 2 1 380px; min-width: 0; }
.kontakt-form form, .formular { display: flex; flex-direction: column; gap: 18px; }
.kontakt-form .btn { align-self: flex-start; }
.kontakt-seite { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.kasten { padding: 24px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.kasten h2 { margin: 0; font-size: 18px; }
.kasten p { margin: 0; }
.kasten-flaeche { background: var(--surface2); border-color: var(--surface2); }
.gross-mail { font-weight: 700; font-size: 18px; overflow-wrap: anywhere; }
.erfolg { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--border); max-width: 640px; }
.erfolg h2, .erfolg h3 { margin: 0; font-size: 26px; line-height: 1.2; }
.erfolg p { margin: 0; }

/* ---------- Rechtliches ---------- */
.lesetext { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; line-height: 1.65; }
.lesetext .sprungmarken { border-top: none; padding-top: 0; }
.lg h1, .lg h2 { margin: 0 0 4px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.lg h3 { margin: 28px 0 6px; font-size: 18px; line-height: 1.3; }
.lg p { margin: 0 0 8px; }
.lg ul { margin: 0 0 8px; padding-left: 20px; }
.lg-trenner { border-top: 1px solid var(--border); padding-top: 24px; }
.ph { background: var(--info); border-radius: 4px; padding: 0 4px; }

/* ---------- Buchung ---------- */
.buchung { padding-top: 28px; padding-bottom: 56px; }
.buchung > .wrap { display: flex; flex-direction: column; gap: 8px; }
.buchung-eingebettet { border-top: 1px solid var(--border); padding-top: 48px; }
.h-buchung { margin: 0; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
@media (min-width: 760px) { .buchung { padding-top: 48px; padding-bottom: 72px; } .buchung-eingebettet { padding-top: 64px; } }
.bw { display: flex; flex-direction: column; gap: 24px; margin-top: 8px; }
.fortschritt { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.fortschritt li { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted2); }
.fortschritt li::before { content: ""; height: 4px; border-radius: 2px; background: var(--border); }
.fortschritt li.fertig { color: var(--text); }
.fortschritt li.fertig::before { background: var(--primary); }
.fortschritt li[aria-current="step"] { color: var(--text); }
.fortschritt li[aria-current="step"]::before { background: var(--accent); }
.bandwahl { margin: 0; padding: 0; border: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 640px; }
.bandwahl legend { font-weight: 600; margin-bottom: 10px; }
.bandwahl label { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; border-radius: var(--r-m); font-weight: 600; text-align: center; cursor: pointer; border: 1px solid var(--soft); background: var(--surface); }
.bandwahl label.an { border: 2px solid var(--primary); background: var(--info); }
.bandwahl.fehlt label:not(.an) { border: 2px solid var(--error-border); }
.auswahl { max-width: 520px; padding: 20px; border-radius: var(--r-l); background: var(--surface2); display: flex; flex-direction: column; gap: 4px; }
.auswahl > span:first-child { font-size: 14px; color: var(--muted); }
.auswahl strong { font-size: 20px; }
.auswahl .offen { color: var(--error); font-weight: 600; }
.kal-zeile { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.kal { flex: 1 1 340px; min-width: 0; max-width: 520px; display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-l); }
.kal.ohne { border: 2px solid var(--error); }
@media (min-width: 760px) { .kal { padding: 24px; } }
.kal-kopf { display: flex; justify-content: space-between; align-items: center; }
.kal-kopf strong { font-size: 18px; }
.kal-nav { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--soft); background: var(--surface); cursor: pointer; font-size: 18px; color: var(--text); }
.kal-nav:disabled { opacity: .4; cursor: not-allowed; }
.kal-raster { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
@media (min-width: 760px) { .kal-raster { gap: 4px; } }
.kal-wt { font-size: 13px; color: var(--muted2); padding: 4px 0; }
.d { position: relative; aspect-ratio: 1; min-height: 44px; width: 100%; border: none; border-radius: 50%; background: transparent; color: var(--text); font-weight: 600; font-size: 15px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.df:hover { background: var(--surface2); }
.da { box-shadow: inset 0 0 0 2px var(--accent); }
.db { background: var(--border); color: var(--muted); cursor: not-allowed; }
.dg { color: var(--muted2); text-decoration: line-through; cursor: not-allowed; }
.dp { color: var(--soft); cursor: not-allowed; }
.dsel { background: var(--primary); color: #fff; box-shadow: inset 0 0 0 2px var(--primary); }
.dsel.da { box-shadow: inset 0 0 0 3px var(--accent); }
.heute { text-decoration: underline; text-underline-offset: 3px; }
.legende { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--muted); }
.legende li { display: flex; align-items: center; gap: 6px; }
.lg-f, .lg-a, .lg-b, .lg-s { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.lg-f { border: 1px solid var(--soft); }
.lg-a { box-shadow: inset 0 0 0 2px var(--accent); }
.lg-b { background: var(--border); }
.lg-s { background: var(--primary); }
.kal-rechts { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.schritt { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.zusammen { margin: 0; padding: 12px 16px; border-radius: var(--r-m); background: var(--surface2); }
.raster3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 16px; }
.pruefen { padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.pruefen-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pruefen h3 { margin: 0; font-size: 18px; }
.dl2 { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 6px 16px; font-size: 15px; }
.dl2 dt { color: var(--muted); }
.dl2 dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }
.status-pille { display: inline-flex; padding: 2px 12px; border-radius: var(--pill); box-shadow: inset 0 0 0 2px var(--accent); font-weight: 700; font-size: 14px; }

/* ---------- Verwaltung ---------- */
.adm-kopf { background: var(--ftr); color: var(--ftr-text); }
.adm-kopf-zeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 12px; padding-bottom: 12px; }
.adm-marke { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.adm-marke a { display: inline-flex; }
.adm-kopf-rechts { display: flex; align-items: center; gap: 16px; }
.adm-kopf-rechts a, .adm-kopf-rechts button { white-space: nowrap; color: var(--ftr-text); font-weight: 600; font-size: 15px; background: none; border: none; cursor: pointer; min-height: 44px; padding: 0; text-decoration: underline; }
.anmeldung { max-width: 460px; }
.anmeldung .formular { margin-top: 20px; }
.adm-warn { margin-top: 16px; }
.adm-app { padding-top: 20px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 24px; }
.reiter { display: flex; flex-wrap: wrap; gap: 8px; }
.reiter button { min-height: 44px; padding: 0 18px; border-radius: var(--pill); font-weight: 600; font-size: 15px; cursor: pointer; background: var(--surface); border: 1px solid var(--soft); }
.reiter button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.adm-raster { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.adm-spalte { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.adm-spalte h1, .adm-spalte h2, .adm-block h2 { margin: 0; font-size: 22px; }
.adm-karte { padding: 18px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; }
.adm-karte h3 { margin: 0; font-size: 18px; }
.adm-karte .meta { font-size: 13px; color: var(--muted2); }
.konflikt { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 14px; font-weight: 600; color: var(--error); }
.adm-kal .d { border-radius: var(--r-m); }
.adm-kal .db { background: var(--primary); color: #fff; cursor: pointer; }
.adm-kal .dg { background: var(--border); color: var(--muted); }
.adm-kal .zahl { position: absolute; top: 2px; right: 4px; font-size: 11px; font-weight: 800; color: var(--accent-text); }
.tab-adm { width: 100%; border-collapse: collapse; font-size: 14px; }
.tab-adm th { text-align: left; padding: 8px 8px 8px 0; border-bottom: 2px solid var(--primary); }
.tab-adm td { padding: 10px 8px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.st { display: inline-block; padding: 2px 10px; border-radius: var(--pill); font-size: 13px; font-weight: 700; background: var(--surface2); }
.st-bestaetigt { background: var(--primary); color: #fff; }
.st-angefragt { box-shadow: inset 0 0 0 2px var(--accent); background: transparent; }
.adm-block { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--border); }
.adm-block h2 .leise { font-size: 15px; font-weight: 500; }
.zeile-edit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px; gap: 8px; align-items: end; }
.zeile-edit.drei { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) 44px; }
@media (max-width: 759px) { .zeile-edit, .zeile-edit.drei { grid-template-columns: minmax(0, 1fr) 44px; } .zeile-edit .fld:not(:first-child) { grid-column: 1; } .zeile-edit .weg { grid-column: 2; grid-row: 1; } }
.zeile-edit + .zeile-edit { padding-top: 10px; border-top: 1px solid var(--border); }
.weg { width: 44px; height: 48px; border-radius: var(--r-s); border: 1px solid var(--soft); background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.zaehler { font-size: 13px; color: var(--muted2); }
.zaehler.zuviel { color: var(--error); font-weight: 700; }
.speicherleiste { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px; padding: 14px 16px; border-radius: var(--r-l) var(--r-l) 0 0; background: var(--bg); border: 1px solid var(--border); box-shadow: 0 -8px 20px -16px rgba(43, 30, 23, .5); }
.speicherleiste .stand { margin-right: auto; font-size: 14px; color: var(--muted); }
.speicherleiste .stand.ungespeichert { color: var(--accent-text); font-weight: 700; }
.nachricht-text { white-space: pre-line; margin: 0; }
.erledigt { opacity: .6; }
