/* kopf.css — der gemeinsame Kopf aller Neue-Welt-Bereiche (Universum Stufe 1).

   Ausgeliefert von neuewelt.me unter /kopf/kopf.css, eingebunden auf jeder Seite mit
     <link rel="stylesheet" href="https://neuewelt.me/kopf/kopf.css">
   Gezeichnet wird der Kopf von kopf.js in <header id="nw-kopf"></header>.

   Regeln dieser Datei:
   - Jede Regel hängt an #nw-kopf (bzw. .nwk-… darin). Keine globale Regel, damit die Seite
     darunter nichts davon merkt. Die Dialoge stehen IM Kopf (Top Layer), erben also die Tokens.
   - Die Höhe steht hier fest (--nwk-h), damit der leere Platzhalter schon vor dem Skript
     so hoch ist wie der fertige Kopf: kein Springen.
   - Weiß und flach wie die Landingpage: 1 px Linien, Radius 12, Pillen, keine Schatten.
     Farben aus den Landing-Tokens, mit Vorsilbe, damit die Tokens der Seite nicht hineinreden.
   - Schrift: Barlow. Hat die Seite selbst eine „Barlow", nimmt der Kopf diese; sonst lädt er die
     eigene Kopie von neuewelt.me (nwk-Barlow, CORS kommt vom Server). */

@font-face{font-family:'nwk-Barlow';font-style:normal;font-weight:400;font-display:swap;
  src:url(../schrift/7cHpv4kjgoGqM7E_DMs5.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'nwk-Barlow';font-style:normal;font-weight:500;font-display:swap;
  src:url(../schrift/7cHqv4kjgoGqM7E3_-gs51os.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'nwk-Barlow';font-style:normal;font-weight:600;font-display:swap;
  src:url(../schrift/7cHqv4kjgoGqM7E30-8s51os.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

#nw-kopf{
  --nwk-h:64px;
  --nwk-grund:#ffffff; --nwk-papier:#ffffff; --nwk-flaeche:#f6f4ef;
  --nwk-tinte:#231f19; --nwk-text:#3a342b; --nwk-leise:#6f6656; --nwk-linie:#e7e2d8; --nwk-rand:#9a917f;
  --nwk-tief:#5a6918; --nwk-knopf:#5a6918; --nwk-knopf-hover:#47530f; --nwk-knopf-schrift:#ffffff;
  --nwk-rot:#a8412a; --nwk-schleier:rgba(23,21,15,.45);
  --nwk-schrift:"Barlow","nwk-Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  display:block; position:relative; z-index:50; box-sizing:border-box;
  height:var(--nwk-h); min-height:var(--nwk-h); margin:0; padding:0;
  background:var(--nwk-grund); color:var(--nwk-tinte); border-bottom:1px solid var(--nwk-linie);
  font:400 16px/1.4 var(--nwk-schrift); text-align:left; letter-spacing:normal; text-transform:none;
}
@media (prefers-color-scheme:dark){
  #nw-kopf{
    --nwk-grund:#17150f; --nwk-papier:#1f1c14; --nwk-flaeche:#29251b;
    --nwk-tinte:#eee6d5; --nwk-text:#ddd4c2; --nwk-leise:#a2977f; --nwk-linie:#332d22; --nwk-rand:#6b6150;
    --nwk-tief:#B8CC3A; --nwk-knopf:#B8CC3A; --nwk-knopf-hover:#c9da55; --nwk-knopf-schrift:#17150f;
    --nwk-rot:#e07a5f; --nwk-schleier:rgba(0,0,0,.6);
  }
}
#nw-kopf *, #nw-kopf *::before, #nw-kopf *::after{box-sizing:border-box}
#nw-kopf svg{display:block; flex:none}
#nw-kopf :focus-visible{outline:2px solid var(--nwk-tief); outline-offset:2px}

/* ---------------- Leiste ---------------- */
#nw-kopf .nwk-leiste{display:flex; align-items:center; gap:10px; height:100%; max-width:90rem; margin:0 auto;
  padding:0 clamp(16px,3vw,32px)}
#nw-kopf .nwk-marke{display:inline-flex; align-items:center; gap:10px; flex:none; min-height:44px; min-width:44px;
  padding:0 4px 0 0; border-radius:999px; color:var(--nwk-tinte); text-decoration:none}
#nw-kopf .nwk-marke svg, #nw-kopf .nwk-marke-bild{width:38px; height:38px; flex:none}
#nw-kopf .nwk-marke-wort{font:600 19px/1 var(--nwk-schrift); letter-spacing:.005em; white-space:nowrap}
#nw-kopf .nwk-trenner{flex:none; width:1px; height:26px; background:var(--nwk-linie)}
#nw-kopf .nwk-bereich{flex:0 1 auto; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font:500 17px/1.2 var(--nwk-schrift); color:var(--nwk-text)}
#nw-kopf .nwk-knoepfe{display:flex; align-items:center; gap:6px; margin-left:auto; flex:none}

/* Pillen. Alles ausdrücklich gesetzt, weil die Seite darunter eigene button-/a-Regeln haben kann. */
#nw-kopf .nwk-knopf{-webkit-appearance:none; appearance:none; display:inline-flex; align-items:center; justify-content:center;
  gap:8px; min-height:44px; min-width:44px; margin:0; padding:0 16px; border:1px solid var(--nwk-linie);
  border-radius:999px; background:transparent; color:var(--nwk-tinte); box-shadow:none;
  font:600 15px/1 var(--nwk-schrift); letter-spacing:.01em; text-transform:none; text-decoration:none;
  white-space:nowrap; cursor:pointer}
#nw-kopf .nwk-knopf:hover{border-color:var(--nwk-tinte)}
#nw-kopf .nwk-knopf[aria-expanded="true"]{border-color:var(--nwk-tinte); background:var(--nwk-flaeche)}
#nw-kopf .nwk-knopf svg{width:18px; height:18px}
#nw-kopf .nwk-knopf .nwk-pfeil{width:14px; height:14px; margin-left:-2px; color:var(--nwk-leise)}
#nw-kopf .nwk-knopf.nwk-haupt{background:var(--nwk-knopf); border-color:var(--nwk-knopf); color:var(--nwk-knopf-schrift)}
#nw-kopf .nwk-knopf.nwk-haupt:hover{background:var(--nwk-knopf-hover); border-color:var(--nwk-knopf-hover)}
#nw-kopf .nwk-knopf.nwk-leise{border-color:var(--nwk-rand)}
/* „Bereiche“ ist der wichtigste Knopf im Kopf (Nutzer 29.11.2026): gefüllt in Markengrün (hell), mit dunkler Schrift —
   klar anders als „Anmelden“ (dunkelgrün). Im Dunkelmodus, wo „Anmelden“ selbst hellgrün ist, getönt mit grünem Rand. */
#nw-kopf .nwk-knopf[data-nwk="bereiche"]{background:#B8CC3A; border-color:#B8CC3A; color:#17150f}
#nw-kopf .nwk-knopf[data-nwk="bereiche"]:hover{background:#a9bd2c; border-color:#a9bd2c}
@media (prefers-color-scheme:dark){
  #nw-kopf .nwk-knopf[data-nwk="bereiche"]{background:rgba(184,204,58,.16); border:2px solid #B8CC3A; color:#eee6d5}
  #nw-kopf .nwk-knopf[data-nwk="bereiche"]:hover{background:rgba(184,204,58,.28)}
}
#nw-kopf .nwk-knopf[disabled]{opacity:.6; cursor:progress}
/* Rubrik „Making-of“ (29.11.2026): ein Link wie die Knöpfe; auf der Seite selbst mit kräftigem Rand. */
#nw-kopf .nwk-knopf[data-nwk="makingof"][aria-current="page"]{border-color:var(--nwk-tinte); background:var(--nwk-flaeche)}

/* ---------------- Menüs (Verwaltung, Konto) ---------------- */
#nw-kopf .nwk-menue-huelle{position:relative; flex:none}
#nw-kopf .nwk-menue{position:absolute; right:0; top:calc(100% + 8px); z-index:60; display:flex; flex-direction:column;
  min-width:15rem; max-width:calc(100vw - 32px); margin:0; padding:6px; background:var(--nwk-papier);
  border:1px solid var(--nwk-linie); border-radius:12px; text-align:left}
#nw-kopf .nwk-gruppe{margin:0; padding:10px 12px 4px; font:600 13px/1.2 var(--nwk-schrift); letter-spacing:.02em;
  color:var(--nwk-leise)}
#nw-kopf .nwk-gruppe + a{margin-top:2px}
#nw-kopf .nwk-menue a{display:flex; align-items:center; min-height:44px; padding:0 12px; border-radius:8px;
  font:500 16px/1.2 var(--nwk-schrift); color:var(--nwk-tinte); text-decoration:none}
#nw-kopf .nwk-menue a:hover{background:var(--nwk-flaeche)}
#nw-kopf .nwk-menue a + .nwk-gruppe{margin-top:6px; padding-top:12px; border-top:1px solid var(--nwk-linie)}

/* ---------------- Dialoge (Panel, Hinweis) ---------------- */
#nw-kopf .nwk-dialog{position:fixed; inset:0; margin:auto; padding:0; width:min(64rem, calc(100vw - 32px)); max-width:none;
  height:fit-content; max-height:calc(100dvh - 48px);  /* fit-content: mit inset:0 dehnte height:auto den Dialog auf volle Höhe */ overflow:auto; overscroll-behavior:contain;
  background:var(--nwk-papier); color:var(--nwk-tinte); border:1px solid var(--nwk-linie); border-radius:12px;
  box-shadow:none; font:400 16px/1.5 var(--nwk-schrift)}
#nw-kopf .nwk-dialog:not([open]){display:none}
#nw-kopf .nwk-dialog::backdrop{background:var(--nwk-schleier)}
#nw-kopf .nwk-hinweis{width:min(38rem, calc(100vw - 32px))}
#nw-kopf .nwk-dialog-kopf{position:sticky; top:0; z-index:2; display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px 12px 12px 24px; background:var(--nwk-papier); border-bottom:1px solid var(--nwk-linie)}
#nw-kopf .nwk-dialog-kopf h2{margin:0; font:600 22px/1.2 var(--nwk-schrift); color:var(--nwk-tinte); letter-spacing:0}
#nw-kopf .nwk-zu-knopf{padding:0; width:44px; border-color:transparent}
#nw-kopf .nwk-zu-knopf:hover{border-color:var(--nwk-linie)}
#nw-kopf .nwk-dialog-rumpf{padding:20px 24px 24px}

/* Kacheln */
#nw-kopf .nwk-kacheln{list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px}
#nw-kopf .nwk-kacheln li{margin:0; padding:0; min-width:0}
#nw-kopf .nwk-kachel{display:flex; flex-direction:column; height:100%; overflow:hidden; background:var(--nwk-papier);
  color:var(--nwk-tinte); text-decoration:none; border:1px solid var(--nwk-linie); border-radius:12px}
#nw-kopf a.nwk-kachel:hover{border-color:var(--nwk-tinte)}
#nw-kopf a.nwk-kachel:hover .nwk-kachel-name{text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1.5px}
#nw-kopf .nwk-kachel-bild{position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--nwk-flaeche);
  border-bottom:1px solid var(--nwk-linie)}
#nw-kopf .nwk-kachel-bild img{display:block; width:100%; height:100%; object-fit:cover; object-position:50% 40%}
#nw-kopf .nwk-kachel-bild img.nwk-kachel-marke{position:absolute; inset:auto 8px 8px auto; width:44px; height:44px; border-radius:50%;
  background:#fff; box-shadow:0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.35); object-fit:contain; object-position:center}
#nw-kopf .nwk-kachel[data-gesperrt] .nwk-kachel-bild img.nwk-kachel-marke{filter:none; opacity:1}
#nw-kopf .nwk-kachel-text{display:flex; flex-direction:column; gap:4px; padding:12px 16px 16px}
#nw-kopf .nwk-kachel-name{margin:0; font:600 18px/1.25 var(--nwk-schrift); color:var(--nwk-tinte)}
#nw-kopf .nwk-kachel-satz{margin:0; font:400 15px/1.45 var(--nwk-schrift); color:var(--nwk-text)}
#nw-kopf .nwk-kachel[aria-current="page"]{border:2px solid var(--nwk-tief)}
#nw-kopf .nwk-hier{position:absolute; top:8px; left:8px; z-index:1; max-width:calc(100% - 16px); padding:4px 10px; border-radius:999px;
  box-shadow:0 1px 4px rgba(0,0,0,.3);
  background:var(--nwk-tief); color:var(--nwk-knopf-schrift); font:600 13px/1.2 var(--nwk-schrift); word-spacing:.08em}
/* Untermenü über einer Kachel (Nutzer 29.11.2026, Multimedialer Bereich): Knopf oben rechts im Bild, die Liste schwebt
   ÜBER der Kachel (unten bündig an ihrer Oberkante) — die Kachel bleibt sichtbar und klickbar. Öffnet beim Überfahren
   (nur mit echter Maus), beim Fokus darin und über den Knopf (Touch, Tastatur). Grüner Rahmen, größere Einträge (Nutzer).
   Ohne #nw-kopf davor: dieselben Regeln gelten auf der Landing (nwKopf.unterMenue), die Farben fallen dort auf deren Tokens. */
.nwk-hat-unter{position:relative}
.nwk-unter-knopf{position:absolute; top:8px; right:8px; z-index:2; display:inline-flex; align-items:center; gap:6px;
  min-height:32px; padding:4px 11px 4px 9px; border:0; border-radius:999px; background:rgba(20,18,14,.72); color:#fff;
  font:600 13px/1.2 var(--nwk-schrift, inherit); cursor:pointer; box-shadow:0 1px 4px rgba(0,0,0,.3)}
.nwk-unter-knopf svg{width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2}
.nwk-unter-knopf:focus-visible{outline:3px solid var(--nwk-tief, var(--marke-tief, #5a6918)); outline-offset:2px}
.nwk-unter{position:absolute; left:50%; bottom:100%; z-index:5; width:min(46rem, calc(100vw - 32px));
  transform:translateX(calc(-50% + var(--nwk-unter-dx, 0px))); padding-bottom:10px; visibility:hidden; opacity:0;
  transition:opacity .15s ease, visibility 0s linear .15s}
.nwk-unter ul{list-style:none; margin:0; padding:14px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px;
  background:var(--nwk-papier, var(--papier, #fff)); border:2px solid var(--nwk-tief, var(--marke-tief, #5a6918)); border-radius:14px;
  box-shadow:0 14px 36px rgba(0,0,0,.24)}
.nwk-unter li{margin:0; min-width:0}
.nwk-unter-eintrag{display:flex; flex-direction:column; gap:7px; padding:6px; border-radius:10px; color:var(--nwk-tinte, var(--tinte, #231f19));
  text-decoration:none; border:2px solid transparent}
a.nwk-unter-eintrag:hover, a.nwk-unter-eintrag:focus-visible{border-color:var(--nwk-tief, var(--marke-tief, #5a6918)); outline:none}
a.nwk-unter-eintrag:hover .nwk-unter-name{text-decoration:underline; text-underline-offset:4px}
.nwk-unter-bild{display:block; aspect-ratio:16/9; overflow:hidden; border-radius:8px; background:var(--nwk-flaeche, #f6f4ef)}
.nwk-unter-bild img{display:block; width:100%; height:100%; object-fit:cover}
.nwk-unter-name{font:600 16px/1.25 var(--nwk-schrift, inherit)}
.nwk-unter-bald{color:var(--nwk-leise, var(--tinte-leise, #6f6656)); cursor:default}
.nwk-unter-bald img{filter:grayscale(1); opacity:.55}
.nwk-unter-marke{font:500 13px/1.2 var(--nwk-schrift, inherit)}
/* Nicht veröffentlichter media-Bereich, nur Admins sehen ihn (29.11.2026): gelbe Marke wie die Hinweisfarbe „Achtung“. */
.nwk-unter-marke.nwk-unter-nv{align-self:flex-start; padding:2px 8px; border-radius:999px; background:#fbefd2; color:#7a5200; font-weight:600}
@media (prefers-color-scheme:dark){ .nwk-unter-marke.nwk-unter-nv{background:#3a2f12; color:#f2cc72} }
.nwk-hat-unter.nwk-unter-auf .nwk-unter, .nwk-hat-unter:focus-within .nwk-unter{visibility:visible; opacity:1; transition:opacity .15s ease}
@media (hover:hover) and (pointer:fine){
  .nwk-hat-unter:hover .nwk-unter{visibility:visible; opacity:1; transition:opacity .15s ease .12s}
}
@media (max-width:40rem){
  .nwk-unter ul{grid-template-columns:repeat(2,minmax(0,1fr)); padding:10px; gap:8px}
  .nwk-unter-name{font-size:14px}
}
@media (prefers-reduced-motion:reduce){ .nwk-unter{transition:none} }
#nw-kopf .nwk-kachel[data-gesperrt] .nwk-kachel-bild img{filter:grayscale(.55); opacity:.75}
/* Shop „Kommt bald" (22.11.2026): ausgegraut, aber ein echter Link. Das Badge hat die Form von „Du bist hier". */
#nw-kopf .nwk-kachel.nwk-bald .nwk-kachel-bild img:not(.nwk-kachel-marke){filter:grayscale(1); opacity:.55}
#nw-kopf .nwk-kachel.nwk-bald .nwk-kachel-name, #nw-kopf .nwk-kachel.nwk-bald .nwk-kachel-satz{color:var(--nwk-leise)}
#nw-kopf .nwk-hier.nwk-bald-pille{background:var(--nwk-leise)}
/* Testphase (26.11.2026): Kachel für Tester noch nicht frei bzw. erst ab 1. Januar — ganz grau, ohne Link, Badge mit Schloss. */
#nw-kopf .nwk-hier.nwk-test-pille{display:inline-flex; align-items:center; gap:6px; background:var(--nwk-leise)}
#nw-kopf .nwk-hier.nwk-test-pille svg{width:13px; height:13px}
#nw-kopf .nwk-kachel.nwk-test-zu .nwk-kachel-bild img:not(.nwk-kachel-marke){filter:grayscale(1); opacity:.55}
#nw-kopf .nwk-kachel.nwk-test-zu .nwk-kachel-name, #nw-kopf .nwk-kachel.nwk-test-zu .nwk-kachel-satz{color:var(--nwk-leise)}
#nw-kopf .nwk-zu-zeile{display:flex; align-items:center; gap:6px; margin:4px 0 0; font:500 14px/1.3 var(--nwk-schrift);
  color:var(--nwk-leise)}
#nw-kopf .nwk-zu-zeile svg{width:16px; height:16px}

/* Hinweis-Formular */
#nw-kopf .nwk-intro{margin:0 0 18px; color:var(--nwk-text)}
#nw-kopf .nwk-ort{display:block; margin-top:2px; font-size:14px; color:var(--nwk-leise)}
#nw-kopf .nwk-feldset{margin:0 0 18px; padding:0; border:0; min-width:0}
#nw-kopf .nwk-feldset legend{margin:0 0 8px; padding:0; font:600 15px/1.3 var(--nwk-schrift); color:var(--nwk-tinte)}
#nw-kopf .nwk-arten{display:flex; flex-wrap:wrap; gap:8px}
#nw-kopf .nwk-art{position:relative; display:inline-flex; align-items:center; min-height:44px; padding:0 16px;
  border:1px solid var(--nwk-rand); border-radius:999px; font:500 15px/1.2 var(--nwk-schrift); color:var(--nwk-tinte);
  cursor:pointer; user-select:none}
#nw-kopf .nwk-art:hover{border-color:var(--nwk-tinte)}
#nw-kopf .nwk-art input{position:absolute; opacity:0; width:1px; height:1px; margin:0; pointer-events:none}
#nw-kopf .nwk-art.nwk-an{background:var(--nwk-knopf); border-color:var(--nwk-knopf); color:var(--nwk-knopf-schrift)}
#nw-kopf .nwk-art.nwk-fokus{outline:2px solid var(--nwk-tief); outline-offset:2px}
#nw-kopf .nwk-feld{display:block; margin:0 0 16px}
#nw-kopf .nwk-feld > span{display:block; margin:0 0 6px; font:600 15px/1.3 var(--nwk-schrift); color:var(--nwk-tinte)}
#nw-kopf .nwk-feld > span em{font-style:normal; font-weight:400; color:var(--nwk-leise)}
#nw-kopf .nwk-feld input, #nw-kopf .nwk-feld textarea, #nw-kopf .nwk-feld select{display:block; width:100%; min-height:44px;
  margin:0; padding:10px 13px; font:400 16px/1.45 var(--nwk-schrift); color:var(--nwk-tinte); background:var(--nwk-papier);
  border:1px solid var(--nwk-rand); border-radius:8px; box-shadow:none}
#nw-kopf .nwk-feld textarea{resize:vertical; min-height:7.5em}
#nw-kopf .nwk-feld input:focus, #nw-kopf .nwk-feld textarea:focus, #nw-kopf .nwk-feld select:focus{
  outline:2px solid var(--nwk-tief); outline-offset:1px; border-color:var(--nwk-tief)}
#nw-kopf .nwk-feld [aria-invalid="true"]{border-color:var(--nwk-rot)}
#nw-kopf .nwk-zaehler{display:block; margin-top:4px; text-align:right; font-size:13px; color:var(--nwk-leise)}
#nw-kopf .nwk-zusatz{display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr)); gap:0 16px}
#nw-kopf .nwk-kontakt{margin:4px 0 0; padding:16px 0 0; border-top:1px solid var(--nwk-linie)}
#nw-kopf .nwk-haken{display:flex; align-items:flex-start; gap:10px; min-height:44px; margin:0 0 10px; padding:4px 0;
  font:400 15px/1.45 var(--nwk-schrift); color:var(--nwk-text); cursor:pointer}
#nw-kopf .nwk-haken input{flex:none; width:20px; height:20px; margin:1px 0 0; accent-color:var(--nwk-tief)}
#nw-kopf .nwk-ki{display:flex; flex-wrap:wrap; gap:8px; margin:-8px 0 16px}
#nw-kopf .nwk-ki .nwk-knopf{min-height:40px; font-size:14px}
#nw-kopf .nwk-ki .nwk-knopf[disabled]{opacity:.6; cursor:progress}
#nw-kopf .nwk-ki [data-nwk-rueck][disabled]{opacity:.45; cursor:not-allowed}
#nw-kopf .nwk-erfolg .nwk-meine{align-self:flex-start}
#nw-kopf .nwk-falle{position:absolute; left:-10000px; top:auto; width:1px; height:1px; overflow:hidden}
#nw-kopf .nwk-meldung{min-height:1.4em; margin:4px 0 12px; font:500 15px/1.4 var(--nwk-schrift); color:var(--nwk-rot)}
#nw-kopf .nwk-meldung:empty{margin:0}
#nw-kopf .nwk-aktionen{display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px}
#nw-kopf .nwk-erfolg{display:flex; flex-direction:column; align-items:flex-start; gap:14px}
#nw-kopf .nwk-erfolg-zeile{display:flex; align-items:flex-start; gap:12px; margin:0; font:500 17px/1.45 var(--nwk-schrift);
  color:var(--nwk-tinte)}
#nw-kopf .nwk-erfolg-zeile svg{width:26px; height:26px; color:var(--nwk-tief)}
#nw-kopf .nwk-gesperrt{display:flex; align-items:flex-start; gap:12px; margin:0 0 18px; font:500 17px/1.45 var(--nwk-schrift)}
#nw-kopf .nwk-gesperrt svg{width:22px; height:22px; margin-top:2px; color:var(--nwk-leise)}

/* ---------------- Schmal ---------------- */
/* Unter 52 rem zeigen die Knöpfe nur noch ihr Zeichen (der Name steht im aria-label); „Anmelden" behält sein Wort. */
@media (max-width:52rem){
  #nw-kopf .nwk-knoepfe .nwk-knopf:not(.nwk-haupt){padding:0; width:44px}
  #nw-kopf .nwk-knoepfe .nwk-knopf:not(.nwk-haupt) .nwk-wort,
  #nw-kopf .nwk-knoepfe .nwk-knopf .nwk-pfeil{display:none}
  #nw-kopf .nwk-kacheln{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* Telefon: Kopf 56 px, Marke ohne Wort, Dialoge als volle Fläche, Kacheln als Zeilen (Bild links). */
@media (max-width:40rem){
  #nw-kopf{--nwk-h:56px}
  #nw-kopf .nwk-leiste{gap:6px; padding:0 16px}
  #nw-kopf .nwk-marke{padding:0}
  #nw-kopf .nwk-marke svg, #nw-kopf .nwk-marke-bild{width:34px; height:34px; margin:0 5px}
  #nw-kopf .nwk-marke-wort, #nw-kopf .nwk-trenner{display:none}
  /* Zwei Zeilen statt Abschneiden: „Multimedialer Bereich" passt sonst neben vier Knöpfen nicht. */
  #nw-kopf .nwk-bereich{display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; line-clamp:2;
    white-space:normal; text-overflow:clip; font-size:15px; line-height:1.15}
  #nw-kopf .nwk-knoepfe{gap:4px}
  #nw-kopf .nwk-knopf.nwk-haupt{padding:0 14px}
  #nw-kopf .nwk-knopf.nwk-haupt svg{display:none}
  #nw-kopf .nwk-dialog, #nw-kopf .nwk-hinweis{width:100vw; max-width:100vw; height:100dvh; max-height:100dvh;
    border:0; border-radius:0}
  #nw-kopf .nwk-dialog-kopf{padding:6px 8px 6px 16px}
  #nw-kopf .nwk-dialog-kopf h2{font-size:20px}
  #nw-kopf .nwk-dialog-rumpf{padding:16px 16px 24px}
  #nw-kopf .nwk-kacheln{grid-template-columns:minmax(0,1fr); gap:10px}
  #nw-kopf .nwk-kachel{flex-direction:row; min-height:88px}
  #nw-kopf .nwk-kachel-bild{flex:0 0 112px; aspect-ratio:auto; border-bottom:0; border-right:1px solid var(--nwk-linie)}
  #nw-kopf .nwk-kachel-bild img{position:absolute; inset:0}
  #nw-kopf .nwk-kachel-bild img.nwk-kachel-marke{inset:auto 6px 6px auto; width:36px; height:36px}
  #nw-kopf .nwk-kachel-text{justify-content:center; padding:10px 12px; gap:2px}
  #nw-kopf .nwk-kachel-name{font-size:17px}
  #nw-kopf .nwk-kachel-satz{font-size:14px; line-height:1.4}
  #nw-kopf .nwk-zu-zeile{font-size:13px}
}
@media (prefers-reduced-motion:no-preference){
  #nw-kopf .nwk-knopf, #nw-kopf .nwk-kachel, #nw-kopf .nwk-art{transition:border-color .12s, background-color .12s}
}
/* Steht zuletzt: schlägt die display-Regeln gleicher Spezifität darüber. */
#nw-kopf [hidden]{display:none}

/* Startbild groß (seit 24.11.2026): Vergrößern-Knopf auf dem Einstiegsbild jedes Bereichs und Bilddialog in 2K.
   Steht außerhalb von #nw-kopf, weil das Bild zur Seite gehört; Farben fest, weil sie über einem Bild liegen. */
.nwk-startbild{position:relative; display:block; max-width:100%}
.nwk-startbild > img{display:block; cursor:zoom-in}
.nwk-startbild-knopf{position:absolute; right:10px; bottom:10px; width:44px; height:44px; display:grid; place-items:center;
  border:0; border-radius:999px; background:rgba(20,22,18,.62); color:#fff; cursor:zoom-in; transition:background .15s}
.nwk-startbild-knopf:hover{background:rgba(20,22,18,.82)}
.nwk-startbild-knopf:focus-visible{outline:2px solid #fff; outline-offset:2px}
.nwk-startbild-knopf svg{width:20px; height:20px}
.nwk-bilddialog{position:fixed; inset:0; width:100vw; height:100dvh; max-width:100vw; max-height:100dvh; margin:0; padding:0;
  border:0; background:rgba(10,11,9,.94); display:none; place-items:center; cursor:zoom-out}
.nwk-bilddialog[open]{display:grid}
.nwk-bilddialog::backdrop{background:rgba(0,0,0,.6)}
.nwk-bilddialog img{max-width:calc(100vw - 32px); max-height:calc(100dvh - 32px); object-fit:contain; border-radius:8px}
.nwk-bilddialog-zu{position:absolute; top:max(12px, env(safe-area-inset-top, 0px)); right:max(12px, env(safe-area-inset-right, 0px));
  width:44px; height:44px; display:grid; place-items:center; border:0; border-radius:999px; background:rgba(255,255,255,.14); color:#fff; cursor:pointer}
.nwk-bilddialog-zu:hover{background:rgba(255,255,255,.26)}
.nwk-bilddialog-zu svg{width:22px; height:22px}
@media (prefers-reduced-motion: reduce){.nwk-startbild-knopf{transition:none}}

/* Testphase-Band (26.11.2026): steht UNTER dem Kopf, wenn ein Tester ein Haus öffnet, das noch nicht frei ist.
   Ruhig, gelb = Hinweis (Hausregel grün/gelb/rot), blockiert nichts. Eigene Farben, weil es außerhalb von #nw-kopf steht. */
.nwk-testband{--nwkt-grund:#fbf4dc; --nwkt-linie:#e8d9a0; --nwkt-tinte:#4a3c0c; --nwkt-link:#5a6918;
  display:block; margin:0; padding:0; background:var(--nwkt-grund); border-bottom:1px solid var(--nwkt-linie); color:var(--nwkt-tinte);
  font:400 15px/1.45 "Barlow","nwk-Barlow",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif; text-align:left}
@media (prefers-color-scheme:dark){
  .nwk-testband{--nwkt-grund:#2b2510; --nwkt-linie:#4a3f1c; --nwkt-tinte:#efe3bd; --nwkt-link:#B8CC3A}
}
.nwk-testband-innen{display:flex; align-items:flex-start; gap:10px; max-width:90rem; margin:0 auto; padding:10px clamp(16px,3vw,32px)}
.nwk-testband svg{display:block; flex:none; width:18px; height:18px; margin-top:2px}
.nwk-testband p{margin:0}
.nwk-testband strong{font-weight:600}
.nwk-testband a{color:var(--nwkt-link); font-weight:600; text-decoration:underline; text-underline-offset:3px}
