/* =========================================================================
   Variante 03 "Nah am Bestand" - die heutige Startseite, korrigiert.
   Gleiche Schriften (Inter, Playfair Display kursiv), dunkler Kopfbereich,
   abgerundete Flaechen. Akzent Koralle statt Indigo.
   ========================================================================= */

@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('fonts/playfair-display-latin-wght-italic.woff2') format('woff2'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
    --nacht: #071A33;
    --nacht-2: #0E2747;
    --koralle: #FF6B4A;
    --koralle-tief: #D9472A;
    --hell: #F7F6F2;
    --weiss: #FFFFFF;
    --text: #0F1B2A;
    --grau: #5B6676;
    --linie: #E4E2DC;

    --fv-scrim: rgba(7, 26, 51, .75);
    --fv-bg: #fff;
    --fv-fg: var(--text);
    --fv-muted: var(--grau);
    --fv-line: var(--linie);
    --fv-accent: var(--koralle-tief);
    --fv-accent-fg: #fff;
    --fv-radius: 1.5rem;
    --fv-feld-radius: .75rem;
    --fv-font: 'Inter', system-ui, sans-serif;

    --gal-bg: var(--nacht);
    --gal-fg: #fff;
    --gal-muted: rgba(255, 255, 255, .65);
    --gal-accent: var(--koralle);
    --gal-accent-fg: var(--nacht);
    --gal-font: 'Inter', system-ui, sans-serif;
    --gal-radius: 1rem;
    --gal-rand: 1px solid rgba(255, 255, 255, .15);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 7.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--hell); color: var(--text); font-family: 'Inter', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65; }
h1, h2, h3, p { margin: 0; }
em { font-family: 'Playfair Display', serif; font-style: italic; font-weight: 600; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--koralle); outline-offset: 3px; }

.nb-innen { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 900px) { .nb-innen { padding: 0 2rem; } }

/* --- Kopf: zweizeilig wie heute ------------------------------------------ */
.nb-kopf { position: sticky; top: 0; z-index: 50; }
.nb-oben { background: #0B1424; color: #cbd5e1; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.nb-oben-zeile { display: flex; align-items: center; gap: 1rem; height: 40px; }
.nb-variante { margin-right: auto; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nb-variante a { color: var(--koralle); text-decoration: none; }
.nb-sprache { display: flex; gap: .5rem; }
.nb-sprache a { color: #64748b; text-decoration: none; }
.nb-sprache a.ist-aktiv { color: #fff; }
.nb-tknopf { background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #e2e8f0; border-radius: 999px; padding: .3rem .85rem; font: inherit; cursor: pointer; }
.nb-tknopf:hover { background: rgba(255, 255, 255, .1); }
.nb-haupt { background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.nb-haupt-zeile { display: flex; align-items: center; gap: 2rem; height: 72px; }
.nb-marke { font-weight: 900; font-size: 1.25rem; letter-spacing: -.03em; color: var(--nacht); text-decoration: none; }
.nb-marke span { color: var(--koralle-tief); font-weight: 300; }
.nb-nav { display: none; gap: 1.75rem; margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nb-nav a { color: var(--grau); text-decoration: none; }
.nb-nav a:hover { color: var(--koralle-tief); }
.nb-hauptknopf { margin-left: auto; border: 0; border-radius: 999px; background: var(--koralle-tief); color: #fff; padding: .65rem 1.1rem; font: inherit; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; white-space: nowrap; }
.nb-hauptknopf:hover { background: var(--nacht); }
@media (min-width: 900px) { .nb-nav { display: flex; } .nb-hauptknopf { margin-left: 0; } }

/* --- Hero --------------------------------------------------------------- */
.nb-hero { background: var(--nacht); color: #fff; padding: 4.5rem 0 4rem; position: relative; overflow: hidden; }
.nb-hero::after { content: ''; position: absolute; right: -12rem; top: -14rem; width: 40rem; height: 40rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 74, .22), transparent 65%); pointer-events: none; }
.nb-hero-raster { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: end; }
@media (min-width: 960px) { .nb-hero-raster { grid-template-columns: 1.6fr 1fr; gap: 4rem; } .nb-hero { padding: 6rem 0 5.5rem; } }
.nb-dach { font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; color: var(--koralle); margin-bottom: 1.25rem; }
.nb-hero h1 { font-size: clamp(2.5rem, 5.8vw, 4.5rem); font-weight: 800; line-height: 1.08; letter-spacing: -.025em; }
.nb-hero h1 em { color: var(--koralle); font-weight: 600; }
.nb-lead { margin-top: 1.75rem; font-size: 1.3rem; font-weight: 300; color: #cbd5e1; max-width: 40rem; }
.nb-hero-aktion { margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.nb-knopf { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 1rem; background: var(--koralle); color: var(--nacht); padding: 1.1rem 1.8rem; font: inherit; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.nb-knopf:hover { background: #fff; transform: translateY(-2px); }
.nb-nebenlink { color: #cbd5e1; font-size: .95rem; text-underline-offset: 4px; }
.nb-nebenlink:hover { color: #fff; }

.nb-beleg { margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 1.5rem; padding: 1.75rem; }
.nb-beleg blockquote { margin: 0; font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.35rem; line-height: 1.4; }
.nb-beleg-es { margin-top: .6rem; font-size: .9rem; color: #94a3b8; }
.nb-beleg figcaption { display: flex; align-items: center; gap: .9rem; margin-top: 1.25rem; font-size: .85rem; color: #94a3b8; line-height: 1.4; }
.nb-beleg figcaption b { color: #fff; }
.nb-beleg img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; }

/* --- Leistungen --------------------------------------------------------- */
.nb-leistungen { background: #fff; padding: 5.5rem 0; border-bottom: 1px solid var(--linie); }
.nb-leistungen h2, .nb-referenzen h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -.025em; margin-bottom: 2.5rem; }
.nb-kacheln { display: grid; gap: 1.25rem; }
@media (min-width: 700px) { .nb-kacheln { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .nb-kacheln { grid-template-columns: repeat(4, 1fr); } }
.nb-kacheln article { background: var(--hell); border: 1px solid var(--linie); border-radius: 1.5rem; padding: 1.75rem; }
.nb-nr { display: block; font-size: .8rem; font-weight: 800; color: var(--koralle-tief); letter-spacing: .1em; margin-bottom: 1.25rem; }
.nb-kacheln h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: .5rem; }
.nb-kacheln p { font-size: .92rem; color: var(--grau); }

/* --- Referenzen ---------------------------------------------------------- */
.nb-referenzen { padding: 5.5rem 0; }
.nb-refs { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .nb-refs { grid-template-columns: repeat(3, 1fr); } }
.nb-refs article { background: var(--nacht); color: #fff; border-radius: 1.5rem; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s ease; }
.nb-refs article:hover { transform: translateY(-4px); }
.nb-refs img { display: block; width: 100%; height: 13rem; object-fit: cover; object-position: top; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.nb-ref-text { padding: 1.5rem 1.75rem 1.75rem; display: flex; flex-direction: column; flex: 1; }
.nb-ref-text h3 { font-size: 1.2rem; font-weight: 900; }
.nb-ref-text h3 a { color: #fff; text-decoration: none; }
.nb-ref-text h3 a:hover { color: var(--koralle); }
.nb-ref-text p { margin-top: .5rem; color: #94a3b8; font-size: .92rem; flex: 1; }
.nb-kolophon { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); color: var(--koralle); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

/* --- Warum ich ----------------------------------------------------------- */
.nb-warum { background: #0B1424; color: #fff; padding: 5.5rem 0; }
.nb-warum-raster { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .nb-warum-raster { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.nb-warum h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 1.5rem; }
.nb-warum h2 em { color: var(--koralle); }
.nb-warum p:not(.nb-dach) { color: #cbd5e1; font-size: 1.1rem; }
.nb-fakten { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.nb-fakten > div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 1.5rem; padding: 1.5rem; }
.nb-fakten dt { font-size: 2.2rem; font-weight: 900; color: var(--koralle); line-height: 1.1; }
.nb-fakten dd { margin: .4rem 0 0; font-size: .85rem; color: #94a3b8; line-height: 1.45; }

/* --- Analyse als Einstieg ------------------------------------------------ */
.nb-analyse { background: #FFF1EC; border-bottom: 1px solid #FBD5C9; padding: 3rem 0; }
.nb-analyse-zeile { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 800px) { .nb-analyse-zeile { grid-template-columns: 1fr auto; gap: 3rem; } }
.nb-analyse h2 { font-size: 1.5rem; font-weight: 900; letter-spacing: -.01em; }
.nb-analyse p { margin-top: .4rem; color: var(--grau); max-width: 44rem; }
.nb-preis { display: inline-flex; align-items: center; gap: 1rem; background: var(--nacht); color: #fff; text-decoration: none; border-radius: 1rem; padding: .9rem 1.4rem; font-weight: 800; font-size: .95rem; white-space: nowrap; justify-self: start; }
.nb-preis span { font-size: 1.5rem; font-weight: 900; color: var(--koralle); }
.nb-preis:hover { background: var(--koralle-tief); }
.nb-preis:hover span { color: #fff; }

/* --- Design -------------------------------------------------------------- */
.nb-design { padding: 5.5rem 0; background: #fff; }
.nb-design .nb-dach { color: var(--koralle-tief); }
.nb-design h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 900; letter-spacing: -.025em; line-height: 1.12; max-width: 24ch; }
.nb-design-intro { margin-top: 1.25rem; max-width: 46rem; color: var(--grau); font-size: 1.1rem; }
.nb-vergleich { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 800px) { .nb-vergleich { grid-template-columns: 1fr 1.6fr; } }
.nb-vergleich > div { border-radius: 1.5rem; padding: 1.75rem; border: 1px solid var(--linie); background: var(--hell); }
.nb-vergleich > div + div { background: #FFF1EC; border-color: #FBD5C9; }
.nb-vergleich h3 { font-size: 11px; font-weight: 900; letter-spacing: .25em; text-transform: uppercase; color: var(--grau); margin-bottom: 1rem; }
.nb-vergleich > div + div h3 { color: var(--koralle-tief); }
.nb-vergleich ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .6rem; font-size: .98rem; }

/* --- CTA ---------------------------------------------------------------- */
.nb-cta { padding: 1rem 0 5.5rem; background: #fff; }
.nb-cta-box { background: var(--nacht); color: #fff; border-radius: 2.5rem; padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.nb-cta-box::after { content: ''; position: absolute; left: -8rem; bottom: -10rem; width: 26rem; height: 26rem; border-radius: 50%; background: radial-gradient(circle, rgba(255, 107, 74, .3), transparent 65%); }
.nb-cta-box > * { position: relative; z-index: 1; }
.nb-cta-box h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.nb-cta-box > p { margin: 1.25rem 0 2rem; color: #cbd5e1; font-size: 1.15rem; max-width: 36rem; }
.nb-cta-klein { margin-top: 1.5rem !important; font-size: .9rem; color: #94a3b8; }
.nb-cta-klein button { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }

/* --- Fuss --------------------------------------------------------------- */
.nb-fuss { background: #0B1424; color: #64748b; padding: 3rem 0 2.5rem; text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.nb-fuss-marke { font-size: 1.2rem; font-weight: 900; letter-spacing: .2em; color: #fff; margin-bottom: 1.5rem !important; }
.nb-fuss-marke span { color: var(--koralle); font-weight: 300; }
.nb-fuss nav { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem 1.75rem; }
.nb-fuss a { color: #94a3b8; text-decoration: none; }
.nb-fuss a:hover { color: #fff; }
.nb-fuss-klein { margin-top: 1.5rem !important; text-transform: none; letter-spacing: .02em; font-weight: 500; }

.fv-titel { font-weight: 900; letter-spacing: -.01em; }

/* Schmale Handys: Kopfzeile und Faktenraster duerfen nicht ueberlaufen */
.nb-warum-raster > * { min-width: 0; }
.nb-fakten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nb-fakten dd { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 480px) {
    .nb-haupt-zeile { gap: .75rem; }
    .nb-marke { font-size: 1rem; }
    .nb-hauptknopf { padding: .55rem .8rem; letter-spacing: .03em; }
    .nb-fakten > div { padding: 1.1rem; }
}
