/* N.A.S. Noris-Asbest-Sanierung – Gestaltung
   Leitidee: der Weg einer Sanierung vom Schwarzbereich (dunkel, Gefahr) über die Schleuse in den Weißbereich (hell, freigemessen).
   Markenfarben aus dem Logo: Orange (Haus), Blau (Bogen), Grün (Schriftzug). */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivoitalic.woff2') format('woff2'); font-weight: 100 900; font-stretch: 62% 125%; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mr De Haviland'; src: url('/assets/fonts/mr-de-haviland.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Archivo Fallback'; src: local('Arial'); size-adjust: 98%; ascent-override: 92%; descent-override: 24%; }

:root {
  --orange: #F59602;
  --orange-tief: #9A5A00;      /* Orange für kleine Schrift auf Hell (Kontrast ≥ 4,5) */
  --blau: #1B4F9B;
  --blau-tief: #0F2F5E;
  --gruen: #7FA92B;
  --schwarz: #111417;          /* Schwarzbereich */
  --kohle: #1C2126;
  --kohle-2: #262C33;
  --papier: #F5F3EF;           /* Weißbereich */
  --weiss: #FFFFFF;
  --text: #15191D;
  --grau: #585F66;
  --grau-hell: #A9B0B6;
  --linie: #DCD8D0;
  --linie-dunkel: #343B43;
  --max: 1220px;
  --rand: clamp(18px, 4.4vw, 56px);
  --schrift: 'Archivo', 'Archivo Fallback', Arial, sans-serif;
  --r: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--schrift); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--papier); font-feature-settings: 'kern', 'liga'; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--orange); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { font-family: var(--schrift); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -.015em; font-weight: 800; font-stretch: 100%; }
h1 { font-size: clamp(2.6rem, 6.4vw, 6.2rem); font-stretch: 112%; letter-spacing: -.03em; line-height: .96; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3.2rem); font-stretch: 108%; letter-spacing: -.022em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
strong, b { font-weight: 700; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.1em; }
li { margin: .25em 0; }
::selection { background: var(--orange); color: #000; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--orange); color: #000; padding: 10px 16px; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.schmal { max-width: 780px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Kicker: kleine Zeile über Titeln, wie im Original („Warum Noris-Asbest-Sanierung?“) */
.kicker { display: block; font-size: .8rem; font-weight: 700; font-stretch: 118%; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 16px; color: var(--orange-tief); }
.dunkel .kicker, .seitenkopf .kicker, .hero .kicker { color: var(--orange); }
.titel-orange { color: var(--text); }
.dunkel .titel-orange { color: var(--orange); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--grau); max-width: 62ch; }
.dunkel .lead { color: #C9CFD4; }

/* Buttons: eckig wie im Original, Farbwechsel 0,4 s */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border: 1px solid var(--orange); background: var(--orange); color: #000; font: 600 1rem/1 var(--schrift); text-decoration: none; cursor: pointer; transition: background-color .4s, border-color .4s, color .4s; border-radius: var(--r); white-space: nowrap; }
.btn:hover { background: var(--schwarz); border-color: var(--schwarz); color: var(--orange); }
.btn--rahmen { background: transparent; border-color: currentColor; color: inherit; }
.btn--rahmen:hover { background: var(--orange); border-color: var(--orange); color: #000; }
.dunkel .btn:hover { background: var(--weiss); border-color: var(--weiss); color: #000; }
.dunkel .btn--rahmen { color: var(--weiss); }
.dunkel .btn--rahmen:hover { background: var(--orange); border-color: var(--orange); color: #000; }
.btn svg { width: 18px; height: 18px; flex: none; }
.pfeil { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.pfeil::after { content: '→'; transition: transform .25s; }
.pfeil:hover::after { transform: translateX(4px); }

/* ---------- Kopf ---------- */
.kopf { position: relative; z-index: 30; background: var(--schwarz); color: var(--weiss); }
.kopf__in { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.logo { display: block; flex: none; background: var(--weiss); padding: 7px 10px; border-radius: var(--r); line-height: 0; }
.logo img { width: 150px; height: auto; }
.nav { margin-left: auto; display: flex; align-items: stretch; height: 84px; }
.nav a { display: flex; align-items: center; padding: 0 16px; font-size: .97rem; text-decoration: none; color: #DDE2E6; position: relative; transition: color .3s; }
.nav a::after { content: ''; position: absolute; left: 16px; right: 16px; bottom: 22px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover, .nav a[aria-current] { color: var(--weiss); }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.kopf__tel { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 0 22px; height: 52px; background: var(--orange); color: #000; font-weight: 700; border-radius: var(--r); transition: background-color .4s, color .4s; white-space: nowrap; }
.kopf__tel:hover { background: var(--weiss); }
.kopf__tel svg { width: 18px; height: 18px; }
.burger { display: none; margin-left: auto; width: 48px; height: 48px; background: none; border: 0; color: var(--orange); cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: currentColor; margin: 6px 0; transition: transform .3s, opacity .3s; }
.nav-offen .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-offen .burger span:nth-child(2) { opacity: 0; }
.nav-offen .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.mobilnav { display: none; }

/* Absperrband: schmale Warnstreifen als Signatur zwischen Schwarz- und Weißbereich */
.band { height: 10px; background: repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--schwarz) 14px 28px); }
.band--fein { height: 4px; }

/* ---------- Bereiche ---------- */
.abschnitt { padding: clamp(64px, 9vw, 128px) 0; }
.abschnitt--eng { padding: clamp(44px, 6vw, 80px) 0; }
.dunkel { background: var(--schwarz); color: var(--weiss); }
.dunkel a { color: inherit; }
.kohle { background: var(--kohle); color: var(--weiss); }
.weiss { background: var(--weiss); }
.kopfzeile { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); flex-wrap: wrap; }
.kopfzeile > div { max-width: 760px; }
.kopfzeile h2 { margin: 0; }

/* ---------- Start: Hero ---------- */
.hero { position: relative; background: var(--schwarz); color: var(--weiss); overflow: hidden; }
.hero__bild { position: absolute; inset: 0; }
.hero__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; opacity: .5; }
.hero__bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,20,23,.96) 0%, rgba(17,20,23,.78) 45%, rgba(17,20,23,.25) 100%), linear-gradient(0deg, rgba(17,20,23,.9) 0%, transparent 40%); }
.hero__in { position: relative; padding-top: clamp(72px, 11vw, 150px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero h1 { max-width: 11ch; margin-bottom: 26px; }
.hero h1 span { display: block; color: var(--orange); }
.hero__unter { font-size: clamp(1.25rem, 2.2vw, 1.9rem); font-weight: 300; font-stretch: 105%; margin: 0 0 18px; color: #EEF1F3; }
.hero__text { max-width: 58ch; color: #C3CAD0; font-size: 1.06rem; margin-bottom: 34px; }
.hero__knoepfe { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__fakten { position: relative; border-top: 1px solid var(--linie-dunkel); display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__fakten > div { padding: 22px 24px 26px 0; min-width: 0; }
.hero__fakten > div + div { padding-left: 24px; border-left: 1px solid var(--linie-dunkel); }
.hero__fakten dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-hell); margin-bottom: 6px; }
.hero__fakten dd { margin: 0; font-weight: 600; font-size: 1.02rem; }

/* Kernkompetenzen: Text + Bild abwechselnd */
.kompetenz { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.kompetenz + .kompetenz { margin-top: clamp(64px, 9vw, 130px); }
.kompetenz--rechts .kompetenz__bild { order: -1; }
.kompetenz__nr { font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--orange-tief); display: block; margin-bottom: 14px; }
.kompetenz h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-stretch: 106%; margin-bottom: 20px; }
.kompetenz__bild { position: relative; }
.kompetenz__bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.kompetenz__bild figcaption { position: absolute; left: 0; bottom: 0; background: var(--schwarz); color: var(--weiss); font-size: .78rem; letter-spacing: .08em; padding: 8px 12px; text-transform: uppercase; }
.kompetenz__zusatz { margin: 26px 0; }
.kompetenz__zusatz img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; max-width: 420px; }

/* Unternehmen: dunkle Fläche mit Kennzahlen */
.firma { position: relative; overflow: hidden; }
.firma__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 90px); align-items: end; }
.zahlen { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(40px, 6vw, 72px) 0 0; border-top: 1px solid var(--linie-dunkel); }
.zahlen > div { padding: 26px 20px 0 0; min-width: 0; }
.zahlen dd { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; font-stretch: 112%; line-height: 1; letter-spacing: -.03em; }
.zahlen dt { margin-top: 10px; color: #C3CAD0; font-size: .95rem; }
.unterschrift { margin-top: clamp(36px, 5vw, 60px); }
.unterschrift__zug { font-family: 'Mr De Haviland', cursive; font-size: 3.4rem; line-height: 1; color: var(--weiss); margin: 0 0 6px; }
.unterschrift__name { font-weight: 700; margin: 0; }
.unterschrift__rolle { color: var(--grau-hell); font-size: .95rem; margin: 0; }

/* Leistungskarten */
.karten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.karte { background: var(--weiss); padding: 28px 24px 26px; display: flex; flex-direction: column; min-height: 248px; text-decoration: none; position: relative; transition: background-color .3s; min-width: 0; }
.karte:hover { background: #FFF8EC; }
.karte__icon { width: 44px; height: 44px; color: var(--orange); margin-bottom: 26px; }
.karte__icon svg { width: 100%; height: 100%; }
.karte h3 { font-size: 1.18rem; margin: 0 0 10px; font-stretch: 100%; hyphens: manual; }
.karte p { font-size: .95rem; color: var(--grau); margin: 0 0 18px; }
.karte__mehr { margin-top: auto; font-size: .9rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.karte__mehr::after { content: '→'; color: var(--orange-tief); transition: transform .25s; }
.karte:hover .karte__mehr::after { transform: translateX(4px); }

/* Projekte-Galerie (Start: Laufleiste, Projekte: Collage) */
.leiste { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; }
.leiste figure { margin: 0; scroll-snap-align: start; }
.leiste img { width: 100%; height: clamp(320px, 40vw, 560px); object-fit: cover; }
.leiste figure:nth-child(even) { grid-column: span 1; }
.leiste__steuer { display: flex; gap: 8px; }
.leiste__steuer button { width: 52px; height: 52px; border: 1px solid var(--text); background: transparent; cursor: pointer; font-size: 1.2rem; border-radius: var(--r); transition: background-color .3s, color .3s; color: var(--text); }
.leiste__steuer button:hover { background: var(--text); color: var(--weiss); }
.collage { columns: 3 280px; column-gap: 10px; }
.collage figure { margin: 0 0 10px; break-inside: avoid; position: relative; }
.collage img { width: 100%; }
.collage figcaption { font-size: .88rem; color: var(--grau); padding: 8px 0 4px; }

/* Haus „Wo steckt Asbest?“ */
.haus { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.haus__svg { position: relative; background: var(--kohle); border: 1px solid var(--linie-dunkel); }
.haus__svg svg { width: 100%; height: auto; }
.haus__punkt { cursor: pointer; }
.haus__punkt circle.ring { fill: var(--orange); opacity: .22; transform-origin: center; transform-box: fill-box; animation: puls 2.4s ease-out infinite; }
.haus__punkt circle.kern { fill: var(--orange); stroke: var(--schwarz); stroke-width: 2; transition: r .2s; }
.haus__punkt text { fill: #000; font: 800 13px var(--schrift); pointer-events: none; }
.haus__punkt:hover circle.kern, .haus__punkt:focus circle.kern, .haus__punkt[aria-pressed='true'] circle.kern { fill: var(--weiss); }
.haus__punkt:focus { outline: none; }
.haus__punkt:focus-visible circle.kern { stroke: var(--weiss); stroke-width: 3; }
@keyframes puls { 0% { transform: scale(1); opacity: .35; } 100% { transform: scale(2.4); opacity: 0; } }
.haus__info { min-height: 320px; }
.haus__info h3 { font-size: 1.6rem; margin-bottom: 8px; }
.haus__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 16px; font-size: .86rem; color: var(--grau-hell); }
.haus__meta b { color: var(--weiss); font-weight: 600; }
.haus__liste { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid var(--linie-dunkel); }
.haus__liste li { margin: 0; border-bottom: 1px solid var(--linie-dunkel); }
.haus__liste button { width: 100%; text-align: left; background: none; border: 0; color: #C9CFD4; font: 500 .98rem var(--schrift); padding: 11px 0; cursor: pointer; display: flex; gap: 12px; align-items: baseline; }
.haus__liste button span { color: var(--orange); font-weight: 800; min-width: 1.6em; }
.haus__liste button[aria-pressed='true'], .haus__liste button:hover { color: var(--weiss); }

/* Ablauf: Schleuse in 6 Schritten */
.ablauf { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--linie); }
.ablauf li { list-style: none; margin: 0; padding: 28px 28px 34px 0; border-bottom: 1px solid var(--linie); position: relative; min-width: 0; }
.ablauf li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--linie); }
.ablauf li::before { counter-increment: s; content: '0' counter(s); display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 112%; color: var(--orange); line-height: 1; margin-bottom: 18px; letter-spacing: -.03em; }
.ablauf h3 { font-size: 1.2rem; margin-bottom: 8px; }
.ablauf p { color: var(--grau); font-size: .97rem; margin: 0; }
.dunkel .ablauf, .dunkel .ablauf li { border-color: var(--linie-dunkel); }
.dunkel .ablauf p { color: #B7BEC4; }

/* FAQ */
.faq { border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 700; font-size: 1.12rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--orange-tief); border-bottom: 2px solid var(--orange-tief); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .antwort { padding: 0 0 22px; max-width: 72ch; color: #2C3238; }
.dunkel .faq, .dunkel .faq details { border-color: var(--linie-dunkel); }
.dunkel .faq .antwort { color: #C9CFD4; }
.dunkel .faq summary::after { border-color: var(--orange); }

/* Unterseiten-Kopf */
.seitenkopf { background: var(--schwarz); color: var(--weiss); position: relative; overflow: hidden; }
.seitenkopf__in { position: relative; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px); }
.seitenkopf h1 { font-size: clamp(2.3rem, 5.4vw, 4.8rem); max-width: 18ch; margin-bottom: 20px; }
.seitenkopf .lead { margin: 0; }
.seitenkopf__bild { position: absolute; inset: 0 0 0 50%; }
.seitenkopf__bild img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.seitenkopf__bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--schwarz) 0%, rgba(17,20,23,.4) 60%, rgba(17,20,23,.2) 100%); }
.krumen { font-size: .86rem; color: var(--grau-hell); margin: 0 0 26px; }
.krumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.krumen li { margin: 0; display: flex; gap: 10px; }
.krumen li + li::before { content: '/'; color: var(--linie-dunkel); }
.krumen a { text-decoration: none; }
.krumen a:hover { color: var(--weiss); text-decoration: underline; }

/* Fließtext-Seiten */
.text { font-size: 1.06rem; }
.text h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); margin: 1.8em 0 .55em; }
.text h3 { margin: 1.5em 0 .5em; }
.text > :first-child { margin-top: 0; }
.text ul li::marker { color: var(--orange-tief); }
.text table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .97rem; }
.text th, .text td { text-align: left; vertical-align: top; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--linie); }
.text th { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grau); font-weight: 700; }
.text .tabelle { overflow-x: auto; }
.text blockquote { margin: 1.4em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--orange); font-size: 1.12rem; }
.text a { text-decoration-color: var(--orange); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(36px, 6vw, 88px); align-items: start; }
.seitenleiste { position: sticky; top: 24px; display: grid; gap: 20px; }
.kasten { background: var(--weiss); border: 1px solid var(--linie); padding: 26px; }
.kasten h2, .kasten h3 { font-size: 1.15rem; margin: 0 0 12px; }
.kasten ul { list-style: none; padding: 0; margin: 0; }
.kasten li { margin: 0; border-top: 1px solid var(--linie); }
.kasten li a { display: block; padding: 10px 0; text-decoration: none; font-size: .96rem; }
.kasten li a:hover { color: var(--orange-tief); }
.kasten--dunkel { background: var(--schwarz); color: var(--weiss); border-color: var(--schwarz); }
.kasten--dunkel p { color: #C3CAD0; font-size: .96rem; }
.stand { font-size: .86rem; color: var(--grau); border-top: 1px solid var(--linie); padding-top: 16px; margin-top: 2.4em; }
.quellen { font-size: .9rem; color: var(--grau); }
.quellen li { margin: .4em 0; overflow-wrap: anywhere; }

/* Asbest-Check */
.check { background: var(--weiss); border: 1px solid var(--linie); display: grid; grid-template-columns: 1fr 1fr; }
.check__frage { padding: clamp(24px, 4vw, 44px); min-width: 0; }
.check__ergebnis { padding: clamp(24px, 4vw, 44px); background: var(--schwarz); color: var(--weiss); min-width: 0; }
.check fieldset { border: 0; padding: 0; margin: 0 0 26px; }
.check legend { font-weight: 700; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.wahl label { position: relative; }
.wahl input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.wahl span { display: inline-block; padding: 10px 14px; border: 1px solid var(--linie); background: var(--papier); font-size: .95rem; border-radius: var(--r); transition: border-color .2s, background-color .2s; }
.wahl input:checked + span { background: var(--orange); border-color: var(--orange); color: #000; font-weight: 600; }
.wahl input:focus-visible + span { outline: 3px solid var(--blau); outline-offset: 2px; }
.wahl label:hover span { border-color: var(--text); }
.ampel { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ampel i { width: 18px; height: 18px; border-radius: 50%; background: var(--grau); flex: none; box-shadow: 0 0 0 5px rgba(255,255,255,.08); }
.ampel[data-stufe='hoch'] i { background: #E5484D; }
.ampel[data-stufe='mittel'] i { background: var(--orange); }
.ampel[data-stufe='gering'] i { background: var(--gruen); }
.ampel strong { font-size: 1.4rem; font-stretch: 106%; }
.check__ergebnis p { color: #C9CFD4; }
.check__ergebnis .hinweis { font-size: .84rem; color: var(--grau-hell); border-top: 1px solid var(--linie-dunkel); padding-top: 14px; margin-top: 18px; }

/* Glossar */
.glossar dl { margin: 0; display: grid; grid-template-columns: 260px 1fr; border-top: 1px solid var(--linie); }
.glossar dt, .glossar dd { padding: 18px 0; border-bottom: 1px solid var(--linie); margin: 0; }
.glossar dt { font-weight: 700; padding-right: 24px; }
.glossar .buchstaben { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.glossar .buchstaben a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--linie); text-decoration: none; font-weight: 700; background: var(--weiss); }
.glossar .buchstaben a:hover { background: var(--orange); border-color: var(--orange); }

/* Orte */
.orte { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--linie); border: 1px solid var(--linie); }
.orte a { background: var(--weiss); padding: 18px 20px; text-decoration: none; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; min-width: 0; }
.orte a small { color: var(--grau); font-size: .82rem; white-space: nowrap; }
.orte a:hover { background: #FFF8EC; }
.dunkel .orte { background: var(--linie-dunkel); border-color: var(--linie-dunkel); }
.dunkel .orte a { background: var(--kohle); }
.dunkel .orte a small { color: var(--grau-hell); }
.dunkel .orte a:hover { background: var(--kohle-2); }

/* Ratgeber-Liste */
.artikel { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.artikel a { text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.artikel img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; margin-bottom: 18px; filter: grayscale(.25); transition: filter .3s; }
.artikel a:hover img { filter: none; }
.artikel h3 { font-size: 1.22rem; margin: 0 0 8px; }
.artikel p { color: var(--grau); font-size: .96rem; margin: 0 0 12px; }
.artikel .rubrik { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-tief); font-weight: 700; margin-bottom: 8px; }
.artikel--text a { border-top: 2px solid var(--text); padding-top: 18px; }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.formular { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.feld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feld--voll { grid-column: 1 / -1; }
.feld label { font-size: .92rem; font-weight: 600; }
.feld input, .feld textarea, .feld select { font: inherit; font-size: 1rem; padding: 14px 14px; border: 1px solid #BDB8AE; background: var(--weiss); color: var(--text); border-radius: var(--r); width: 100%; transition: border-color .2s; }
.feld input:focus, .feld textarea:focus, .feld select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(245,150,2,.35); }
.feld textarea { min-height: 170px; resize: vertical; }
.einwilligung { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--grau); }
.einwilligung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange); flex: none; }
.honig { position: absolute; left: -9999px; }
.meldung { grid-column: 1 / -1; padding: 16px 18px; border-left: 3px solid var(--gruen); background: var(--weiss); display: none; }
.meldung.fehler { border-color: #E5484D; }
.meldung.sichtbar { display: block; }
.kontakt__daten { background: var(--schwarz); color: var(--weiss); padding: clamp(26px, 4vw, 44px); }
.kontakt__daten dl { margin: 0; }
.kontakt__daten dt { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--grau-hell); margin-top: 22px; }
.kontakt__daten dt:first-child { margin-top: 0; }
.kontakt__daten dd { margin: 4px 0 0; font-size: 1.08rem; }
.kontakt__daten a { text-decoration-color: var(--orange); }
.karte-klick { margin-top: 26px; position: relative; background: var(--kohle); aspect-ratio: 4 / 3; display: grid; place-items: center; text-align: center; padding: 24px; border: 1px solid var(--linie-dunkel); }
.karte-klick p { font-size: .86rem; color: var(--grau-hell); max-width: 34ch; margin: 12px auto 0; }
.karte-klick iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Aufruf am Seitenende */
.aufruf { background: var(--orange); color: #000; }
.aufruf__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-top: clamp(40px, 6vw, 70px); padding-bottom: clamp(40px, 6vw, 70px); flex-wrap: wrap; }
.aufruf h2 { margin: 0 0 6px; font-size: clamp(1.7rem, 3.2vw, 2.8rem); }
.aufruf p { margin: 0; max-width: 56ch; }
.aufruf .btn { background: var(--schwarz); border-color: var(--schwarz); color: var(--weiss); }
.aufruf .btn:hover { background: var(--weiss); border-color: var(--weiss); color: #000; }
.aufruf .btn--rahmen { background: transparent; color: #000; border-color: #000; }
.aufruf .btn--rahmen:hover { background: #000; color: var(--orange); }
.aufruf__knoepfe { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Fuß ---------- */
.fuss { background: var(--schwarz); color: #C3CAD0; font-size: .96rem; }
.fuss__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-top: clamp(52px, 7vw, 88px); padding-bottom: 48px; }
.fuss h2 { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--weiss); margin: 0 0 16px; font-weight: 700; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin: 0 0 8px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; text-decoration-color: var(--orange); }
.fuss address { font-style: normal; line-height: 1.8; }
.fuss__logo { background: var(--weiss); display: inline-block; padding: 8px 12px; margin-bottom: 20px; border-radius: var(--r); }
.fuss__logo img { width: 180px; }
.fuss__unten { border-top: 1px solid var(--linie-dunkel); display: flex; justify-content: space-between; gap: 18px; padding-top: 22px; padding-bottom: 28px; font-size: .86rem; flex-wrap: wrap; }
.fuss__unten nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Telefon-Leiste mobil */
.mobil-leiste { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav a { padding: 0 10px; font-size: .92rem; }
  .karten { grid-template-columns: repeat(2, 1fr); }
  .fuss__in { grid-template-columns: 1fr 1fr; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  .seitenleiste { position: static; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
  .artikel { grid-template-columns: repeat(2, 1fr); }
  .haus { grid-template-columns: 1fr; }
  .check { grid-template-columns: 1fr; }
}
@media (max-width: 1000px) {
  body { overflow-wrap: break-word; }
  h1, h2, h3, .karte h3 { hyphens: auto; }
}
@media (max-width: 960px) {
  .nav, .kopf__tel { display: none; }
  .burger { display: block; }
  .mobilnav { display: block; position: fixed; inset: 0; z-index: 50; pointer-events: none; }
  .mobilnav::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s; }
  .mobilnav__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); background: var(--papier); color: var(--text); transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; flex-direction: column; padding: 18px 26px 30px; overflow-y: auto; }
  .nav-offen .mobilnav { pointer-events: auto; }
  .nav-offen .mobilnav::before { opacity: 1; }
  .nav-offen .mobilnav__panel { transform: none; }
  .mobilnav__zu { align-self: flex-end; width: 48px; height: 48px; border: 0; background: none; color: var(--orange-tief); font-size: 2rem; cursor: pointer; }
  .mobilnav a.punkt { display: block; padding: 15px 0; border-bottom: 1px solid var(--linie); font-size: 1.3rem; font-weight: 600; text-decoration: none; }
  .mobilnav a.punkt[aria-current] { color: var(--orange-tief); }
  .mobilnav .btn { margin-top: 26px; width: 100%; }
  .kopf__in { min-height: 72px; }
  .logo img { width: 128px; }
}
/* ---------- Handy ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; }
  .kontakt, .firma__grid, .check { min-width: 0; }
  .hero__fakten { grid-template-columns: 1fr 1fr; }
  .hero__fakten > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__fakten > div:nth-child(n+3) { border-top: 1px solid var(--linie-dunkel); }
  .kompetenz, .firma__grid, .kontakt { grid-template-columns: 1fr; }
  .kompetenz--rechts .kompetenz__bild { order: 0; }
  .kompetenz__bild img { aspect-ratio: 4 / 3; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zahlen > div:nth-child(n+3) { padding-top: 28px; }
  .karten { grid-template-columns: 1fr; }
  .karte { min-height: 0; }
  .leiste { grid-auto-columns: 82%; }
  .ablauf { grid-template-columns: 1fr; }
  .ablauf li, .ablauf li:not(:nth-child(3n+1)) { padding: 24px 0; border-left: 0; }
  .formular { grid-template-columns: 1fr; }
  .fuss__in { grid-template-columns: 1fr; gap: 30px; }
  .artikel { grid-template-columns: 1fr; }
  .glossar dl { grid-template-columns: 1fr; }
  .glossar dt { border-bottom: 0; padding-bottom: 0; }
  .seitenkopf__bild { inset: 0; }
  .seitenkopf__bild img { opacity: .28; }
  .aufruf__in { flex-direction: column; align-items: flex-start; }
  .mobil-leiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--schwarz); border-top: 1px solid var(--linie-dunkel); }
  .mobil-leiste a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 60px; text-decoration: none; color: var(--weiss); font-weight: 700; font-size: .98rem; }
  .mobil-leiste a:first-child { background: var(--orange); color: #000; }
  .mobil-leiste svg { width: 18px; height: 18px; }
  .text table { font-size: .9rem; }
}
@media print { .kopf, .fuss, .mobil-leiste, .aufruf, .band { display: none !important; } body { background: #fff; } }

/* Eigene Akzente: Absperrband-Versatz hinter Bildern, Karten mit Farbbalken, Kennzahlen mit Stempelrahmen */
.kompetenz__bild { isolation: isolate; }
.kompetenz__bild::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; z-index: -1; background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, transparent 10px 20px); opacity: .9; }
.kompetenz--rechts .kompetenz__bild::before { inset: 22px 22px -22px -22px; }
.dunkel .kompetenz__bild::before { opacity: .55; }
.karte { box-shadow: inset 0 0 0 0 var(--orange); transition: background-color .3s, box-shadow .3s; }
.karte:hover { box-shadow: inset 0 4px 0 0 var(--orange); }
.zahlen dd { color: var(--weiss); }
.zahlen > div { position: relative; }
.zahlen dt { color: var(--grau-hell); letter-spacing: .02em; }
.hero h1 { text-wrap: balance; }
h2 { text-wrap: balance; }
.lead { text-wrap: pretty; }
.seitenkopf h1 { text-wrap: balance; }
.kompetenz__nr { font-size: 4.2rem; line-height: .9; letter-spacing: -.04em; font-stretch: 112%; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px var(--orange-tief); margin-bottom: 18px; }
@media (max-width: 760px) { .kompetenz__bild::before { inset: 14px -10px -14px 14px; } .kompetenz--rechts .kompetenz__bild::before { inset: 14px 14px -14px -10px; } .kompetenz__nr { font-size: 3rem; } }
