/* Airtec Marketing — clean, modern. Brandsystem Airtec Energie (Skill airtec-design):
   einzige Akzentfarbe Flame Orange #F29100, warmes Stein-Grau, flache weisse Flächen,
   kleine Radien (Stahlrohr-Ästhetik), dünne Rahmen. Schrift: Manrope, falls installiert,
   sonst Systemstack (CSP strikt, keine externen Fonts). Docs: docs/design.md */
:root {
  --orange: #f29100;
  --orange-hover: #d87f00;
  --orange-pressed: #bf6f00;
  --orange-weich: #fff4e5;

  --grund: #f7f5f1;
  --flaeche: #ffffff;
  --flaeche-2: #faf8f5;
  --linie: #e6e1d9;
  --linie-stark: #cfc8bd;
  --text: #1f1d1a;
  --text-2: #5e5850;
  --text-3: #8b847a;

  --ok: #2f7d4a;
  --ok-weich: #e8f3ec;
  --warn: #b7791f;
  --warn-weich: #fdf3e1;
  --rot: #b23a3a;
  --rot-weich: #fbeaea;
  --grau-weich: #eeebe6;

  --radius: 6px;
  --radius-s: 4px;
  --schatten: 0 1px 2px rgba(31, 29, 26, 0.06), 0 1px 1px rgba(31, 29, 26, 0.04);
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: Manrope, Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --grund: #161513;
    --flaeche: #1f1d1a;
    --flaeche-2: #262421;
    --linie: #34312c;
    --linie-stark: #4a463f;
    --text: #efece6;
    --text-2: #b8b1a6;
    --text-3: #857e73;
    --orange-weich: #33240f;
    --ok-weich: #16291d;
    --warn-weich: #33270f;
    --rot-weich: #341a1a;
    --grau-weich: #2b2925;
    --schatten: 0 1px 2px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--grund);
  min-height: 100vh;
}
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 22px; font-weight: 700; }
h2 { font-size: 16px; font-weight: 700; }
h3 { font-size: 13px; font-weight: 700; color: var(--text-2); }
p { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange);
}
.leise { color: var(--text-2); }
.leiser { color: var(--text-3); }
.mono { font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.versteckt { display: none !important; }

/* ------------------------------------------------------------- Login */
body.loginseite { display: grid; place-items: center; padding: 24px; }
.loginbox {
  width: min(100%, 380px); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 8px;
  padding: 36px 32px 28px;
}
.loginbox .logo { display: block; width: 120px; height: auto; margin: 0 0 20px; }
.loginbox h1 { font-size: 24px; margin: 4px 0 24px; }
.loginbox label { display: block; font-size: 12px; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.loginbox input { width: 100%; margin-bottom: 14px; }
.loginbox .fehler { min-height: 20px; color: var(--rot); font-size: 13px; margin-top: 10px; }

/* ------------------------------------------------------------- Formularelemente */
input[type="text"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
  width: 100%; padding: 8px 10px; border: 1px solid var(--linie-stark); border-radius: var(--radius-s);
  background: var(--flaeche); color: var(--text); outline: none; transition: border-color 120ms, box-shadow 120ms;
}
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242, 145, 0, 0.18); }
input[type="number"] { font-variant-numeric: tabular-nums; }
select { appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
label.feld { display: grid; gap: 4px; font-size: 12px; font-weight: 600; color: var(--text-2); }
label.feld input, label.feld select { font-weight: 400; color: var(--text); }

button.primary, button.sekundaer, button.leise, button.gefaehrlich, button.icon {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: var(--radius-s);
  border: 1px solid transparent; font-weight: 600; line-height: 1.2; white-space: nowrap;
  transition: background-color 120ms, border-color 120ms, box-shadow 120ms, transform 60ms;
}
button.primary { background: var(--orange); color: #fff; box-shadow: var(--schatten); }
button.primary:hover { background: var(--orange-hover); }
button.primary:active { background: var(--orange-pressed); box-shadow: none; transform: translateY(1px); }
button.sekundaer { background: var(--flaeche); border-color: var(--linie-stark); }
button.sekundaer:hover { border-color: var(--text-3); background: var(--flaeche-2); }
button.leise { background: transparent; color: var(--text-2); padding: 6px 8px; }
button.leise:hover { background: var(--grau-weich); color: var(--text); }
button.gefaehrlich { background: transparent; color: var(--rot); border-color: transparent; }
button.gefaehrlich:hover { background: var(--rot-weich); }
button.icon { padding: 6px; background: transparent; color: var(--text-3); }
button.icon:hover { background: var(--grau-weich); color: var(--text); }
button:disabled { opacity: 0.5; cursor: default; }
button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------- Kopf */
.kopf {
  position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--flaeche) 88%, transparent);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--linie);
}
.kopf-inhalt { max-width: 1440px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.kopf .logo { height: 34px; width: auto; align-self: flex-start; }
.kopf-titel { display: flex; flex-direction: column; gap: 1px; }
.kopf-titel h1 { font-size: 16px; }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.quelle {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2);
  padding: 4px 10px; border: 1px solid var(--linie); border-radius: 999px; background: var(--flaeche);
}
.quelle .punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); }
.quelle.ok .punkt { background: var(--ok); }
.quelle.warn .punkt { background: var(--warn); }
.quelle.rot .punkt { background: var(--rot); }

/* ------------------------------------------------------------- Layout */
.seite { max-width: 1440px; margin: 0 auto; padding: 24px 24px 120px; display: grid; gap: 20px; }
.karte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); }
.karte-kopf { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.karte-kopf .rechts { margin-left: auto; display: flex; gap: 6px; flex-wrap: wrap; }
.karte-inhalt { padding: 18px; }

.start { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 900px) { .start { grid-template-columns: 1fr; } }
.start form { display: grid; gap: 12px; }
.start .zeile { display: grid; grid-template-columns: 1fr 120px auto; gap: 10px; align-items: end; }
.start .zeile label.feld { min-width: 0; }
.start .hinweis { font-size: 12px; color: var(--text-3); }

/* ------------------------------------------------------------- Dialoge */
dialog {
  border: 1px solid var(--linie); border-radius: 8px; padding: 0; background: var(--flaeche); color: var(--text);
  width: min(100% - 32px, 720px); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}
dialog::backdrop { background: rgba(31, 29, 26, 0.35); }
.dialog-kopf { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--linie); }
.dialog-kopf h2 { flex: 1; }
.dialog-inhalt { padding: 20px; display: grid; gap: 16px; }
.dialog-fuss { display: flex; gap: 8px; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--linie); background: var(--flaeche-2); }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--linie); }
.tabs button { background: none; border: none; border-bottom: 2px solid transparent; padding: 8px 12px; font-weight: 600; color: var(--text-2); margin-bottom: -1px; }
.tabs button.aktiv { color: var(--text); border-bottom-color: var(--orange); }
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.suchliste { display: grid; gap: 0; border: 1px solid var(--linie); border-radius: var(--radius-s); max-height: 260px; overflow: auto; }
.suchliste button { text-align: left; background: none; border: none; border-bottom: 1px solid var(--linie); padding: 8px 12px; display: grid; gap: 2px; }
.suchliste button:hover, .suchliste button.aktiv { background: var(--orange-weich); }
.suchliste button:last-child { border-bottom: none; }
.vorschau { border: 1px dashed var(--linie-stark); border-radius: var(--radius-s); padding: 12px 14px; font-size: 13px; display: grid; gap: 6px; }
.vorschau .gross { font-size: 18px; font-weight: 700; }
.optionen { display: flex; gap: 8px; flex-wrap: wrap; }
.optionen label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--linie-stark); border-radius: var(--radius-s); cursor: pointer; font-size: 13px; }
.optionen label:has(input:checked) { border-color: var(--orange); background: var(--orange-weich); }
.optionen input { margin: 0; accent-color: var(--orange); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--text); color: var(--grund); padding: 10px 16px; border-radius: var(--radius-s); font-size: 13px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); opacity: 0; pointer-events: none; transition: opacity 160ms;
}
.toast.sichtbar { opacity: 1; }
.toast.fehler { background: var(--rot); color: #fff; }

kbd { font-family: var(--mono); font-size: 11px; padding: 1px 5px; border: 1px solid var(--linie-stark); border-bottom-width: 2px; border-radius: 3px; color: var(--text-2); }

/* ------------------------------------------------------------- Navigation (Ansichten) */
.nav { display: flex; gap: 2px; }
.nav button { background: none; border: none; padding: 8px 12px; font-weight: 600; color: var(--text-2); border-bottom: 2px solid transparent; }
.nav button.aktiv { color: var(--text); border-bottom-color: var(--orange); }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.idee, .chip.geplant { background: var(--grau-weich); color: var(--text-2); }
.chip.entwurf { background: var(--warn-weich); color: var(--warn); }
.chip.geprueft { background: var(--orange-weich); color: var(--orange-pressed); }
.chip.freigegeben { background: #e3edf7; color: #2a5a8a; }
.chip.terminiert { background: var(--ok-weich); color: var(--ok); }
.chip.versendet { background: var(--ok); color: #fff; }
.chip.abgesagt { background: var(--rot-weich); color: var(--rot); }
.badge { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; padding: 1px 6px; border-radius: 3px; background: var(--grau-weich); color: var(--text-2); white-space: nowrap; }
.badge.email { background: var(--orange-weich); color: var(--orange-pressed); }
.badge.blog { background: #e3edf7; color: #2a5a8a; }
.badge.social { background: #ece6f5; color: #5a3f8a; }
.badge.sonstiges { background: var(--grau-weich); color: var(--text-2); }

/* ------------------------------------------------------------- Kalender */
.kal-kopf { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.kal-kopf h2 { min-width: 180px; }
.kal-naechste { margin-left: auto; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kal { display: grid; grid-template-columns: 52px repeat(7, 1fr); border-top: 1px solid var(--linie); border-left: 1px solid var(--linie); }
.kal > div { border-right: 1px solid var(--linie); border-bottom: 1px solid var(--linie); min-height: 96px; padding: 6px; position: relative; }
.kal .wk { background: var(--flaeche-2); font-size: 11px; color: var(--text-3); font-weight: 700; display: flex; flex-direction: column; gap: 4px; min-height: 0; }
.kal .wk .slotwarn { font-size: 10px; font-weight: 600; color: var(--rot); line-height: 1.2; }
.kal .wk .slotwarn.gelb { color: var(--warn); }
.kal .wk .slotok { font-size: 10px; font-weight: 600; color: var(--ok); }
.kal .kopfzelle { min-height: 0; padding: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); background: var(--flaeche-2); }
.kal .tag { cursor: pointer; }
.kal .tag:hover { background: var(--flaeche-2); }
.kal .tag.fremd { background: var(--grund); color: var(--text-3); }
.kal .tag.heute .datum { background: var(--orange); color: #fff; }
.kal .tag.slot { box-shadow: inset 3px 0 0 var(--orange); }
.kal .tag.slot.warn { box-shadow: inset 3px 0 0 var(--rot); }
.kal .datum { display: inline-block; font-size: 12px; font-weight: 600; padding: 1px 6px; border-radius: 10px; margin-bottom: 4px; }
.kal .eintrag { display: block; width: 100%; text-align: left; background: var(--flaeche); border: 1px solid var(--linie); border-left: 3px solid var(--orange); border-radius: 3px; padding: 3px 6px; font-size: 11.5px; line-height: 1.3; margin-bottom: 3px; cursor: pointer; overflow: hidden; }
.kal .eintrag.blog { border-left-color: #2a5a8a; }
.kal .eintrag.social { border-left-color: #5a3f8a; }
.kal .eintrag.sonstiges { border-left-color: var(--text-3); }
.kal .eintrag.abgesagt { opacity: 0.5; text-decoration: line-through; }
.kal .eintrag:hover { background: var(--orange-weich); }
.kal .eintrag .st { display: block; font-size: 10px; color: var(--text-3); }
.kal .eintrag.terminiert .st, .kal .eintrag.versendet .st { color: var(--ok); }
.kal .eintrag.entwurf .st { color: var(--warn); }
@media (max-width: 900px) {
  .kal { grid-template-columns: 40px repeat(7, 1fr); }
  .kal > div { min-height: 64px; padding: 3px; }
  .kal .eintrag { font-size: 10px; padding: 2px 4px; }
}
.liste-eintrag { display: grid; grid-template-columns: 90px 1fr auto auto; gap: 14px; align-items: center; padding: 10px 18px; border-bottom: 1px solid var(--linie); cursor: pointer; }
.liste-eintrag:hover { background: var(--flaeche-2); }
.liste-eintrag .d { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 13px; }
.liste-eintrag .t { font-weight: 600; }
.liste-eintrag .m { font-size: 12px; color: var(--text-3); }

/* ------------------------------------------------------------- Beitrag */
.b-kopf { display: flex; align-items: flex-start; gap: 16px; padding: 16px 18px; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.b-kopf .titel { display: grid; gap: 4px; min-width: 0; flex: 1; }
.b-kopf .titel h2 { font-size: 18px; }
.b-kopf .meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12.5px; color: var(--text-2); }
.b-kopf .aktionen { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.b-felder { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--linie); }
.b-felder label.feld textarea { min-height: 38px; resize: vertical; }
@media (max-width: 900px) { .b-felder { grid-template-columns: 1fr 1fr; } }
.b-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; }
@media (max-width: 1100px) { .b-body { grid-template-columns: 1fr; } }
.b-editor { border-right: 1px solid var(--linie); }
@media (max-width: 1100px) { .b-editor { border-right: none; border-bottom: 1px solid var(--linie); } }
.b-editor .tabs { padding: 0 18px; }
.b-editor .tabs .rechts { margin-left: auto; display: flex; gap: 4px; align-items: center; padding: 4px 0; }
.editor { padding: 14px 18px; display: grid; gap: 12px; }
.editor .kopffelder { display: grid; gap: 10px; }
.editor .kopffelder .zaehler { font-size: 11px; color: var(--text-3); font-weight: 400; margin-left: 6px; }
.editor .kopffelder .zaehler.warn { color: var(--warn); }
.modul { border: 1px solid var(--linie); border-radius: var(--radius); background: var(--flaeche); }
.modul-kopf { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: var(--flaeche-2); border-bottom: 1px solid var(--linie); border-radius: var(--radius) var(--radius) 0 0; }
.modul-kopf .typ { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-pressed); }
.modul-kopf .rechts { margin-left: auto; display: flex; gap: 2px; }
.modul-inhalt { padding: 10px; display: grid; gap: 8px; }
.modul-inhalt textarea { min-height: 52px; resize: vertical; font-size: 13px; line-height: 1.45; }
.modul-inhalt input { font-size: 13px; }
.modul-inhalt .zeile2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.modul-inhalt .punkt { display: grid; grid-template-columns: 1fr 2fr auto; gap: 6px; align-items: start; }
.modul-inhalt .artikel { display: grid; gap: 6px; padding: 8px; border: 1px dashed var(--linie-stark); border-radius: var(--radius-s); }
.modul-inhalt .artikel .zeile2 { grid-template-columns: 1fr 1fr; }
.modul-inhalt .klein { font-size: 11px; color: var(--text-3); }
.modul-neu { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.modul-neu select { width: auto; }
.editor-fuss { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding-top: 4px; }
.editor-fuss .status { font-size: 12px; color: var(--text-3); margin-left: auto; }
.speichern-hinweis { font-size: 12px; color: var(--warn); }

.b-vorschau { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 640px; }
.vorschau-leiste { display: flex; align-items: center; gap: 6px; padding: 8px 18px; border-bottom: 1px solid var(--linie); flex-wrap: wrap; }
.vorschau-leiste .rechts { margin-left: auto; display: flex; gap: 6px; align-items: center; font-size: 12px; color: var(--text-3); }
.vorschau-rahmen { background: #e9e6e0; padding: 16px; display: flex; justify-content: center; overflow: auto; }
@media (prefers-color-scheme: dark) { .vorschau-rahmen { background: #111; } }
.vorschau-rahmen iframe { border: none; background: #f4f4f4; width: 100%; max-width: 700px; height: 900px; border-radius: 6px; box-shadow: var(--schatten); transition: max-width 160ms; }
.vorschau-rahmen.mobil iframe { max-width: 375px; }
.vorschau-rahmen pre { width: 100%; max-width: 700px; background: var(--flaeche); border: 1px solid var(--linie); border-radius: 6px; padding: 16px; font-family: var(--mono); font-size: 12px; white-space: pre-wrap; margin: 0; color: var(--text); }
.betreff-vorschau { padding: 10px 18px; border-bottom: 1px solid var(--linie); font-size: 13px; display: grid; gap: 2px; }
.betreff-vorschau .b { font-weight: 700; }
.betreff-vorschau .v { color: var(--text-2); }
.betreff-vorschau .a { font-size: 11.5px; color: var(--text-3); }

.pruefung { padding: 14px 18px; border-top: 1px solid var(--linie); display: grid; gap: 8px; }
.pruefung h3 { display: flex; align-items: center; gap: 8px; }
.pruefung h3 .leiser { font-weight: 400; }
.befunde { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.befunde li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 13px; line-height: 1.4; padding: 6px 8px; border-radius: var(--radius-s); background: var(--flaeche-2); }
.befunde li.fehler { background: var(--rot-weich); }
.befunde li.warnung { background: var(--warn-weich); }
.befunde li .m::before { content: '✕'; font-weight: 700; color: var(--rot); }
.befunde li.warnung .m::before { content: '!'; color: var(--warn); }
.befunde li .q { display: block; font-size: 11px; color: var(--text-3); margin-top: 1px; }
.befunde li .sp { font-size: 10.5px; font-weight: 700; color: var(--text-3); margin-right: 4px; }
.pruefung.ok .zusammenfassung { color: var(--ok); font-weight: 600; }
.pruefung.fehler .zusammenfassung { color: var(--rot); font-weight: 600; }

.klaviyo-status { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--linie); }
.klaviyo-status .kasten { border: 1px solid var(--linie); border-radius: var(--radius); padding: 10px 12px; font-size: 12.5px; display: grid; gap: 3px; }
.klaviyo-status .kasten .sp { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.klaviyo-status .kasten .fehlertext { color: var(--rot); }
.audit { padding: 8px 18px 14px; font-size: 12px; color: var(--text-3); display: grid; gap: 3px; }

/* ------------------------------------------------------------- Einstellungen */
.einst { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; padding: 18px; }
.einst label.feld select { width: 100%; }
.einst .voll { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.einst .hinweis { grid-column: 1 / -1; font-size: 12px; color: var(--text-3); }
.regeln-liste { padding: 0 18px 18px; display: grid; gap: 4px; font-size: 13px; }
.regeln-liste .r { display: grid; grid-template-columns: 70px 1fr 160px; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.regeln-liste .r .st { font-size: 11px; font-weight: 700; text-transform: uppercase; }
.regeln-liste .r .st.fehler { color: var(--rot); }
.regeln-liste .r .st.warnung { color: var(--warn); }
.regeln-liste .r .q { color: var(--text-3); font-size: 12px; }

@media (max-width: 760px) {
  .kopf-inhalt, .seite { padding-left: 12px; padding-right: 12px; }
  .kopf-titel .leise { display: none; }
  .b-felder { grid-template-columns: 1fr; }
  .klaviyo-status { grid-template-columns: 1fr; }
  .liste-eintrag { grid-template-columns: 80px 1fr; }
}

/* Vorschau bleibt beim Scrollen des Editors stehen (nur breite Ansicht) */
@media (min-width: 1101px) { .b-vorschau { position: sticky; top: 64px; align-self: start; max-height: calc(100vh - 72px); } .vorschau-rahmen { max-height: calc(100vh - 200px); } }
label.feld.check { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 500; }
label.feld.check input { width: auto; margin: 0; }
