/* ─────────────────────────────────────────────────────────────────────
   Gastgeber-Dashboard (static/index.html) — seit 2026-09-24.

   Nur hier geladen. brand.css traegt auch Landing, Kiosk, PWA und Widget;
   was dort steht, darf sich durch das Dashboard nicht verschieben.

   Anlass: Peter am iPhone, "funktioniert, fuehlt sich aber falsch an, zu
   viel Text". Gemessen (data/smoke/dash_mobil_vorher_*): zwei
   Navigationsebenen uebereinander, deren zweite auf 393px bei "Kart…"
   abriss; vier Kennzahl-Karten (400px) ueber Tipps, Kalender und Karte;
   der Aufmacher einer Empfehlung 3.000px unter dem Lineal; Versalien-
   Ueberzeilen und "›"-Pfeile an jedem Textknopf.

   Aufbau:
     1. Ton: Satzschrift statt Versalien, keine Pfeile, echte Knoepfe
     2. Telefon (< 768px): Kopfleiste, Leiste unten, "Mehr"
     3. Telefon: Ansichten (Woche, Events, Kalender, Karte, Tipps,
        Analytics, Einstellungen), Blaetter, Formulare
     4. Bewegung und Fokus
   Abstaende im 8px-Raster (--s-*), Farben nur aus brand.css.
   ───────────────────────────────────────────────────────────────────── */

/* ── 1. Ton ─────────────────────────────────────────────────────────── */

/* Ueberzeilen in Satzschrift. Versalien mit 0.18em Sperrung standen ueber
   jedem Block und lasen sich wie ein Baukasten. */
.wow-dash .wow-kicker,
.wow-dash .wow-wk-picks-label,
.wow-dash .wow-wk-group,
.wow-dash .wow-wk-sheet-when,
.wow-dash .wow-modal-status,
.wow-dash .wow-events-status,
.wow-dash .wow-viewtoggle button,
.wow-dash .wow-wk-planb-kicker,
.wow-dash .wow-wk-badge,
.wow-dash .wow-lead-meta,
.wow-dash .wow-wk-span-pick,
.wow-dash .wow-wk-planb-dot,
.wow-dash .wow-card-meta {
  text-transform: none;
  letter-spacing: 0;
}
.wow-dash .wow-kicker { font-size: 13px; font-weight: 600; color: var(--ink-500); }
.wow-dash .wow-wk-picks-label { font-size: 13px; color: var(--ink-500); }
.wow-dash .wow-viewtoggle button { font-size: 14px; }
.wow-dash .wow-wk-sheet-when,
.wow-dash .wow-card-meta { font-size: 14px; }
.wow-dash .wow-wk-symbol { text-transform: none; letter-spacing: 0; font-size: 11px; }

/* Pfeile an Textknoepfen: im Markup entfernt; falls einer nachkommt, bleibt
   er unsichtbar. */
.wow-dash .wow-btn-text .arrow { display: none; }

/* Echte Knoepfe fuer Entscheidungen. brand.css macht aus jedem
   bg-indigo-600-Knopf einen unterstrichenen Textlink ("kill the indigo
   pill"); "Freigeben" und "Speichern" sahen dadurch aus wie Fliesstext. */
.wow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border-radius: 6px;
  border: 1px solid transparent;
  font: 600 15px/1 var(--font-sans);
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease;
}
.wow-btn:disabled { opacity: .5; cursor: not-allowed; }
.wow-btn-primary { background: var(--teal-700); color: #fff; }
.wow-btn-primary:hover:not(:disabled) { background: var(--teal-900); }
.wow-btn-quiet { background: var(--bg-surface); color: var(--ink-700); border-color: var(--rule); }
.wow-btn-quiet:hover:not(:disabled) { border-color: var(--ink-500); }
.wow-modal-section .wow-card-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Formular-Knoepfe in Dashboard und Einstellungen wieder als Knopf. */
.wow-app button.bg-indigo-600.text-white {
  background-color: var(--teal-700) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 6px !important;
  padding-left: var(--s-4) !important;
  padding-right: var(--s-4) !important;
  min-height: 44px;
}
.wow-app button.bg-indigo-600.text-white:hover:not(:disabled) { background-color: var(--teal-900) !important; }
.wow-app button.bg-indigo-600.text-white:disabled { opacity: .5; }

/* Diagramm: feste Hoehe statt height-Attribut am <canvas>, das mit
   maintainAspectRatio:false auf dem Telefon auf 150px zusammenfiel. */
.wow-chartbox { position: relative; height: 240px; }

.wow-badge-ico { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--ink-300); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wow-badge-ico.is-earned { stroke: var(--teal-700); }

/* Tabelle "Abgleich-Verlauf" am Laptop */
.wow-runs th { font-weight: 600; }

/* Leiste unten gibt es nur auf dem Telefon. */
.wow-appnav-root { display: none !important; }

/* Detail-Blatt: Einblenden von rechts (Laptop) bzw. unten (Telefon). */
@keyframes wowSheetRight { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes wowSheetUp { from { transform: translateY(32px); opacity: 0; } to { transform: none; opacity: 1; } }
.wow-modal-panel { animation: wowSheetRight 220ms ease-out; }

/* ── 2. Telefon: Rahmen ────────────────────────────────────────────── */

@media (max-width: 767px) {
  body.wow-dash { -webkit-tap-highlight-color: transparent; }

  /* Platz fuer die Leiste unten plus Home-Balken. */
  body.has-appnav { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }

  /* Kopfleiste: eine Zeile, 56px. Umschalter und Logout wandern in die
     Leiste unten bzw. "Mehr". */
  .wow-topbar > div { padding-top: var(--s-2); padding-bottom: var(--s-2); padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); flex-wrap: nowrap !important; min-height: 56px; }
  .wow-topbar { padding-top: env(safe-area-inset-top, 0px); }
  .has-appnav .wow-topbar-switch,
  .has-appnav .wow-topbar-konto button { display: none !important; }
  .has-appnav .wow-topbar-name { display: inline !important; font-weight: 600; color: var(--ink-700); max-width: 50vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wow-topbar-marke img { width: 28px; height: 28px; }
  .wow-topbar-marke span { font-size: 17px; }

  /* Reiterleiste des Laptops weicht der Leiste unten. */
  .wow-app .wow-tabbar { display: none; }

  /* Nur angemeldet (body.has-appnav, gesetzt aus currentView). Bis 24.09.
     hing das Ausblenden an [style*="display: none"] -- das Markup beginnt
     aber mit style="display:none" ohne Leerzeichen, der Selektor traf nie,
     und die Leiste stand auf der Anmeldeseite. */
  body.has-appnav .wow-appnav-root { display: block !important; }
  .wow-appnav {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: var(--bg-surface);
    border-top: 1px solid var(--rule);
    padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  }
  .wow-appnav-item {
    appearance: none;
    background: none;
    border: 0;
    min-height: 56px;
    padding: 6px 0 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font: 500 11px/1 var(--font-sans);
    color: var(--ink-500);
    cursor: pointer;
    position: relative;
  }
  .wow-appnav-item svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  .wow-appnav-item[aria-current="page"] { color: var(--teal-700); font-weight: 600; }
  .wow-appnav-item[aria-current="page"]::before {
    content: '';
    position: absolute;
    top: 0; left: 30%; right: 30%;
    height: 2px;
    background: var(--teal-700);
    border-radius: 0 0 2px 2px;
  }

  /* "Mehr": Blatt ueber der Leiste. */
  .wow-more { position: fixed; inset: 0; z-index: 45; }
  .wow-more-backdrop { position: absolute; inset: 0; background: rgba(7, 21, 25, .45); }
  .wow-more-sheet {
    position: absolute;
    left: 0; right: 0;
    bottom: calc(57px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-surface);
    border-radius: 12px 12px 0 0;
    padding: var(--s-4) var(--s-4) var(--s-3);
    animation: wowSheetUp 180ms ease-out;
  }
  .wow-more-haus { margin: 0 0 var(--s-2) var(--s-2); font: 600 13px/1.3 var(--font-sans); color: var(--ink-500); }
  .wow-more-list { display: flex; flex-direction: column; }
  .wow-more-list button {
    appearance: none;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--rule);
    min-height: 52px;
    padding: 0 var(--s-2);
    text-align: left;
    font: 500 17px/1.2 var(--font-sans);
    color: var(--ink-900);
    cursor: pointer;
  }
  .wow-more-list button[aria-current="page"] { color: var(--teal-700); font-weight: 600; }
  .wow-more-list button.is-quiet { color: var(--ink-500); border-bottom: 0; }
  .wow-more-legal { display: flex; gap: var(--s-4); margin: var(--s-2) var(--s-2) 0; }
  .wow-more-legal a { font: 400 13px/1 var(--font-sans); color: var(--ink-500); padding: 14px 0; }

  /* Toasts oben ueber die volle Breite statt rechts angeklebt. */
  .wow-toasts { left: 16px; right: 16px; top: calc(8px + env(safe-area-inset-top, 0px)); max-width: none !important; }

  /* Fusszeile: kompakt, die Rechtstexte stehen auch unter "Mehr". */
  .has-appnav .wow-footer { margin-top: var(--s-6); }
  .has-appnav .wow-footer > div { padding-top: var(--s-4); padding-bottom: var(--s-4); gap: var(--s-2); font-size: 13px; }

  /* iOS zoomt in jedes Feld unter 16px hinein und bleibt danach
     vergroessert. Gilt fuer alle Felder der Seite, auch das Anmeldeformular. */
  .wow-dash input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  .wow-dash select,
  .wow-dash textarea { font-size: 16px !important; }

  /* Tippziele: 44px fuer alles Bedienbare im Dashboard. */
  .wow-app button:not(.wow-wk-inline):not(.wow-appnav-item):not(.wow-wk-span),
  .wow-app select,
  .wow-app a.wow-btn-text { min-height: 44px; }
  .wow-app a.wow-btn-text { display: inline-flex; align-items: center; }
  .wow-app .wow-btn-text { padding-top: 0; padding-bottom: 0; }
  .wow-app input:not([type="checkbox"]):not([type="radio"]):not([type="range"]) { min-height: 44px; }
  .wow-src-del { min-width: 44px; font-size: 22px; }
  .wow-footer nav a { padding-top: 12px; padding-bottom: 12px; }
}

/* ── 3. Telefon: Ansichten ─────────────────────────────────────────── */

@media (max-width: 767px) {
  .wow-app { padding-top: var(--s-4) !important; }
  .wow-banner { margin-bottom: var(--s-3); }
  .wow-banner > div { font-size: 14px; }

  /* Kennzahlen: eine Zeile mit vier Zahlen statt vier Karten. */
  .wow-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 !important; margin-bottom: var(--s-4) !important; background: var(--bg-surface); border: 1px solid var(--rule); border-radius: 6px; }
  .wow-kpis > div { border: 0 !important; border-left: 1px solid var(--rule) !important; border-radius: 0 !important; padding: var(--s-3) var(--s-2) !important; background: none !important; }
  .wow-kpis > div:first-child { border-left: 0 !important; }
  .wow-kpis p:first-child { font-size: 11px !important; line-height: 1.2; margin-bottom: 2px !important; }
  .wow-kpis p:nth-child(2) { font-size: 22px !important; line-height: 1.1; }

  /* Filter: eine waagerecht scrollende Reihe statt drei umbrechender
     Zeilen Chips ueber der Liste. */
  .wow-filterrow {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px var(--s-4) !important;
    padding: 0 16px 2px;
    scroll-padding: 0 16px;
  }
  .wow-filterrow::-webkit-scrollbar { display: none; }
  .wow-filterrow > * { flex: none; white-space: nowrap; }
  .wow-filterrow button { font-size: 14px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .wow-filterrow select { margin-left: 0 !important; font-size: 16px !important; }

  /* Diese Woche */
  .wow-thisweek-head.wow-wk-head { padding: 0 0 var(--s-4); flex-wrap: nowrap; align-items: flex-start; gap: var(--s-3); }
  .wow-thisweek-title { font-size: 26px; line-height: 1.1; margin: 0; }
  .wow-thisweek-sub { font-size: 14px; margin: var(--s-2) 0 0; line-height: 1.45; }
  .wow-context-band { font-size: 13px; }
  .wow-wk-zettel-btn { flex: none; min-width: 44px; padding: 0 var(--s-3); font-size: 14px; }
  .wow-wk-kicker { margin-bottom: var(--s-2); }

  /* Empfehlungen als Wischkarten: eine Reihe, die nach rechts weiterlaeuft.
     Die Tageszellen loesen sich auf, die Karten stehen direkt in der Reihe. */
  .wow-wk-picks { margin-left: -2px; margin-right: -2px; }
  .wow-dash .wow-wk-pickgrid {
    display: flex;
    flex-direction: row;
    gap: var(--s-2);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 2px 2px 4px;
  }
  .wow-dash .wow-wk-pickgrid::-webkit-scrollbar { display: none; }
  .wow-dash .wow-wk-pickcell { display: contents; }
  .wow-dash .wow-wk-pick {
    flex: 0 0 72%;
    scroll-snap-align: start;
    padding: var(--s-3);
    border-radius: 6px;
    justify-content: flex-start;
  }
  .wow-dash .wow-wk-pick-title { -webkit-line-clamp: 2; font-size: 16px; }
  .wow-dash .wow-wk-pick[aria-pressed="true"] { background: var(--bg-surface); border-color: var(--rule); border-left-color: var(--teal-700); }
  /* Die Legende erklaert, was ein Balken ist; auf dem Telefon traegt jede
     Karte ihr Datum selbst. */
  .wow-wk-legend { display: none; }
  /* Feste: 40px statt 32px hoch -- volle Breite, der Daumen trifft. */
  .wow-dash .wow-wk-span { min-height: 40px; }

  /* Der Aufmacher steht am Laptop unter dem Tagesplan. Auf dem Telefon
     oeffnet die Karte das Blatt von unten (app.js, onPick). */
  .wow-thisweek .wow-lead { display: none; }

  .wow-wk-daypanel { margin: var(--s-5) 0 var(--s-4); }
  .wow-wk-dayhead h2 { font-size: 22px; }
  .wow-wk-honest { font-size: 13px; }

  /* Alle Events */
  .wow-events-head { padding: var(--s-2) 0 var(--s-3); }
  .wow-events-head .wow-viewtoggle { display: none; }
  .wow-events-row { grid-template-columns: 72px minmax(0, 1fr); gap: var(--s-3); padding: var(--s-3) 0; }
  .wow-events-thumb img, .wow-events-thumb-fallback { width: 72px; height: 72px; border-radius: 4px; }
  .wow-events-title { font-size: 17px; margin: 2px 0 4px; }
  .wow-events-status { padding-left: 84px; margin-top: -4px; }
  .wow-events-status:has(span:empty) { display: none; }
  .wow-events-content .wow-kicker { font-size: 13px; color: var(--teal-700); }

  /* Kalender: Liste der Tage statt sieben Spalten zum Seitwaertsschieben.
     Tage ohne Termine werden eine schmale Zeile. */
  .wow-cal .wow-week-scroll > .grid { display: block; min-width: 0; }
  .wow-cal .wow-cal-day {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--s-3);
    min-height: 0 !important;
    border-right: 0 !important;
    padding: var(--s-3) !important;
  }
  .wow-cal .wow-cal-day.is-empty { padding-top: var(--s-2) !important; padding-bottom: var(--s-2) !important; }
  .wow-cal .wow-cal-day.is-empty .wow-cal-date { display: flex; gap: 6px; align-items: baseline; }
  .wow-cal .wow-cal-day.is-empty .wow-cal-date p:last-child { font-size: 15px; }
  .wow-cal .wow-cal-date { margin: 0 !important; text-align: left !important; }
  .wow-cal .wow-cal-ev { padding: 10px 12px !important; min-height: 44px; display: flex; align-items: center; }
  .wow-cal .wow-cal-ev span { font-size: 14px !important; }
  .wow-cal .wow-cal-day > .space-y-1 > div:last-child:not(.wow-cal-ev) { text-align: left !important; font-size: 13px !important; padding: 4px 0 0; }

  /* Karte: fuellt den Bildschirm zwischen Kopf und Leiste. */
  .wow-mapbox { height: calc(100dvh - 56px - 64px - 150px) !important; min-height: 320px; border-radius: 6px !important; }

  /* Tipps: siehe Abschnitt 3a */

  /* Analytics */
  .wow-analytics .grid.grid-cols-2 { gap: var(--s-2) !important; }
  .wow-analytics .grid.grid-cols-2 > div { padding: var(--s-3) !important; }
  .wow-analytics .grid.grid-cols-2 .text-3xl { font-size: 24px !important; }
  .wow-analytics .bg-white.rounded-xl.border { padding: var(--s-4) !important; }
  .wow-liga-zahl { font-size: 18px !important; }
  .wow-chartbox { height: 200px; }

  /* Einstellungen */
  .wow-settings > .space-y-6 > div { padding: var(--s-4) !important; }
  .wow-settings h1 { font-size: 24px; margin-bottom: var(--s-4) !important; }
  .wow-src-form { flex-direction: column; align-items: stretch !important; }
  .wow-src-form > * { flex: none !important; }
  .wow-settings code { word-break: break-all; }

  /* Tabelle "Abgleich-Verlauf": gestapelte Zeilen mit Beschriftung. */
  .wow-runs thead { display: none; }
  .wow-runs, .wow-runs tbody { display: block; }
  .wow-runs tr { display: grid; grid-template-columns: 1fr 1fr; gap: 4px var(--s-3); padding: var(--s-3) 0; }
  .wow-runs td { padding: 0 !important; display: flex; justify-content: space-between; gap: var(--s-2); }
  .wow-runs td::before { content: attr(data-label); color: var(--ink-500); font-size: 13px; }
  .wow-runs td:first-child { grid-column: 1 / -1; font-weight: 600; }
  .wow-runs td:first-child::before { content: none; }

  /* Blaetter: Detail des Events von unten, 92 % hoch, mit Griff. */
  .wow-modal-panel {
    top: auto !important;
    bottom: 0;
    height: auto !important;
    max-height: 92vh !important;
    max-height: 92dvh !important;
    border-radius: 12px 12px 0 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    animation: wowSheetUp 200ms ease-out;
  }
  .wow-modal-panel::before {
    content: '';
    position: absolute;
    top: 8px; left: 50%;
    width: 36px; height: 4px;
    margin-left: -18px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .85);
    z-index: 2;
  }
  .wow-modal-close { width: 44px; height: 44px; background: rgba(255, 255, 255, .92); }
  .wow-modal-img { aspect-ratio: 2 / 1; }
  .wow-modal-body { padding: var(--s-4) var(--s-4) var(--s-5) !important; }
  .wow-modal-section { margin-top: var(--s-4); padding-top: var(--s-4); }
  .wow-modal-section .wow-card-actions { flex-direction: row; gap: var(--s-3); }
  .wow-modal-section .wow-btn { flex: 1; }
  .wow-modal-foot { margin-top: var(--s-4) !important; padding-top: var(--s-3) !important; }

  /* Tailwind-Dialoge (Tipp, Import, Ablehnen) ebenfalls als Blatt. */
  .wow-dlg { align-items: flex-end !important; padding: 0 !important; }
  .wow-dlg-panel {
    max-width: none !important;
    border-radius: 12px 12px 0 0 !important;
    max-height: 92dvh !important;
    overflow-y: auto;
    padding: var(--s-5) var(--s-4) calc(var(--s-4) + env(safe-area-inset-bottom, 0px)) !important;
    animation: wowSheetUp 200ms ease-out;
  }

  /* Detailblatt des Lineals (dash-woche.js) */
  .wow-wk-sheet { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .wow-wk-sheet-close button { min-height: 44px; }

  /* Wochenzettel-Vorschau: Leiste kompakt, Blatt skaliert. */
  .wow-wz-bar { padding: var(--s-2) var(--s-4); padding-top: calc(var(--s-2) + env(safe-area-inset-top, 0px)); }
  .wow-wz-bar p { font-size: 13px; }
  .wow-wz-actions { gap: var(--s-3); }
  .wow-wz-actions .wow-btn-text { min-height: 44px; }
  .wow-wz-stage { padding: var(--s-3) var(--s-2); }
}

/* ── 3a. Tipps ─────────────────────────────────────────────────────────
   Anlass (25.09.): "funktioniert, sieht am Telefon aber zu textig aus".
   Vorher je Ort vier Zeilen Text plus vier Textknoepfe untereinander.
   Jetzt eine kompakte Karte: Bild links (eigenes Foto, beschriftetes
   Symbolbild oder ruhige Kachel mit Gruppensymbol), Name, eine Zeile
   Meta, rechts unten Symbolknoepfe; Ausblenden/Loeschen hinter "…".
   Telefon eine Spalte, ab 640px zwei, ab 1024px drei. */

.wow-events.wow-tipps { max-width: 1120px; }

.wow-tipps-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  padding: var(--s-5) 0 var(--s-4);
}
.wow-tipps-title { font-size: 28px; margin: 0; }
.wow-tipps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-3); }
.wow-tipps-vorschlaege { font-size: 15px; }

.wow-tipps-ico {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Sprungleiste */
.wow-tipps-chips { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: 0 0 var(--s-2); }
.wow-tipps-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 36px; padding: 0 14px 0 12px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--bg-surface);
  font: 500 14px/1 var(--font-sans); color: var(--ink-700);
  cursor: pointer; white-space: nowrap;
  transition: border-color 120ms ease;
}
.wow-tipps-chip:hover { border-color: var(--ink-500); }
.wow-tipps-chip .wow-tipps-ico { width: 16px; height: 16px; color: var(--teal-700); }
.wow-tipps-count { color: var(--ink-300); font-weight: 500; font-variant-numeric: tabular-nums; }

/* Gruppen */
.wow-tipps-gruppe { scroll-margin-top: 88px; margin-top: var(--s-5); }
.wow-tipps-gruppe-head {
  display: flex; align-items: center; gap: var(--s-2);
  margin: 0 0 var(--s-3);
  font: 600 15px/1.2 var(--font-sans); color: var(--ink-900);
}
.wow-tipps-gruppe-head .wow-tipps-ico { color: var(--teal-700); }
.wow-tipps-gruppe-head .wow-tipps-count { font-weight: 400; }

.wow-tipps-starter-intro {
  margin: var(--s-6) 0 var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
}
.wow-tipps-gruppe:first-of-type .wow-tipps-starter-intro { margin-top: var(--s-3); padding-top: 0; border-top: 0; }
.wow-tipps-starter-title {
  font: 700 20px/1.2 var(--font-display);
  letter-spacing: -0.02em;
  font-variation-settings: var(--display-features);
  color: var(--ink-900);
  margin: 0;
}
.wow-tipps-starter-intro p { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: var(--ink-500); }

/* Karten */
.wow-tipps-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3);
}
@media (min-width: 640px) { .wow-tipps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .wow-tipps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.wow-tipp {
  position: relative;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 104px;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.wow-tipp.is-menu { z-index: 5; }

.wow-tipp-bild {
  position: relative;
  overflow: hidden;
  border-radius: 7px 0 0 7px;
  background: var(--teal-50);
}
.wow-tipp-bild img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}
.wow-tipp-kachel {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-50);
  color: var(--teal-700);
}
.wow-tipp-kachel svg {
  width: 30px; height: 30px;
  fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
  opacity: .8;
}
.wow-tipp-symbol {
  position: absolute; left: 6px; bottom: 6px;
  font: 600 10px/1 var(--font-sans);
  color: #fff;
  background: rgba(7, 21, 25, .6);
  border-radius: 999px;
  padding: 3px 6px;
  pointer-events: none;
}
/* Bild gescheitert (imgFallback blendet es aus): keine Marke auf der Kachel. */
.wow-tipp-bild img[style*="hidden"] ~ .wow-tipp-symbol { display: none; }

.wow-tipp-body {
  display: flex; flex-direction: column;
  min-width: 0;
  padding: var(--s-3) var(--s-1) var(--s-1) 14px;
}
.wow-tipp-name {
  margin: 0;
  font-size: 17px; line-height: 1.2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  overflow-wrap: anywhere;
  padding-right: var(--s-2);
}
.wow-tipp-meta {
  margin: 4px 0 0;
  padding-right: var(--s-2);
  font-size: 13px; line-height: 1.35; color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.wow-tipp-badge {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-700);
  font-size: 11px; font-weight: 600; line-height: 1.3;
  vertical-align: 1px;
}

.wow-tipp-actions { margin-top: auto; display: flex; justify-content: flex-end; align-items: center; }
.wow-tipp-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 999px; background: none;
  color: var(--ink-500);
  cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease;
}
.wow-tipp-icon:hover { background: var(--bg-soft); color: var(--teal-700); }
.wow-tipp-icon svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.wow-tipp-mehr { position: relative; }
.wow-tipp-mehr > button svg circle { fill: currentColor; stroke: none; }
.wow-tipp-mehr > button[aria-expanded="true"] { background: var(--bg-soft); color: var(--ink-900); }

/* Menue: oeffnet nach oben, damit es nie hinter der Leiste unten landet. */
.wow-tipp-menu {
  position: absolute; right: 0; bottom: calc(100% + 4px);
  z-index: 30;
  min-width: 176px;
  padding: 4px;
  background: var(--bg-surface);
  border: 1px solid var(--rule);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 21, 25, .14);
}
.wow-tipp-menu button {
  display: flex; align-items: center;
  width: 100%; min-height: 40px;
  padding: 0 12px;
  border: 0; border-radius: 6px; background: none;
  font: 500 15px/1.2 var(--font-sans); color: var(--ink-900);
  text-align: left; cursor: pointer;
}
.wow-tipp-menu button:hover, .wow-tipp-menu button:focus-visible { background: var(--bg-soft); }
.wow-tipp-menu button.is-danger { color: var(--amber-500); }
.wow-dash .wow-tipp-menu button:focus-visible { outline-offset: -2px; }

/* Ausgeblendet: sichtbar, aber zurueckgenommen. */
.wow-tipp.is-hidden { background: rgba(255, 255, 255, .55); border-style: dashed; }
.wow-tipp.is-hidden .wow-tipp-bild { opacity: .45; }
.wow-tipp.is-hidden .wow-tipp-name { color: var(--ink-500); }

.wow-tipps-quelle { margin: var(--s-6) 0 0; font-size: 12px; color: var(--ink-500); }
.wow-tipps-quelle a { color: inherit; text-decoration: underline; }

.wow-tipps-leer {
  padding: var(--s-10) var(--s-4);
  text-align: center;
  border-top: 1px solid var(--rule);
}
.wow-tipps-leer .wow-display { font-size: 22px; margin: 0; }
.wow-tipps-leer p:not(.wow-display) { margin: var(--s-2) auto var(--s-5); max-width: 36ch; font-size: 15px; line-height: 1.5; color: var(--ink-500); }

@media (min-width: 1024px) {
  .wow-tipp { grid-template-columns: 112px minmax(0, 1fr); min-height: 112px; }
}

@media (max-width: 767px) {
  .wow-tipps-head { padding: var(--s-2) 0 var(--s-4); gap: var(--s-3); }
  .wow-tipps-title { font-size: 24px; width: 100%; }
  .wow-tipps-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .wow-tipps-actions .wow-btn { padding: 0 var(--s-2); white-space: nowrap; }
  .wow-tipps-vorschlaege { grid-column: 1 / -1; justify-self: start; }

  .wow-tipps-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 -16px var(--s-2);
    padding: 0 16px 2px;
    scroll-padding: 0 16px;
  }
  .wow-tipps-chips::-webkit-scrollbar { display: none; }
  .wow-tipps-chip { flex: none; }

  .wow-tipp { grid-template-columns: 96px minmax(0, 1fr); min-height: 108px; }
  .wow-tipp-name { font-size: 16px; }
  .wow-tipp-icon { width: 44px; height: 44px; }
  .wow-tipp-menu button { min-height: 44px; }
}

/* ── 4. Bewegung und Fokus ─────────────────────────────────────────── */

.wow-dash .wow-app :focus-visible,
.wow-appnav :focus-visible,
.wow-more :focus-visible,
.wow-modal :focus-visible,
.wow-dlg :focus-visible {
  outline: 2px solid var(--teal-700);
  outline-offset: 2px;
}
.wow-appnav-item:focus-visible { outline-offset: -4px; }

@media (prefers-reduced-motion: reduce) {
  .wow-modal-panel, .wow-more-sheet, .wow-dlg-panel { animation: none !important; }
  .wow-dash .wow-wk-pickgrid { scroll-behavior: auto; }
}
