/* N3 · bau – Design v2 (D1 10.11.2026): „architektonisch“ – Beton, Glas, starke Raster, große Typografie; Bauamber nur mit dunkler Schrift.
   Jost (Überschriften) + IBM Plex Sans (Text); Ersatzmetriken aus tools/schrift-ersatz.mjs (A1, 10.11.). Muster: projekt/design-v2.md */
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-ext-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost-latin-ext-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(fonts/ibm-plex-sans-latin-ext-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-024F, U+1E00-1EFF; }
/* Ersatzschriften mit angepasster Laufweite (tools/schrift-ersatz.mjs): kein spürbarer Layoutsprung beim Schriftwechsel. */
@font-face { font-family: "Jost Ersatz"; src: local("Arial Bold"), local("Arial-BoldMT"); font-style: normal; font-weight: 100 900; size-adjust: 98.43%; ascent-override: 108.70%; descent-override: 38.60%; line-gap-override: 0%; }
@font-face { font-family: "Plex Ersatz"; src: local("Arial"), local("ArialMT"); font-style: normal; font-weight: 100 549; size-adjust: 100.50%; ascent-override: 101.50%; descent-override: 26.87%; line-gap-override: 0%; }
@font-face { font-family: "Plex Ersatz"; src: local("Arial Bold"), local("Arial-BoldMT"); font-style: normal; font-weight: 550 900; size-adjust: 96.86%; ascent-override: 105.30%; descent-override: 27.87%; line-gap-override: 0%; }

:root {
  --papier: #F7F6F3; --beton: #E8E5DF; --beton2: #D8D4CB; --anthrazit: #1E2125; --anthrazit2: #2C3036; --anthrazit3: #15171A; --strich: #1E2125;
  --dunkel: var(--anthrazit); --dunkel2: var(--anthrazit2); --dunkel3: var(--anthrazit3); --flaeche: var(--beton); --text: #1E2125; --text2: #4F555C; --linie: #C8C3B9;
  --akzent: #F2B33D; --akzent-dunkel: #DB9B21; --aufAkzent: #1E2125; --akzentText: #7A4E00; --auf-dunkel: #E9E7E2; --auf-dunkel2: #B9BCC0; --dunkel-linie: rgba(255,255,255,.12);
  --display: "Jost", "Jost Ersatz", system-ui, sans-serif; --textschrift: "IBM Plex Sans", "Plex Ersatz", system-ui, sans-serif;
  --breite: 1320px; --rand: max(clamp(16px, 4vw, 48px), env(safe-area-inset-left), env(safe-area-inset-right));
  --af-text: var(--text); --af-text-2: var(--text2); --af-linie: var(--linie); --af-feld: #fff; --af-feldrand: #737880; --af-flaeche: var(--beton);
  --af-akzent: var(--akzent); --af-akzent-dunkel: var(--akzent-dunkel); --af-auf-akzent: var(--aufAkzent); --af-fokus: #1D5FD1; --af-link: #7A4E00;
  --af-fehler: #B42318; --af-fehler-flaeche: #FEF0EE; --af-ok: #2F6B3A; --af-ok-flaeche: #E8F3E6; --af-radius: 0;
  /* Unterseiten (site/shared/seiten.css) */
  --s-text: var(--text); --s-text-2: var(--text2); --s-linie: var(--linie); --s-flaeche: var(--papier); --s-akzent: var(--akzent); --s-akzent-text: var(--akzentText); --s-auf-akzent: var(--aufAkzent);
  --s-dunkel: var(--anthrazit); --s-dunkel-text: var(--auf-dunkel); --s-dunkel-titel: #fff; --s-ok: #2F6B3A; --s-nein: var(--akzent); --s-display: var(--display); --s-display-gewicht: 700; --s-radius: 0;
  --s-kopf-bg: var(--beton); --s-kopf-text: var(--text); --s-kopf-text-2: var(--text2); --s-kopf-titel: var(--text); --s-kopf-akzent: var(--akzentText);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--text); font: 400 1.0625rem/1.65 var(--textschrift); overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.02em; margin: 0; overflow-wrap: break-word; text-wrap: balance; }
a { color: var(--akzentText); }
.ico { flex: none; }
.klein { font-size: .8125rem; }
::selection { background: var(--akzent); color: var(--aufAkzent); }
.skip { position: absolute; left: -999px; top: 0; z-index: 60; background: var(--akzent); color: var(--aufAkzent); padding: .8rem 1rem; font-weight: 700; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--af-fokus); outline-offset: 3px; }
.hero :focus-visible, .anfrage-info :focus-visible, .fuss :focus-visible, .mobil-leiste :focus-visible, .abschnitt-dunkel :focus-visible { outline-color: #fff; }
.vorschau-banner { background: #FFF3C4; color: #3D3300; font-size: .75rem; padding: .35rem var(--rand); text-align: center; }

/* Kopf: Papierweiß mit kräftiger Grundlinie */
.kopf { position: sticky; top: 0; z-index: 40; background: rgba(247, 246, 243, .97); color: var(--text); border-bottom: 2px solid var(--strich); }
@supports (backdrop-filter: blur(1px)) { .kopf { background: rgba(247, 246, 243, .88); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); } }
.kopf-in { max-width: var(--breite); margin: 0 auto; padding: .5rem var(--rand); display: flex; align-items: center; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .7rem; min-height: 48px; color: var(--text); text-decoration: none; min-width: 0; }
.marke-zeichen { flex: none; width: 30px; height: 30px; background: linear-gradient(var(--akzent) 0 0) 0 100% / 100% 34% no-repeat, linear-gradient(var(--strich) 0 0) 0 0 / 34% 100% no-repeat, linear-gradient(var(--strich) 0 0) 100% 0 / 34% 62% no-repeat; }
.marke-wort { font: 700 1.3rem/1 var(--display); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marke-nische { color: var(--akzentText); font-weight: 600; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 0; }
.nav a { color: var(--text); text-decoration: none; padding: .55rem .75rem; min-height: 44px; display: inline-flex; align-items: center; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { box-shadow: inset 0 -3px 0 var(--akzent); }
.nav a[aria-current="page"]:not(.btn) { box-shadow: inset 0 -3px 0 var(--strich); }
.nav .nav-cta { margin-left: .75rem; color: var(--aufAkzent) !important; }
.nav .sprachwahl { display: flex; list-style: none; margin: 0 0 0 .5rem; padding: 0; }
.menue-knopf { display: none; margin-left: auto; min-height: 44px; padding: .5rem 1rem; background: none; border: 2px solid var(--strich); color: var(--text); font: 600 .95rem var(--textschrift); align-items: center; gap: .4rem; }
@media (max-width: 1180px) {
  .menue-knopf { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--papier); padding: .5rem var(--rand) 1.25rem; border-bottom: 2px solid var(--strich); }
  .nav.offen { display: flex; }
  .nav a:not(.btn) { border-bottom: 1px solid var(--linie); font-size: 1.05rem; }
  .nav .nav-cta { margin: .75rem 0 0; justify-content: center; }
  .nav .sprachwahl { margin: .5rem 0 0; }
  @media (scripting: none) { html .nav { display: flex; position: static; width: 100%; } html .kopf-in { flex-wrap: wrap; } html .menue-knopf { display: none; } }
}

/* Knöpfe: kantig */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .8rem 1.45rem; font: 600 1rem var(--textschrift); text-decoration: none; border: 2px solid transparent; text-align: center; border-radius: 0; }
.btn .ico { width: 20px; height: 20px; }
.btn-gross { min-height: 58px; padding: 1rem 1.7rem; font-size: 1.0625rem; }
.btn-primaer { background: var(--akzent); color: var(--aufAkzent); box-shadow: 4px 4px 0 var(--strich); }
.btn-primaer:hover { background: var(--akzent-dunkel); }
.btn-hell { background: #fff; color: var(--text); border-color: #fff; }
.btn-hell:hover { background: var(--beton); }
.btn-umriss { color: var(--text); border-color: var(--strich); }
.vorzeile { display: flex; align-items: center; gap: .75rem; margin: 0 0 1.1rem; font: 600 .8125rem/1.3 var(--textschrift); letter-spacing: .18em; text-transform: uppercase; color: var(--akzentText); }
.vorzeile::before { content: ""; width: 12px; height: 12px; background: var(--akzent); flex: none; }
.cta-reihe { display: flex; flex-wrap: wrap; gap: .9rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); margin: 0 0 2rem; max-width: 34em; }
.hero-bild { margin: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-bild picture { display: contents; }
@media (max-width: 700px) { .cta-reihe .btn { width: 100%; } }

/* Hero: Bau-Foto vollflächig, Fluchtlinien-Raster, Titel groß unten links */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 860px); display: flex; align-items: flex-end; color: #fff; background: var(--anthrazit3); overflow: hidden; }
.hero .hero-bild, .hero .hero-flaeche { position: absolute; inset: 0; z-index: -2; }
.hero .hero-bild img { object-position: 50% 30%; }
.hero-flaeche { background: var(--anthrazit); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(0deg, rgba(21, 23, 26, .97) 0%, rgba(21, 23, 26, .88) 45%, rgba(21, 23, 26, .55) 68%, rgba(21, 23, 26, .15) 100%); }
.hero-text { position: relative; width: 100%; max-width: var(--breite); margin: 0 auto; padding: 9rem var(--rand) clamp(7rem, 11vw, 9rem); }
.hero h1 { font-size: clamp(2.8rem, 6.6vw, 6.4rem); line-height: .98; letter-spacing: -.035em; max-width: 13em; margin-bottom: 1.5rem; }
.hero .vorzeile { color: var(--akzent); }
.hero .lead { color: #E4E2DC; }

/* Planleiste: weißes Raster, überlappt das Hero */
.planleiste { position: relative; z-index: 2; padding: 0 var(--rand); margin-top: -4.5rem; }
.pl-in { max-width: calc(var(--breite) - 2 * var(--rand)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1.25fr); background: #fff; border: 2px solid var(--strich); box-shadow: 10px 10px 0 rgba(30, 33, 37, .12); }
.pl-punkte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pl-punkte li { padding: 1.6rem 1.5rem 1.7rem; border-right: 1px solid var(--linie); display: grid; gap: .3rem; align-content: start; }
.pl-punkte .nr { font: 500 .85rem/1 var(--display); color: var(--akzentText); letter-spacing: .1em; margin-bottom: .4rem; }
.pl-punkte b { font: 700 1.35rem/1.15 var(--display); letter-spacing: -.01em; }
.pl-punkte span:last-child { color: var(--text2); font-size: .95rem; line-height: 1.55; }
.zahlen { list-style: none; margin: 0; padding: 0; display: grid; }
.pl-zahlen { background: var(--anthrazit); }
.pl-zahlen li + li { border-top: 1px solid var(--dunkel-linie); }
.zahlen a { display: flex; align-items: baseline; gap: .7rem; padding: 1rem 1.4rem; color: var(--auf-dunkel2); text-decoration: none; min-height: 44px; height: 100%; }
.zahlen a:hover .z-l { color: #fff; }
.z-n { font: 700 2.4rem/1 var(--display); color: var(--akzent); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.z-l { font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.pl-zahlen :focus-visible { outline-color: #fff; }

/* Abschnitte */
.abschnitt { max-width: var(--breite); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7.5rem) var(--rand) 0; }
.kopfzeile { margin-bottom: clamp(2rem, 4vw, 3rem); }
.kopfzeile h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.035em; max-width: 16em; }
.intro { max-width: 40rem; color: var(--text2); font-size: 1.1rem; margin: 0 0 2rem; }
.kopf-zwei { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2rem, 4vw, 3rem); padding-bottom: 1.5rem; border-bottom: 2px solid var(--strich); }
.kopf-zwei .kopfzeile, .kopf-zwei .intro { margin-bottom: 0; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem 4.5rem; align-items: start; }
.zwei > * { min-width: 0; }

/* Leistungen: Rasterkacheln mit kräftigen Fugen */
.raster-v2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--strich); border-left: 1px solid var(--strich); }
.karte-v2 { position: relative; padding: clamp(1.6rem, 2.6vw, 2.25rem); background: var(--papier); border-right: 1px solid var(--strich); border-bottom: 1px solid var(--strich); display: flex; flex-direction: column; gap: .65rem; min-height: 19rem; transition: background-color .25s, opacity .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.karte-v2::before { content: ""; position: absolute; left: -1px; top: -1px; width: 0; height: 6px; background: var(--akzent); transition: width .35s cubic-bezier(.2,.7,.2,1); }
.karte-v2:hover { background: #fff; }
.karte-v2:hover::before { width: calc(100% + 2px); }
.kv-kopf { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.5rem; }
.kv-ico { display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid var(--strich); color: var(--text); background: #fff; }
.kv-ico .ico { width: 26px; height: 26px; }
.karte-v2 .nr { font: 500 3rem/.8 var(--display); letter-spacing: -.04em; color: #857F74; }
.karte-v2 h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); }
.karte-v2 p { margin: 0; color: var(--text2); }
.karte-link { color: inherit; text-decoration: none; }
.karte-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.karte-link:focus-visible { outline: none; }
.karte-v2:has(.karte-link:focus-visible) { outline: 3px solid var(--af-fokus); outline-offset: -3px; }
.kv-mehr { margin-top: auto; padding-top: 1rem; color: var(--text); }
.kv-mehr .ico { width: 24px; height: 24px; transition: transform .25s; }
.karte-v2:hover .kv-mehr .ico { transform: translateX(6px); }

/* Bauplan-Raster mit Faktentabelle */
.abschnitt-raster { max-width: none; margin-top: clamp(4.5rem, 8vw, 7.5rem); padding-bottom: clamp(3.5rem, 6vw, 5.5rem); background: linear-gradient(rgba(30,33,37,.07) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(30,33,37,.07) 1px, transparent 1px) 0 0 / 28px 28px, var(--beton); border-top: 2px solid var(--strich); border-bottom: 2px solid var(--strich); }
.abschnitt-raster > .zwei { max-width: calc(var(--breite) - 2 * var(--rand)); margin: 0 auto; }
.raster-zwei { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); }
.anfrage-info .vertrauen { border-top-color: var(--dunkel-linie); }
.tabelle-rahmen { overflow-x: auto; background: #fff; border: 2px solid var(--strich); }
.fakten { width: 100%; border-collapse: collapse; font-size: 1rem; }
.fakten th, .fakten td { text-align: left; vertical-align: top; padding: 1rem 1.15rem; border-bottom: 1px solid var(--linie); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.fakten tr:last-child th, .fakten tr:last-child td { border-bottom: 0; }
.fakten thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; background: var(--anthrazit); }
.fakten tbody th { width: 38%; font: 700 1.05rem/1.35 var(--display); border-right: 1px solid var(--linie); }
.fakten .stand { color: var(--text2); font-size: .875rem; white-space: nowrap; }
.fakten a { color: var(--akzentText); }

/* Ablauf: Bauzeitleiste mit Meilensteinen */
.spur { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; border-top: 2px solid var(--strich); }
.spur li { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 2.25rem 1.5rem 0 0; }
.sp-punkt { position: absolute; left: 0; top: -9px; width: 16px; height: 16px; background: var(--papier); border: 2px solid var(--strich); }
.spur li:first-child .sp-punkt { background: var(--akzent); }
.spur .nr { font: 500 2.6rem/1 var(--display); letter-spacing: -.04em; color: #857F74; }
.spur b { font: 700 1.45rem/1.1 var(--display); letter-spacing: -.01em; }
.sp-text { color: var(--text2); font-size: .98rem; }

/* Städte auf Anthrazit */
.abschnitt-dunkel { max-width: none; background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%, var(--anthrazit); color: var(--auf-dunkel2); margin-top: clamp(4.5rem, 8vw, 7.5rem); padding-bottom: clamp(4rem, 7vw, 6rem); }
.abschnitt-dunkel > * { max-width: calc(var(--breite) - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.abschnitt-dunkel h2, .abschnitt-dunkel h3 { color: #fff; }
.abschnitt-dunkel .vorzeile { color: var(--akzent); }
.abschnitt-dunkel .intro { color: var(--auf-dunkel2); }
.abschnitt-dunkel .kopf-zwei { border-bottom-color: var(--dunkel-linie); }
.abschnitt-dunkel a { color: #fff; }
.abschnitt-dunkel .verweis a { color: var(--akzent); }
.chips-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 0; border-top: 1px solid var(--dunkel-linie); border-left: 1px solid var(--dunkel-linie); }
.chips-gruppe { padding: 1.25rem 1.35rem 1.2rem; border-right: 1px solid var(--dunkel-linie); border-bottom: 1px solid var(--dunkel-linie); }
.chips-gruppe h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.chips-gruppe h3 a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.chips-gruppe h3 a:hover { color: var(--akzent); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .8rem; border: 1px solid rgba(255,255,255,.28); text-decoration: none; font-size: .95rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; }
.chips a:hover { background: var(--akzent); border-color: var(--akzent); color: var(--aufAkzent); }
.verweis { margin: 2rem 0 0; font-weight: 600; }
.verweis a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; }
.verweis .ico { width: 18px; height: 18px; }

/* Länder: Plankarte */
.laender-karte { position: relative; padding: clamp(1.75rem, 4vw, 3.5rem); border: 2px solid var(--strich); background: #fff; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 4rem; align-items: end; }
.laender-karte::after { content: ""; position: absolute; right: -2px; top: -2px; width: 64px; height: 64px; background: repeating-linear-gradient(135deg, var(--akzent) 0 6px, transparent 6px 12px); }
.laender-karte .kopfzeile { margin-bottom: 0; }
.laender-karte .intro { margin-bottom: 0; }
.laender-karte .verweis { grid-column: 1 / -1; margin-top: 1.5rem; }
.stadt-text p { max-width: 46rem; font-size: 1.08rem; }

/* Anfrage */
.anfrage { margin-top: clamp(4.5rem, 8vw, 7.5rem); background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / calc(100% / 6) 100%, var(--anthrazit); padding: clamp(3.5rem, 7vw, 6rem) var(--rand); }
.anfrage-in { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.anfrage-info { color: var(--auf-dunkel2); position: sticky; top: 6rem; }
.anfrage-info h1, .anfrage-info h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.anfrage-info .vorzeile { color: var(--akzent); }
.anfrage-info a { color: #fff; }
.angaben h3 { color: #fff; font-size: 1.2rem; margin: 1.75rem 0 .5rem; }
.angaben ul { padding-left: 1.1rem; }
.kontakt { display: grid; gap: .1rem; margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--dunkel-linie); }
.kontakt p { margin: 0 0 .25rem; }
.kontakt a, .kontakt span { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; color: #fff; text-decoration: none; font-weight: 600; }
.kontakt .ico { color: var(--akzent); width: 20px; height: 20px; }
.formular-karte { background: #fff; color: var(--text); padding: clamp(1.25rem, 3vw, 2.5rem); border-top: 8px solid var(--akzent); box-shadow: 12px 12px 0 rgba(0,0,0,.35); }
@media (max-width: 1000px) { .anfrage-in { grid-template-columns: minmax(0, 1fr); } .anfrage-info { position: static; } }
@media (max-width: 560px) { .formular-karte { padding: 1.25rem 14px; margin: 0 calc(var(--rand) * -.5); box-shadow: none; } }

/* FAQ: Raster mit Fugen, Antworten sichtbar (Schema = sichtbarer Inhalt) */
.faq { counter-reset: faq; border-top: 2px solid var(--strich); max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.faq-eintrag { counter-increment: faq; position: relative; padding: 1.5rem 0 1.6rem 3.25rem; border-bottom: 1px solid var(--linie); }
.faq-eintrag::before { content: counter(faq, decimal-leading-zero); position: absolute; left: 0; top: 1.55rem; font: 500 1.05rem/1 var(--display); color: var(--akzentText); letter-spacing: .04em; }
.faq-eintrag h3 { font-size: 1.3rem !important; line-height: 1.25 !important; }
.faq-eintrag p { margin-top: .5rem !important; }
.seite-start #faq { max-width: var(--breite); margin: 0 auto; padding: clamp(4.5rem, 8vw, 7.5rem) var(--rand) 0; }
.seite-start #faq .block-in { padding: 0; }
.seite-start #faq h2 { font-size: clamp(2.3rem, 5vw, 4.4rem); letter-spacing: -.035em; margin-bottom: 2rem; }
@media (max-width: 860px) { .faq { grid-template-columns: minmax(0, 1fr); } }

#ueber > .ueber { padding-bottom: clamp(4.5rem, 8vw, 7.5rem); max-width: 52rem; }
#ueber > .ueber p { color: var(--text2); font-size: 1.15rem; }

/* Fuß */
.fuss { background: var(--anthrazit3); color: var(--auf-dunkel2); padding: clamp(3rem, 5vw, 4.5rem) var(--rand) 2rem; font-size: .9375rem; border-top: 8px solid var(--akzent); }
.fuss-in { max-width: var(--breite); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 1.5rem 3rem; }
.fuss-in > p:last-child { grid-column: 1 / -1; padding-top: 1.25rem; border-top: 1px solid var(--dunkel-linie); font-size: .875rem; }
.fuss p { margin: 0; }
.fuss a { color: #fff; display: inline-block; min-height: 44px; padding: .6rem 0; text-decoration: none; }
.fuss a:hover { color: var(--akzent); }
.fuss-nav { margin: 0; }
.fuss-titel { color: #fff; font: 600 .8rem var(--textschrift) !important; letter-spacing: .16em; text-transform: uppercase; }
.fuss-marke { font: 700 1.8rem var(--display); letter-spacing: -.02em; color: #fff; margin-bottom: .5rem !important; }
.fuss-marke span { color: var(--akzent); }
@media (max-width: 860px) { .fuss-in { grid-template-columns: minmax(0, 1fr); } }

/* Mobile Schnellleiste (12.10.2026, Aufbau site/shared/seiten.css): Breakpoint = Menü-Breakpoint */
@media (max-width: 1180px) {
  .mobil-leiste { display: block; --ml-bg: var(--anthrazit); --ml-linie: var(--anthrazit2); --ml-text: #fff; --ml-cta-bg: var(--akzent); --ml-cta-text: var(--aufAkzent); }
  body { padding-bottom: calc(var(--ml-hoehe) + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .mobil-leiste { transition: none; } }
@media (max-width: 420px) { .marke-wort { font-size: 1.1rem !important; } .kopf-in { gap: .5rem; } .menue-knopf { padding: .5rem .8rem; } }

/* ---------- Unterseiten (Themen, Länder, Städte, Hubs, Ratgeber, Anfrage, Text) ---------- */
.seitenkopf { position: relative; isolation: isolate; border-bottom: 2px solid var(--strich); background: var(--beton); }
.seitenkopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(30,33,37,.06) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(30,33,37,.06) 1px, transparent 1px) 0 0 / 28px 28px; }
.seitenkopf::after { content: ""; position: absolute; right: 0; bottom: -2px; width: min(28vw, 360px); height: 10px; background: var(--akzent); }
.seitenkopf-in { padding-top: clamp(1rem, 3vw, 1.75rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.seitenkopf h1 { font-size: clamp(2.4rem, 5.6vw, 5rem); line-height: 1; letter-spacing: -.035em; max-width: 15em; }
.sk-vorzeile { display: flex; align-items: center; gap: .7rem; font-family: var(--textschrift) !important; font-weight: 600 !important; letter-spacing: .18em !important; }
.sk-vorzeile::before { content: ""; width: 12px; height: 12px; background: var(--akzent); }
.seitenkopf .text-link { color: var(--text); border-bottom-color: var(--strich); }
.brotkrumen a { text-decoration: none; }
.brotkrumen a:hover { color: var(--text); text-decoration: underline; }
.block h2 { font-size: clamp(1.95rem, 3.6vw, 3rem); letter-spacing: -.03em; }
.block-unter { font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important; padding-top: 1rem; border-top: 2px solid var(--strich); }
.block-unter a { text-decoration: none; color: inherit; }
.punkte { gap: 0; border-top: 1px solid var(--strich); border-left: 1px solid var(--strich); }
.punkte > div { border: 0; border-right: 1px solid var(--strich); border-bottom: 1px solid var(--strich); background: #fff; padding: 1.6rem 1.6rem 1.5rem; }
.punkte dt { font-size: 1.35rem; letter-spacing: -.01em; }
.punkte dt .ico { width: 42px; height: 42px; padding: 8px; border: 2px solid var(--strich); color: var(--text); }
.fragen li { background: #fff; }
.fragen li::before { border-radius: 0 !important; }
.ub-ja { background: #fff; border-color: var(--strich); }
.ub-hinweis { border: 2px solid var(--strich); background: repeating-linear-gradient(135deg, rgba(242,179,61,.12) 0 8px, transparent 8px 16px), #fff; }
.schritte { gap: 0; border-top: 2px solid var(--strich); }
.schritte li { border-top: 0; padding: 1.75rem 1.5rem 0 0; position: relative; }
.schritte li::before { content: ""; position: absolute; left: 0; top: -9px; width: 16px; height: 16px; background: var(--papier); border: 2px solid var(--strich); }
.schritte li:first-child::before { background: var(--akzent); }
.s-nr { font-weight: 500 !important; font-size: 2.2rem !important; letter-spacing: -.04em; }
.schritte h3 { font-size: 1.35rem !important; }
.karten { gap: 0; border-top: 1px solid var(--strich); border-left: 1px solid var(--strich); }
.karten a { position: relative; border: 0; border-right: 1px solid var(--strich); border-bottom: 1px solid var(--strich); background: #fff; padding: 1.25rem 3rem 1.35rem 1.35rem; transition: background-color .2s; }
.karten a::after { content: ""; position: absolute; right: 1.25rem; top: 1.45rem; width: 9px; height: 9px; border-top: 2px solid var(--strich); border-right: 2px solid var(--strich); transform: rotate(45deg); transition: transform .2s; }
.karten a:hover { background: var(--beton); }
.karten a:hover::after { transform: translateX(3px) rotate(45deg); }
.karten a:focus-visible { outline-offset: -3px; }
.k-titel { font-size: 1.25rem !important; letter-spacing: -.01em; }
.vorbereitung { border-left-color: var(--akzent); background: #fff; }
.hub-weiter { position: relative; margin-top: clamp(1rem, 3vw, 2rem); margin-bottom: clamp(3rem, 6vw, 5rem); padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem) !important; max-width: calc(var(--breite) - 2 * var(--rand)); background: var(--anthrazit); color: var(--auf-dunkel2); border-left: 10px solid var(--akzent); }
.hub-weiter h2 { color: #fff !important; }
.hub-weiter p { color: var(--auf-dunkel2) !important; }
.hub-weiter :focus-visible { outline-color: #fff; }
.seite-hub main > .block:last-child { padding-bottom: 0; }

/* N3: externer Fachverweis im Hinweiskasten der Fachseite (tools/seiten.mjs externerVerweis) */
.verweis-extern { margin: .75rem 0 0; font-weight: 600; }

@media (max-width: 1100px) {
  .pl-in { grid-template-columns: minmax(0, 1fr); }
  .pl-zahlen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pl-zahlen li + li { border-top: 0; border-left: 1px solid var(--dunkel-linie); }
}
@media (max-width: 1000px) {
  .raster-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spur { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; gap: 2rem 0; }
  .spur li { border-top: 2px solid var(--strich); }
}
@media (max-width: 860px) {
  .kopf-zwei, .zwei, .laender-karte { grid-template-columns: minmax(0, 1fr); }
  .laender-karte .intro { margin-top: 1rem; }
  .pl-punkte { grid-template-columns: minmax(0, 1fr); }
  .pl-punkte li { border-right: 0; border-bottom: 1px solid var(--linie); padding: 1.25rem 1.25rem 1.35rem; }
  .schritte { border-top: 0; }
  .schritte li { border-top: 2px solid var(--strich); margin-top: 1rem; }
}
@media (max-width: 700px) {
  .hero { min-height: 0; display: block; }
  .hero .hero-bild, .hero .hero-flaeche { position: relative; inset: auto; height: 58vw; min-height: 210px; z-index: 0; }
  .hero::before { display: none; }
  .hero-text { padding: 1.75rem var(--rand) 5.5rem; background: var(--anthrazit3); }
  .hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }
  .planleiste { margin-top: -3.5rem; padding: 0 12px; }
  .pl-in { box-shadow: 6px 6px 0 rgba(30, 33, 37, .12); }
  .z-n { font-size: 2rem; }
  .z-l { font-size: .72rem; }
}
@media (max-width: 640px) {
  .raster-v2 { grid-template-columns: minmax(0, 1fr); }
  .karte-v2 { min-height: 0; }
  .spur { grid-template-columns: minmax(0, 1fr); }
  .faq-eintrag { padding-left: 2.5rem; }
}

/* Lange Komposita (Browsertest-Regel kein Wortbruch/Überlauf): Rechts-/Textseiten und Anfragetitel der Unterseiten kleiner */
.textinhalt h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); letter-spacing: -.01em; }
.seite-fach .anfrage-info h2, .seite-text .anfrage-info h1, .seite-text .anfrage-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
@media (max-width: 400px) { .block h2 { font-size: 1.5rem; } }
/* Codex d1-1: Umfang-Boxen zweispaltig (zwei Boxen je Fachseite), mobil Kopf ohne Weichzeichner (Scrollkosten) */
@media (min-width: 901px) { .umfang-boxen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .kopf { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } }
.z-l { min-width: 0; overflow-wrap: normal; text-wrap: balance; }
/* N3-Querverweise (D1→S1): Absatz „weiter“ unter der Einleitung; Länder-Hub mit Städten je Land */
.sk-weiter { max-width: 44em; margin: -.75rem 0 1.75rem; color: var(--s-kopf-text-2); font-size: 1rem; }
.sk-weiter a { color: var(--s-kopf-titel); text-decoration: underline; text-decoration-color: var(--s-akzent); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.karten li.mit-staedten { display: flex; flex-direction: column; }
.karten li.mit-staedten > a { flex: 1 1 auto; }
.land-staedte { list-style: none; margin: 0; padding: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.land-staedte a { display: inline-flex; align-items: center; min-height: 40px; padding: .3rem .75rem; font-size: .9rem; font-weight: 600; color: var(--s-text); text-decoration: none; border: 1px solid var(--s-linie); border-radius: 0; background: #fff; }
.land-staedte a:hover { border-color: var(--s-akzent-text); }
.karten .land-staedte a { height: auto; flex-direction: row; gap: 0; box-shadow: none; transform: none; padding: .3rem .75rem; }
.karten .land-staedte a::after { content: none; }
/* Länder-Hub: Städte innerhalb der Rasterzelle */
.karten li.mit-staedten { background: #fff; border-right: 1px solid var(--strich); border-bottom: 1px solid var(--strich); }
.karten li.mit-staedten > a { border: 0; flex: 0 0 auto; }
.karten li.mit-staedten:hover > a { background: transparent; }
.karten li.mit-staedten .land-staedte { padding: 0 1.35rem 1.35rem; }
.karten li.mit-staedten > a { height: auto; }

/* Bewegung v2 (D1 10.11.): nur transform/opacity; H1/Lead nie ausgeblendet (LCP); Einblendung über .reveal (shared/leiste.js), gestaffelt per --d */
@keyframes n3-schub { from { transform: translateY(14px); } to { transform: none; } }
@keyframes n3-auf { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero .vorzeile, .hero h1, .hero .lead, .seitenkopf-in > .sk-vorzeile, .seitenkopf-in > h1, .seitenkopf-in > .sk-lead { animation-name: n3-schub; }
:is(.raster-v2, .spur, .chips-raster, .punkte, .schritte) > .reveal:nth-child(2) { --d: .07s; }
:is(.raster-v2, .spur, .chips-raster, .punkte, .schritte) > .reveal:nth-child(3) { --d: .14s; }
:is(.raster-v2, .spur, .chips-raster, .punkte, .schritte) > .reveal:nth-child(4) { --d: .21s; }
:is(.raster-v2, .spur, .chips-raster, .punkte, .schritte) > .reveal:nth-child(5) { --d: .28s; }
:is(.raster-v2, .spur, .chips-raster, .punkte, .schritte) > .reveal:nth-child(n+6) { --d: .35s; }
:is(.spur, .chips-raster, .schritte) > .reveal { transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.punkte > .reveal { transition: opacity .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .6s cubic-bezier(.2,.7,.2,1) var(--d, 0s), box-shadow .25s, border-color .25s; }
/* Ablauf-Linie: baut sich beim Einblenden auf; darüber ein Lichtlauf (Site-Farben über --sp-*) */
.spur-rahmen { position: relative; }
.spur-rahmen.reveal.reveal-warten { opacity: 1; transform: none; }
.spur::before { content: none !important; }
.sp-linie { position: absolute; z-index: 0; height: 2px; overflow: hidden; background: var(--sp-basis); pointer-events: none; }
.sp-linie::before { content: ""; position: absolute; inset: 0; background: var(--sp-fuell); transform-origin: left; transition: transform 1.4s cubic-bezier(.2,.7,.2,1) .15s; }
.spur-rahmen.reveal-warten .sp-linie::before { transform: scaleX(0); }
.sp-linie::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 24%; background: var(--sp-licht); transform: translateX(-100%); animation: n3-lichtlauf 4.8s cubic-bezier(.45,.05,.35,1) 1.2s infinite; }
@keyframes n3-lichtlauf { from { transform: translateX(-100%); } to { transform: translateX(520%); } }
.spur li { position: relative; z-index: 1; }
/* Abschnittslinien bauen sich auf */
.kopf-zwei.reveal { transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
/* Kennzahlen: feste Breite je Stellenzahl (Hochzählen ohne Layoutverschiebung) */
.z-n { display: inline-block; font-variant-numeric: tabular-nums; }
.z-1 { min-width: 1ch; } .z-2 { min-width: 2ch; } .z-3 { min-width: 3ch; }
/* FAQ-Akkordeon (<details>, Antwort im HTML; ohne JS bedienbar) */
details.faq-eintrag > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
details.faq-eintrag > summary::-webkit-details-marker { display: none; }
details.faq-eintrag > summary h3 { margin: 0 !important; flex: 1 1 auto; }
details.faq-eintrag > summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: .35rem; border-right: 2px solid var(--s-akzent-text); border-bottom: 2px solid var(--s-akzent-text); transform: translateY(-3px) rotate(45deg); transition: transform .25s cubic-bezier(.2,.7,.2,1); }
details.faq-eintrag[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
details.faq-eintrag[open] > p { animation: n3-auf .35s cubic-bezier(.2,.7,.2,1) both; }
details.faq-eintrag > summary:focus-visible { outline: 3px solid var(--af-fokus); outline-offset: 4px; }
.faq { align-items: start; }
@media (max-width: 1000px) { .sp-linie { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .spur-rahmen.reveal-warten .sp-linie::before { transform: none; }
  .sp-linie::after { display: none; }
}

/* bau: Raster und Linien bauen sich auf, Kacheln gestaffelt, Planleiste fährt ein */
.nav .nav-cta { box-shadow: none; } /* Koray 10.11.: kein Versatzschatten am Kopf-Knopf */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px) 50% 0 / calc(100% / 6) 100%; transform-origin: top; animation: b-raster 1.6s cubic-bezier(.2,.7,.2,1) .1s both; }
@keyframes b-raster { from { transform: scaleY(0); } to { transform: none; } }
.planleiste .pl-in { animation: n3-auf .8s cubic-bezier(.2,.7,.2,1) .25s both; }
.spur-rahmen { --sp-basis: var(--beton2); --sp-fuell: var(--strich); --sp-licht: none; }
.sp-linie { left: 0; right: 0; top: 0; }
.sp-linie::after { display: none; }
@media (min-width: 1001px) { .spur { border-top: 0; } }
.kopf-zwei { position: relative; border-bottom-color: transparent; }
.kopf-zwei::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--strich); transform-origin: left; transition: transform 1.2s cubic-bezier(.2,.7,.2,1) .15s; }
.abschnitt-dunkel .kopf-zwei::after { background: rgba(255,255,255,.22); }
.kopf-zwei.reveal-warten::after { transform: scaleX(0); }
.kopf-zwei.reveal.reveal-warten { opacity: 1; transform: none; }
.kv-ico { transition: transform .3s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.karte-v2:hover .kv-ico { background: var(--akzent); transform: rotate(-4deg); }
@media (hover: hover) and (pointer: fine) { html .btn-primaer:hover { box-shadow: 6px 6px 0 var(--strich); } .chips a:hover { transform: translateY(-1px); } }
@media (prefers-reduced-motion: reduce) { .kopf-zwei.reveal-warten::after { transform: none; } }

/* Kennzahlen mit längeren Beschriftungen (S1): mobil als Zeilen Zahl | Text, keine Wortbrüche */
@media (max-width: 640px) {
  .zahlen { grid-template-columns: minmax(0, 1fr) !important; }
  .zahlen li + li { border-left: 0 !important; border-top: 1px solid var(--zahl-linie, rgba(127,127,127,.25)) !important; }
  .zahlen a { flex-direction: row !important; align-items: center !important; gap: .9rem !important; padding: .7rem .9rem !important; }
  .z-n { min-width: 2.6ch; }
}
