/* ============================================================
   MITGEHN — Design „D" (23.11.2026)
   Farbige Karten je Kategorie, große Überschriften, schwebende
   Menüleiste. Schwerpunkt: Feed und Treffen-Seite, am Handy.

   Alles hängt an body.dz (gesetzt in src/header.php über dzOn()
   aus src/design_d.php). Ohne die Klasse greift hier nichts -
   Abschalten heißt also: settings.design_d = 0, fertig.

   Warum fast jede Regel mit "body.dz .fv-liste ..." beginnt:
   Der Feed bringt sein eigenes <style> mit, das NACH dieser Datei
   im Dokument steht. Bei gleicher Stärke gewinnt die spätere
   Regel - also müssen die Regeln hier stärker sein.
   ============================================================ */

/* ---------- Schrift (selbst gehostet, kein Fremdserver) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-var.woff2') format('woff2');
}

/* ---------- Farben und Grundwerte ---------- */
body.dz {
  --dz-grund:   #FBF8F2;
  --dz-tinte:   #14262E;
  --dz-gruen:   #1F7A5C;
  --dz-gruen-d: #17604A;
  --dz-gelb:    #F4B63F;
  --dz-leise:   #4E5F5A;
  --dz-linie:   #E8E2D6;
  --dz-titel:   'Bricolage Grotesque', 'Hanken Grotesk', system-ui, sans-serif;
  --dz-schatten: 0 1px 3px rgba(20, 38, 46, .12);

  /* Bestehende Variablen der Seite umstellen - damit ziehen auch
     Seiten mit, die hier nicht einzeln angefasst wurden. */
  --bg: #FBF8F2;
  --ink: #14262E;
  --navy: #14262E;
  --blue: #14262E;
  --bg-dark: #14262E;
  --green: #1F7A5C;
  --green-2: #17604A;
  --r: 18px;
  --r-md: 22px;
  --r-lg: 28px;

  background: #FBF8F2;
  color: #14262E;
}
/* Einzelne Seiten setzen ihren eigenen Hintergrund (der Feed z. B. ein
   Blaugrau ueber body.page-feed.design-editorial). Das neue Aussehen
   soll ueberall denselben warmen Grund haben - deshalb !important. */
html body.dz { background: #FBF8F2 !important; }

/* Die fünf Farbwelten: --kb Fläche, --kt Text auf der Fläche, --kd dunkel */
body.dz .dz-kat-gruen   { --kb: #D7EEDF; --kt: #17604A; --kd: #0F4636; }
body.dz .dz-kat-violett { --kb: #E4DDF8; --kt: #4B2FA8; --kd: #35207C; }
body.dz .dz-kat-gelb    { --kb: #FCE7C3; --kt: #6B3A00; --kd: #6B3A00; }
body.dz .dz-kat-blau    { --kb: #D9E8F7; --kt: #1F4E86; --kd: #173A63; }
body.dz .dz-kat-koralle { --kb: #FAD9D2; --kt: #A1321F; --kd: #7A2416; }

/* ---------- Überschriften überall ---------- */
body.dz h1, body.dz h2, body.dz h3,
body.dz .page-title, body.dz .card-title, body.dz .act-title, body.dz .section-title {
  font-family: var(--dz-titel);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--dz-tinte);
}

/* ---------- Knöpfe ---------- */
body.dz .ed-btn-go { background: var(--dz-gruen); border-radius: 24px; }
body.dz .ed-btn-go:hover { background: var(--dz-gruen-d); }

/* ============================================================
   KOPFLEISTE UND MENÜLEISTE (Handy)
   ============================================================ */
@media (max-width: 1023px) {
  body.dz.design-editorial .nav,
  body.dz.layout-v2 .nav {
    background: rgba(251, 248, 242, .94);
    border-bottom: 0;
  }
  body.dz.design-editorial .ed-mob-brand {
    font-family: var(--dz-titel);
    font-size: 25px;
    letter-spacing: -.03em;
    color: var(--dz-tinte);
  }
  body.dz.design-editorial .ed-mob-brand span { color: var(--dz-gruen); }

  /* Schwebende dunkle Leiste statt weißem Balken am Rand.
     Sie sitzt 10px über dem unteren Rand - alles, was sich bisher
     an "60px Leiste" orientiert hat, bekommt unten etwas mehr Luft. */
  body.dz { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  body.dz.design-editorial .bottom-tab-bar {
    width: calc(100% - 24px);
    max-width: 536px;
    height: 64px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    padding: 0 8px;
    background: var(--dz-tinte);
    border: 0;
    border-radius: 32px;
    box-shadow: 0 12px 26px -12px rgba(20, 38, 46, .7);
    align-items: center;
  }
  body.dz.design-editorial .bottom-tab-bar .bt-item {
    height: 64px;
    padding-top: 0;
    justify-content: center;
    color: #B9C8C3;
    font-weight: 700;
  }
  body.dz.design-editorial .bottom-tab-bar .bt-item span { font-size: 11px; }
  body.dz.design-editorial .bottom-tab-bar .bt-item.active { color: #FFFFFF; }
  /* Plus in der Mitte: gelber Kreis, sitzt in der Leiste statt darüber */
  body.dz.design-editorial .ed-tab-plus { margin-top: 0; }
  body.dz.design-editorial .ed-plus-box {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--dz-gelb);
    box-shadow: none;
  }
  body.dz.design-editorial .ed-plus-box svg { stroke: var(--dz-tinte); }
  body.dz.design-editorial .ed-tab-plus:active .ed-plus-box { background: #E0A12B; }
  body.dz.design-editorial .ed-tab-dot { box-shadow: 0 0 0 2px var(--dz-tinte); background: var(--dz-gelb); top: 12px; }
  body.dz.design-editorial .bottom-tab-bar .bt-badge { top: 9px; background: var(--dz-gelb); color: var(--dz-tinte); }
}

/* ============================================================
   FEED
   ============================================================ */
body.dz .fv {
  --fv-green: #1F7A5C;
  --fv-green-lt: #D7EEDF;
  --fv-ink: #14262E;
  --fv-soft: #4E5F5A;
  --fv-mute: #5E6F69;
  --fv-line: #E8E2D6;
}

/* Begrüßung */
body.dz .fv-hello { margin: 6px 2px 16px; }
body.dz .fv-hello-top { align-items: flex-start; flex-wrap: nowrap; }
body.dz .fv-hello h1 {
  font-family: var(--dz-titel);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.02;
  letter-spacing: -.035em;
}
body.dz .fv-wohin { display: inline; }
body.dz .fv-hello p { margin-top: 8px; font-size: 15px; font-weight: 600; color: var(--dz-leise); }
body.dz .fv-switch {
  border: 0; box-shadow: var(--dz-schatten);
  min-height: 40px; display: inline-flex; align-items: center;
  padding: 0 14px; font-weight: 800; color: var(--dz-gruen-d);
}

/* Dein nächstes Treffen */
body.dz .fv-next {
  background: var(--dz-tinte);
  border-radius: 22px;
  padding: 14px;
  box-shadow: none;
}
body.dz .fv-next .w {
  background: var(--dz-gelb); border: 0; color: var(--dz-tinte);
  border-radius: 16px; min-width: 62px; padding: 10px 8px;
}
body.dz .fv-next .w b { font-size: 19px; font-weight: 800; }
body.dz .fv-next .w i { opacity: 1; }
body.dz .fv-next .k { color: #A9D8C6; opacity: 1; font-size: 11.5px; }
body.dz .fv-next .t { font-size: 17px; }
body.dz .fv-next .m { color: #D5DEDB; opacity: 1; font-size: 13.5px; }

body.dz .fv-wait { border-radius: 22px; box-shadow: 0 0 0 2px var(--dz-gelb); }
body.dz .fv-wait .n, body.dz .fv-wait .rw .r { background: none; color: #8A3A0A; }
body.dz .fv-wait .n { background: var(--dz-gelb); color: var(--dz-tinte); }

/* Schnellzugriff */
body.dz .fv-q {
  border: 0; border-radius: 23px; min-height: 46px; padding: 0 16px;
  box-shadow: var(--dz-schatten); font-weight: 800; font-size: 15px;
}
body.dz .fv-quick { padding-bottom: 16px; }

/* Reiter, Darstellung, Filter */
body.dz .fv-bar { gap: 8px; margin-bottom: 10px; }
body.dz .fv-tabs { gap: 8px; padding: 2px; }
body.dz .fv-tab {
  min-height: 46px; display: inline-flex; align-items: center;
  padding: 0 16px; border-radius: 23px;
  background: #fff; color: var(--dz-tinte);
  font-weight: 800; font-size: 15px;
  box-shadow: var(--dz-schatten);
}
body.dz .fv-tab.on { background: var(--dz-tinte); color: #fff; box-shadow: none; }
body.dz .fv-viewsw a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; box-shadow: var(--dz-schatten); color: var(--dz-tinte);
}
body.dz .fv-viewsw a.on { background: var(--dz-gruen); color: #fff; box-shadow: none; }
body.dz .fv-filterbtn {
  min-height: 46px; border: 0; border-radius: 23px;
  box-shadow: var(--dz-schatten); font-weight: 800; padding: 0 14px;
}
body.dz .fv-filterbtn .n { background: var(--dz-gelb); color: var(--dz-tinte); }

body.dz .fv-sub a {
  min-height: 40px; display: inline-flex; align-items: center;
  border: 0; box-shadow: var(--dz-schatten);
  border-radius: 20px; padding: 0 14px; font-weight: 800; font-size: 14px;
  color: var(--dz-tinte);
}
body.dz .fv-sub a.on { background: var(--dz-gruen); color: #fff; box-shadow: none; }
body.dz .fv-sub .b { background: var(--dz-gelb); color: var(--dz-tinte); }

/* Tages-Überschrift */
body.dz .fv-day { margin: 22px 2px 10px; }
body.dz .fv-day strong {
  font-family: var(--dz-titel); font-weight: 800;
  font-size: 23px; letter-spacing: -.02em;
}
body.dz .fv-day span { font-size: 14px; font-weight: 600; color: var(--dz-leise); }

/* Kästen zwischen den Treffen: nur Ecken und Überschriften angleichen */
body.dz .fv-hint, body.dz .fv-pins, body.dz .fv-spon, body.dz .fv-comm, body.dz .fv-empty { border-radius: 22px; }
body.dz .fv-comm .h strong, body.dz .fv-empty h3, body.dz .fv-sheet h2 {
  font-family: var(--dz-titel); font-weight: 800; letter-spacing: -.02em;
}
body.dz .fv-btn { border-radius: 22px; background: var(--dz-gruen); }
body.dz .fv-btn.soft { background: #D7EEDF; color: #0F4636; }
body.dz .fv-btn.grey { background: #EFEBE3; color: var(--dz-leise); }
body.dz .fv-btn.warn { background: var(--dz-gelb); color: var(--dz-tinte); }
body.dz .fv-spon .fv-btn { background: #C2560F; }

/* ---------- Die Karte ----------
   Vorher: weiße Karte, Datum als Spalte links.
   Jetzt: ganze Karte in der Farbe der Kategorie, Uhrzeit und
   Kategorie als weißes Schild oben, großer Titel, Knopf unten. */
body.dz .fv-liste .fv-card {
  display: flex; flex-direction: column; align-items: stretch;
  gap: 0;
  padding: 16px;
  margin: 0 0 14px;
  border-radius: 28px;
  background: var(--kb, #fff);
  box-shadow: none;
}
body.dz .fv-liste .fv-card.full { opacity: .72; }

/* Schild: "16:30 · MO · Spaziergang" */
body.dz .fv-liste .fv-when {
  order: 1;
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 5px;
  max-width: calc(100% - 46px);   /* rechts bleibt Platz für das Merken-Herz */
  min-height: 34px; padding: 0 14px;
  margin: 0;
  border-radius: 17px;
  background: #fff; color: var(--kd, #14262E);
  text-align: left; text-decoration: none;
  box-sizing: border-box;
}
body.dz .fv-liste .fv-when .t,
body.dz .fv-liste .fv-when .d,
body.dz .fv-liste .fv-when .k {
  display: inline; margin: 0;
  font-size: 15px; font-weight: 800; line-height: 1.2; letter-spacing: 0;
  white-space: nowrap;
}
body.dz .fv-liste .fv-when .d::before,
body.dz .fv-liste .fv-when .k::before { content: "· "; }
body.dz .fv-liste .fv-when .k { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
body.dz .fv-liste .fv-when.spontan { background: #fff; color: #8A3A0A; }

body.dz .fv-liste .fv-main { order: 2; margin-top: 12px; min-width: 0; }
body.dz .fv-liste .fv-title {
  font-family: var(--dz-titel); font-weight: 800;
  font-size: 25px; line-height: 1.08; letter-spacing: -.025em;
  color: var(--dz-tinte);
  padding-right: 0;
  overflow-wrap: anywhere;
}
body.dz .fv-liste .fv-meta {
  margin-top: 6px;
  font-size: 15px; font-weight: 700;
  color: var(--kt, #4E5F5A);
  white-space: normal;
}
body.dz .fv-liste .fv-tags { margin-top: 10px; gap: 6px; }
body.dz .fv-liste .fv-tag,
body.dz .fv-liste .fv-tag.deal,
body.dz .fv-liste .fv-tag.spon {
  background: #fff; color: var(--kd, #14262E);
  font-size: 12.5px; padding: 4px 10px;
}

body.dz .fv-liste .fv-row { margin-top: 16px; gap: 10px; }
body.dz .fv-liste .fv-av {
  width: 34px; height: 34px; font-size: 13px;
  border-color: var(--kb, #fff); margin-left: -10px;
}
body.dz .fv-liste .fv-av:first-child { margin-left: 0; }
body.dz .fv-liste .fv-cnt { font-size: 14px; font-weight: 700; color: var(--dz-tinte); }
body.dz .fv-liste .fv-cnt .free { color: #8A3A0A; }
body.dz .fv-liste .fv-cnt .none { color: #9B1C1C; }

body.dz .fv-liste .fv-btn {
  min-height: 48px; padding: 0 22px; border-radius: 24px;
  font-size: 16px; font-weight: 800;
  background: var(--dz-gruen); color: #fff;
}
body.dz .fv-liste .fv-btn.soft { background: #fff; color: #0F4636; }
body.dz .fv-liste .fv-btn.grey { background: rgba(255, 255, 255, .72); color: var(--dz-leise); }
body.dz .fv-liste .fv-btn.warn { background: var(--dz-gelb); color: var(--dz-tinte); }

/* Merken-Herz: 44px Tippfläche, oben rechts neben dem Schild */
body.dz .fv-liste .fv-save {
  top: 11px; right: 10px;
  width: 44px; height: 44px; font-size: 20px;
  background: rgba(255, 255, 255, .78); box-shadow: none;
  z-index: 2;   /* das Foto steht spaeter im Quelltext und laege sonst darueber */
}

/* Foto: randlos oben in der Karte. Ohne Foto braucht es kein
   Ersatzfeld mehr - die farbige Karte füllt die Lücke selbst. */
body.dz .fv-liste .fv-pic {
  order: 0;
  margin: -16px -16px 14px;
  border-radius: 28px 28px 0 0;
}
body.dz .fv-liste .fv-pic.leer { display: none; }
body.dz .fv-liste .fv-vidonly { order: 3; margin-top: 12px; align-self: flex-start; }
body.dz .fv-liste .fv-card.hat-bild .fv-save {
  top: 12px; right: 12px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 1px 4px rgba(20, 38, 46, .2);
}

/* ---------- Kachelansicht ---------- */
body.dz .fv-liste.kacheln .fv-card { padding: 14px; margin: 0; border-radius: 24px; }
body.dz .fv-liste.kacheln .fv-main { display: flex; flex-direction: column; flex: 1 1 auto; height: auto; }
body.dz .fv-liste.kacheln .fv-title {
  font-size: 20px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 0;
}
body.dz .fv-liste.kacheln .fv-meta { min-height: 0; font-size: 14px; }
body.dz .fv-liste.kacheln .fv-tags { min-height: 0; }
body.dz .fv-liste.kacheln .fv-row { margin-top: auto; padding-top: 14px; min-height: 0; flex-wrap: wrap; }
body.dz .fv-liste.kacheln .fv-pic { margin: -14px -14px 12px; border-radius: 24px 24px 0 0; }
body.dz .fv-liste.kacheln .fv-btn { min-height: 44px; padding: 0 16px; font-size: 14.5px; }
body.dz .fv-liste.kacheln .fv-when .t { font-size: 15px; }

/* Zwei Kacheln nebeneinander am Handy: alles eine Nummer kleiner,
   der Knopf über die volle Breite - sonst passt er nicht neben die Gesichter. */
@media (max-width: 700px) {
  body.dz .fv-liste.kacheln .fv-card { padding: 11px; border-radius: 20px; }
  body.dz .fv-liste.kacheln .fv-pic { margin: -11px -11px 9px; border-radius: 20px 20px 0 0; }
  body.dz .fv-liste.kacheln .fv-when {
    min-height: 28px; padding: 0 9px; border-radius: 14px;
    max-width: calc(100% - 34px); margin: 0;
  }
  body.dz .fv-liste.kacheln .fv-when .t,
  body.dz .fv-liste.kacheln .fv-when .d,
  body.dz .fv-liste.kacheln .fv-when .k { font-size: 12px; }
  body.dz .fv-liste.kacheln .fv-when .d { display: none; }
  body.dz .fv-liste.kacheln .fv-main { margin-top: 9px; }
  body.dz .fv-liste.kacheln .fv-title { font-size: 16px; min-height: 0; }
  body.dz .fv-liste.kacheln .fv-meta { font-size: 12px; }
  body.dz .fv-liste.kacheln .fv-tag { font-size: 10.5px; padding: 2px 7px; }
  body.dz .fv-liste.kacheln .fv-row { gap: 6px; padding-top: 10px; }
  body.dz .fv-liste.kacheln .fv-av { width: 24px; height: 24px; font-size: 10px; margin-left: -7px; }
  body.dz .fv-liste.kacheln .fv-cnt { font-size: 11.5px; }
  body.dz .fv-liste.kacheln .fv-act { margin-left: 0; width: 100%; }
  body.dz .fv-liste.kacheln .fv-act form,
  body.dz .fv-liste.kacheln .fv-act > span { width: 100%; }
  body.dz .fv-liste.kacheln .fv-btn {
    width: 100%; justify-content: center; box-sizing: border-box;
    min-height: 40px; padding: 0 10px; font-size: 13px; border-radius: 20px;
  }
  body.dz .fv-liste.kacheln .fv-save { top: 5px; right: 3px; width: 36px; height: 36px; font-size: 16px; }
  body.dz .fv-liste.kacheln .fv-card.hat-bild .fv-save { top: 6px; right: 6px; width: 32px; height: 32px; }
}
@media (max-width: 370px) {
  body.dz .fv-liste .fv-title { font-size: 22px; }
  body.dz .fv-liste .fv-btn { padding: 0 16px; }
  body.dz .fv-hello h1 { font-size: 31px; }
}

/* ============================================================
   TREFFEN-SEITE
   ============================================================ */

/* Farbiger Kopf: Schild mit Tag und Uhrzeit, großer Titel, Gastgeber */
body.dz .dz-hero {
  background: var(--kb, #D7EEDF);
  padding: 22px 22px 24px;
}
body.dz .dz-chip {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  min-height: 34px; padding: 4px 14px;
  border-radius: 17px;
  background: #fff; color: var(--kd, #14262E);
  font-size: 15px; font-weight: 800; line-height: 1.25;
}
/* !important, weil das bisherige Theme Ueberschriften auf der Treffen-Seite
   mit staerkeren Regeln auf Serifenschrift und 24px festlegt. */
body.dz .dz-hero h1.dz-hero-title {
  margin: 14px 0 0 !important;
  font-family: var(--dz-titel) !important; font-weight: 800 !important;
  font-size: clamp(32px, 8.6vw, 46px) !important;
  line-height: 1.02 !important; letter-spacing: -.035em !important;
  color: var(--dz-tinte) !important;
  overflow-wrap: anywhere;
}
body.dz .dz-hero-host {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; margin-top: 14px;
  color: var(--dz-tinte); text-decoration: none;
  font-size: 16px; font-weight: 700;
}
body.dz .dz-hero-host img,
body.dz .dz-hero-host .dz-init {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  object-fit: cover;
}
body.dz .dz-hero-host .dz-init {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--kd, #14262E); color: #fff; font-weight: 800;
}

/* Der Titel steht jetzt im Kopf - die alte Zeile darunter entfällt,
   die Knöpfe für Gastgeber (Bearbeiten, Absagen) bleiben stehen. */
body.dz .act-title-row > h1 { display: none; }
body.dz .act-title-row:not(:has(.act-host-actions)) { display: none !important; }
/* Kategorie steht ebenfalls im Kopf. Nur der Text der Zeile wird
   ausgeblendet; ein Schild wie "Singletreff" bringt seine eigene
   Schriftgröße mit und bleibt sichtbar. */
body.dz .act-card-cat {
  font-size: 0 !important; margin-bottom: 0 !important;
  position: static !important; background: none !important;
  padding: 0 !important; box-shadow: none !important; border: 0 !important;
}
body.dz .act-card-cat:not(:has(span)) { display: none !important; }
body.dz .act-card-cat > span { margin: 0 0 10px !important; }
/* Großes Emoji-Feld für Treffen ohne Bild: der farbige Kopf ersetzt es. */
body.dz .dz-weg { display: none !important; }

/* Info-Kacheln: Wann / Wo / Plätze */
body.dz .ed-info {
  border: 0; border-radius: 22px;
  box-shadow: var(--dz-schatten);
  padding: 14px;
}
body.dz .ed-info-ic { border-radius: 50%; background: #D7EEDF; }
body.dz .ed-info-main { font-size: 16px; font-weight: 800; color: var(--dz-tinte); }
body.dz .ed-info-sub { font-size: 13.5px; color: var(--dz-leise); }
body.dz .ed-info.dz-plaetze { background: #FCE7C3; box-shadow: none; }
body.dz .ed-info.dz-plaetze .ed-info-sub { color: #6B3A00; font-weight: 800; }
body.dz .ed-info.dz-plaetze .ed-info-main {
  font-family: var(--dz-titel); font-size: 20px; line-height: 1.15; margin-top: 2px;
}
body.dz .dz-balken {
  height: 10px; border-radius: 5px; background: #fff;
  margin-top: 12px; overflow: hidden;
}
body.dz .dz-balken span { display: block; height: 100%; border-radius: 5px; background: var(--dz-tinte); }

body.dz .ed-desc { font-size: 17px; line-height: 1.55 !important; color: #2A3B41 !important; }

@media (max-width: 768px) {
  /* Am Handy: Karte randlos unter dem Kopf, Kacheln untereinander
     in voller Breite (zwei schmale Spalten quetschen die Adresse). */
  body.dz .ed-info-rows { display: grid !important; grid-template-columns: 1fr; gap: 10px !important; }
  body.dz .ed-info { min-width: 0; }

  /* Fester Knopf unten: ein breiter grüner Knopf über der Menüleiste
     statt orangefarbener Pille UND weißem Balken übereinander. */
  body.dz .ed-join-bar { display: none !important; }
  body.dz .sticky-cta {
    left: 12px; right: 12px; transform: none;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    /* styles.css gibt .sticky-cta (gedacht fuer die Startseite) einen dunklen
       Kasten mit. Solange die Pille ihn verdeckte, fiel das nicht auf. */
    background: none; padding: 0; border: 0; border-radius: 0; box-shadow: none;
  }
  body.dz .sticky-cta > form, body.dz .sticky-cta > a { flex: 1 1 auto; width: 100%; }
  body.dz .sticky-cta-pill {
    width: 100%; justify-content: center; box-sizing: border-box;
    min-height: 58px; padding: 0 22px;
    border-radius: 29px;
    background: var(--dz-gruen); color: #fff;
    font-family: var(--dz-titel); font-size: 19px; font-weight: 800;
    box-shadow: 0 10px 24px -10px rgba(31, 122, 92, .8);
  }
  body.dz .sticky-cta-pill[data-variant="outline"] {
    background: #fff; color: var(--dz-gruen-d);
    border: 2px solid var(--dz-gruen);
    box-shadow: 0 6px 16px -8px rgba(20, 38, 46, .4);
  }
  body.dz main.page-wrap, body.dz main.page-wrap-narrow { padding-bottom: 150px !important; }
}
@media (min-width: 769px) and (max-width: 1023px) {
  /* Tablet: der weiße Balken bleibt, rückt aber über die schwebende Leiste. */
  body.dz .ed-join-bar {
    left: 12px; right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
    border: 0; border-radius: 24px;
    box-shadow: 0 10px 24px -12px rgba(20, 38, 46, .5);
  }
}

/* ============================================================
   NACHTRAG 23.11.2026: Kategorien im Feed, Merken-Herz als Zeichen
   ============================================================ */

/* Kategorien: eine Zeile zum Wischen, jede in ihrer Farbwelt */
body.dz .fv-kats {
  display: flex; gap: 8px;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 2px 2px 12px; margin: 0 -2px;
}
body.dz .fv-kats::-webkit-scrollbar { display: none; }
body.dz .fv-kat {
  flex: none;
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border-radius: 22px;
  background: var(--kb, #fff); color: var(--kd, #14262E);
  font-size: 15px; font-weight: 800; white-space: nowrap;
  text-decoration: none;
}
body.dz .fv-kat:not([class*="dz-kat-"]) { box-shadow: var(--dz-schatten); }
body.dz .fv-kat.on { background: var(--dz-tinte); color: #fff; box-shadow: none; }

/* Merken: gezeichnetes Herz statt Emoji. Das Emoji bleibt im Quelltext
   (das Skript tauscht es beim Antippen aus) und wird nur unsichtbar -
   so muss am Skript nichts geaendert werden. Der Zustand kommt aus
   data-saved, das dasselbe Skript setzt. */
body.dz .fv-liste .fv-save { font-size: 0 !important; display: flex; align-items: center; justify-content: center; }
body.dz .fv-liste .fv-save::before {
  content: ""; display: block; width: 22px; height: 22px;
  background: var(--dz-tinte);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.500S3.500 15.400 3.500 9.300A4.600 4.600 0 0 1 12 6.900a4.600 4.600 0 0 1 8.500 2.400c0 6.100-8.500 11.200-8.500 11.200z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.500S3.500 15.400 3.500 9.300A4.600 4.600 0 0 1 12 6.900a4.600 4.600 0 0 1 8.500 2.400c0 6.100-8.500 11.200-8.500 11.200z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body.dz .fv-liste .fv-save[data-saved="1"]::before {
  background: #C2331F;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.500S3.500 15.400 3.500 9.300A4.600 4.600 0 0 1 12 6.900a4.600 4.600 0 0 1 8.500 2.400c0 6.100-8.500 11.200-8.500 11.200z'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.500S3.500 15.400 3.500 9.300A4.600 4.600 0 0 1 12 6.900a4.600 4.600 0 0 1 8.500 2.400c0 6.100-8.500 11.200-8.500 11.200z'/%3E%3C/svg%3E");
}
@media (max-width: 700px) {
  body.dz .fv-liste.kacheln .fv-save::before { width: 18px; height: 18px; }
}

/* ============================================================
   NACHTRAG 23.11.2026: uebrige Seiten angleichen
   (Profil, Nachrichten, Erstellen, Entdecken, Mein Bereich ...)
   Diese Seiten uebernehmen Grund, Farben und Leiste schon ueber die
   Variablen oben. Hier nur, was dort noch nach altem Stil aussah.
   ============================================================ */

/* Ueberschriften, die ihre Serifenschrift fest im Quelltext tragen
   (style="font-family:...") - dagegen hilft nur !important. */
/* "html body.dz.dz": bewusst doppelt gesetzt. Einzelne Seiten legen ihre
   Ueberschriften im eigenen <style> ebenfalls mit !important fest; bei
   gleichem Gewicht gewinnt die spaetere Regel - also muss diese schwerer sein. */
html body.dz.dz h1, html body.dz.dz h2, html body.dz.dz h3 { font-family: var(--dz-titel) !important; }

/* Einzelne Titel und Zahlen, die keine h-Elemente sind */
html body.dz.dz .np-stat-n,            /* Profil: Kennzahlen */
html body.dz.dz .ws-title,             /* Wer haette Lust? */
html body.dz.dz .db-sec,               /* Mein Bereich: Abschnitte */
html body.dz.dz .fe-title,             /* Feed: Einschub-Titel */
html body.dz.dz .fp-title,
html body.dz.dz .nn-head strong,       /* Feed: "Heute & am Wochenende los" */
html body.dz.dz .fv-pins .h strong {
  font-family: var(--dz-titel) !important;
  font-weight: 800;
  letter-spacing: -.02em;
}
/* Abschnittstitel im Handy-Menue: kleine Grossbuchstaben lesen sich
   in der Grundschrift besser als in einer Schmuckschrift. */
body.dz .mob-section { font-family: 'Hanken Grotesk', system-ui, sans-serif !important; }

/* Knoepfe ueberall rund wie im Feed */
body.dz .btn-primary, body.dz .btn-green, body.dz .btn-outline { border-radius: 999px; }
body.dz .np-btn { border-radius: 24px; }

/* Nachrichten */
body.dz .m2-tab.active { color: var(--dz-gruen-d); border-bottom-color: var(--dz-gruen); background: #EAF4EE; }
body.dz .m2-cnt { background: var(--dz-gelb); color: var(--dz-tinte); }
body.dz .m2-rail { border: 0; border-radius: 22px; box-shadow: var(--dz-schatten); }

/* Entdecken: Reiter und Auswahlknoepfe rund */
body.dz .en-tab, body.dz .en-chip, body.dz .en-btn { border-radius: 23px; }
