/* Das Website-Backoffice (Jana am 12.10.2026): Nachtblau, Orange und Creme wie
   die Website, aber ruhig — hier wird gepflegt. 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: #121b3b;
  --wbo-tief: #1a2550;
  --wbo-orange: #f05a2a;
  --wbo-orange-hell: #f68457;
  --wbo-creme: #fdf3cf;
  --wbo-weiss: #fffdf8;
  --wbo-leise: rgb(253 243 207 / 0.72);
  --wbo-linie: rgb(253 243 207 / 0.16);
  --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; filter: invert(1); }
.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: rgb(246 132 87 / 0.18); }
.wbo-meldung--fehler { background: rgb(240 90 42 / 0.32); }

/* 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-nacht);
  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: orange 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-creme);
  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 { color: var(--wbo-orange-hell); }
