/* Das Website-Backoffice (Jana am 12.10.2026). Seit dem 18.10.2026 in den
   Farben der Website, die es pflegt — seit dem 20.10.2026 im Look der
   Gästeliste wie mila-landshut.de — Creme, Schwarz, Goldgelb (Jana: "lass das Backoffice jeweils auch in den richtigen
   Farben sein, sonst führt es zur Verwirrung"). Die Namen der Variablen sind
   vom blauen Anfang geblieben; was sie bedeuten, steht daneben. Fürs Handy
   gebaut, am iPad und Rechner mit mehr Luft. Alles unter body.wbo, damit
   nichts nach backstage oder auf die Website läuft. */

body.wbo {
  --wbo-nacht: #f4f2e6;        /* Grund: Creme */
  --wbo-tief: #ffffff;         /* Karten: Weiß */
  --wbo-orange: #141414;       /* der eine Knopf: Schwarz */
  --wbo-orange-hell: #ffc72c;  /* Hervorhebungen: Goldgelb */
  --wbo-creme: #141414;        /* Schrift: Schwarz */
  --wbo-weiss: #ffffff;        /* Eingabefelder */
  --wbo-knopfschrift: #ffc72c; /* Schrift auf dem Knopf: Goldgelb */
  --wbo-gelb: #ffc72c;         /* Meldungen */
  --wbo-meldungschrift: #141414;
  --wbo-leise: rgb(20 20 20 / 0.66);
  --wbo-linie: rgb(20 20 20 / 0.12);
  --wbo-rand: clamp(1rem, 4vw, 2.5rem);

  min-height: 100svh;
  margin: 0;
  background: var(--wbo-nacht);
  color: var(--wbo-creme);
  font-family: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}

.wbo h1,
.wbo h2 {
  margin: 0 0 0.4rem;
  font-family: "Bricolage Grotesque", "Schibsted Grotesk", Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wbo h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.wbo h2 { font-size: 1.25rem; }
.wbo p { margin: 0.3rem 0 0; }
.wbo a { color: inherit; }
.wbo :focus-visible { outline: 3px solid var(--wbo-orange-hell); outline-offset: 2px; }
.wbo-leise { color: var(--wbo-leise); }

/* Kopf: Marke links, die Bereiche daneben — am Handy darunter. */
.wbo-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
  padding: 0.9rem var(--wbo-rand);
  border-bottom: 1px solid var(--wbo-linie);
  background: var(--wbo-tief);
}

.wbo-kopf__marke { display: flex; align-items: center; gap: 0.7rem; font-weight: 700; text-decoration: none; }
.wbo-kopf__logo { height: 1.6rem; width: auto; }
.wbo-kopf__wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 1.1rem; font-weight: 700; }
.wbo-kopf__wege a { text-decoration: none; }
.wbo-kopf__wege a:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.wbo-kopf__wege form { display: inline; }

.wbo-kopf__ab {
  padding: 0;
  border: 0;
  background: none;
  color: var(--wbo-leise);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.wbo-inhalt {
  display: grid;
  gap: 1.1rem;
  width: min(100%, 60rem);
  margin: 0 auto;
  padding: clamp(1.2rem, 4vw, 2.5rem) var(--wbo-rand) 3rem;
  box-sizing: border-box;
}

.wbo-karte {
  display: block;
  padding: clamp(1rem, 3vw, 1.5rem);
  border: 1px solid var(--wbo-linie);
  border-radius: 18px;
  background: var(--wbo-tief);
  text-decoration: none;
}

.wbo-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.wbo-kachel:hover { border-color: var(--wbo-orange-hell); }

.wbo-anmeldung { width: min(100%, 26rem); margin: 6vh auto 0; }
.wbo-titelzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem; }

.wbo-meldung { margin: 0; padding: 0.8rem 1rem; border-radius: 12px; background: var(--wbo-gelb); color: var(--wbo-meldungschrift); }
.wbo-meldung--fehler { background: var(--wbo-weiss); border: 2px solid var(--wbo-creme); font-weight: 700; }

/* Listen: eine Zeile je Eintrag, die Griffe rechts — am Handy darunter. */
.wbo-liste { display: grid; margin: 0.6rem 0 0; padding: 0; list-style: none; }

.wbo-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--wbo-linie);
}

.wbo-zeile:first-child { border-top: 0; }
.wbo-zeile--aus { opacity: 0.55; }
.wbo-griffe { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.wbo-griffe form { display: inline; }

.wbo-fakt { flex-wrap: nowrap; align-items: flex-start; }
.wbo-fakt__nummer { flex: none; width: 2.2rem; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; color: var(--wbo-orange-hell); }
.wbo-fakt__text { display: grid; flex: 1; gap: 0.15rem; min-width: 0; }

@media (max-width: 40rem) {
  .wbo-fakt { flex-wrap: wrap; }
  .wbo-fakt .wbo-griffe { width: 100%; padding-left: 2.2rem; }
}

/* Formulare: Beschriftung über dem Feld, Felder in voller Breite. */
.wbo-form { display: grid; gap: 0.35rem; margin-top: 0.8rem; }
.wbo-form label { margin-top: 0.6rem; font-weight: 700; }

.wbo-form input:not([type=submit]),
.wbo-form select,
.wbo-form textarea {
  width: 100%;
  min-height: 2.9rem;
  padding: 0.6rem 0.8rem;
  box-sizing: border-box;
  border: 1px solid var(--wbo-linie);
  border-radius: 10px;
  background: var(--wbo-weiss);
  color: var(--wbo-creme);
  font: inherit;
}

.wbo-form textarea { min-height: 5rem; resize: vertical; }
.wbo-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 0.8rem; margin-top: 0.8rem; }

/* Knöpfe: dunkel für das Eine, leise Linie für die Griffe. */
.wbo-knopf {
  justify-self: start;
  margin-top: 0.8rem;
  padding: 0.7rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: var(--wbo-orange);
  color: var(--wbo-knopfschrift);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.wbo-titelzeile .wbo-knopf { margin-top: 0; }

.wbo-weg {
  min-height: 2.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--wbo-linie);
  border-radius: 999px;
  background: transparent;
  color: var(--wbo-creme);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.wbo-weg:hover { border-color: var(--wbo-creme); }
.wbo-weg--weg { text-decoration: underline; text-underline-offset: 0.2em; }

/* Die Karte (17.10.2026): Fehler beim Hochladen und der Knopf zum Tauschen. */
.wbo-fehler { color: #b3261e; font-weight: 600; }
.wbo-tausch { display: inline; }
.wbo-tausch label { cursor: pointer; }
.wbo-instabilder { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.6rem 0; }
.wbo-instabild { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.wbo-tabelle { width: 100%; border-collapse: collapse; }
.wbo-tabelle th, .wbo-tabelle td { padding: 0.45rem 0.3rem; text-align: left; border-bottom: 1px solid var(--wbo-linie); }
.wbo-tabelle th:not(:first-child), .wbo-tabelle td:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
/* Die Zahlen schmal und ohne Umbruch, damit "7 Tage" auch am Handy auf einer
   Zeile bleibt; die erste Spalte nimmt den Rest. */
.wbo-tabelle th:not(:first-child), .wbo-tabelle td:not(:first-child) { width: 1%; padding-left: 0.6rem; white-space: nowrap; }

/* Zwei Websites, zwei Bereiche (Jana am 19.10.2026) — jeder in den Farben
   seiner Website: die jetzige in Buttergelb (oben), die neue in Nachtblau,
   Orange und Creme wie /website2. */
.wbo-bereich { display: grid; gap: 0.6rem; }
.wbo-bereich h3 { margin: 0 0 0.3rem; font-family: "Bricolage Grotesque", "Schibsted Grotesk", Helvetica, Arial, sans-serif; font-size: 1.15rem; font-weight: 800; }

.wbo-bereich--zwei {
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 22px;
  background: #121b3b;
  color: #fdf3cf;
}

.wbo-bereich--zwei .wbo-leise { color: rgb(253 243 207 / 0.72); }
.wbo-bereich--zwei .wbo-karte { border-color: rgb(253 243 207 / 0.16); background: #1a2550; color: #fdf3cf; }
.wbo-bereich--zwei .wbo-kachel:hover { border-color: #f68457; }
.wbo-bereich--zwei .wbo-weg { border-color: rgb(253 243 207 / 0.4); color: #fdf3cf; }

/* Die Seiten der neuen Website ganz in deren Farben. */
body.wbo.wbo--zwei {
  --wbo-nacht: #121b3b;
  --wbo-tief: #1a2550;
  --wbo-orange: #f05a2a;
  --wbo-orange-hell: #f68457;
  --wbo-creme: #fdf3cf;
  --wbo-weiss: #121b3b;
  --wbo-knopfschrift: #fdf3cf;
  --wbo-gelb: rgb(246 132 87 / 0.25);
  --wbo-meldungschrift: #fdf3cf;
  --wbo-leise: rgb(253 243 207 / 0.72);
  --wbo-linie: rgb(253 243 207 / 0.16);
}

body.wbo .wbo-kopf__logo { filter: brightness(0) invert(1); }

/* Der Kopf schwarz wie das Band oben auf der Website, unten rund. */
body.wbo:not(.wbo--zwei) .wbo-kopf { border-bottom: 0; border-radius: 0 0 22px 22px; background: #141414; color: #f4f2e6; }
body.wbo:not(.wbo--zwei) .wbo-kopf__ab { color: rgb(244 242 230 / 0.7); }
body.wbo:not(.wbo--zwei) .wbo-knopf,
body.wbo:not(.wbo--zwei) .wbo-weg { border-radius: 12px; }
body.wbo:not(.wbo--zwei) .wbo-kachel:hover { border-color: #141414; }
body.wbo--zwei .wbo-form input:not([type=submit]),
body.wbo--zwei .wbo-form select,
body.wbo--zwei .wbo-form textarea { background: var(--wbo-nacht); }

/* Im Kopf die beiden Gruppen mit kleinem Namen davor. */
.wbo-kopf__gruppe { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; }
.wbo-kopf__gruppenname { color: var(--wbo-leise); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.wbo-kopf__gruppe--zwei { padding: 0.25rem 0.7rem; border-radius: 999px; background: #121b3b; color: #fdf3cf; }
.wbo-kopf__gruppe--zwei .wbo-kopf__gruppenname { color: rgb(253 243 207 / 0.7); }
body.wbo--zwei .wbo-kopf__gruppe--zwei { background: #f05a2a; }

/* Der Live-Ticker oben bei den Klicks (20.10.2026): grüner Punkt, große Zahl. */
.wbo-gerade__zeile { display: flex; align-items: center; gap: 0.6rem; margin: 0; font-weight: 700; }
.wbo-gerade__punkt { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 4px rgb(31 157 85 / 0.18); animation: wbo-puls 2s ease-in-out infinite; }
.wbo-gerade__zahl { margin-left: auto; font-family: "Bricolage Grotesque", "Schibsted Grotesk", sans-serif; font-size: 2rem; font-weight: 800; line-height: 1; }
@keyframes wbo-puls { 50% { box-shadow: 0 0 0 8px rgb(31 157 85 / 0.06); } }
@media (prefers-reduced-motion: reduce) { .wbo-gerade__punkt { animation: none; } }

/* Die Besuche zusammen (20.10.2026): drei große Zahlen nebeneinander. */
.wbo-besuche__zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.6rem 0 0; }
.wbo-besuche__zahlen div { padding: 0.7rem 0.8rem; border-radius: 12px; background: var(--wbo-nacht); }
.wbo-besuche__zahlen dt { color: var(--wbo-leise); font-size: 0.85rem; font-weight: 700; }
.wbo-besuche__zahlen dd { margin: 0.1rem 0 0; font-family: "Bricolage Grotesque", "Schibsted Grotesk", sans-serif; font-size: clamp(1.6rem, 6vw, 2.2rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }

/* Der Kreis neben der Live-Zahl (Jana am 22.10.2026): läuft in 10 Sekunden
   voll, dann kommt die neue Zahl — siehe gerade_controller.js. Gilt auch im
   Reporting der Gästeliste. */
.gerade-ring { width: 1.15rem; height: 1.15rem; margin-left: auto; transform: rotate(-90deg); }
.gerade-ring circle { fill: none; stroke-width: 2.6; }
.gerade-ring__spur { stroke: rgb(31 157 85 / 0.18); }
.gerade-ring__lauf { stroke: #1f9d55; stroke-linecap: round; stroke-dasharray: 50.27; stroke-dashoffset: 50.27; }
.gerade-ring--laeuft .gerade-ring__lauf { animation: gerade-ring 10s linear forwards; }
@keyframes gerade-ring { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .gerade-ring--laeuft .gerade-ring__lauf { animation: none; stroke-dashoffset: 0; } }
.wbo-gerade__zeile .gerade-ring + .wbo-gerade__zahl,
.buchungsseite__gerade .gerade-ring + strong { margin-left: 0.4rem; }

/* Wann ist was los? (Jana am 24.10.2026) — oben Balken je Tag, darunter je Tag
   und Stunde ein Feld, je kräftiger desto mehr. */
.wbo-tagesbalken { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); gap: clamp(0.2rem, 1vw, 0.45rem); align-items: end; height: 11rem; margin-top: 0.8rem; }
.wbo-tagesbalken__tag { display: grid; grid-template-rows: auto 1fr auto; height: 100%; text-align: center; }
.wbo-tagesbalken__zahl { font-size: 0.75rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.wbo-tagesbalken__balken { align-self: end; min-height: 2px; border-radius: 6px 6px 2px 2px; background: var(--wbo-creme); }
.wbo-tagesbalken__tag--wochenende .wbo-tagesbalken__balken { background: rgb(20 20 20 / 0.55); }
.wbo-tagesbalken__tag--heute .wbo-tagesbalken__balken { background: var(--wbo-orange-hell); }
.wbo-tagesbalken__datum { margin-top: 0.3rem; color: var(--wbo-leise); font-size: 0.7rem; line-height: 1.15; }
.wbo-verlauf__titel { margin: 1.4rem 0 0.5rem; font-size: 0.95rem; }
.wbo-stundenraster__rahmen { overflow-x: auto; }
.wbo-stundenraster { width: 100%; min-width: 34rem; border-collapse: separate; border-spacing: 2px; table-layout: fixed; }
.wbo-stundenraster th { color: var(--wbo-leise); font-size: 0.68rem; font-weight: 600; text-align: left; white-space: nowrap; }
.wbo-stundenraster thead th:first-child, .wbo-stundenraster tbody th { width: 4.6rem; }
.wbo-stundenraster td { height: 1.35rem; border-radius: 4px; background: rgb(255 199 44 / var(--staerke)); box-shadow: inset 0 0 0 1px rgb(20 20 20 / 0.06); }
.wbo-stundenraster--heute th { color: var(--wbo-creme); font-weight: 800; }
