/* site.css - vom Bau erzeugt fuer cnc-fraesteile-hersteller.de (Hero-Buehne, CTA-Motiv). Nicht von Hand aendern. */

/* Domaineigene Stile aus inhalt/cnc-fraesteile-hersteller.de/stil.css */
.hz {
    --hz-kante: var(--text-primary);
    --hz-duenn: var(--text-secondary);
    --hz-koerper: rgba(255, 255, 255, 0.035);
    --hz-flaeche: rgba(232, 114, 12, 0.045);
    --hz-ok: var(--erfolg);
    --hz-nein: var(--fehler);
    display: block; width: 100%; height: auto; max-width: 100%;
    font-family: 'DM Sans', system-ui, sans-serif;
}
[data-theme="light"] .hz { --hz-koerper: rgba(0, 0, 0, 0.025); --hz-flaeche: rgba(232, 114, 12, 0.08); }
.hz text { fill: var(--text-secondary); font-size: 14px; }
.hz .hz-text { fill: var(--text-primary); font-size: 16px; }
.hz .hz-text-stark { fill: var(--text-primary); font-size: 16px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; }
.hz .hz-titel { fill: var(--text-primary); font-size: 18px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; }
.hz .hz-klein { fill: var(--text-secondary); font-size: 13.5px; }
.hz .hz-klein-stark { fill: var(--text-primary); font-size: 13.5px; font-weight: 700; }
.hz .hz-masszahl { fill: var(--text-primary); font-size: 14px; font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 600; }
.hz .hz-koerper { fill: var(--hz-koerper); stroke: var(--hz-kante); stroke-width: 1.6; stroke-linejoin: round; }
.hz .hz-dichtflaeche { fill: var(--hz-flaeche); stroke: var(--hz-kante); stroke-width: 1.3; }
.hz .hz-kante { fill: none; stroke: var(--hz-kante); stroke-width: 1.4; }
.hz .hz-bohrung { fill: var(--bg-primary); stroke: var(--hz-kante); stroke-width: 1.4; }
.hz .hz-duenn { fill: none; stroke: var(--hz-duenn); stroke-width: 0.8; }
.hz .hz-mitte { fill: none; stroke: var(--text-muted); stroke-width: 0.8; stroke-dasharray: 10 3 2 3; }
.hz .hz-mass { stroke: var(--hz-duenn); stroke-width: 0.9; fill: none; }
.hz .hz-mass-spitze { fill: var(--hz-duenn); }
.hz .hz-hinweis { stroke: var(--orange); stroke-width: 1.4; fill: none; }
.hz .hz-hinweis-punkt { fill: var(--orange); }
.hz .hz-ballon { fill: var(--bg-card); stroke: var(--orange); stroke-width: 2; }
.hz .hz-ballon-nr { fill: var(--text-primary); font-size: 17px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; dominant-baseline: central; }
.hz .hz-pfeil, .hz .hz-pfeil-duenn { stroke: var(--orange); stroke-width: 2.2; fill: none; stroke-linecap: round; }
.hz .hz-pfeil-duenn { stroke-width: 1.4; }
.hz .hz-pfeil-spitze, .hz .hz-pfeil-duenn-spitze { fill: var(--orange); }
.hz .hz-rueckweg { fill: none; stroke: var(--text-muted); stroke-width: 1.4; stroke-dasharray: 6 5; }
.hz .hz-grundlinie { stroke: var(--border-hover); stroke-width: 1.2; }

.hz .hz-kasten { fill: var(--bg-card); stroke: var(--border-hover); stroke-width: 1.2; }
.hz .hz-kasten-akzent { stroke: var(--orange); stroke-width: 1.8; }
.hz .hz-kasten-klein { fill: var(--bg-card); stroke: var(--border-hover); stroke-width: 1.1; }
.hz .hz-rahmen-zert { fill: var(--bg-card); stroke: var(--orange); stroke-width: 1.8; }
.hz .hz-feld { fill: var(--bg-elevated); stroke: var(--border-hover); stroke-width: 1; }
.hz .hz-feld-aus { fill: none; stroke: var(--text-muted); stroke-width: 1.4; stroke-dasharray: 7 5; }
.hz .hz-ok { fill: rgba(16, 185, 129, 0.16); stroke: var(--hz-ok); stroke-width: 1.6; }
.hz .hz-ok-haken { fill: none; stroke: var(--hz-ok); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hz .hz-bedingt { fill: rgba(245, 158, 11, 0.16); stroke: var(--warnung); stroke-width: 1.6; }
.hz .hz-bedingt + .hz-ok-haken { stroke: var(--warnung); }
.hz .hz-nein { fill: rgba(239, 68, 68, 0.14); stroke: var(--hz-nein); stroke-width: 1.6; }
.hz .hz-nein-kreuz { fill: none; stroke: var(--hz-nein); stroke-width: 2.2; stroke-linecap: round; }
.hz .hz-nummer { fill: var(--orange-glow); stroke: var(--orange); stroke-width: 1.6; }
.hz .hz-nummer-text { fill: var(--text-primary); font-size: 16px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; }

.hz .hz-stufe { stroke: var(--border-hover); stroke-width: 1; }
.hz .hz-stufe-1 { fill: var(--bg-elevated); }
.hz .hz-stufe-2 { fill: var(--bg-elevated); }
.hz .hz-stufe-3 { fill: rgba(232, 114, 12, 0.10); stroke: rgba(232, 114, 12, 0.45); }
.hz .hz-stufe-4 { fill: rgba(232, 114, 12, 0.18); stroke: var(--orange); }
.hz .hz-stufen-nr { fill: var(--orange-text); font-size: 24px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; }
.hz .hz-dok { fill: var(--bg-card); stroke: var(--text-secondary); stroke-width: 1.3; stroke-linejoin: round; }
.hz .hz-dok-zeile { stroke: var(--text-muted); stroke-width: 1.3; }
.hz .hz-stempel { fill: none; stroke: var(--orange); stroke-width: 1.8; }
.hz .hz-stempel-haken { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.hz .hz-teil { fill: var(--bg-elevated); stroke: var(--border-hover); stroke-width: 1; }
.hz .hz-teil-probe { fill: rgba(232, 114, 12, 0.22); stroke: var(--orange); stroke-width: 1.6; }

.hz .hz-blatt { fill: var(--bg-card); stroke: var(--border-hover); stroke-width: 1.2; }
.hz .hz-blatt-feld { fill: none; stroke: var(--border); stroke-width: 1; }
.hz .hz-blatt-linie { fill: none; stroke: var(--text-secondary); stroke-width: 1.3; }
.hz .hz-aenderung { fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-dasharray: 5 4; }
.hz .hz-schriftfeld { fill: var(--bg-elevated); stroke: var(--border-hover); stroke-width: 1; }
.hz .hz-index-buchstabe { fill: var(--orange-text); font-size: 22px; font-weight: 700; font-family: 'Space Grotesk', system-ui, sans-serif; }

.hz-beispiel { --iso-oben: #e6e9ed; --iso-vorne: #b4bbc4; --iso-rechts: #8d96a1; --iso-kante: #1c1f24; }
[data-theme="light"] .hz-beispiel { --iso-oben: #f6f7f9; --iso-vorne: #d6dbe1; --iso-rechts: #b7bec7; --iso-kante: #5b636d; }
.hz .hz-iso-oben { fill: var(--iso-oben); stroke: var(--iso-kante); stroke-width: 1; stroke-linejoin: round; }
.hz .hz-iso-vorne { fill: var(--iso-vorne); stroke: var(--iso-kante); stroke-width: 1; stroke-linejoin: round; }
.hz .hz-iso-rechts { fill: var(--iso-rechts); stroke: var(--iso-kante); stroke-width: 1; stroke-linejoin: round; }
.hz .hz-iso-loch { fill: #23272d; stroke: var(--iso-kante); stroke-width: 0.8; }
.hz .hz-iso-tasche { fill: var(--iso-vorne); stroke: var(--iso-kante); stroke-width: 1; }
.hz .hz-iso-nut { fill: var(--iso-vorne); stroke: var(--iso-kante); stroke-width: 0.8; }
.hz .hz-iso-senkung { fill: var(--iso-oben); stroke: var(--iso-kante); stroke-width: 0.9; }


figure.nh-abb { margin: 0; border: 1px solid var(--border); border-radius: var(--radius-l); overflow: hidden; background: var(--bg-card); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
figure.nh-abb .svg-einbettung { padding: 18px 18px 12px; }
figure.nh-abb figcaption { margin: 0; padding: 11px 16px; font-size: 0.82rem; line-height: 1.5; color: var(--text-secondary); border-top: 1px solid var(--border); background: var(--bg-card); }
figure.nh-abb.nh-schmal { max-width: 460px; }


.hero-figur .nh-hero-bild {
    position: relative; border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--border);
    background: var(--bg-card); box-shadow: var(--schatten-karte); aspect-ratio: 4 / 5;
}
.hero-figur .nh-hero-bild picture, .hero-figur .nh-hero-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-figur .nh-hero-bild .svg-einbettung { position: absolute; inset: 0; }
.hero-figur .nh-hero-bild .svg-einbettung > svg { width: 100%; height: 100%; }
.hero-figur figcaption { display: flex; align-items: flex-start; gap: 8px; }
.hero-figur figcaption::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; margin-top: 5px; border-radius: 2px; background: var(--orange); }
.nh-pb { --nh-pb-fuell: rgba(17, 17, 17, 0.9); --nh-pb-text: #F0F0F0; --nh-pb-halo: rgba(0, 0, 0, 0.55); }
[data-theme="light"] .nh-pb { --nh-pb-fuell: rgba(255, 255, 255, 0.94); --nh-pb-text: #111111; --nh-pb-halo: rgba(255, 255, 255, 0.75); }
.nh-pb .nh-pb-halo { fill: none; stroke: var(--nh-pb-halo); stroke-width: 9; stroke-linecap: round; }
.nh-pb .nh-pb-linie { fill: none; stroke: #E8720C; stroke-width: 3.4; stroke-linecap: round; }
.nh-pb .nh-pb-mass { fill: none; stroke: #E8720C; stroke-width: 2.6; stroke-linecap: round; }
.nh-pb .nh-pb-punkt { fill: #E8720C; stroke: var(--nh-pb-halo); stroke-width: 3; }
.nh-pb .nh-pb-kreis { fill: var(--nh-pb-fuell); stroke: #E8720C; stroke-width: 4.5; }
.nh-pb .nh-pb-nr { fill: var(--nh-pb-text); font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; font-size: 42px; }

.js .nh-pb .nh-pb-m { opacity: 0; animation: nh-pb-ein 0.5s ease-out forwards; }
.js .nh-pb .nh-pb-m1 { animation-delay: 0.45s; }
.js .nh-pb .nh-pb-m2 { animation-delay: 0.65s; }
.js .nh-pb .nh-pb-m3 { animation-delay: 0.85s; }
.js .nh-pb .nh-pb-m4 { animation-delay: 1.05s; }
.js .nh-pb .nh-pb-m5 { animation-delay: 1.25s; }
.js .nh-pb .nh-pb-m6 { animation-delay: 1.45s; }
.js .nh-pb .nh-pb-m7 { animation-delay: 1.65s; }
.js .nh-pb .nh-pb-m8 { animation-delay: 1.85s; }
@keyframes nh-pb-ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .nh-pb .nh-pb-m { opacity: 1; animation: none; } }
@media (max-width: 1024px) {
    .hero-figur .nh-hero-bild { max-width: 460px; }
    .hero-figur { max-width: 460px; }
}
@media (min-width: 1025px) {
    .hero-figur .nh-hero-bild { max-height: min(78dvh, 720px); margin-left: auto; }
}


.nh-marke {
    display: inline-block; font-family: 'Space Grotesk', sans-serif; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; color: var(--orange-text); margin-bottom: 10px;
    border-left: 3px solid var(--orange); padding-left: 10px;
}
.nh-klein { font-size: 0.92rem; color: var(--text-secondary); }
.nh-quelle-zeile { font-size: 0.82rem; color: var(--text-muted); margin-top: 10px; }
.fliesstext p + ul, .leistungen-text p + ul { margin-top: 4px; }
.nh-karten-icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 14px;
    background: var(--orange-glow); border: 1px solid rgba(232, 114, 12, 0.3); color: var(--orange-text); }
.nh-karten-icon svg { width: 22px; height: 22px; }
.nh-ikon { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nh-zukauf .vorteil-card { display: flex; flex-direction: column; }
.nh-zukauf .vorteil-card .karten-link { margin-top: auto; padding-top: 12px; }
.nh-zukauf .vorteil-number { position: absolute; top: 18px; right: 22px; margin: 0; font-size: 1.5rem; }
.nh-zukauf .vorteil-card { position: relative; }


.nh-buehne .nh-buehne-raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 32px 48px; align-items: start; }
.nh-buehne h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.nh-buehne .einleitung { font-size: 1.02rem; }
.nh-buehne .nh-klein { margin-top: 12px; }
.nh-buehne-knopf { margin-top: 22px; }
.nh-buehne-wahl { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 22px; min-width: 0; }
.nh-buehne-wahl .form-group:last-of-type { margin-bottom: 12px; }
.nh-buehne-vorschlag { min-height: 3.2em; padding: 14px 16px; border-radius: var(--radius-s); border-left: 3px solid var(--orange);
    background: var(--orange-glow); color: var(--text-primary); font-size: 0.97rem; }
.nh-buehne-vorschlag strong { font-family: 'Space Grotesk', sans-serif; }
@media (max-width: 1024px) { .nh-buehne .nh-buehne-raster { grid-template-columns: minmax(0, 1fr); } }


.nh-nurjs { display: none; }
.js .nh-nurjs { display: block; }
.js .nh-ohnejs { display: none; }


.nh-qualitaet { align-items: center; }
.nh-qualitaet .fliesstext p { margin-bottom: 14px; }
.nh-zert-satz { color: var(--text-primary); font-weight: 500; }
.nh-haus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 8px; }
.nh-haus .absender-karte h3 { font-size: 1.02rem; margin-bottom: 14px; }
.nh-haus .absender-karte p { margin-top: 14px; }
.nh-absender-satz { margin-top: 22px; font-size: 0.92rem; color: var(--text-muted); border-left: 3px solid var(--border-hover); padding-left: 14px; }
@media (max-width: 768px) { .nh-haus { grid-template-columns: minmax(0, 1fr); } }


.nh-reklamation .schritte { margin-top: 6px; }
.nh-reklamation .schritte > li strong { font-family: 'Space Grotesk', sans-serif; }


.nh-fragen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; counter-reset: frage; }
.nh-fragen > li { counter-increment: frage; position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l);
    padding: 20px 22px 20px 76px; min-width: 0; }
.nh-fragen > li::before { content: counter(frage); position: absolute; left: 22px; top: 20px; width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700; color: var(--orange-text);
    background: var(--orange-glow); border: 1px solid rgba(232, 114, 12, 0.35); }
.nh-fragen h3 { font-size: 1.03rem; margin-bottom: 6px; }
.nh-fragen p { color: var(--text-secondary); font-size: 0.93rem; }
@media (max-width: 768px) { .nh-fragen { grid-template-columns: minmax(0, 1fr); } .nh-fragen > li { padding-left: 70px; } }


.nh-antworten th { width: 32%; }
.nh-antworten td a { text-decoration: underline; text-underline-offset: 3px; }
.nh-stammdaten { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 28px 48px; align-items: start; }
.nh-karte-stamm { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 8px 24px; box-shadow: var(--schatten-karte); position: relative; overflow: hidden; }
.nh-karte-stamm::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); }
.nh-karte-stamm dl { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr); margin: 0; }
.nh-karte-stamm dt, .nh-karte-stamm dd { padding: 11px 0; border-bottom: 1px solid var(--border); margin: 0; }
.nh-karte-stamm dt { color: var(--text-muted); font-size: 0.85rem; padding-right: 12px; }
.nh-karte-stamm dd { color: var(--text-primary); font-size: 0.95rem; overflow-wrap: anywhere; }
.nh-karte-stamm dt:last-of-type, .nh-karte-stamm dd:last-of-type { border-bottom: none; }
.nh-karte-stamm a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .nh-stammdaten { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .nh-karte-stamm dl { grid-template-columns: minmax(0, 1fr); } .nh-karte-stamm dt { border-bottom: none; padding-bottom: 0; } .nh-karte-stamm dd { padding-top: 2px; } }


.nh-merkmale { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: merkmal; }
.nh-merkmale li { counter-increment: merkmal; position: relative; padding-left: 44px; color: var(--text-secondary); font-size: 0.95rem; min-height: 30px; }
.nh-merkmale li::before { content: counter(merkmal); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%;
    border: 2px solid var(--orange); display: grid; place-items: center; font-family: 'Space Grotesk', sans-serif; font-weight: 700;
    font-size: 0.9rem; color: var(--text-primary); background: var(--bg-card); }
.nh-merkmale strong { color: var(--text-primary); }
.nh-pruefplan { align-items: start; }
.nh-pruefplan figure { margin-bottom: 18px; }


.nh-mit-abb { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px 48px; align-items: start; }
.nh-mit-abb.nh-abb-links { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
@media (max-width: 1024px) {
    .nh-mit-abb, .nh-mit-abb.nh-abb-links { grid-template-columns: minmax(0, 1fr); }
    .nh-mit-abb.nh-abb-links > figure { order: 2; }
}
.nh-typen th:first-child { font-family: 'Space Grotesk', sans-serif; color: var(--orange-text); }
@media (min-width: 900px) { .nh-typen td:nth-child(2) { white-space: nowrap; } }
.nh-nobr { white-space: nowrap; }


.nh-planer .werkzeug-kopf { display: block; }
.nh-planer .werkzeug-kopf h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); margin-bottom: 8px; }
.nh-kopfzeile { color: var(--text-secondary); max-width: 820px; }
.nh-block { border: 1px solid var(--border); border-radius: var(--radius-m); padding: 16px 18px 6px; margin: 0 0 18px; min-width: 0; }
.nh-block > legend { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.95rem; padding: 0 8px; color: var(--text-primary); }
.nh-block-hinweis { font-size: 0.85rem; color: var(--text-muted); margin: -4px 0 12px; }
.nh-felder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.nh-vorlagen { margin-bottom: 16px; }
.nh-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nh-chip {
    min-height: 44px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border-hover); background: var(--bg-primary);
    color: var(--text-primary); font-size: 0.88rem; font-family: 'DM Sans', sans-serif; transition: border-color 0.2s, color 0.2s;
}
.nh-chip:hover { border-color: var(--orange); color: var(--orange-text); }
.nh-vorschlag { margin: 4px 0 14px; padding: 14px 16px; border-radius: var(--radius-s); background: var(--bg-primary); border: 1px dashed var(--border-hover); }
.nh-vorschlag-kopf { color: var(--text-primary); margin-bottom: 6px; }
.nh-vorschlag-kopf strong { font-family: 'Space Grotesk', sans-serif; }
.nh-begruendungen, .nh-hinweise { list-style: none; padding: 0; display: grid; gap: 10px; margin: 8px 0 0; }
.nh-begruendungen li, .nh-hinweise li { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.55; }
.nh-hinweise li { padding: 10px 12px; border-radius: var(--radius-s); background: var(--bg-card); border: 1px solid var(--border); }
.nh-stufe { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-primary); font-size: 0.8rem; margin-right: 6px; white-space: nowrap; }
.nh-stufe-symbol { flex-shrink: 0; }
.nh-sy-voll { fill: var(--text-secondary); stroke: var(--text-secondary); stroke-width: 1.6; }
.nh-sy-leer { fill: none; stroke: var(--text-secondary); stroke-width: 1.6; }
.nh-sy-halb { fill: var(--text-secondary); }
.nh-sy-evotec { fill: var(--orange); }
.nh-quelle { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }
#nh-uebernehmen { margin-top: 12px; }
.nh-gruppe { margin-bottom: 12px; }
.nh-gruppe-titel { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin: 6px 0 8px; }
.nh-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.nh-check.form-check { align-items: flex-start; padding: 10px 12px; min-height: 44px; border: 1px solid var(--border); border-radius: var(--radius-s); background: var(--bg-primary); }
.nh-check.form-check:hover { border-color: var(--border-hover); }
.nh-check input:checked ~ .nh-check-name { color: var(--orange-text); }
.nh-check-text { display: flex; flex-direction: column; min-width: 0; }
.nh-check-name { color: var(--text-primary); font-weight: 600; font-size: 0.93rem; line-height: 1.35; }
.nh-check-info { color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; margin-top: 2px; }

.nh-leer { color: var(--text-secondary); font-size: 0.95rem; }
.nh-ergebnis-kopf { padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 14px; }
.nh-zahl { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.nh-zahl-wert { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--orange-text); }
.nh-zahl-text { color: var(--text-primary); font-weight: 600; }
.nh-balken { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--bg-elevated); gap: 2px; }
.nh-balken-teil { flex-grow: 1; min-width: 8px; }
.nh-balken-teil[data-n="2"] { flex-grow: 2; } .nh-balken-teil[data-n="3"] { flex-grow: 3; } .nh-balken-teil[data-n="4"] { flex-grow: 4; }
.nh-balken-teil[data-n="5"] { flex-grow: 5; } .nh-balken-teil[data-n="6"] { flex-grow: 6; } .nh-balken-teil[data-n="7"] { flex-grow: 7; }
.nh-balken-teil[data-n="8"] { flex-grow: 8; } .nh-balken-teil[data-n="9"] { flex-grow: 9; } .nh-balken-teil[data-n="10"] { flex-grow: 10; }
.nh-balken-teil[data-n="11"] { flex-grow: 11; } .nh-balken-teil[data-n="12"] { flex-grow: 12; }
.nh-art-vorhanden { background: var(--erfolg); }
.nh-art-zugesagt { background: #3B82F6; }
.nh-art-absprache { background: var(--warnung); }
.nh-art-festlegen { background: var(--orange); }
.nh-art-ausgenommen { background: var(--text-muted); }
.nh-art-leer { background: var(--bg-elevated); }
.nh-legende { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 0.84rem; color: var(--text-secondary); }
.nh-legende li { display: inline-flex; align-items: center; gap: 7px; }
.nh-punkt { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.nh-tipp { margin: 0 0 12px; }
.nh-hinweis-offen { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid var(--warnung); background: rgba(245, 158, 11, 0.08); border-radius: var(--radius-s); font-size: 0.9rem; color: var(--text-primary); }
.nh-karten { list-style: none; padding: 0; display: grid; gap: 12px; margin: 14px 0 16px; }
.nh-karte { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--border-hover); border-radius: var(--radius-m); padding: 14px 16px; min-width: 0; }
.nh-karte-vorhanden { border-left-color: var(--erfolg); }
.nh-karte-zugesagt { border-left-color: #3B82F6; }
.nh-karte-absprache { border-left-color: var(--warnung); }
.nh-karte-festlegen { border-left-color: var(--orange); }
.nh-karte-ausgenommen { border-left-color: var(--text-muted); }
.nh-karte-titel { font-size: 1rem; margin-bottom: 8px; }
.nh-karte-daten { display: grid; grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr); gap: 6px 12px; margin: 0; font-size: 0.87rem; }
.nh-karte-daten dt { color: var(--text-muted); }
.nh-karte-daten dd { margin: 0; color: var(--text-secondary); }
.nh-stand-art { display: inline-block; font-weight: 700; color: var(--text-primary); margin-right: 2px; }
.nh-karte-fuss { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--border); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.nh-karte-fuss .nh-quelle { flex-basis: 100%; margin-top: 0; }

.nh-details { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--border); }
.nh-details-titel { font-size: 1.15rem; margin-bottom: 4px; }
.nh-details .nh-karten { margin: 14px 0 0; gap: 16px; }
.nh-nur-druck { display: none; }
.nh-baustein-klapp { margin-top: 14px; border-top: 1px solid var(--border); }
.nh-baustein-klapp > summary {
    cursor: pointer; list-style: none; min-height: 44px; display: flex; align-items: center; gap: 10px;
    font-size: 0.88rem; font-weight: 600; color: var(--text-secondary);
}
.nh-baustein-klapp > summary::-webkit-details-marker { display: none; }
.nh-baustein-klapp > summary::before {
    content: ''; width: 7px; height: 7px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
    transform: rotate(-45deg); transition: transform 0.2s; flex-shrink: 0;
}
.nh-baustein-klapp[open] > summary::before { transform: rotate(45deg); }
.nh-baustein-klapp > summary:hover { color: var(--text-primary); }
.nh-baustein-klapp .anfrage-baustein { margin: 2px 0 4px; }
.nh-ergebnis .werkzeug-knoepfe { margin-top: 12px; }
@media (min-width: 769px) {
    .nh-ergebnis { position: sticky; top: 96px; }
    .nh-details .nh-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1200px) { .nh-checks { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) { .nh-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
    .werkzeug.nh-planer { padding: 20px 14px; }
    .nh-block { padding: 14px 12px 4px; }
    .nh-vorschlag { padding: 12px; }
    .nh-checks, .nh-felder { grid-template-columns: minmax(0, 1fr); }
    .nh-karte-daten { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .nh-karte-daten dd { margin-bottom: 6px; }
}


.nh-stufen { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin-top: 8px; }
.nh-stufen li { color: var(--text-secondary); font-size: 0.9rem; padding: 12px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-m); }
@media (max-width: 600px) { .nh-stufen { grid-template-columns: minmax(0, 1fr); } }
details.nh-regeltabelle { border: 1px solid var(--border); border-radius: var(--radius-m); background: var(--bg-card); margin-top: 22px; }
details.nh-regeltabelle > summary {
    cursor: pointer; list-style: none; padding: 14px 18px; min-height: 48px; display: flex; justify-content: space-between; align-items: center;
    font-family: 'Space Grotesk', sans-serif; font-weight: 600;
}
details.nh-regeltabelle > summary::-webkit-details-marker { display: none; }
details.nh-regeltabelle > summary::after {
    content: ''; width: 8px; height: 8px; border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
    transform: rotate(45deg); transition: transform 0.25s; margin-left: 12px; flex-shrink: 0;
}
details.nh-regeltabelle[open] > summary::after { transform: rotate(-135deg); }
.nh-regeltabelle-inhalt { padding: 0 18px 18px; }
.nh-regeltabelle-inhalt h3 { font-size: 1rem; margin: 18px 0 4px; }
.nh-regeltabelle-inhalt table.tabelle td, .nh-regeltabelle-inhalt table.tabelle th { font-size: 0.84rem; }
.nh-regeltabelle-inhalt table.tabelle { min-width: 720px; }


.nh-beispiele { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.nh-beispiel { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 18px 20px 20px; display: flex; flex-direction: column; min-width: 0; }
.nh-beispiel-bild { margin: -4px -6px 12px; border-radius: var(--radius-m); background: var(--bg-elevated); border: 1px solid var(--border); padding: 6px 10px; }
.nh-beispiel h3 { font-size: 1.08rem; margin-bottom: 10px; }
.nh-beispiel dl { margin: 0; display: grid; gap: 4px; font-size: 0.9rem; }
.nh-beispiel dt { color: var(--text-muted); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 8px; }
.nh-beispiel dd { margin: 0; color: var(--text-secondary); }
.nh-beispiel ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.nh-beispiel ul li { padding-left: 16px; position: relative; }
.nh-beispiel ul li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 7px; height: 2px; background: var(--orange); }
.nh-beispiel-ergebnis { margin-top: auto; padding-top: 14px; }
.nh-beispiel-ergebnis .nh-zahl-wert { font-size: 1.9rem; }
@media (max-width: 1024px) { .nh-beispiele { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .nh-beispiele { grid-template-columns: minmax(0, 1fr); } }


@media print {
    body.druck-ergebnis .nh-planer .werkzeug-kopf, body.druck-ergebnis .nh-planer .werkzeug-fuss,
    body.druck-ergebnis .anfrage-baustein, body.druck-ergebnis .nh-ohnejs, body.druck-ergebnis .nh-tipp { display: none; }
    body.druck-ergebnis .nh-karte { break-inside: avoid; border-color: #999; }
    body.druck-ergebnis .nh-nur-druck { display: grid; margin-bottom: 10pt; }
    body.druck-ergebnis .nh-ergebnis { position: static; }
    body.druck-ergebnis .nh-details { border-top: none; margin-top: 8pt; padding-top: 0; }
    body.druck-ergebnis .werkzeug-ergebnis { border: none; padding: 0; }
    .nh-pb .nh-pb-m { opacity: 1; animation: none; }
}
.nh-weiter { margin-top: 22px; color: var(--text-secondary); }
.nh-weiter a { font-weight: 600; }
.nh-nach-zeitleiste { margin-top: 18px; }
