/* ==========================================================================
   GM Süd GmbH – Relaunch
   Schrift: Archivo (variabel, lokal eingebunden – keine Google-Server)
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Farben – abgeleitet aus dem bestehenden GM-Süd-Branding */
  --nacht: #1c244b;      /* Primär, dunkle Flächen, Überschriften */
  --nacht-2: #232d5c;    /* Hover auf Dunkel */
  --stahl: #4c6a8c;      /* Sekundär, Linien, Meta */
  --nebel: #c8d5dc;      /* Trennlinien, Rahmen */
  --papier: #f3f5f8;     /* Heller Grund */
  --weiss: #ffffff;
  --text: #2a3a58;       /* Fließtext */
  --plakette: #f2b705;   /* Signalfarbe „Prüfplakette“: CTAs, Fokus, 24h */
  --plakette-dunkel: #d9a300;

  --radius-s: 6px;
  --radius-m: 14px;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);

  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.4rem, 1.4rem + 4.6vw, 5.4rem);
  --fs-index: clamp(1.6rem, 0.9rem + 3.4vw, 4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-body);
  line-height: 1.62;
  color: var(--text);
  background: var(--weiss);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; max-width: 68ch; }
ul { margin: 0; padding: 0; }

h1, h2, h3, h4 { color: var(--nacht); margin: 0 0 .5em; line-height: 1.08; font-weight: 700; }
h1 { font-size: var(--fs-h1); font-stretch: 118%; font-weight: 780; letter-spacing: -0.025em; line-height: 0.98; }
h2 { font-size: var(--fs-h2); font-stretch: 112%; font-weight: 740; letter-spacing: -0.018em; }
h3 { font-size: var(--fs-h3); font-stretch: 104%; font-weight: 660; letter-spacing: -0.005em; }

:focus-visible { outline: 3px solid var(--plakette); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--nacht); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--papier { background: var(--papier); }
.section--nacht { background: var(--nacht); color: #d4dcef; }
.section--nacht h2, .section--nacht h3 { color: #fff; }

.lead { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.3rem); line-height: 1.55; color: var(--text); }
.meta { font-size: var(--fs-small); font-stretch: 90%; font-weight: 600; color: var(--stahl); letter-spacing: 0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.4em; border-radius: 999px; border: 0;
  font: inherit; font-weight: 650; font-stretch: 104%; line-height: 1; text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn--plakette { background: var(--plakette); color: var(--nacht); }
.btn--plakette:hover { background: var(--plakette-dunkel); }
.btn--nacht { background: var(--nacht); color: #fff; }
.btn--nacht:hover { background: var(--nacht-2); }
.btn--ghost { background: transparent; color: var(--nacht); box-shadow: inset 0 0 0 1.5px var(--nebel); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--nacht); }
.section--nacht .btn--ghost, .pagehead .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.section--nacht .btn--ghost:hover, .pagehead .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.textlink { color: var(--nacht); font-weight: 650; text-decoration: underline; text-decoration-color: var(--plakette); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--nacht); }

/* ---------- Kopfzeile ---------- */
.topbar { background: var(--nacht); color: #c9d3ea; font-size: var(--fs-small); }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; color: #fff; }
.topbar a:hover { text-decoration: underline; }
.topbar__notdienst { display: inline-flex; align-items: center; gap: 8px; }
.topbar__notdienst::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--plakette); }
.topbar__links { display: flex; gap: 20px; }
@media (max-width: 640px) { .topbar__links .hide-s { display: none; } }

.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--nebel); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; list-style: none; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-stretch: 102%; color: var(--nacht); text-decoration: none; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--papier); }
.nav__link[aria-current="page"], .nav__link.is-active { box-shadow: inset 0 -2px 0 var(--plakette); border-radius: 0; }
.nav__link svg { width: 12px; height: 12px; transition: transform .2s; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px; list-style: none;
  background: #fff; border: 1px solid var(--nebel); border-radius: var(--radius-m); padding: 8px;
  box-shadow: 0 18px 40px -18px rgba(28,36,75,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item:hover > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav__item.is-open > .nav__link svg { transform: rotate(180deg); }
.dropdown a { display: block; padding: 9px 12px; border-radius: var(--radius-s); text-decoration: none; color: var(--nacht); font-weight: 500; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--papier); }
.dropdown--wide { min-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }

.nav__cta { margin-left: 12px; }
.burger { display: none; }

@media (max-width: 1080px) {
  .burger {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px;
    border: 1.5px solid var(--nebel); background: #fff; color: var(--nacht); font: inherit; font-weight: 650; cursor: pointer;
  }
  .burger__lines { width: 18px; height: 12px; position: relative; }
  .burger__lines::before, .burger__lines::after, .burger__lines span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .burger__lines::before { top: 0; } .burger__lines span { top: 5px; } .burger__lines::after { top: 10px; }
  .nav-open .burger__lines::before { transform: translateY(5px) rotate(45deg); }
  .nav-open .burger__lines::after { transform: translateY(-5px) rotate(-45deg); }
  .nav-open .burger__lines span { opacity: 0; }

  .nav {
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, 114px); background: #fff; border-top: 1px solid var(--nebel); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--nebel); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.15rem; border-radius: 0; font-stretch: 108%; }
  .nav__link:hover { background: none; }
  .nav__link[aria-current="page"] { box-shadow: none; color: var(--stahl); }
  .dropdown, .dropdown--wide { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px; min-width: 0; grid-template-columns: minmax(0, 1fr); }
  .nav__item:hover > .dropdown { display: none; }
  .nav__item.is-open > .dropdown { display: block; }
  .dropdown a { padding: 10px 4px 10px 14px; }
  .nav__cta { margin: 24px 0 0; justify-content: center; }
}
@media (max-width: 480px) { .logo img { height: 38px; } .burger__label { display: none; } }

/* ---------- Hero (Startseite) ---------- */
.hero { background: var(--papier); padding: clamp(40px, 6vw, 88px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero__text { padding-bottom: clamp(40px, 6vw, 96px); }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { display: block; }
.hero h1 .thin { font-weight: 300; font-stretch: 125%; }
.hero .lead { max-width: 34ch; margin-bottom: 1.8em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; align-self: stretch; min-height: 420px; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-m) var(--radius-m) 0 0; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero__trust img { height: 34px; width: auto; }

/* Prüfplakette – das wiederkehrende runde Siegel */
.plakette {
  --size: 148px;
  position: absolute; width: var(--size); height: var(--size); border-radius: 50%;
  background: var(--plakette); color: var(--nacht);
  display: grid; place-items: center; text-align: center; line-height: 1;
  box-shadow: 0 0 0 6px var(--papier);
  text-decoration: none;
}
.plakette svg.ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: drehen 28s linear infinite; }
.plakette__zahl { font-size: 2.6rem; font-weight: 820; font-stretch: 120%; letter-spacing: -0.03em; }
.plakette__text { display: block; font-size: .72rem; font-weight: 650; font-stretch: 90%; margin-top: 2px; }
.hero .plakette { left: -44px; bottom: 56px; }
@keyframes drehen { to { transform: rotate(360deg); } }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__text { padding-bottom: 0; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; margin: 0 calc(var(--gutter) * -1); }
  .hero__media img { border-radius: 0; }
  .hero .plakette { --size: 118px; left: auto; right: 16px; bottom: auto; top: -48px; }
  .plakette__zahl { font-size: 2rem; }
}

/* ---------- Intro-Band ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.intro h2 { margin-bottom: .3em; }
.fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; border-top: 1px solid var(--nebel); }
.fakt { padding: 22px 16px 22px 0; border-bottom: 1px solid var(--nebel); }
.fakt:nth-child(odd) { border-right: 1px solid var(--nebel); }
.fakt:nth-child(even) { padding-left: 24px; }
.fakt strong { display: block; color: var(--nacht); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-stretch: 120%; font-weight: 760; letter-spacing: -0.02em; line-height: 1.05; }
.fakt span { font-size: var(--fs-small); color: var(--stahl); }
@media (max-width: 860px) { .intro { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Leistungsverzeichnis (das Herzstück) ---------- */
.verzeichnis__kopf { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px); }
.verzeichnis__kopf p { color: #aebbd8; margin: 0; max-width: 42ch; }
.index { list-style: none; border-top: 1px solid rgba(200,213,220,.22); counter-reset: none; }
.index li { border-bottom: 1px solid rgba(200,213,220,.22); }
.index a {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px;
  padding: clamp(14px, 1.8vw, 22px) 0; text-decoration: none; color: #fff;
}
.index__name { font-size: var(--fs-index); font-weight: 720; font-stretch: 122%; letter-spacing: -0.03em; line-height: 1.02; transition: color .2s; }
.index__info { color: #93a3c6; font-size: var(--fs-small); text-align: right; max-width: 30ch; transition: color .2s; }
.index__bild {
  position: absolute; right: 0; top: 50%; width: clamp(160px, 16vw, 220px); aspect-ratio: 16 / 10; z-index: 2; object-fit: cover; border-radius: var(--radius-s);
  transform: translateY(-50%) rotate(-3deg) scale(.9); opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s;
}
.index a:hover .index__name, .index a:focus-visible .index__name { color: var(--plakette); }
.index a:hover .index__info, .index a:focus-visible .index__info { opacity: 0; }
.index__info { transition: opacity .2s; }
.index a:hover .index__bild, .index a:focus-visible .index__bild { opacity: 1; transform: translateY(-50%) rotate(-3deg) scale(1); }
@media (hover: none), (max-width: 860px) {
  .index a { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .index__bild { position: static; width: 72px; aspect-ratio: 1; transform: none; opacity: 1; order: -1; border-radius: var(--radius-s); }
  .index a:hover .index__bild { transform: none; }
  .index__info { grid-column: 2; text-align: left; margin-top: -10px; }
  .index a:hover .index__info { opacity: 1; }
}

/* ---------- Referenzen ---------- */
.refs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); margin-top: 40px; }
.ref { margin: 0; }
.ref img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius-m); }
.ref figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--stahl); }
.ref figcaption strong { display: block; color: var(--nacht); font-size: 1rem; font-stretch: 106%; }
.kunden { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.kunden li { list-style: none; background: var(--nacht); border-radius: var(--radius-m); display: grid; place-items: center; padding: 18px; aspect-ratio: 5 / 3; }
.kunden img { max-height: 100%; width: auto; opacity: .9; }
@media (max-width: 760px) { .refs { grid-template-columns: 1fr 1fr; } .refs .ref:last-child { display: none; } .kunden { grid-template-columns: 1fr 1fr; } }

/* ---------- Zitat / Haltung ---------- */
.haltung { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.haltung img { border-radius: var(--radius-m); aspect-ratio: 1; object-fit: cover; width: 100%; }
.haltung blockquote { margin: 0; }
.haltung blockquote p { font-size: clamp(1.35rem, 1.05rem + 1.3vw, 2.1rem); line-height: 1.3; color: var(--nacht); font-stretch: 104%; font-weight: 500; letter-spacing: -0.01em; max-width: 30ch; }
.haltung blockquote footer { margin-top: 20px; font-weight: 650; color: var(--nacht); }
@media (max-width: 860px) { .haltung { grid-template-columns: minmax(0, 1fr); } .haltung img { aspect-ratio: 16 / 10; } }

/* ---------- Service-Kacheln (Mieter & Kunden) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
.service-karte {
  display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--nebel);
  text-decoration: none; color: var(--text); transition: border-color .2s;
}
.service-karte:hover { border-color: var(--nacht); }
.service-karte h3 { margin: 0; }
.service-karte p { margin: 0; font-size: .96rem; }
.service-karte .textlink { margin-top: auto; padding-top: 8px; }
.service-karte__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--papier); display: grid; place-items: center; color: var(--nacht); }
.service-karte__icon svg { width: 22px; height: 22px; }
@media (max-width: 860px) { .service-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Seitenkopf Unterseiten ---------- */
.pagehead { background: var(--nacht); color: #d4dcef; padding: clamp(36px, 5vw, 72px) 0 0; overflow: hidden; }
.pagehead__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.pagehead__text { padding-bottom: clamp(36px, 5vw, 72px); }
.pagehead h1 { color: #fff; font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.6rem); hyphens: manual; }
.pagehead .lead { color: #d4dcef; }
.pagehead__media { position: relative; align-self: stretch; min-height: 340px; }
.pagehead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-m) var(--radius-m) 0 0; }
.pagehead--schmal .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
.crumbs { padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: var(--fs-small); color: #93a3c6; margin-bottom: 20px; }
.crumbs a { color: #d4dcef; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #5d6e98; }
.pagehead .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
@media (max-width: 860px) {
  .pagehead__grid { grid-template-columns: minmax(0, 1fr); }
  .pagehead__text { padding-bottom: 28px; }
  .pagehead__media { min-height: 0; aspect-ratio: 16 / 10; margin: 0 calc(var(--gutter) * -1); }
  .pagehead__media img { border-radius: 0; }
}

/* ---------- Leistungsdetails mit Sprungmarken ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.sprung { position: sticky; top: 108px; }
.sprung h2 { font-size: var(--fs-h3); font-stretch: 104%; margin-bottom: 14px; }
.sprung ul { list-style: none; border-left: 2px solid var(--nebel); }
.sprung a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--text); font-size: .98rem; }
.sprung a:hover { color: var(--nacht); border-left-color: var(--stahl); }
.sprung a.is-active { color: var(--nacht); font-weight: 650; border-left-color: var(--plakette); }
.block { padding: 0 0 clamp(36px, 4vw, 52px); margin-bottom: clamp(36px, 4vw, 52px); border-bottom: 1px solid var(--nebel); }
.block:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.block h2 { font-size: clamp(1.45rem, 1.15rem + 1.1vw, 2rem); font-stretch: 110%; }
.block ul.punkte { list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.punkte li { position: relative; padding-left: 28px; max-width: 64ch; }
.punkte li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--plakette); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--plakette); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 0; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--papier); color: var(--nacht); font-weight: 550; font-size: .95rem; }
@media (max-width: 960px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .sprung { position: static; }
  .sprung ul { display: flex; gap: 8px; overflow-x: auto; border: 0; padding-bottom: 6px; scrollbar-width: thin; margin: 0 calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .sprung li { flex: none; }
  .sprung a { border: 1.5px solid var(--nebel); border-radius: 999px; padding: 8px 14px; margin: 0; white-space: nowrap; }
  .sprung a.is-active { border-color: var(--plakette); }
}

/* Grid einfacher Leistungspunkte (z. B. Grünanlagen) */
.leistungsliste { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--nebel); margin-top: 28px; }
.leistungsliste li { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--nebel); font-weight: 600; color: var(--nacht); font-stretch: 104%; display: flex; gap: 12px; align-items: baseline; }
.leistungsliste li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--plakette); transform: translateY(-1px); }

/* Vorteile-Liste (Brandschutzhelfer) */
.vorteile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 24px 0 0; }
.vorteile li { background: #fff; border: 1px solid var(--nebel); border-radius: var(--radius-m); padding: 18px 20px; color: var(--nacht); font-weight: 560; }
.vorteile li strong { display: block; font-size: 1.6rem; font-stretch: 118%; font-weight: 760; letter-spacing: -0.02em; }
@media (max-width: 640px) { .vorteile { grid-template-columns: minmax(0, 1fr); } }

/* Info-Kasten */
.hinweis { background: var(--papier); border-left: 4px solid var(--plakette); padding: 20px 24px; border-radius: 0 var(--radius-m) var(--radius-m) 0; margin: 24px 0; }
.hinweis h3 { margin-bottom: .3em; }
.hinweis p:last-child { margin-bottom: 0; }

/* Datenblatt (Streugut) */
.datenblatt { width: 100%; border-collapse: collapse; margin: 8px 0 24px; }
.datenblatt th, .datenblatt td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--nebel); vertical-align: top; }
.datenblatt th { width: 44%; font-weight: 500; color: var(--stahl); padding-right: 16px; }
.datenblatt td { color: var(--nacht); font-weight: 650; }

/* Zwei-Spalten-Text */
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .zwei { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 1px solid var(--nebel); }
.faq details { border-bottom: 1px solid var(--nebel); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 650; color: var(--nacht); font-size: 1.08rem; font-stretch: 104%; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--nacht); border-bottom: 2px solid var(--nacht); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; }

/* ---------- Formulare ---------- */
.anfrage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.anfrage__info h2 { margin-bottom: .4em; }
.kontaktwege { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.kontaktwege a, .kontaktwege span { display: inline-flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; font-weight: 600; }
.kontaktwege svg { width: 20px; height: 20px; color: var(--plakette); flex: none; }
.section--nacht .kontaktwege a { color: #fff; }
.section--nacht .kontaktwege a:hover { text-decoration: underline; }

.form { background: #fff; color: var(--text); border-radius: var(--radius-m); padding: clamp(20px, 3.4vw, 40px); }
.section--papier .form { border: 1px solid var(--nebel); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__full { grid-column: 1 / -1; }
.feld label, .feld legend { display: block; font-weight: 600; color: var(--nacht); font-size: .95rem; margin-bottom: 6px; }
.feld .opt { font-weight: 400; color: var(--stahl); }
.feld input, .feld select, .feld textarea {
  width: 100%; font: inherit; color: var(--nacht); background: var(--papier); border: 1.5px solid transparent; border-radius: var(--radius-s);
  padding: 12px 14px; min-height: 48px; transition: border-color .15s, background-color .15s;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:hover, .feld select:hover, .feld textarea:hover { border-color: var(--nebel); }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--nacht); background: #fff; }
.feld input:user-invalid, .feld select:user-invalid { border-color: #b3261e; }
fieldset.feld { border: 0; padding: 0; margin: 0; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.check { position: relative; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--papier); cursor: pointer; font-size: .95rem; color: var(--nacht); border: 1.5px solid transparent; }
.check span::before { content: ""; width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--stahl); background: #fff; flex: none; }
.check input:checked + span { border-color: var(--nacht); background: #fff; }
.check input:checked + span::before { background: var(--nacht) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; border-color: var(--nacht); }
.check input:focus-visible + span { outline: 3px solid var(--plakette); outline-offset: 2px; }
.zustimmung { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.zustimmung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--nacht); flex: none; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.form__foot small { color: var(--stahl); }
.hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 860px) { .anfrage { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Verwandte Leistungen ---------- */
.weitere { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.weitere a { display: grid; grid-template-rows: auto 1fr; gap: 12px; text-decoration: none; color: var(--nacht); }
.weitere img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-m); width: 100%; }
.weitere span { font-weight: 680; font-stretch: 108%; font-size: 1.15rem; }
.weitere a:hover span { text-decoration: underline; text-decoration-color: var(--plakette); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 760px) { .weitere { grid-template-columns: 1fr 1fr; } .weitere a:nth-child(3) { display: none; } }

/* ---------- Kontaktseite ---------- */
.kontakt-karte { background: var(--nacht); color: #d4dcef; border-radius: var(--radius-m); padding: clamp(24px, 3vw, 36px); }
.kontakt-karte h2 { color: #fff; font-size: var(--fs-h3); }
.kontakt-karte address { font-style: normal; line-height: 1.7; margin-bottom: 20px; }
.kontakt-karte .kontaktwege a { color: #fff; }

/* ---------- Rechtstexte ---------- */
.recht { max-width: 760px; }
.recht h2 { font-size: 1.5rem; margin-top: 1.8em; }
.recht h3 { font-size: 1.15rem; margin-top: 1.4em; }
.recht ul { padding-left: 1.2em; margin: 0 0 1em; }
.recht li { margin-bottom: .4em; }
.entwurf { background: #fff4cc; border: 1px solid var(--plakette); color: #5a4500; padding: 16px 20px; border-radius: var(--radius-s); margin-bottom: 32px; }

/* ---------- Fußzeile ---------- */
.footer { background: var(--nacht); color: #aebbd8; padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(200,213,220,.18); }
.footer__cta h2 { color: #fff; margin: 0; max-width: 16ch; }
.footer__cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0; }
.footer h3 { color: #fff; font-size: 1rem; font-stretch: 104%; margin-bottom: 14px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer address { font-style: normal; line-height: 1.75; }
.footer__siegel { display: flex; gap: 12px; margin-top: 20px; }
.footer__siegel span { background: #fff; border-radius: var(--radius-s); padding: 8px 10px; display: grid; place-items: center; }
.footer__siegel img { height: 28px; width: auto; }
.footer__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(200,213,220,.18); font-size: var(--fs-small); }
.footer__unten ul { display: flex; gap: 20px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.social a:hover { box-shadow: inset 0 0 0 1.5px #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* Mobile Schnellleiste */
.schnell { display: none; }
@media (max-width: 640px) {
  .schnell { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .schnell .btn { justify-content: center; box-shadow: 0 10px 28px -10px rgba(28,36,75,.5); }
  body { padding-bottom: 76px; }
}

/* Danke-Seite */
.danke { min-height: 50vh; display: grid; place-items: center; text-align: left; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Feinschliff mobil ---------- */
.index__name { overflow-wrap: break-word; hyphens: manual; }
.kunden { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kunden img { max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.topbar a { white-space: nowrap; }
@media (max-width: 860px) {
  .index__name { font-size: clamp(1.3rem, 0.9rem + 3.2vw, 2rem); font-stretch: 112%; }
  .kunden { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) { .footer h3:empty, .footer h3.leer { display: none; } }
@media (max-width: 520px) {
  .topbar__notdienst .lang { display: none; }
  .fakt strong { font-size: 1.45rem; }
}
