/* HG.MH GmbH – Stylesheet
   Farben laut Planung (07-design.md, F-33) */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/inter-Regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/inter-Medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/inter-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/inter-Bold.woff2") format("woff2"); }

:root {
  --blau: #12355B;
  --blau-dunkel: #0C2540;
  --gruen: #3E9E6B;
  --gruen-dunkel: #2F7D54;
  --grau: #EFEFEF;
  --weiss: #FFFFFF;
  --text: #1F2933;
  --text-leise: #52606D;
  --linie: #DADDE1;
  --radius: 6px;
  --schatten: 0 1px 2px rgba(18, 53, 91, .06), 0 8px 24px rgba(18, 53, 91, .08);
  --max: 1200px;
  --kopf-hoehe: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blau); }
h1, h2, h3, h4 { color: var(--blau); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--blau); color: #fff; padding: 8px 16px; z-index: 1000; }
.skip:focus { left: 8px; }

/* Buttons: Weiß auf Grün nur groß und fett (Kontrast) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 700; font-size: 1.05rem;
  padding: .85em 1.5em; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-gruen { background: var(--gruen); color: #fff; }
.btn-gruen:hover { background: var(--gruen-dunkel); }
.btn-blau { background: var(--blau); color: #fff; }
.btn-blau:hover { background: var(--blau-dunkel); }
.btn-rand { border-color: currentColor; color: var(--blau); background: transparent; }
.btn-rand:hover { background: var(--blau); color: #fff; border-color: var(--blau); }
.btn-hell { border-color: #fff; color: #fff; background: transparent; }
.btn-hell:hover { background: #fff; color: var(--blau); }
.btn svg { width: 1.15em; height: 1.15em; }

.icon { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Kopfbereich ---------- */
.topbar { background: var(--blau-dunkel); color: #fff; font-size: .88rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { text-decoration: underline; }
.topbar .icon { width: 16px; height: 16px; }
.topbar-links { display: flex; gap: 24px; }
.topbar-info { display: inline-flex; align-items: center; gap: 6px; opacity: .9; }

.kopf { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--linie); }
.kopf .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--kopf-hoehe); }

/* Platzhalter-Logo bis das echte Logo da ist (F-32) */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blau); }
.logo-zeichen {
  width: 42px; height: 42px; border-radius: 8px; background: var(--blau); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: .95rem; letter-spacing: .02em; position: relative;
}
.logo-zeichen::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: var(--gruen); border: 2px solid #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 700; font-size: 1.2rem; letter-spacing: .01em; }
.logo-zusatz { font-size: .74rem; color: var(--text-leise); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a, .nav button.nav-link {
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--blau); text-decoration: none;
  padding: 10px 14px; border-radius: var(--radius); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav a:hover, .nav button.nav-link:hover { background: var(--grau); }
.nav a[aria-current="page"] { color: var(--gruen-dunkel); }
.nav .btn { margin-left: 12px; padding: .7em 1.2em; font-size: .98rem; }
.nav .btn:hover { background: var(--gruen-dunkel); }
.nav-pfeil { width: 16px; height: 16px; transition: transform .2s; }

.hat-menue { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(760px, 92vw); background: #fff; border: 1px solid var(--linie); border-radius: 10px;
  box-shadow: var(--schatten); padding: 24px; display: none;
  grid-template-columns: repeat(3, 1fr); gap: 8px 24px;
}
.hat-menue.offen .mega { display: grid; }
.hat-menue.offen .nav-pfeil { transform: rotate(180deg); }
.mega h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-leise); margin: 0 0 8px; font-weight: 600; }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: block; padding: 7px 10px; font-weight: 500; font-size: .95rem; }
.mega-fuss { grid-column: 1 / -1; border-top: 1px solid var(--linie); margin-top: 12px; padding-top: 12px; }
.mega-fuss a { color: var(--gruen-dunkel); font-weight: 600; display: inline-flex; }

.menue-knopf { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--blau); }
.menue-knopf .icon { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--blau); overflow: hidden; }
.hero-bild { position: absolute; inset: 0; }
.hero-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,37,64,.94) 0%, rgba(18,53,91,.86) 42%, rgba(18,53,91,.35) 75%, rgba(18,53,91,.15) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.hero-inhalt { max-width: 640px; }
.hero-slogan { font-size: clamp(2.3rem, 1.4rem + 3.4vw, 3.9rem); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; color: #fff; }
.hero h1 { color: #fff; font-size: clamp(1.1rem, .95rem + .6vw, 1.4rem); font-weight: 600; margin: 0 0 22px; display: flex; align-items: center; gap: 10px; }
.hero h1::before { content: ""; width: 32px; height: 3px; background: var(--gruen); border-radius: 2px; flex: none; }
.hero-text { font-size: 1.12rem; color: rgba(255,255,255,.9); margin-bottom: 32px; max-width: 560px; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-fakten { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 44px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: .98rem; }
.hero-fakten li { display: flex; align-items: center; gap: 10px; }
.hero-fakten .icon { color: #7FD3A4; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 96px 0; }
.abschnitt-grau { background: var(--grau); }
.abschnitt-blau { background: var(--blau); color: #fff; }
.abschnitt-blau h2, .abschnitt-blau h3 { color: #fff; }
.kopfzeile { max-width: 720px; margin-bottom: 48px; }
.kopfzeile.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.dachzeile { display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gruen-dunkel); margin-bottom: 12px; }
.abschnitt-blau .dachzeile { color: #7FD3A4; }
.einleitung { font-size: 1.12rem; color: var(--text-leise); }
.abschnitt-blau .einleitung { color: rgba(255,255,255,.85); }

/* Leistungen: 3 Schwerpunkte groß (F-03), Rest als Icon-Kacheln (F-38) */
.top-leistungen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.top-karte {
  background: #fff; border-radius: 10px; overflow: hidden; box-shadow: var(--schatten);
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s;
}
.top-karte:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(18,53,91,.08), 0 16px 36px rgba(18,53,91,.14); }
.top-karte .bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grau); }
.top-karte .bild img { width: 100%; height: 100%; object-fit: cover; }
.top-karte .inhalt { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.top-karte h3 { font-size: 1.3rem; margin-bottom: 8px; }
.top-karte p { color: var(--text-leise); flex: 1; }
.mehr { font-weight: 700; color: var(--gruen-dunkel); display: inline-flex; align-items: center; gap: 6px; }
.mehr .icon { width: 18px; height: 18px; transition: transform .2s; }
a:hover .mehr .icon { transform: translateX(3px); }

.leistungs-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.leistung {
  background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 22px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s;
}
.leistung:hover { border-color: var(--gruen); box-shadow: var(--schatten); }
.leistung-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(62,158,107,.12); color: var(--gruen-dunkel); display: grid; place-items: center; }
.leistung-icon .icon { width: 26px; height: 26px; }
.leistung h3 { font-size: 1.05rem; margin: 4px 0 0; }
.leistung p { font-size: .93rem; color: var(--text-leise); margin: 0; line-height: 1.55; }
.leistungen-fuss { text-align: center; margin-top: 40px; }

/* Vorteile + Vertrauen */
.vorteile-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.vorteile-bild { position: relative; }
.vorteile-bild img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; width: 100%; }
.erfahrung {
  position: absolute; right: -24px; bottom: 32px; background: var(--gruen); color: #fff; border-radius: 10px;
  padding: 20px 24px; box-shadow: var(--schatten); max-width: 240px;
}
.erfahrung strong { display: block; font-size: 2.6rem; line-height: 1; font-weight: 700; }
.erfahrung span { font-weight: 600; font-size: .98rem; line-height: 1.35; display: block; margin-top: 6px; }
.vorteile-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: 32px 0 0; padding: 0; list-style: none; }
.vorteile-liste li { display: flex; gap: 14px; }
.vorteile-liste .leistung-icon { width: 44px; height: 44px; flex: none; }
.vorteile-liste h3 { font-size: 1.03rem; margin: 0 0 4px; }
.vorteile-liste p { font-size: .93rem; color: var(--text-leise); margin: 0; line-height: 1.55; }

.referenz-band { margin-top: 64px; background: #fff; border-radius: 10px; padding: 28px 32px; display: flex; align-items: center; gap: 32px; box-shadow: var(--schatten); }
.referenz-band p { margin: 0; font-weight: 600; color: var(--blau); font-size: 1.02rem; }
.referenz-gruppen { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.referenz-gruppen li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--grau); font-weight: 600; font-size: .92rem; color: var(--blau); }
.referenz-gruppen .icon { width: 18px; height: 18px; color: var(--gruen-dunkel); }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: schritt; list-style: none; margin: 0; padding: 0; position: relative; }
.schritt { position: relative; padding-top: 8px; }
.schritt-nr {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gruen); color: #fff; font-weight: 700; font-size: 1.35rem;
  display: grid; place-items: center; margin-bottom: 20px; position: relative; z-index: 1;
}
.schritte::before { content: ""; position: absolute; top: 36px; left: 28px; right: calc(33.33% - 28px); height: 2px; background: rgba(255,255,255,.25); }
.schritt h3 { font-size: 1.2rem; }
.schritt p { color: rgba(255,255,255,.85); margin: 0; }

/* Einsatzgebiet */
.gebiet-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.orte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; margin: 0; padding: 0; }
.orte li { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); padding: 10px 14px; font-weight: 500; font-size: .96rem; }
.orte li.haupt { background: var(--blau); border-color: var(--blau); color: #fff; font-weight: 700; }
.orte li.haupt .icon { color: #7FD3A4; }
.orte .icon { width: 18px; height: 18px; color: var(--gruen-dunkel); }
.gebiet-hinweis { font-size: .95rem; color: var(--text-leise); margin-top: 20px; }

/* Versprechen */
.versprechen { position: relative; color: #fff; padding: 112px 0; overflow: hidden; background: var(--blau); }
.versprechen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.versprechen::after { content: ""; position: absolute; inset: 0; background: rgba(12,37,64,.84); }
.versprechen .container { position: relative; z-index: 1; text-align: center; max-width: 820px; }
.versprechen h2 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.8rem); }
.versprechen p { font-size: 1.14rem; color: rgba(255,255,255,.88); }
.versprechen .btn { margin-top: 16px; }

/* SEO-Text */
.seo-text { max-width: 860px; }
.seo-text h2 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.seo-text p { color: var(--text-leise); }
.seo-text strong { color: var(--text); }

/* Kontakt-Kurzformular */
.kontakt-layout { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.kontakt-wege { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.kontakt-wege a, .kontakt-wege div { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--blau); font-weight: 600; }
.kontakt-wege small { display: block; font-weight: 500; color: var(--text-leise); font-size: .86rem; }
.kontakt-wege .leistung-icon { width: 48px; height: 48px; }

.formular { background: #fff; border-radius: 10px; box-shadow: var(--schatten); padding: 36px; }
.formular h3 { font-size: 1.35rem; margin-bottom: 4px; }
.formular .einleitung { font-size: 1rem; margin-bottom: 24px; }
.feld-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-weight: 600; font-size: .92rem; color: var(--blau); }
.feld label .pflicht { color: #B42318; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1.5px solid #C5CBD3; border-radius: var(--radius); padding: 11px 14px; width: 100%;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(18,53,91,.15); }
.einwilligung { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text-leise); margin: 20px 0; }
.einwilligung input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gruen); flex: none; }
.hp-feld { position: absolute; left: -9999px; }
.formular .btn { width: 100%; }
.formular-hinweis { font-size: .85rem; color: var(--text-leise); margin: 14px 0 0; text-align: center; }

/* ---------- Fußbereich ---------- */
.fuss { background: var(--blau-dunkel); color: rgba(255,255,255,.82); padding: 72px 0 0; font-size: .95rem; }
.fuss a { color: rgba(255,255,255,.82); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; }
.fuss h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss .logo { color: #fff; margin-bottom: 18px; }
.fuss .logo-zusatz { color: rgba(255,255,255,.7); }
.fuss .logo-zeichen { background: #fff; color: var(--blau); }
.fuss .logo-zeichen::after { border-color: var(--blau-dunkel); }
.fuss-kontakt li { display: flex; gap: 10px; align-items: flex-start; }
.fuss-kontakt .icon { width: 18px; height: 18px; margin-top: 4px; color: #7FD3A4; }
.fuss-unten { border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.fuss-unten ul { display: flex; gap: 24px; }
.fuss-unten button { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.fuss-unten button:hover { color: #fff; text-decoration: underline; }

/* ---------- Handy-Kontaktleiste (F-10) ---------- */
.handy-leiste { display: none; }

/* ---------- Cookie-Banner (F-31) ---------- */
.cookie {
  position: fixed; left: 24px; bottom: 24px; z-index: 300; max-width: 460px; background: #fff; color: var(--text);
  border-radius: 10px; box-shadow: 0 10px 40px rgba(12,37,64,.25); padding: 24px; font-size: .93rem; display: none;
}
.cookie.zeigen { display: block; }
.cookie h2 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie p { color: var(--text-leise); }
.cookie-knoepfe { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cookie-knoepfe .btn { font-size: .95rem; padding: .7em 1.1em; flex: 1; }

/* Hinweis für Platzhalter in der Konzeptphase */
.platzhalter { background: #FFF4D6; color: #7A5200; border-radius: 4px; padding: 0 4px; font-style: normal; }

/* ---------- Responsiv ---------- */
@media (max-width: 1080px) {
  .leistungs-raster { grid-template-columns: repeat(3, 1fr); }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .erfahrung { right: 16px; }
}
@media (max-width: 960px) {
  .topbar-info { display: none; }
  .menue-knopf { display: inline-flex; }
  .nav { position: fixed; inset: var(--kopf-hoehe) 0 0 0; background: #fff; display: none; flex-direction: column; align-items: stretch; padding: 16px 24px 120px; overflow-y: auto; }
  .nav.offen { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 1.08rem; border-bottom: 1px solid var(--grau); border-radius: 0; }
  .mega { position: static; transform: none; width: 100%; box-shadow: none; border: 0; padding: 8px 0 8px 12px; grid-template-columns: 1fr; }
  .mega a { border-bottom: 0; font-size: 1rem; padding: 8px; }
  .nav .btn { margin: 20px 0 0; justify-content: center; }
  .top-leistungen { grid-template-columns: 1fr 1fr; }
  .top-leistungen .top-karte:last-child { grid-column: 1 / -1; }
  .vorteile-layout, .gebiet-layout, .kontakt-layout { grid-template-columns: 1fr; gap: 48px; }
  .vorteile-bild img { aspect-ratio: 16 / 10; }
  .referenz-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .abschnitt { padding: 64px 0; }
  .topbar { display: none; }
  .hero .container { padding-top: 64px; padding-bottom: 72px; }
  .hero::after { background: linear-gradient(180deg, rgba(12,37,64,.80) 0%, rgba(18,53,91,.92) 100%); }
  .hero-knoepfe .btn { width: 100%; }
  .top-leistungen { grid-template-columns: 1fr; }
  .leistungs-raster { grid-template-columns: 1fr 1fr; gap: 12px; }
  .leistung { padding: 16px; }
  .leistung p { display: none; }
  .vorteile-liste { grid-template-columns: 1fr; }
  .schritte { grid-template-columns: 1fr; gap: 28px; }
  .schritte::before { display: none; }
  .orte { grid-template-columns: 1fr 1fr; }
  .feld-raster { grid-template-columns: 1fr; }
  .formular { padding: 24px; }
  .fuss-raster { grid-template-columns: 1fr; gap: 36px; }
  .erfahrung { position: static; max-width: none; margin-top: -12px; border-radius: 0 0 10px 10px; }
  .vorteile-bild img { border-radius: 10px 10px 0 0; }
  .cookie { left: 12px; right: 12px; bottom: 80px; max-width: none; }
  .handy-leiste {
    display: grid; grid-template-columns: 1fr 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -4px 16px rgba(12,37,64,.1);
  }
  .handy-leiste a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 9px 4px; font-size: .78rem; font-weight: 700; text-decoration: none; color: var(--blau); min-height: 60px; }
  .handy-leiste a.haupt { background: var(--gruen); color: #fff; font-size: .9rem; }
  .handy-leiste .icon { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Button im Menü behält seine Farben */
.nav a.btn-gruen { background: var(--gruen); color: #fff; border-radius: var(--radius); justify-content: center; }
.nav a.btn-gruen:hover { background: var(--gruen-dunkel); }

/* Lange deutsche Wörter auf kleinen Bildschirmen umbrechen */
h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 720px) {
  .leistungs-raster { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .leistung { flex-direction: row; align-items: center; gap: 14px; padding: 14px 16px; }
  .leistung h3 { margin: 0; }
  .leistung-icon { width: 42px; height: 42px; flex: none; }
  .orte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
h1, h2 { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 720px) {
  .orte { gap: 8px; }
  .orte li { padding: 9px 10px; font-size: .9rem; gap: 6px; }
  .orte .icon { width: 16px; height: 16px; }
}

/* =========================================================
   Unterseiten
   ========================================================= */
.seitenkopf { position: relative; color: #fff; background: var(--blau); overflow: hidden; }
.seitenkopf > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,37,64,.95) 0%, rgba(18,53,91,.85) 50%, rgba(18,53,91,.45) 100%); }
.seitenkopf .container { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 72px; }
.seitenkopf.ohne-bild::after { display: none; }
.seitenkopf.ohne-bild .container { padding-top: 40px; padding-bottom: 48px; }
.seitenkopf h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); line-height: 1.1; margin-bottom: 14px; max-width: 760px; }
.seitenkopf .slogan { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; color: #fff; margin: 0 0 14px; display: flex; gap: 10px; align-items: center; }
.seitenkopf .slogan::before { content: ""; width: 32px; height: 3px; background: var(--gruen); border-radius: 2px; flex: none; }
.seitenkopf .einleitung { color: rgba(255,255,255,.88); max-width: 640px; margin-bottom: 28px; }
.seitenkopf .hero-knoepfe { margin-top: 4px; }

.pfad { font-size: .88rem; margin-bottom: 28px; }
.pfad ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pfad li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.pfad a { color: rgba(255,255,255,.85); text-decoration: none; }
.pfad a:hover { color: #fff; text-decoration: underline; }
.pfad [aria-current] { color: #fff; font-weight: 600; }

.inhalt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; align-items: start; }
.fliesstext { max-width: 760px; }
.fliesstext h2 { font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem); margin-top: 1.6em; }
.fliesstext h2:first-child { margin-top: 0; }
.fliesstext h3 { margin-top: 1.4em; }
.fliesstext p, .fliesstext li { color: #3E4C59; }
.fliesstext ul:not(.haken-liste) { padding-left: 1.2em; }

.haken-liste { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.haken-liste li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); font-weight: 500; }
.haken-liste .icon { color: var(--gruen-dunkel); width: 22px; height: 22px; margin-top: 2px; }
.haken-liste.einspaltig { grid-template-columns: 1fr; }

.ziel-box { background: var(--grau); border-left: 4px solid var(--gruen); border-radius: 0 10px 10px 0; padding: 22px 26px; margin: 32px 0; }
.ziel-box strong { color: var(--blau); display: block; margin-bottom: 4px; }
.ziel-box p { margin: 0; color: var(--text); }
.hinweis-box { background: #F3F7FB; border: 1px solid #D5E1EE; border-radius: 10px; padding: 18px 22px; font-size: .94rem; color: var(--text-leise); margin: 24px 0; }

.seitenleiste { position: sticky; top: calc(var(--kopf-hoehe) + 24px); display: grid; gap: 20px; }
.cta-karte { background: var(--blau); color: #fff; border-radius: 10px; padding: 28px; }
.cta-karte h3 { color: #fff; font-size: 1.25rem; }
.cta-karte p { color: rgba(255,255,255,.85); font-size: .96rem; }
.cta-karte .btn { width: 100%; margin-top: 8px; }
.cta-karte .btn + .btn { margin-top: 10px; }
.cta-karte .klein { font-size: .85rem; color: rgba(255,255,255,.7); margin: 14px 0 0; text-align: center; }
.info-karte { border: 1px solid var(--linie); border-radius: 10px; padding: 24px; }
.info-karte h3 { font-size: 1.05rem; }
.info-karte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.info-karte a { text-decoration: none; font-weight: 500; }
.info-karte a:hover { text-decoration: underline; }

.verwandt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.cta-band { background: var(--gruen); color: #fff; padding: 56px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { margin: 0; font-size: 1.08rem; color: rgba(255,255,255,.92); }
.cta-band .hero-knoepfe .btn-blau { background: var(--blau-dunkel); }

/* Leistungsübersicht */
.gruppe { margin-bottom: 64px; }
.gruppe:last-child { margin-bottom: 0; }
.gruppe-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--blau); padding-bottom: 12px; margin-bottom: 28px; }
.gruppe-kopf h2 { margin: 0; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); }
.gruppe-kopf p { margin: 0; color: var(--text-leise); }
.karten-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* Werte, Mission, Vision */
.werte { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.werte li { background: #fff; border-radius: 10px; padding: 24px 20px; box-shadow: var(--schatten); }
.werte .leistung-icon { margin-bottom: 14px; }
.werte h3 { font-size: 1.08rem; margin-bottom: 6px; }
.werte p { font-size: .93rem; color: var(--text-leise); margin: 0; line-height: 1.55; }
.zwei-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.mv-karte { border: 1px solid var(--linie); border-radius: 10px; padding: 32px; background: #fff; }
.mv-karte .dachzeile { margin-bottom: 8px; }
.mv-karte h3 { font-size: 1.4rem; }
.mv-karte p { color: var(--text-leise); }
.bild-text { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bild-text img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.zahlen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.zahl { border-top: 3px solid var(--gruen); padding-top: 12px; }
.zahl strong { display: block; font-size: 1.8rem; color: var(--blau); line-height: 1.1; }
.zahl span { font-size: .92rem; color: var(--text-leise); }

/* Karriere */
.taetigkeiten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.taetigkeiten li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 16px 18px; font-weight: 600; color: var(--blau); }
.taetigkeiten .leistung-icon { width: 40px; height: 40px; }

/* Kontakt: Karte mit 2-Klick-Lösung (F-28) */
.karte-box { position: relative; border-radius: 10px; overflow: hidden; background: #DDE5EE; aspect-ratio: 16 / 9; min-height: 260px; }
.karte-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-hinweis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 12px;
  background: repeating-linear-gradient(45deg, #E4EAF1 0 14px, #DCE3EB 14px 28px); }
.karte-hinweis p { max-width: 460px; font-size: .92rem; color: var(--text-leise); margin: 0; }
.karte-hinweis .icon { width: 40px; height: 40px; color: var(--blau); }

/* Rechtstexte */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2em; }
.rechtstext h3 { font-size: 1.08rem; margin-top: 1.5em; }
.rechtstext p, .rechtstext li { color: #3E4C59; }
.entwurf-hinweis { background: #FFF4D6; border: 1px solid #F0D48A; color: #6B4A00; border-radius: 10px; padding: 16px 20px; font-size: .94rem; margin-bottom: 32px; }

@media (max-width: 1080px) {
  .werte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inhalt-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
}
@media (max-width: 960px) {
  .inhalt-layout, .bild-text, .zwei-spalten { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .seitenleiste { position: static; }
  .karten-raster, .verwandt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .taetigkeiten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .seitenkopf .container { padding-top: 32px; padding-bottom: 48px; }
  .seitenkopf::after { background: linear-gradient(180deg, rgba(12,37,64,.82) 0%, rgba(18,53,91,.93) 100%); }
  .haken-liste { grid-template-columns: minmax(0, 1fr); }
  .karten-raster, .verwandt, .werte, .taetigkeiten, .zahlen { grid-template-columns: minmax(0, 1fr); }
  .gruppe-kopf { flex-direction: column; gap: 4px; }
  .cta-band .hero-knoepfe { width: 100%; }
  .mv-karte { padding: 24px; }
}
.taetigkeiten li, .haken-liste li { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Echtes Logo (Logo-Ordner, bereinigte SVG) */
.logo img { height: 56px; width: auto; display: block; }
.fuss .logo img { height: 72px; }
@media (max-width: 720px) { .logo img { height: 48px; } }

/* Leistungsmenü mit 4 Gruppen */
.mega { width: min(980px, 94vw); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (min-width: 961px) { .hat-menue .mega { left: auto; right: -260px; transform: none; } }

/* Objektarten */
.objekte { margin-top: 40px; background: #fff; border-radius: 10px; padding: 28px 32px; box-shadow: var(--schatten); }
.objekte h3 { font-size: 1.1rem; margin-bottom: 16px; }
.objekte ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 24px; }
.objekte li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--blau); font-size: .96rem; }
.objekte .icon { color: var(--gruen-dunkel); width: 22px; height: 22px; }

/* Karte ohne Foto */
.top-karte .bild.ohne-foto { display: grid; place-items: center; background: linear-gradient(135deg, var(--blau) 0%, #1D4B7A 100%); color: #7FD3A4; }
.top-karte .bild.ohne-foto .icon { width: 64px; height: 64px; stroke-width: 1.4; }

@media (max-width: 960px) { .objekte ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .objekte { padding: 22px; } .objekte ul { grid-template-columns: minmax(0, 1fr); } .leistungs-raster { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 721px) and (max-width: 1080px) { .leistungs-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
