/* Stadtseiten-Kopf „Dunkel 2027“ (Entwurf 28.11.2026, Visuelles Konzept v1)
   ---------------------------------------------------------------------------
   Gilt nur für den Kopf (.nz-kopf) der Vollseiten stadtdaten-*.html mit <body class="nz">.
   Wird als LETZTES Stylesheet geladen und ändert kein Markup, keine Texte, kein Verhalten.
   Abschalten: den <link> auf diese Datei wieder entfernen.

   Was sich ändert und warum:
   - Grund Dunkelgrün #082a22 statt Petrol: Dunkel ist die Farbe der Stadtseiten (Stein = Makler,
     Papier = Startseite), so sind Stadt- und Makler-Ortsseite auf den ersten Blick zu unterscheiden.
   - Lime nur noch für den Knopf „Kostenlos prüfen“. Alle Beschriftungen in gedämpftem Weiß/Grün.
   - Die drei Zahlen unter dem Kopf werden zum Ortskopf: große Zahl, kurze Bezeichnung, Quelle in Mono.
     Bisher standen sie in drei gleich lauten Kästen und gingen neben Foto und H1 unter.
   - Quelle, Brotkrumen und Hinweiszeilen in Mono: Belege sehen überall gleich aus.
   - Hinweis „Inspectius Glass“: „Neu:“ nicht mehr in Lime (Lime heißt Aktion, Glass ist ein Hinweis).
   Gemeinde-Umriss (VG250, BKG) seit 30.11.2026, siehe Abschnitt am Ende.
   Schriften: Space Grotesk und JetBrains Mono lädt die Seite schon über /fonts/fonts.css. */

body.nz .nz-kopf{
  --k27-grund:#082a22;
  --k27-flaeche:#0d3329;
  --k27-linie:#1d4337;
  --k27-text:rgba(255,255,255,.80);
  --k27-leise:#9db5ab;
  --k27-gruen:#9fd4b8;
  --k27-lime:#c6eb51;
  --k27-lime-hover:#b5dc3b;
  --k27-display:'Space Grotesk',system-ui,-apple-system,'Segoe UI',sans-serif;
  --k27-mono:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;
  background:var(--k27-grund);
}

/* Brotkrumen und Oberzeile: leise, in Mono */
body.nz .nz-krumen,
body.nz .nz-krumen a{font-family:var(--k27-mono); font-size:12px; color:var(--k27-leise); text-decoration:none}
body.nz .nz-krumen a:hover{color:#fff; text-decoration:underline}
body.nz .nz-ober{font-family:var(--k27-mono); font-weight:500; font-size:12px; letter-spacing:.08em; color:var(--k27-gruen)}

/* Überschrift: Zahlen tragen, dritte Zeile tritt zurück statt kursiv zu kippen */
body.nz .nz-kopf h1{font-family:var(--k27-display); font-weight:600; letter-spacing:-.025em;
  font-variant-numeric:tabular-nums; color:#fff}
body.nz .nz-kopf h1 em{font-style:normal; font-weight:500; color:var(--k27-gruen)}

body.nz .nz-einleitung{color:var(--k27-text)}
body.nz .nz-einleitung strong{color:#fff}
body.nz .nz-mehr{color:var(--k27-gruen)}

/* Adressfeld als eine Pille: Feld und Knopf gehören zusammen, Lime nur am Knopf */
body.nz .nz-adresse{gap:0; padding:6px; max-width:560px; border-radius:999px;
  background:#0f3a2f; box-shadow:inset 0 0 0 1px #24524a}
body.nz .nz-adresse:focus-within{box-shadow:inset 0 0 0 1px #24524a,0 0 0 2px var(--k27-lime)}
body.nz .nz-adresse input{border:0; background:transparent; border-radius:999px; padding:12px 16px; color:#fff}
body.nz .nz-adresse input:focus{outline:none}
body.nz .nz-adresse input::placeholder{color:var(--k27-leise)}
body.nz .nz-adresse button{border-radius:999px; background:var(--k27-lime); color:#082a22;
  font-family:var(--k27-display); font-weight:600; padding:12px 22px; min-height:46px; transition:background-color .15s ease}
body.nz .nz-adresse button:hover{background:var(--k27-lime-hover)}
body.nz .nz-adresse button:focus-visible{outline:2px solid #fff; outline-offset:2px}
body.nz .nz-hinweis{font-family:var(--k27-mono); font-size:11.5px; color:var(--k27-leise)}

/* Rechte Spalte: Foto/3D-Modell, Legende und Bildnachweis in den Ton des Kopfs */
body.nz .nz-foto img{border-radius:10px}
body.nz .nz-foto .hero-credit,
body.nz .nz-foto .hero-credit a{font-family:var(--k27-mono); font-size:11px; color:var(--k27-leise)}
body.nz .nz-kopf .vs3d-quelle{font-family:var(--k27-mono); font-size:11px; color:var(--k27-leise)}
body.nz .nz-kopf .vs3d-legende{color:var(--k27-text)}
body.nz .nz-kopf .vs3d-knopf{border-radius:999px; border-color:#2f5a4d; color:#fff; background:transparent}
body.nz .nz-kopf .vs3d-knopf:hover{border-color:var(--k27-gruen)}

/* Ortskopf: drei Zahlen in einem Band, durch Haarlinien getrennt statt drei Kästen */
body.nz .nz-zahlen{gap:1px; background:var(--k27-linie); border-radius:10px; overflow:hidden; margin-top:8px}
body.nz .nz-zahl{background:var(--k27-flaeche); border-radius:0; padding:18px 20px 16px;
  display:flex; flex-direction:column}
body.nz .nz-zahl-k{order:2; margin-top:6px!important; font-size:14px; letter-spacing:0; text-transform:none;
  color:var(--k27-text); line-height:1.35}
body.nz .nz-zahl-w{order:1; margin-top:0!important; font-family:var(--k27-display); font-weight:600;
  font-size:clamp(26px,2.6vw,34px); line-height:1.1; letter-spacing:-.02em; font-variant-numeric:tabular-nums; color:#fff}
body.nz .nz-zahl-q{order:3; margin-top:8px!important; font-family:var(--k27-mono); font-size:11px; line-height:1.5; color:var(--k27-leise)}
/* „Nicht verfügbar“ ist ein Zustand, keine Zahl: kleiner und leiser, damit es nicht wie ein Befund wirkt */
body.nz #nz-klima-w{font-size:clamp(20px,1.9vw,24px)}

@media (max-width:800px){
  body.nz .nz-kopf h1{font-size:28px; line-height:1.12}
  body.nz .nz-adresse{border-radius:18px; flex-direction:column; align-items:stretch; gap:6px}
  /* Spaltenrichtung: sonst wird die Grundbreite 260px des Felds zur Höhe */
  body.nz .nz-adresse input{flex:0 0 auto}
  body.nz .nz-adresse button{flex:0 0 auto; width:100%}
  body.nz .nz-zahl{padding:14px 16px}
  body.nz .nz-zahl-w{font-size:26px}
}

/* Glass-Hinweis unten links: „Neu:“ war Lime. Lime bleibt dem Knopf vorbehalten (Inline-Stil, daher !important). */
#glass-hinweis span[style*="C6EB51"]{color:#f0c674!important}

/* ---------- Gemeinde-Umriss (30.11.2026) ----------
   Erkennungsbild der Stadt: Umriss des Gemeindegebiets aus VG250 (BKG), vereinfacht, mit Quellenvermerk.
   Steht vor der H1 (werkzeuge/stadtseite_umriss_2027.py). Nur Linie, keine Fläche: das Bild ist Orientierung,
   kein Befund. */
body.nz .nz-umriss{display:flex; align-items:center; gap:14px; margin:2px 0 -2px}
body.nz .nz-umriss svg{flex:none; width:64px; height:64px; overflow:visible}
body.nz .nz-umriss path{fill:rgba(159,212,184,.08); stroke:var(--k27-gruen); stroke-width:3.2;
  stroke-linejoin:round; vector-effect:non-scaling-stroke}
body.nz .nz-umriss svg path{stroke-width:1.4px}
body.nz .nz-umriss p{margin:0; display:flex; flex-direction:column; gap:3px; min-width:0}
body.nz .nz-umriss span{font-family:var(--k27-display); font-weight:500; font-size:14px; color:var(--k27-text)}
body.nz .nz-umriss small,body.nz .nz-umriss small a{font-family:var(--k27-mono); font-size:10.5px; line-height:1.45; color:var(--k27-leise)}
body.nz .nz-umriss small a{text-decoration:underline; text-underline-offset:2px}
@media (max-width:800px){
  body.nz .nz-umriss{order:1; gap:12px}
  body.nz .nz-umriss svg{width:48px; height:48px}
}
