/* ==========================================================================
   Oberfläche von Jawort (Editor, Anmeldung, Gästeliste, System).
   Ruhig und warm, damit die Hochzeitsseite im Mittelpunkt bleibt.
   ========================================================================== */

@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../schriften/hanken-grotesk/hanken-grotesk-normal-100_900-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../schriften/hanken-grotesk/hanken-grotesk-normal-100_900-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300 700; font-display: swap; src: url('../schriften/cormorant-garamond/cormorant-garamond-italic-300_700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('../schriften/cormorant-garamond/cormorant-garamond-normal-300_700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --o-grund: #f7f4ef;
  --o-flaeche: #ffffff;
  --o-flaeche-2: #efebe4;
  --o-linie: #e3ddd3;
  --o-linie-stark: #cfc7ba;
  --o-text: #25211d;
  --o-text-leise: #6f675d;
  --o-text-blass: #9a9186;
  --o-marke: #2f3d33;
  --o-marke-hell: #e3e9e2;
  --o-bronze: #a0784a;
  --o-auswahl: #2f6fdc;
  --o-auswahl-hell: rgba(47, 111, 220, .1);
  --o-erfolg: #3d7a4f;
  --o-warnung: #a86a12;
  --o-fehler: #b3261e;
  --o-schatten: 0 1px 2px rgba(37, 33, 29, .06), 0 8px 24px rgba(37, 33, 29, .08);
  --o-schatten-gross: 0 24px 64px rgba(37, 33, 29, .22);
  --o-radius: 10px;
  --o-radius-klein: 6px;
  --o-schrift: 'Hanken Grotesk', system-ui, 'Segoe UI', sans-serif;
  --o-schrift-marke: 'Cormorant Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body.oberflaeche {
  margin: 0;
  background: var(--o-grund);
  color: var(--o-text);
  font: 15px/1.55 var(--o-schrift);
  -webkit-font-smoothing: antialiased;
}
.oberflaeche a { color: inherit; text-underline-offset: .2em; }
.oberflaeche :focus-visible { outline: 2px solid var(--o-auswahl); outline-offset: 2px; }
.oberflaeche svg { display: block; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.o-symbol { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Marke ---------- */
.o-marke {
  display: inline-flex; align-items: baseline; gap: .1em;
  font-family: var(--o-schrift-marke); font-style: italic; font-size: 1.7rem; font-weight: 500; line-height: 1;
  color: var(--o-marke); text-decoration: none; letter-spacing: -.01em;
}
.o-marke::after { content: "."; color: var(--o-bronze); font-style: normal; }

/* ---------- Knöpfe ---------- */
.o-knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--o-linie-stark); border-radius: var(--o-radius-klein);
  background: var(--o-flaeche); color: var(--o-text);
  font: 500 14px/1 var(--o-schrift); text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.o-knopf:hover { border-color: var(--o-text-blass); background: #fbfaf8; }
.o-knopf:disabled { opacity: .5; cursor: default; }
.o-knopf--haupt, .oberflaeche a.o-knopf--haupt { background: var(--o-marke); border-color: var(--o-marke); color: #fff; }
.o-knopf--haupt:hover { background: #24302a; border-color: #24302a; }
.o-knopf--still { border-color: transparent; background: transparent; }
.o-knopf--still:hover { background: var(--o-flaeche-2); border-color: transparent; }
.o-knopf--gefahr { color: var(--o-fehler); }
.o-knopf--gefahr:hover { border-color: var(--o-fehler); }
.o-knopf--gefahr-voll { background: var(--o-fehler); border-color: var(--o-fehler); color: #fff; }
.o-knopf--gefahr-voll:hover { background: #8f1e18; border-color: #8f1e18; }
.o-knopf--gross { min-height: 48px; padding: 0 24px; font-size: 15px; }
.o-knopf--symbol { width: 36px; min-height: 36px; padding: 0; }
.o-knopf--breit { width: 100%; }

/* ---------- Felder ---------- */
.o-feld { display: grid; gap: 6px; margin-bottom: 16px; }
.o-feld > label, .o-label { font-size: 13px; font-weight: 600; color: var(--o-text); }
.o-feld small, .o-hilfe { font-size: 12.5px; color: var(--o-text-leise); line-height: 1.45; }
.o-eingabe, .oberflaeche select.o-eingabe, .oberflaeche textarea.o-eingabe {
  width: 100%; min-height: 42px; padding: 9px 12px;
  border: 1px solid var(--o-linie-stark); border-radius: var(--o-radius-klein);
  background: var(--o-flaeche); color: var(--o-text); font: 15px/1.4 var(--o-schrift);
}
.o-eingabe:focus { outline: none; border-color: var(--o-auswahl); box-shadow: 0 0 0 3px var(--o-auswahl-hell); }
.o-eingabe--gross { min-height: 52px; font-size: 17px; }
.o-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.o-schalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; cursor: pointer; font-size: 14px; }
.o-schalter input { position: absolute; opacity: 0; pointer-events: none; }
.o-schalter__bahn { position: relative; flex: none; width: 38px; height: 22px; border-radius: 99px; background: var(--o-linie-stark); transition: background-color .2s; }
.o-schalter__bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .2s; }
.o-schalter input:checked + .o-schalter__bahn { background: var(--o-marke); }
.o-schalter input:checked + .o-schalter__bahn::after { transform: translateX(16px); }
.o-schalter input:focus-visible + .o-schalter__bahn { outline: 2px solid var(--o-auswahl); outline-offset: 2px; }

.o-segmente { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.o-segmente button {
  min-height: 40px; padding: 8px 10px; border: 1px solid var(--o-linie-stark); border-radius: var(--o-radius-klein);
  background: var(--o-flaeche); font: 500 13px/1.25 var(--o-schrift); color: var(--o-text); cursor: pointer; text-align: center;
}
.o-segmente button[aria-pressed="true"] { border-color: var(--o-marke); box-shadow: inset 0 0 0 1px var(--o-marke); background: var(--o-marke-hell); }

/* ---------- Hinweise ---------- */
.o-meldung { padding: 12px 14px; border-radius: var(--o-radius-klein); background: var(--o-flaeche-2); font-size: 14px; margin-bottom: 16px; }
.o-meldung--erfolg { background: #e6f0e8; color: #24452e; }
.o-meldung--fehler { background: #f8e6e4; color: #7d1d17; }
.o-meldung--warnung { background: #f7eddc; color: #6d4509; }

.o-toasts { position: fixed; z-index: 1000; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.o-toast {
  padding: 11px 18px; border-radius: 99px; background: var(--o-text); color: #fff; font-size: 14px; box-shadow: var(--o-schatten);
  animation: o-toast-ein .25s ease-out; pointer-events: auto;
}
.o-toast--fehler { background: var(--o-fehler); }
@keyframes o-toast-ein { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Dialoge ---------- */
.o-dialog { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: rgba(30, 26, 22, .45); animation: o-einblenden .18s ease-out; }
.o-dialog__fenster {
  width: min(560px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  background: var(--o-flaeche); border-radius: 14px; box-shadow: var(--o-schatten-gross);
  display: flex; flex-direction: column;
}
.o-dialog__fenster--breit { width: min(920px, 100%); }
.o-dialog__kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; }
.o-dialog__kopf h2 { margin: 0; font-size: 18px; font-weight: 600; }
.o-dialog__inhalt { padding: 4px 20px 20px; }
.o-dialog__fuss { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--o-linie); position: sticky; bottom: 0; background: var(--o-flaeche); }
@keyframes o-einblenden { from { opacity: 0; } }

/* ---------- Seitenrahmen (Gäste, System, Konto) ---------- */
.o-kopfzeile {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px clamp(16px, 4vw, 40px); border-bottom: 1px solid var(--o-linie); background: var(--o-flaeche);
}
.o-kopfzeile nav { display: flex; flex-wrap: wrap; gap: 4px; }
.o-kopfzeile nav a { padding: 8px 12px; border-radius: var(--o-radius-klein); text-decoration: none; font-weight: 500; color: var(--o-text-leise); }
.o-kopfzeile nav a:hover, .o-kopfzeile nav a[aria-current="page"] { color: var(--o-text); background: var(--o-flaeche-2); }
.o-inhalt { max-width: 1080px; margin: 0 auto; padding: clamp(24px, 4vw, 48px) clamp(16px, 4vw, 40px) 80px; }
.o-seitentitel { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.o-seitentitel h1 { margin: 0; font-family: var(--o-schrift-marke); font-weight: 500; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); line-height: 1.1; }
.o-seitentitel p { margin: 6px 0 0; color: var(--o-text-leise); }
.o-karte { background: var(--o-flaeche); border: 1px solid var(--o-linie); border-radius: var(--o-radius); padding: clamp(16px, 3vw, 24px); margin-bottom: 20px; }
.o-karte h2 { margin: 0 0 14px; font-size: 16px; }
.o-kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 20px; }
.o-kennzahl { background: var(--o-flaeche); border: 1px solid var(--o-linie); border-radius: var(--o-radius); padding: 16px; }
.o-kennzahl strong { display: block; font-family: var(--o-schrift-marke); font-size: 2.3rem; font-weight: 500; line-height: 1; }
.o-kennzahl span { font-size: 13px; color: var(--o-text-leise); }

.o-tabelle-rahmen { overflow-x: auto; background: var(--o-flaeche); border: 1px solid var(--o-linie); border-radius: var(--o-radius); }
.o-tabelle { width: 100%; border-collapse: collapse; font-size: 14px; }
.o-tabelle th { text-align: left; font-size: 12px; font-weight: 600; color: var(--o-text-leise); padding: 10px 14px; border-bottom: 1px solid var(--o-linie); white-space: nowrap; background: #fcfbf9; }
.o-tabelle td { padding: 11px 14px; border-bottom: 1px solid var(--o-linie); vertical-align: top; }
.o-tabelle tr:last-child td { border-bottom: 0; }
.o-marker { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--o-flaeche-2); white-space: nowrap; }
.o-marker--ja { background: #e2efe5; color: #24452e; }
.o-marker--nein { background: #f4e4e2; color: #7d1d17; }
.o-leer { padding: 48px 20px; text-align: center; color: var(--o-text-leise); }

/* ---------- Anmeldung / Registrierung ---------- */
.o-zugang { min-height: 100svh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) { .o-zugang { grid-template-columns: 5fr 6fr; } }
.o-zugang__bild {
  position: relative; display: none; overflow: hidden;
  background: #efe9df;
}
@media (min-width: 900px) { .o-zugang__bild { display: block; } }
.o-zugang__bild iframe { position: absolute; top: 0; left: 0; width: 200%; height: 200%; border: 0; transform: scale(.5); transform-origin: 0 0; pointer-events: none; }
.o-zugang__formular { display: grid; align-content: center; justify-items: center; padding: 40px 20px; }
.o-zugang__kasten { width: min(400px, 100%); }
.o-zugang__kasten .o-marke { margin-bottom: 36px; }
.o-zugang__kasten h1 { margin: 0 0 6px; font-family: var(--o-schrift-marke); font-weight: 500; font-size: 2.4rem; line-height: 1.1; }
.o-zugang__kasten > p { margin: 0 0 28px; color: var(--o-text-leise); }
.o-zugang__wechsel { margin-top: 24px; font-size: 14px; color: var(--o-text-leise); text-align: center; }

/* ---------- Meldungsseite ---------- */
.meldungsseite { margin: 0; min-height: 100svh; display: grid; place-items: center; background: var(--o-grund); color: var(--o-text); font: 16px/1.6 var(--o-schrift); text-align: center; padding: 24px; }
.meldungsseite .etikett { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--o-text-leise); }
.meldungsseite h1 { font-family: var(--o-schrift-marke); font-weight: 500; font-size: 2.6rem; margin: .2em 0; }

/* ---------- Statistik ---------- */
.st-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 20px; }
.st-karte h2 { margin-bottom: 10px; }
.st-rang { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.st-rang li { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 44px; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 4px; }
.st-rang li:hover, .st-rang li:focus-visible { background: var(--o-flaeche-2); outline: none; }
.st-rang__name { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-rang__balken { height: 10px; }
.st-rang__balken i { display: block; height: 100%; min-width: 2px; background: var(--o-marke); border-radius: 0 4px 4px 0; }
.st-rang__wert { font-size: 13px; color: var(--o-text-leise); text-align: right; font-variant-numeric: tabular-nums; }

.st-saeulen { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: 180px auto; column-gap: 8px; }
.st-saeulen__achse { display: flex; flex-direction: column; justify-content: space-between; font-size: 11px; color: var(--o-text-blass); text-align: right; line-height: 1; }
.st-saeulen__flaeche {
  display: grid; grid-template-columns: repeat(var(--anzahl), 1fr); gap: 2px; align-items: end;
  border-bottom: 1px solid var(--o-linie-stark);
  background: linear-gradient(var(--o-linie) 1px, transparent 1px) 0 0 / 100% 50%;
}
.st-saeule { height: 100%; display: flex; align-items: flex-end; cursor: default; outline: none; }
.st-saeule i { display: block; width: 100%; min-height: 0; background: var(--o-marke); border-radius: 4px 4px 0 0; }
.st-saeule:hover i, .st-saeule:focus-visible i { background: #1b241e; }
.st-saeulen__beschriftung { grid-column: 2; display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--o-text-blass); }
.st-tabelle { margin-top: 14px; }
.st-tabelle summary { cursor: pointer; font-size: 13px; color: var(--o-text-leise); }
.st-tabelle table { margin-top: 8px; max-width: 320px; }

.o-tooltip {
  position: fixed; z-index: 1000; pointer-events: none;
  padding: 6px 10px; border-radius: 6px; background: var(--o-text); color: #fff;
  font-size: 12.5px; line-height: 1.3; white-space: nowrap; box-shadow: var(--o-schatten);
}

/* ---------- Gäste: Reiter, Formular, Filter, Download-Menü ---------- */
.o-reiterleiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 24px 0 16px; }
.o-reiterknoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.o-herunterladen { position: relative; }
.o-herunterladen > summary { list-style: none; cursor: pointer; }
.o-herunterladen > summary::-webkit-details-marker { display: none; }
.o-herunterladen__liste {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 240px; padding: 8px;
  background: var(--o-flaeche); border: 1px solid var(--o-linie); border-radius: var(--o-radius); box-shadow: var(--o-schatten-gross);
}
.o-herunterladen__liste p { margin: 8px 8px 2px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--o-text-blass); }
.o-herunterladen__liste a { display: block; padding: 7px 8px; border-radius: var(--o-radius-klein); color: var(--o-text); text-decoration: none; }
.o-herunterladen__liste a:hover { background: var(--o-flaeche-2); }
.o-raster-zwei { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; margin-bottom: 20px; }
.o-raster-zwei > .o-karte { margin: 0; }
@media (max-width: 900px) { .o-raster-zwei { grid-template-columns: 1fr; } }
.o-formular-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.o-formular-raster .o-feld--breit { grid-column: 1 / -1; }
@media (max-width: 560px) { .o-formular-raster { grid-template-columns: 1fr; } }
.o-filterleiste { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.o-filterleiste .o-eingabe { max-width: 280px; }
.o-link-zelle { display: flex; gap: 4px; align-items: center; min-width: 260px; }
.o-eingabe--klein { min-height: 34px; padding: 4px 8px; font-size: 13px; }
.o-link-zelle .o-eingabe--klein { color: var(--o-text-leise); }
.o-zuordnen { margin: 0; }
tr[hidden] { display: none; }
.o-filterleiste .o-segmente { display: flex; flex-wrap: wrap; gap: 4px; }
.o-filterleiste .o-segmente button { width: auto; min-height: 36px; padding: 6px 14px; }
.o-marker--tarif { background: #f3ead8; color: #6b5226; font-weight: 500; margin-left: 4px; vertical-align: 1px; }
.o-tarif-sperre { max-width: 620px; margin: 6vh auto; text-align: center; }
.o-tarif-sperre h1 { margin: 10px 0 12px; }
.o-tarif-sperre .o-marker--tarif { margin: 0; }

/* Reiterleiste mit vielen Einträgen (Fotos & Gästebuch) */
.o-reiter-lang { display: flex; flex-wrap: wrap; gap: 6px; min-width: min(100%, 560px); }

/* Musikwünsche im Kundenbereich */
.o-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.o-knopfreihe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.o-musik-zeile { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: start; }
.o-musik-cover { width: 64px; height: 64px; display: grid; place-items: center; overflow: hidden;
    border-radius: 8px; background: var(--o-flaeche-2, #f0ece5); font-size: 1.5rem; color: var(--o-leise, #7b7268); }
.o-musik-cover img { width: 100%; height: 100%; object-fit: cover; }
.o-musik-qr { display: grid; grid-template-columns: minmax(0, 260px) 1fr; gap: 28px; align-items: start; }
.o-musik-qr > img { width: 100%; border: 1px solid var(--o-linie); border-radius: 8px; background: #fff; }
@media (max-width: 720px) {
    .o-zwei, .o-musik-qr { grid-template-columns: 1fr; }
    .o-musik-zeile { grid-template-columns: auto 1fr; }
    .o-musik-zeile > div:last-child { grid-column: 1 / -1; }
}

/* Diashow im Kundenbereich: Link zum Kopieren, Beispielblock */
.o-kopierreihe { display: flex; gap: 6px; }
.o-kopierreihe .o-eingabe { min-width: 0; }
.o-details { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--o-linie); border-radius: var(--o-radius); }
.o-details > summary { cursor: pointer; font-weight: 500; }
.o-details[open] > summary { margin-bottom: 10px; }
.o-code {
  margin: 0; padding: 12px 14px; overflow-x: auto;
  background: var(--o-flaeche-2); border-radius: var(--o-radius-klein);
  font: 13px/1.6 ui-monospace, "SFMono-Regular", Consolas, monospace; color: var(--o-text);
}
kbd {
  padding: 1px 6px; border: 1px solid var(--o-linie-stark, var(--o-linie)); border-radius: 5px;
  background: var(--o-flaeche-2); font: 12px/1.6 ui-monospace, Consolas, monospace;
}

/* Umfragen: Antwortzeilen und Auswertung */
.o-optionsliste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.o-option { display: flex; gap: 6px; align-items: center; }
.o-option .o-eingabe { flex: 1; }
.o-umfrage__kopf { display: flex; flex-wrap: wrap; gap: 12px; align-items: start; justify-content: space-between; }
.o-umfrage__kopf h2 { margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.o-balken { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.o-balken__zeile { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-size: 14px; }
.o-balken__bahn { display: block; height: 10px; border-radius: 999px; background: var(--o-flaeche-2); overflow: hidden; }
.o-balken__wert { display: block; height: 100%; border-radius: 999px; background: var(--o-marke); min-width: 2px; }
.o-namensliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }

/* Freie Felder in Umfragen */
.o-freifelder { margin: 22px 0; padding: 14px 16px; border: 1px solid var(--o-linie); border-radius: var(--o-radius); background: var(--o-flaeche-2); }
.o-freifelder h3 { margin: 0 0 4px; font-size: 16px; }
.o-freifelder__liste { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 10px; }
.o-freifeld { padding: 12px 14px; border: 1px solid var(--o-linie); border-radius: var(--o-radius); background: var(--o-flaeche); }
.o-freifeld__kopf { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto auto; gap: 10px; align-items: end; }
.o-freifeld__kopf .o-feld { margin: 0; }
.o-freifeld__pflicht { white-space: nowrap; padding-bottom: 8px; }
.o-freifeld__optionen { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--o-linie); }
.o-freifeld__optionen[hidden] { display: none; }
.o-feldergebnis { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--o-linie); }
.o-feldergebnis h3 { margin: 0 0 8px; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; }
.o-feldantworten { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.o-feldantworten li { padding: 8px 10px; border-radius: 8px; background: var(--o-flaeche-2); font-size: 14px; }
.o-feldantworten small { display: block; margin-top: 2px; }
@media (max-width: 720px) { .o-freifeld__kopf { grid-template-columns: 1fr; align-items: start; } }

/* Termine im Gästebereich */
.o-terminliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.o-termin {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: start; justify-content: space-between;
  padding: 12px 14px; border: 1px solid var(--o-linie); border-radius: var(--o-radius);
}
.o-termin > div:first-child { min-width: 200px; flex: 1; }
.o-termin p { margin: 0 0 2px; }
.o-termin__name { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.o-termin__zahlen { margin-top: 6px; font-size: 13px; color: var(--o-leise); }
.o-termin__knoepfe { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.o-termin-zellen { display: flex; flex-wrap: wrap; gap: 4px; max-width: 16rem; }

/* Rundgang: Scheinwerfer über der Seite, Erklärung daneben */
.o-rundgang { position: fixed; inset: 0; z-index: 90; }
.o-rundgang__loch {
    position: absolute; border-radius: 10px;
    box-shadow: 0 0 0 9999px rgba(20, 18, 16, .62);
    transition: all .18s ease;
    pointer-events: none;
}
.o-rundgang__blase {
    position: absolute; width: min(330px, calc(100vw - 24px));
    padding: 16px 18px;
    background: var(--o-flaeche, #fff);
    border-radius: var(--o-radius, 12px);
    box-shadow: 0 18px 44px -18px rgba(0, 0, 0, .5);
}
.o-rundgang__blase h2 { margin: 4px 0 6px; font-size: 18px; }
.o-rundgang__blase p { margin: 0; font-size: 14px; line-height: 1.55; }
.o-rundgang__schritt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--o-leise); }
.o-rundgang__fuss { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 14px; }
.o-rundgang__weiter { display: flex; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .o-rundgang__loch { transition: none; } }
.o-musik-zeile.ist-beispiel { opacity: .72; border-style: dashed; }
.o-marker--beispiel { background: var(--o-flaeche-2); color: var(--o-leise); }
