/* agentur28 Veranstaltungen – Aussehen der Verwaltung (hier nichts ändern) */
*, *::before, *::after { box-sizing: border-box; }
:root { --akzent: #a05408; --text: #2b2b2b; --grau: #6b6b6b; --linie: #e2ddd3; --grund: #f6f4ee; --karte: #ffffff; --fehler: #b3261e; --ok: #2e7d32; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--text); background: var(--grund); }
a { color: var(--akzent); }
h1 { font-size: 1.6rem; margin: 0; line-height: 1.2; }
h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
code { background: #f0ece3; padding: 1px 5px; border-radius: 4px; font-size: .9em; }
.klein { font-size: .88rem; }
.grau { color: var(--grau); }
.inline { display: inline; margin: 0; }
.versteckt { display: none; }

/* Kopf */
.kopf { background: var(--akzent); color: #fff; }
.kopf__innen { max-width: 1180px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kopf__titel strong { display: block; font-size: 1.2rem; }
.kopf__titel span { opacity: .85; font-size: .9rem; }
.kopf__wer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .9rem; }
.menue { max-width: 1180px; margin: 0 auto; padding: 0 16px; display: flex; gap: 4px; overflow-x: auto; }
.menue a { color: #fff; text-decoration: none; padding: 10px 12px; border-radius: 8px 8px 0 0; white-space: nowrap; opacity: .9; }
.menue a:hover { background: rgba(255,255,255,.15); opacity: 1; }
.menue a.aktiv { background: var(--grund); color: var(--text); opacity: 1; font-weight: 600; }
.menue__website { margin-left: auto; }

.inhalt { max-width: 1180px; margin: 0 auto; padding: 20px 16px 40px; }
.fuss { text-align: center; color: var(--grau); font-size: .8rem; padding: 20px; }

/* Meldungen */
.meldung { padding: 12px 16px; border-radius: 8px; margin: 0 0 16px; border-left: 5px solid var(--ok); background: #e8f5e9; }
.meldung--fehler { border-color: var(--fehler); background: #fdecea; }
.meldung--hinweis { border-color: #e0a100; background: #fff6d6; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--akzent); color: #fff; border: 2px solid var(--akzent); padding: 10px 18px; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; min-height: 44px; }
.knopf:hover { filter: brightness(1.08); }
.knopf:disabled { opacity: .6; cursor: wait; }
.knopf--hell { background: #fff; color: var(--akzent); }
.knopf--gefahr { background: #fff; color: var(--fehler); border-color: #e7b3ae; }
.knopf--klein { padding: 5px 12px; min-height: 36px; font-size: .9rem; }
.knopf--breit { width: 100%; }
.kopf .knopf--hell { border-color: #fff; }

/* Karten und Formulare */
.karte { background: var(--karte); border: 1px solid var(--linie); border-radius: 12px; padding: 20px; margin: 0 0 16px; }
.karte--schmal { max-width: 440px; margin: 30px auto; }
.karte--mittel { max-width: 640px; }
fieldset.karte { min-width: 0; }
legend { font-weight: 700; font-size: 1.1rem; padding: 0 6px; color: var(--akzent); }
.formular label, .termin-form label { display: block; font-weight: 600; margin: 0 0 14px; }
.formular label small, .termin-form label small { font-weight: 400; color: var(--grau); }
input, select, textarea { display: block; width: 100%; margin-top: 5px; font: inherit; color: inherit; padding: 10px 12px; border: 1px solid #cfc8ba; border-radius: 8px; background: #fff; min-height: 44px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid color-mix(in srgb, var(--akzent) 30%, transparent); border-color: var(--akzent); }
input[type=checkbox], input[type=radio] { display: inline-block; width: 20px; height: 20px; min-height: 0; margin: 0 8px 0 0; vertical-align: -4px; accent-color: var(--akzent); }
input[type=color].farbwahl { width: 56px; padding: 3px; }
.fehlerhaft { border-color: var(--fehler) !important; background: #fff7f6; }
.feldfehler { color: var(--fehler); font-size: .9rem; margin: -8px 0 12px; font-weight: 600; }
label .feldfehler { margin: 4px 0 0; }
.tipp { color: var(--grau); font-size: .88rem; margin: -6px 0 12px; }
.haken { font-weight: 400 !important; cursor: pointer; }
.haken--gross { font-size: 1.05rem; }
.feldreihe { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-end; }
.feldreihe > label { flex: 1 1 180px; }
.feldreihe__text { padding-bottom: 24px; color: var(--grau); }
.pw-feld { display: flex; gap: 8px; align-items: center; }
.pw-feld input { flex: 1; }
.pw-feld .knopf { margin-top: 5px; }

.umschalter { display: flex; gap: 0; margin: 0 0 16px; border: 2px solid var(--akzent); border-radius: 6px; overflow: hidden; }
.umschalter label { flex: 1; margin: 0 !important; padding: 10px; text-align: center; cursor: pointer; font-weight: 600; }
.umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.umschalter label:has(input:checked) { background: var(--akzent); color: #fff; }
.umschalter label:has(input:focus-visible) { outline: 3px solid #000; outline-offset: -3px; }
.umschalter--klein { border-width: 1px; }
.umschalter--klein label { padding: 7px; font-weight: 500; font-size: .95rem; }

/* Termin-Formular mit Vorschau rechts */
.termin-form__spalten { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 960px) {
  .termin-form__spalten { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .termin-form__vorschau { position: sticky; top: 16px; }
}
.aktionen { display: grid; gap: 8px; }
.vorschau-karte__titel { display: block; margin-bottom: 8px; color: var(--grau); font-size: .9rem; }
.vorschau-datum { font-weight: 700; color: #a05408; margin-bottom: 6px; }
.vorschau { background: #f8f9fa; padding: 8px; border-radius: 8px; font-family: FiraSansCondensed-Light, system-ui, sans-serif; }

/* Serientabelle */
.serienliste { border: 1px solid var(--linie); border-radius: 10px; padding: 12px; margin: 4px 0 16px; background: #fcfbf8; }
.serienliste__kopf { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.serienliste .tipp { margin: 0 0 10px; }
.serienliste__tabelle { max-height: 380px; overflow-y: auto; }
.serie-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; padding: 6px 4px; border-top: 1px solid var(--linie); position: relative; }
.serie-zeile label { margin: 0 !important; font-weight: 400 !important; }
.serie-zeile__datum { min-width: 150px; font-weight: 600 !important; cursor: pointer; }
.serie-zeile__feld { display: flex !important; align-items: center; gap: 6px; font-size: .88rem; color: var(--grau); }
.serie-zeile__feld input { margin: 0; min-height: 34px; padding: 4px 8px; width: auto; }
.serie-zeile__feld--link { flex: 1 1 180px; }
.serie-zeile__feld--link input { width: 100%; }
.serie-zeile--aus .serie-zeile__datum { text-decoration: line-through; color: var(--grau); }
.serie-zeile--vorbei { opacity: .55; }
.serie-zeile__weg { color: var(--fehler); font-weight: 600; font-size: .88rem; position: absolute; left: 175px; }

/* Listen */
.zeile-titel { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.filter { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; align-items: center; }
.filter select { width: auto; margin: 0; }
.reiter { display: flex; background: #fff; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; }
.reiter a { padding: 8px 16px; text-decoration: none; color: var(--text); }
.reiter a.aktiv { background: var(--akzent); color: #fff; font-weight: 600; }
.liste { display: grid; gap: 10px; }
.eintrag { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--linie); border-left: 6px solid var(--akzent); border-radius: 10px; padding: 12px 14px; flex-wrap: wrap; }
.eintrag--aus { opacity: .65; background: #faf9f6; }
.eintrag__datum { width: 64px; text-align: center; line-height: 1.1; flex: none; }
.eintrag__datum strong { display: block; font-size: 1.6rem; }
.eintrag__datum small { color: var(--grau); font-size: .8rem; }
.eintrag__serie { display: block; font-size: 1.7rem; color: var(--akzent); }
.eintrag__haupt { flex: 1 1 260px; min-width: 0; }
.eintrag__titel { font-weight: 700; font-size: 1.05rem; }
.eintrag__info { color: #444; }
.eintrag__knoepfe { display: flex; gap: 6px; flex-wrap: wrap; }
.eintrag--form { border-left-width: 1px; }
.eintrag--form input.eintrag__name { flex: 1 1 200px; margin: 0; width: auto; }
.eintrag--form .farbwahl { margin: 0; }
.eintrag--neu { border-style: dashed; }
.leer { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed var(--linie); border-radius: 12px; }
.marke { display: inline-block; font-size: .75rem; font-weight: 700; color: #fff; background: var(--akzent); padding: 1px 8px; border-radius: 4px; vertical-align: 2px; margin-left: 6px; }
.marke--grau { background: #8a8a8a; }
.farbpunkt { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; }
.schalter-zeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.schalter-zeile p { margin: 4px 0 0; }
.rollenwahl, .abteilungswahl { border: 1px solid var(--linie); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }
.rollenwahl legend, .abteilungswahl legend { font-size: 1rem; }
.rolle { display: flex !important; gap: 4px; align-items: flex-start; margin: 6px 0 !important; font-weight: 400 !important; cursor: pointer; }
.rolle input { margin-top: 3px; }
.rolle small { display: block; }

@media (max-width: 600px) {
  h1 { font-size: 1.35rem; }
  .eintrag__knoepfe { width: 100%; }
  .menue__website { margin-left: 0; }
  .serie-zeile__weg { position: static; }
}

/* ===== Version 1.1: Veranstaltungsübersicht ===== */
@media (min-width: 960px) {
  .termin-form[data-ansicht="uebersicht"] .termin-form__spalten,
  .termin-form[data-ansicht="beide"] .termin-form__spalten { grid-template-columns: minmax(0, 1fr) 480px; }
}
.marke--thema { background: #3e5982; }
.vorschau-karte__titel + .vorschau, .vorschau + .vorschau-karte__titel { margin-top: 10px; }

.bildwahl { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: start; }
.bildwahl__vorschau { width: 180px; height: 112px; border: 1px solid #ddd; border-radius: 6px; background: #f2f2f2; overflow: hidden; display: flex; align-items: center; justify-content: center; color: #888; font-size: .85rem; }
.bildwahl__vorschau img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bildwahl__felder label { margin-bottom: 10px; }
@media (max-width: 600px) { .bildwahl { grid-template-columns: 1fr; } .bildwahl__vorschau { width: 100%; height: 180px; } }

/* ===== Rechte Spalte: Inhaltsblöcke in der Maske ===== */
.rblock { border: 1px solid #e3e3e3; border-radius: 6px; margin: 8px 0; background: #fcfcfc; }
.rblock > summary { cursor: pointer; padding: 8px 12px; font-weight: 700; color: #555; }
.rblock[open] > summary { border-bottom: 1px solid #eee; margin-bottom: 8px; }
.rblock > *:not(summary) { margin-left: 12px; margin-right: 12px; }
.rblock > *:last-child { margin-bottom: 12px; }
.feldreihe--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rknoepfe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rknopf .haken { margin-bottom: 4px; font-size: .9rem; }
.rknopf input[type=text], .rknopf input:not([type]) { width: 100%; }
@media (max-width: 700px) { .feldreihe--3, .rknoepfe { grid-template-columns: 1fr; } }

/* ===== STATUS-Auswahl (nur eine) ===== */
.statuswahl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.statuswahl__kachel { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border: 2px solid #e3e3e3; border-radius: 8px; background: #fff; cursor: pointer; text-align: center; margin: 0; }
.statuswahl__kachel:hover { border-color: #c9c9c9; }
.statuswahl__kachel input { position: absolute; opacity: 0; pointer-events: none; }
.statuswahl__kachel:has(input:checked) { border-color: var(--akzent); background: #fff8ef; box-shadow: 0 0 0 3px rgba(160,84,8,.15); }
.statuswahl__kachel input:focus-visible + .statuswahl__bild { outline: 2px solid var(--akzent); outline-offset: 2px; }
.statuswahl__bild { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.statuswahl__bild img { max-width: 60px; max-height: 60px; display: block; }
.statuswahl__bild--leer { font-size: 28px; color: #bbb; }
.statuswahl__bild--fehlt::after { content: attr(data-fehlt); font-size: 10px; color: #c00; border: 1px dashed #e0a0a0; border-radius: 4px; padding: 18px 4px; }
.statuswahl__text { font-size: .85rem; font-weight: 700; color: #444; }
.marke--status { background: #c82333; }
@media (max-width: 600px) { .statuswahl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== Social Media (mehrere möglich) ===== */
.socialwahl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.socialwahl__eintrag { display: flex; flex-direction: column; gap: 6px; }
.socialwahl__eintrag input[name$="[url]"] { width: 100%; font-size: .85rem; }
@media (max-width: 600px) { .socialwahl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== AUGE an Passwortfeldern ===== */
.pw-auge { position: relative; display: block; }
.pw-auge input { width: 100%; padding-right: 44px; }
.pw-auge__knopf { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 34px; height: 34px; padding: 0; border: 0; background: transparent; color: #777; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 4px; }
.pw-auge__knopf:hover { color: #222; background: #f2f2f2; }
.pw-auge__knopf svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Speichern oben in der Bearbeitungsmaske (grün) ===== */
.zeile-titel__knoepfe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.knopf.knopf--gruen { background: #00A500; border-color: #00A500; color: #ffffff; }
.knopf.knopf--gruen:hover { background: #008c00; border-color: #008c00; color: #ffffff; }

/* ===== Block 1 und 2: fest, immer offen, Felder untereinander ===== */
.rblock--fest { padding: 10px 12px 12px; }
.rblock--fest > * { margin-left: 0 !important; margin-right: 0 !important; }
.rblock__kopf { font-weight: 700; color: #555; padding: 0 0 8px; margin-bottom: 8px; border-bottom: 1px solid #eee; }
.rblock__kopf small { font-weight: 400; color: #888; }
.rblock--fest label { display: block; margin-bottom: 10px; }
.rblock--fest input, .rblock--fest textarea { width: 100%; }
.rblock--untereinander label { display: block; margin-bottom: 10px; }
.rblock--untereinander input, .rblock--untereinander textarea { width: 100%; }
.feldreihe--zeit { align-items: start; }

/* ===== Mehrkunden (V2) ===== */
.kopf__name { opacity: .9; }
.kundenwahl { display: flex; align-items: center; gap: 6px; margin: 0; }
.kundenwahl label { display: flex; align-items: center; gap: 6px; font-size: .9rem; margin: 0; color: #fff; }
.kundenwahl select { width: auto; margin: 0; min-height: 36px; padding: 4px 8px; color: var(--text); }
.kundenleiste { background: #fff; border: 1px solid var(--linie); border-left: 5px solid var(--akzent); border-radius: 6px; padding: 8px 14px; margin: 0 0 16px; }
.codekasten { display: grid; gap: 8px; justify-items: start; margin: 8px 0; }
.codekasten textarea.code { font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: #faf9f6; white-space: pre-wrap; word-break: break-all; }
.code-details { margin-top: 8px; }
.code-details summary { cursor: pointer; color: var(--akzent); font-weight: 600; font-size: .92rem; }
.knopfreihe { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.abschnitt { font-size: 1rem; margin: 18px 0 8px; color: var(--akzent); }
.abschnitt small { font-weight: 400; color: var(--grau); }

/* ===== Aussehen ===== */
.raster-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px 20px; align-items: end; }
.raster-2 > label { margin: 0 0 12px; font-weight: 600; }
.raster-2 > label small { font-weight: 400; color: var(--grau); }
.raster-2 > .haken { align-self: center; }
.farbraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 16px; margin: 4px 0 6px; }
.farbfeld { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; margin: 0 !important; }
.farbfeld input { flex: none; margin: 0; }
/* Schriftleiste: erscheint direkt am angeklickten Text */
.schriftleiste { position: absolute; z-index: 1000; width: max-content; max-width: calc(100vw - 24px); padding: 10px 12px 8px; background: #fff; border: 1px solid #c8c8c8; border-radius: 6px; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.schriftleiste[hidden] { display: none; }
.schriftleiste::before { content: ''; position: absolute; top: -7px; left: var(--pfeil, 30px); width: 12px; height: 12px; background: #fff; border-left: 1px solid #c8c8c8; border-top: 1px solid #c8c8c8; transform: rotate(45deg); }
.schriftleiste.oben::before { top: auto; bottom: -7px; transform: rotate(225deg); }
.schriftleiste__kopf { padding: 0 30px 8px 0; margin-bottom: 8px; border-bottom: 1px solid #eee; }
.schriftleiste__kopf span { font-weight: 700; color: #e0006c; }
.schriftleiste__kopf small { margin-left: 8px; color: var(--grau); font-size: .8rem; }
.schriftleiste__zu { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border: 0; border-radius: 4px; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; color: #555; }
.schriftleiste__zu:hover { background: #eee; }
.schriftleiste__zeile { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; }
.schriftleiste select, .schriftleiste input { margin: 0; min-height: 34px; height: 34px; padding: 2px 8px; border: 1px solid #bdbdbd; border-radius: 4px; font-size: .95rem; background: #fff; width: auto; }
.schriftleiste__art { width: 170px !important; }
.schriftleiste__groesse { width: 70px !important; text-align: center; }
.schriftleiste__abstand { width: 112px !important; }
.sl-ausr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.schriftleiste__trenner { width: 1px; height: 34px; background: #ddd; margin: 0 4px; }
.sl-feld, .sl-knopf { position: relative; }
.sl-feld { display: inline-block; padding-bottom: 16px; }
.sl-knopf { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 34px; padding: 0 6px; margin: 0 0 16px; border: 1px solid #d5d5d5; border-radius: 4px; background: #fafafa; color: #222; font: 600 17px/1 Georgia, 'Times New Roman', serif; cursor: pointer; }
.sl-feld::after, .sl-knopf::after { content: attr(data-unter); position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%); white-space: nowrap; font: 400 11px/1 system-ui, sans-serif; color: #666; font-style: normal; text-transform: none; letter-spacing: 0; }
.sl-feld::after { bottom: 1px; }
.sl-knopf:hover { background: #ececec; }
.sl-knopf.an { background: #d6e4f5; border-color: #6f9bd1; }
.sl-knopf sup { font-size: 9px; margin-left: 1px; }
.sl-knopf small { font-size: 12px; }
.sl-knopf--fett { font-weight: 800; }
.sl-knopf--kursiv { font-style: italic; font-weight: 400; }
.sl-knopf--gross { font: 700 12px/1 system-ui, sans-serif; letter-spacing: .5px; }
.sl-knopf--zurueck { font: 400 18px/1 system-ui, sans-serif; }
.sl-farbe { flex-direction: column; gap: 2px; }
.sl-farbe__a { font-size: 16px; }
.sl-farbe__balken { display: block; width: 22px; height: 5px; border-radius: 1px; background: #000; }
.sl-farbe input { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; cursor: pointer; padding: 0 !important; border: 0 !important; }
.schrift-hinweis { background: #fff6d6; border-left: 4px solid #e0a100; padding: 8px 12px; margin: 0 0 14px !important; color: #333 !important; font-size: .95rem !important; border-radius: 4px; }

/* Vorschau auf der Seite Aussehen: großer Bildschirm + Handy */
.vorschau-paar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.vorschau-teil { min-width: 0; }
.vorschau-teil .abschnitt { margin-top: 0; }
.vorschau-huelle { position: relative; width: 100%; overflow: hidden; border: 1px solid var(--linie); border-radius: 6px; background: #fff; min-height: 200px; }
.vorschau-huelle iframe { display: block; border: 0; transform-origin: 0 0; background: #fff; }
.vorschau-huelle--handy { width: 412px; max-width: 100%; border: 10px solid #222; border-radius: 22px; overflow-x: hidden; }

/* Vorschau im Terminformular: echte Übersicht, verkleinert */
.vorschau-karte { overflow-x: auto; }
.vorschau-karte .a28-veranstaltungen { margin: 0 0 14px; }
.vorschau-karte .mb-cal-wrapper.vorschau-wrapper { zoom: .5; width: 860px; max-width: none; margin: 0; padding: 4px; }
.vorschau-karte .mb-cal-detail.open { margin-top: 0; padding-bottom: 0; }
.vorschau-karte .mb-tab-liste { margin-top: 0; }

/* Wo: Hinweis Google Maps */
.maps-hinweis { margin: -6px 0 4px; padding: 8px 12px; border-radius: 4px; background: #fff6d6; border-left: 4px solid #e0a100; font-size: .9rem; }
.maps-hinweis--ok { background: #e8f5e9; border-left-color: #2e7d32; }
.maps-hinweis a { font-weight: 600; }

/* ===== Öffnungszeiten-Formular ===== */
.zeiten-form__spalten { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 1000px) {
  .zeiten-form__spalten { grid-template-columns: minmax(0, 1fr) 460px; align-items: start; }
  .zeiten-form__vorschau { position: sticky; top: 16px; }
}
.zeiten-form label { display: block; font-weight: 600; margin: 0 0 14px; }
.zeiten-form label small { font-weight: 400; color: var(--grau); }
.zeiten-tabelle { border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; margin: 4px 0 10px; }
.zeiten-zeile { display: grid; grid-template-columns: 150px minmax(0, 1fr) 24px minmax(0, 1fr); gap: 8px; align-items: center; padding: 6px 10px; border-top: 1px solid var(--linie); }
.zeiten-zeile:first-child { border-top: 0; }
.zeiten-zeile--kopf { background: #f3f0e8; font-size: .85rem; font-weight: 700; color: var(--grau); }
.zeiten-zeile input { margin: 0; min-height: 40px; padding: 6px 10px; }
.zeiten-plus { text-align: center; font-weight: 700; color: var(--grau); }
.zusatz-zeile { display: grid; grid-template-columns: 1fr; gap: 0; padding-top: 6px; border-top: 1px solid var(--linie); }
.zusatz-zeile:first-of-type { border-top: 0; padding-top: 0; }
.zusatz-zeile textarea { line-height: 1.45; }
.zeiten-form__vorschau .a28-oeffnungszeiten { display: block; }
.zeiten-form__vorschau .oz-box { padding: 0; border-radius: 6px; overflow: hidden; background: var(--a28-kasten-grund, #fff); box-shadow: 0 8px 28px rgba(0, 0, 0, .14); }
@media (max-width: 640px) {
  .zeiten-zeile { grid-template-columns: 1fr 1fr; }
  .zeiten-zeile > input:first-child { grid-column: 1 / -1; font-weight: 700; }
  .zeiten-plus { display: none; }
  .zeiten-zeile--kopf { display: none; }
  .zusatz-zeile { grid-template-columns: 1fr; }
}
