/* S&E engineering – Basis-Stylesheet (Phase 1) */

@font-face {
  font-family: "Raleway";
  src: url("../fonts/raleway-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0f3f52;
  --navy-deep: #0b2e3d;
  --blue: #00537f;
  --steel: #2a7896; /* Textkontrast >= 4,5:1 auf Weiß und auf --bg */
  --cta: #006da3;
  --cta-hover: #00577f;
  --bg: #f6f9fb;
  --surface: #ffffff;
  --text: #16303f;
  --muted: #4a626f;
  --border: #dbe6ec;
  --radius: 0px; /* Test nach Marktführer-Vorbild (Siemens & Co.): 90°-Ecken. Rückbau: wieder 10px */
  --shadow: 0 2px 16px rgba(15, 63, 82, 0.08);
  --shadow-lift: 0 10px 28px rgba(15, 63, 82, 0.14);
  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Raleway", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "lnum" 1; /* Raleway: Versalziffern statt Mediävalziffern (Zahlen bündig) */
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.2; color: var(--navy); letter-spacing: -0.015em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }

.section { padding: 72px 0; }
.section--alt { background: var(--bg); border-block: 1px solid var(--border); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--steel); margin-bottom: 10px;
}
.section-head p { color: var(--muted); margin-top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 0; border: 0;
  font: 600 1rem "Raleway", sans-serif; text-decoration: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.btn-primary { background: var(--cta); color: #fff; }
.btn-primary:hover { background: var(--cta-hover); transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.65); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 60px; width: auto; }

.main-nav ul { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  text-decoration: none; color: var(--text); font-weight: 500; font-size: 0.97rem;
  padding: 8px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--steel); }
.nav-cta { margin-left: 6px; }
.nav-cta .btn { padding: 9px 18px; font-size: 0.9rem; border-radius: 0; }
/* Nav-CTA bewusst zurückhaltend: Outline statt Farbfläche */
.nav-cta .btn-primary { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.nav-cta .btn-primary:hover { background: var(--navy); color: #fff; transform: none; box-shadow: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.has-dropdown > a::after { content: " ▾"; font-size: 0.7em; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: -12px; min-width: 320px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
  transition-delay: 0.3s; /* Schließverzögerung: Panel bleibt beim Überfahren der Lücke offen */
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; } /* unsichtbare Hover-Brücke über die Lücke */
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown a {
  display: block; padding: 10px 14px; border-radius: 0; border: 0; font-weight: 500;
}
.dropdown a:hover { background: var(--bg); border: 0; }
.dropdown .soon { color: var(--muted); cursor: default; }
.dropdown .soon:hover { background: none; color: var(--muted); }
.dropdown .soon .tag {
  font-size: 0.7rem; font-weight: 700; color: var(--steel);
  border: 1px solid var(--steel); border-radius: 99px; padding: 1px 8px; margin-left: 8px;
}

/* Sprach-Dropdown */
.lang-switch > a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.lang-switch svg { width: 16px; height: 16px; }
.lang-switch .dropdown { min-width: 150px; left: auto; right: -8px; }
.lang-switch .dropdown a[aria-current="true"] { color: var(--blue); font-weight: 600; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.25s, background 0.3s; }

/* ---------- Transparenter Header über dem Hero (nur Startseiten) ---------- */
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.has-hero .site-header.solid { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); border-bottom-color: var(--border); }
.has-hero .site-header:not(.solid) .burger span { background: #fff; }
@media (min-width: 769px) {
  .has-hero .site-header:not(.solid) .main-nav > ul > li > a { color: #fff; }
  .has-hero .site-header:not(.solid) .main-nav > ul > li > a:hover,
  .has-hero .site-header:not(.solid) .main-nav > ul > li > a[aria-current="page"] { color: #8fd0e8; border-bottom-color: rgba(143, 208, 232, 0.7); }
  .has-hero .site-header:not(.solid) .lang-switch > a { color: rgba(255, 255, 255, 0.88); }
  .has-hero .site-header:not(.solid) .nav-cta .btn-primary { color: #fff; border-color: rgba(255, 255, 255, 0.75); }
  .has-hero .site-header:not(.solid) .nav-cta .btn-primary:hover { background: rgba(255, 255, 255, 0.15); }
}
main section[id] { scroll-margin-top: 90px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 76vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy-deep) url("../img/hero-poster.webp") center/cover no-repeat;
}
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 61, 0.45) 0%, rgba(11, 46, 61, 0.65) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 860px; margin-inline: auto; padding: 96px 0 72px; text-align: center; }
.hero-kicker { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 4.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em;
  max-width: 900px; margin-inline: auto;
}
.hero h1 .accent { color: #8fd0e8; }
.hero .sub { margin: 16px auto 30px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); font-weight: 500; color: rgba(255, 255, 255, 0.95); max-width: 680px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.hero-phone { color: #fff; text-decoration: none; font-weight: 600; opacity: 0.95; }
.hero-phone:hover { text-decoration: underline; }

/* ---------- Trust bar ---------- */
.trust { background: var(--navy); color: #fff; padding: 34px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.trust b { display: block; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; }
.trust span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Raster (Leistungen/Branchen) ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }


/* ---------- Leistungs-Bildkacheln (Startseite) ---------- */
.service-tile {
  position: relative; display: flex; align-items: flex-end;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  text-decoration: none; background-size: cover; background-position: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.service-tile::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 46, 61, 0.05) 30%, rgba(11, 46, 61, 0.85) 100%);
  transition: background 0.25s;
}
/* Hover nach Siemens-Vorbild: deutlicher Lift, Schatten, Titel unterstrichen */
.service-tile:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(15, 63, 82, 0.28); }
.service-tile:hover::before { background: linear-gradient(180deg, rgba(11, 46, 61, 0.15) 20%, rgba(11, 46, 61, 0.92) 100%); }
.service-tile:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.75); }
.service-tile .tile-content {
  position: relative; z-index: 2; padding: 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; width: 100%;
}
.service-tile h3 { color: #fff; font-size: 1.1rem; line-height: 1.3; overflow-wrap: break-word; hyphens: manual; min-width: 0; }
/* Schlichter Pfeil ohne Kreis, per Schatten auf jedem Bild sichtbar */
.service-tile .arrow {
  flex-shrink: 0; color: #fff; display: grid; place-items: center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
  transition: transform 0.2s;
}
.service-tile .arrow svg { width: 26px; height: 26px; }
.service-tile:hover .arrow { transform: translateX(5px); }

/* ---------- Branchen ---------- */
.branche { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 0 24px; overflow: hidden; }
.branche img { width: 100%; height: 220px; object-fit: cover; display: block; margin-bottom: 18px; }
.branche h3 { margin-bottom: 8px; padding: 0 24px; }
.branche p { color: var(--muted); font-size: 0.95rem; padding: 0 24px; }

/* ---------- Lead-Magnet ---------- */
.leadmagnet { background: var(--navy-deep); color: #fff; }
.leadmagnet .inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.leadmagnet h2 { color: #fff; }
.leadmagnet p { color: rgba(255, 255, 255, 0.88); margin-top: 12px; }
.leadmagnet ul { margin-top: 14px; display: grid; gap: 8px; }
.leadmagnet li { padding-left: 26px; position: relative; color: rgba(255, 255, 255, 0.92); font-size: 0.96rem; }
.leadmagnet li::before { content: "✓"; position: absolute; left: 0; color: #7fd3a8; font-weight: 700; }
.gate-form { background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); padding: 26px; }
.gate-form label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
.gate-form input {
  width: 100%; padding: 12px 14px; border-radius: 0; border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.95); font: inherit; margin-bottom: 14px;
}
.gate-form .btn { width: 100%; justify-content: center; }
.gate-form .note { font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); margin-top: 10px; }
.gate-success { display: none; text-align: center; padding: 12px 0; }
.gate-success.show { display: block; }

/* ---------- Team ---------- */
.team-grid { display: flex; gap: 18px; }
.member { position: relative; text-align: center; flex: 1 1 0; min-width: 0; }
/* Hover-Konzept ohne Layout-Shift: Foto der aktiven Karte zoomt, die übrigen treten leicht zurück */
.member .photo { position: relative; overflow: hidden; border-radius: var(--radius); }
/* Nur das Bild zoomt; das Kontakt-Overlay bleibt unskaliert und damit gestochen scharf.
   Kurze Dauer + will-change: die weiche Skalierungsphase ist kaum wahrnehmbar */
.member .photo img { width: 100%; height: 265px; object-fit: cover; background: #eef3f6; transition: transform 0.4s ease-out; will-change: transform; backface-visibility: hidden; }
.member:hover .photo img, .member:focus-within .photo img { transform: scale(1.04); }
.member h3 { margin-top: 12px; font-size: 0.98rem; }
.member .role { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
/* Kontakt erscheint als Overlay unten auf dem Foto */
.member-contact {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 10px 12px;
  background: linear-gradient(180deg, rgba(11, 46, 61, 0) 0%, rgba(11, 46, 61, 0.88) 60%);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.member:hover .member-contact, .member:focus-within .member-contact { opacity: 1; transform: none; }
.member-contact .copy-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 6px; }
.member-contact .copy-row:first-child { margin-top: 0; }
.member-contact a { display: inline-block; padding: 5px 2px; color: #fff; font-size: 0.8rem; font-weight: 600; text-decoration: none; min-width: 0; line-height: 1.35; white-space: nowrap; }
/* E-Mail: Name und Domain untereinander, nie mitten im Wort getrennt */
.member-contact a[href^="mailto"] { white-space: normal; font-size: 0.74rem; text-align: center; }
.member-contact .mail-user, .member-contact .mail-host { display: block; white-space: nowrap; }
.member-contact a:hover { text-decoration: underline; }
/* Copy-Button: Nummer/Mail mit einem Klick in die Zwischenablage */
.copy-btn {
  position: relative; flex-shrink: 0; display: inline-grid; place-items: center; width: 30px; height: 30px;
  background: rgba(255, 255, 255, 0.16); border: 0; color: #fff; cursor: pointer;
  transition: background 0.2s;
}
.copy-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
.copy-btn:hover { background: rgba(255, 255, 255, 0.32); }
.copy-btn .copied-note { display: none; color: #a5e8b6; font-weight: 700; font-size: 0.8rem; }
.copy-btn.copied svg { display: none; }
.copy-btn.copied .copied-note { display: block; }

/* ---------- Referenzen ---------- */
/* Referenz-Laufband: rotiert automatisch, per Maus/Touch verschiebbar */
.logo-marquee {
  overflow: hidden; margin-top: 36px; cursor: grab; touch-action: pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-marquee.dragging { cursor: grabbing; }
.marquee-track { display: flex; align-items: center; width: max-content; padding: 8px 0; will-change: transform; }
.marquee-track img {
  height: 52px; width: auto; max-width: 170px; object-fit: contain; flex-shrink: 0;
  margin-right: 60px; /* statt gap: so ist die halbe Trackbreite exakt eine Schleifen-Periode */
  filter: grayscale(1) contrast(1.2); opacity: 1; transition: filter 0.25s, opacity 0.25s;
  user-select: none; -webkit-user-drag: none;
}
.marquee-track img:hover { filter: none; opacity: 1; }
.quotes {
  margin: 48px 0 0; padding-top: 40px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.quote { margin: 0; text-align: center; }
.quote blockquote { margin: 0; font-size: 1.02rem; font-weight: 500; color: var(--navy); line-height: 1.55; }
.quote figcaption { display: block; margin-top: 14px; font-style: normal; color: var(--navy); font-size: 0.92rem; font-weight: 600; }
.quote figcaption span { display: block; margin-top: 2px; color: var(--muted); font-weight: 400; font-size: 0.82rem; }
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Karriere (links Text, rechts Ausschreibungen) ---------- */
/* Karriere: Teamfoto als dezenter Geist-Hintergrund (Versuch; bei Nichtgefallen ::before entfernen) */
.careers { position: relative; background: var(--bg); border-block: 1px solid var(--border); }
.careers::before {
  content: ""; position: absolute; inset: 0;
  background: url("../img/karriere-team.webp") center 30%/cover no-repeat;
  opacity: 0.09;
}
.careers > .container { position: relative; z-index: 2; }
.careers-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.careers-layout .lead h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.careers-layout .lead p { color: var(--muted); margin: 14px 0 26px; }
.jobs-list { display: grid; }
.job-row {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 20px 4px; border-bottom: 1px solid var(--border); text-decoration: none;
  transition: padding 0.2s;
}
.job-row:first-child { border-top: 1px solid var(--border); }
.job-row:hover { padding-left: 10px; }
.job-row .job-title { color: var(--navy); font-weight: 600; font-size: 1.05rem; line-height: 1.35; }
.job-row .job-meta { display: block; margin-top: 4px; }
.job-meta {
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--steel);
}
.job-row .arrow {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  background: var(--cta); color: #fff; display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s;
}
.job-row:hover .arrow { background: var(--cta-hover); transform: translateX(3px); }
@media (max-width: 768px) { .careers-layout { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Kontakt ---------- */
/* Kontakt: Karte links, überlappende Kontaktkarte rechts (wie Altseite) */
.contact-overlap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; }
.contact-map {
  position: relative; display: block; height: 660px;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.map-canvas { position: absolute; top: 0; left: 0; width: 1792px; height: 1280px; will-change: transform; }
.map-canvas img { width: 1792px; height: 1280px; max-width: none; display: block; user-select: none; -webkit-user-drag: none; }
.contact-map .map-pin {
  position: absolute; left: 942px; top: 611px; width: 26px; height: 26px;
  transform: translate(-50%, -100%) rotate(-45deg);
  background: #d33; border-radius: 50% 50% 50% 0; border: 3px solid #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
}
.contact-map .map-hint {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, 0.95); color: var(--blue);
  font-size: 0.85rem; font-weight: 600; padding: 8px 14px; border-radius: 0;
}
.contact-map .map-attribution {
  position: absolute; right: 6px; bottom: 6px; font-size: 0.72rem;
  color: rgba(22, 48, 63, 0.7); background: rgba(255, 255, 255, 0.75); padding: 1px 6px; border-radius: 4px;
}
/* Zwei-Klick-Lösung: dunkles Overlay über der Karte, Google Maps erst nach Klick (DSGVO) */
.contact-map .map-load {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center; align-content: start; padding-top: 58px; gap: 6px;
  padding-right: 84px; /* Kontaktkarte überlappt rechts: Text auf den sichtbaren Bereich zentrieren */
  background: rgba(11, 46, 61, 0.55); color: #fff; border: 0; cursor: pointer;
  font: 700 1.2rem "Raleway", "Segoe UI", sans-serif; text-align: center;
  transition: background 0.25s;
}
.contact-map .map-load:hover, .contact-map .map-load:focus-visible { background: rgba(11, 46, 61, 0.4); }
.contact-map .map-load span { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.85; max-width: 320px; }
.contact-map .map-hint { z-index: 4; }
.contact-map .map-attribution { z-index: 4; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.contact-map.embedded { cursor: default; touch-action: auto; }
/* Honeypot-Feld: für Menschen unsichtbar, für Spam-Bots verlockend */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }

/* ---------- Consent-Banner ---------- */
.consent-banner {
  position: fixed; left: 18px; bottom: 18px; z-index: 200; max-width: 390px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 20px 22px; font-size: 0.88rem;
}
.consent-banner .consent-title { font-weight: 700; color: var(--navy); margin-bottom: 6px; font-size: 1rem; }
.consent-banner p { color: var(--muted); margin-bottom: 10px; }
.consent-banner label { display: block; margin: 6px 0; cursor: pointer; }
.consent-banner input { margin-right: 8px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.consent-actions .btn { padding: 8px 14px; font-size: 0.85rem; }
.consent-none { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 0.82rem; text-decoration: underline; font-family: inherit; }
.consent-none:hover { color: var(--text); }
.footer-bottom .consent-open { color: inherit; }
@media (max-width: 768px) { .consent-banner { left: 12px; right: 12px; bottom: 12px; max-width: none; } }
.contact-card {
  position: relative; z-index: 6; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 38px 40px; margin: 40px 0 40px -84px;
  transition: transform 0.5s cubic-bezier(0.45, 0.05, 0.2, 1);
}
/* Klick auf die Karte: Kontaktkarte weicht nach rechts aus, Karte wird ganz sichtbar */
.contact-overlap.map-focus .contact-card { transform: translateX(84px); }
.contact-card h2 { margin: 6px 0 10px; font-size: clamp(1.9rem, 3.6vw, 2.5rem); }
.contact-card .card-lede { color: var(--muted); margin-bottom: 22px; }
.contact-meta { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }
.contact-meta a { font-weight: 600; text-decoration: none; }
.contact-meta a:hover { text-decoration: underline; }
.contact-form { display: grid; gap: 14px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form label { font-size: 0.88rem; font-weight: 600; display: block; margin-bottom: 5px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 0;
  font: inherit; background: var(--surface); transition: border-color 0.2s;
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible { border-color: var(--steel); outline: 2px solid var(--steel); outline-offset: 2px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--steel); }
.form-note { font-size: 0.8rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.85); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer li { margin-bottom: 8px; font-size: 0.93rem; }
.footer-brand img { height: 76px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 0.9rem; max-width: 300px; }
.footer-social { margin-top: 18px; }
.footer-social a {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 0;
  background: rgba(255, 255, 255, 0.12); transition: background 0.2s;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.25); }
.footer-social svg { width: 20px; height: 20px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); margin-top: 40px; padding-top: 20px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- Unterseiten ---------- */
.page-hero { background: linear-gradient(100deg, var(--navy-deep) 0%, var(--navy) 70%, var(--blue) 100%); color: #fff; padding: 72px 0 56px; }
.page-hero--img { position: relative; background-size: cover; background-position: center; padding: 88px 0 64px; }
.page-hero--img::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11, 46, 61, 0.92) 0%, rgba(15, 63, 82, 0.82) 55%, rgba(0, 83, 127, 0.62) 100%);
}
.page-hero--img .container { position: relative; z-index: 2; }
.page-hero .breadcrumb { font-size: 0.85rem; margin-bottom: 18px; }
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; max-width: 820px; }
.page-hero .lede { margin-top: 18px; max-width: 720px; color: rgba(255, 255, 255, 0.9); font-size: 1.08rem; }
/* Zentrierte Variante der Leistungsseiten-Heros */
.page-hero--center .container { text-align: center; }
.page-hero--center h1, .page-hero--center .lede { margin-inline: auto; }

/* Hervorgehobenes Statement auf Leistungsseiten (redaktionell, ohne Kasten) */
.approach { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--border); }
.approach .kicker { margin-bottom: 6px; }
.approach p { color: var(--navy); font-size: 1.08rem; font-weight: 500; line-height: 1.6; }

/* Leistungsumfang als Verzeichnis-Zeilen (statt Karten) */
.scope-list { max-width: 1000px; margin: 0 auto; }
.scope-item {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 10px 48px; padding: 26px 2px; border-top: 1px solid var(--border);
}
.scope-item:last-child { border-bottom: 1px solid var(--border); }
.scope-item h3 { font-size: 1.08rem; line-height: 1.4; position: relative; padding-left: 26px; }
.scope-item h3::before {
  content: ""; position: absolute; left: 4px; top: 0.42em;
  width: 8px; height: 8px; border-radius: 2px; background: var(--steel);
}
.scope-item p { color: var(--muted); font-size: 0.97rem; max-width: 62ch; }

.prose { max-width: 780px; }
.prose--center { margin-left: auto; margin-right: auto; }
.prose p { margin-bottom: 16px; }
.prose ul { margin: 0 0 16px 0; display: grid; gap: 8px; }
.prose li { padding-left: 26px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--steel); }

/* Bild-Text-Intro auf Leistungsseiten */
.intro-split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px; align-items: center; }
.intro-split img { border-radius: var(--radius); box-shadow: var(--shadow-lift); width: 100%; height: auto; }
.intro-split .approach { margin-top: 22px; }
@media (max-width: 768px) { .intro-split { grid-template-columns: 1fr; } }

/* Ablauf-Schritte */
.steps { counter-reset: step; display: grid; gap: 16px; max-width: 780px; margin-left: auto; margin-right: auto; list-style: none; }
.steps li {
  position: relative; padding: 18px 22px 18px 66px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 0.95rem;
}
.steps b { color: var(--navy); }

/* Entscheidungstabelle */
.decision-table { overflow-x: auto; margin-top: 24px; }
.decision-table table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.decision-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; }
.decision-table td { padding: 12px 14px; border: 1px solid var(--border); }
.decision-table tr:nth-child(even) td { background: var(--bg); }
.yes { color: #1e7a46; font-weight: 700; }
.no { color: #a13030; font-weight: 700; }

/* FAQ */
.faq { max-width: 780px; margin-left: auto; margin-right: auto; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; background: var(--surface); overflow: hidden; }
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--steel); transition: transform 0.2s; flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
/* Antwort blendet kurz und unaufdringlich ein */
.faq details[open] .answer { animation: faq-in 0.28s ease-out; }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}

/* Ansprechpartner-Block */
.expert-band { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.expert-band img { width: 96px; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: top; }
.expert-band .who b { display: block; color: var(--navy); font-size: 1.05rem; }
.expert-band .who span { color: var(--muted); font-size: 0.9rem; }
.expert-band .actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* CTA-Band */
.cta-band {
  position: relative; color: #fff; text-align: center;
  background: var(--navy) url("../img/cta-inntal.webp") center/cover no-repeat;
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: rgba(11, 46, 61, 0.78); }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 26px; }

/* ---------- Über-uns: Imagevideo ---------- */
.video-frame { max-width: 920px; margin: 0 auto; box-shadow: var(--shadow-lift); background: var(--navy-deep); }
.video-frame video { width: 100%; height: auto; display: block; }

/* ---------- Branchen: gestaffeltes Einblenden + dezenter Bild-Zoom ---------- */
.grid-3 .branche:nth-child(2) { transition-delay: 0.15s; }
.grid-3 .branche:nth-child(3) { transition-delay: 0.3s; }
/* translateZ hält das Bild dauerhaft auf einer GPU-Ebene: kein Ruckler am Zoom-Ende */
.branche img { transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1); transform: translateZ(0); backface-visibility: hidden; }
.branche:hover img { transform: scale(1.04) translateZ(0); }

/* ---------- Infoblatt-Gate: Fehlermeldung ---------- */
.gate-error { display: none; color: #ffd2d2; font-size: 0.85rem; margin-top: 8px; }
.gate-error.show { display: block; }
.gate-form input[aria-invalid="true"] { border-color: #e08a8a; }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Interaktions-Overrides (müssen NACH .reveal stehen, sonst blockiert
   die Reveal-Regel die Hover-Transformationen und -Transitions) ---------- */
.member { transition: opacity 0.45s ease-out, transform 0.45s ease-out; }
/* Spotlight-Effekt: nicht gehoverte Teamkarten treten dezent zurück, nichts verschiebt sich */
.team-grid:hover .member:not(:hover):not(:focus-within) { opacity: 0.65; }
.service-tile { transition: opacity 0.45s ease-out, transform 0.25s, box-shadow 0.25s; }
.service-tile:hover { transform: translateY(-8px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { flex-wrap: wrap; }
  .member { flex: 1 1 30%; }
}
@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0; background: var(--surface);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lift);
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 480px; overflow-y: auto; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 20px; }
  .main-nav a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--border); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }
  .burger { display: block; }
  .burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .hero-content { padding: 70px 0 56px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  /* Tippflaechen auf dem Handy vergroessern (Footer-Links waren 17px hoch) */
  .site-footer li { margin-bottom: 2px; }
  .site-footer li a { display: inline-block; padding: 9px 0; }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
  .btn { min-height: 44px; }
  .contact-map .map-hint { padding: 11px 14px; }
  .scope-item { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  /* Leistungs-Kacheln mobil: flaches 16:9 statt Hochformat */
  .service-tile { aspect-ratio: 16 / 9; }
  .leadmagnet .inner, .contact-overlap, .footer-grid { grid-template-columns: 1fr; }
  .contact-map { height: 380px; }
  .contact-map .map-load { padding-right: 0; }
  .contact-card { margin: -56px 14px 0; padding: 28px 22px; }
  /* Kontaktkarte weicht mobil nach UNTEN aus (nicht zur Seite) */
  .contact-overlap.map-focus .contact-card { transform: translateY(64px); }
  .team-grid { flex-wrap: wrap; }
  .member { flex: 1 1 42%; }
  /* Benedikt (erstes Team-Mitglied, Geschäftsführung) mobil prominent in voller Breite */
  .member:first-child { flex: 1 1 100%; }
  .member:first-child .photo img { height: 300px; object-position: top; }
  /* Bei ungerader Restzahl: letzte Karte nicht auf volle Breite strecken */
  .member:last-child:nth-child(even) { flex-grow: 0; }
  /* Touch: kein Hover, Overlay fix sichtbar, kein Spotlight */
  .team-grid:hover .member:not(:hover):not(:focus-within) { opacity: 1; }
  /* Auf dem Handy dauerhaft sichtbar, daher kompakt halten: verdeckt sonst das halbe Foto */
  .member-contact { opacity: 1; transform: none; padding: 18px 6px 8px; }
  .member-contact a { font-size: 0.66rem; padding: 2px 1px; }
  .member-contact .copy-row { gap: 3px; margin-top: 1px; }
  .copy-btn { width: 22px; height: 22px; }
  .copy-btn svg { width: 12px; height: 12px; }
  .copy-btn .copied-note { font-size: 0.68rem; }
  .contact-form .row { grid-template-columns: 1fr; }
}

/* ---------- Leistungs-Akkordeon Startseite (6 Kacheln) ----------
   Desktop: schmale Kacheln nebeneinander, die gehoverte/fokussierte Kachel wird
   breiter und zeigt das ganze Bild. Steht am Dateiende, damit es .reveal und die
   Grid-/Tile-Regeln oben sicher überschreibt. */
.service-accordion { display: flex; gap: 14px; height: 460px; }
.service-accordion .service-tile {
  flex: 1 1 0; min-width: 0; aspect-ratio: auto; height: 100%;
  transition: flex-grow 0.55s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s, opacity 0.45s ease-out, transform 0.45s ease-out;
}
.service-accordion .service-tile:hover,
.service-accordion .service-tile:focus-visible { flex-grow: 2; transform: none; box-shadow: 0 18px 40px rgba(15, 63, 82, 0.28); }
.service-accordion .service-tile .tile-content { padding: 20px 16px; transition: opacity 0.35s 0.1s; }
.service-accordion .service-tile h3 { font-size: 0.98rem; overflow-wrap: normal; }
/* Pfeil erst beim Hover, damit schmale Kacheln die volle Breite für den Titel haben */
.service-accordion .service-tile .arrow { opacity: 0; transition: opacity 0.3s, transform 0.2s; }
.service-accordion .service-tile:hover .arrow,
.service-accordion .service-tile:focus-visible .arrow { opacity: 1; }
/* Während eine Kachel aufgeht, blenden die schmal gewordenen Kacheln ihren Text kurz aus
   (sonst bricht der Titel buchstabenweise um) */
.service-accordion:hover .service-tile:not(:hover) .tile-content { opacity: 0; transition: opacity 0.15s; }
@media (max-width: 1100px) {
  .service-accordion { display: grid; grid-template-columns: repeat(2, 1fr); height: auto; }
  .service-accordion .service-tile { aspect-ratio: 4 / 3; height: auto; }
  .service-accordion .service-tile:hover { transform: translateY(-4px); }
  .service-accordion .service-tile .arrow,
  .service-accordion:hover .service-tile:not(:hover) .tile-content { opacity: 1; }
}
@media (max-width: 768px) {
  .service-accordion { grid-template-columns: 1fr; }
  .service-accordion .service-tile { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) {
  .service-accordion .service-tile { transition: none; }
}

/* Ohne JavaScript: Einblend-Effekte aus, alle Inhalte sofort sichtbar */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Kontaktformular: Fehlermeldungen direkt am Feld */
.contact-form .field-error { color: #b3261e; font-size: 0.82rem; margin-top: 4px; }
.contact-form .field-error:empty { display: none; }
.contact-form [aria-invalid="true"] { border-color: #b3261e; }
.contact-form .form-status { margin-top: 10px; font-weight: 600; color: var(--navy, #0f3a52); }

/* ---------- Karriere: Stellen-Zeilen + Stellen-Unterseiten ---------- */
.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-top: 16px; scroll-margin-top: 110px; overflow: hidden; }
.job-card-title { display: block; font-size: 1.2rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.job-card-meta { display: block; color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.job-card-toggle { flex-shrink: 0; display: flex; align-items: center; gap: 10px; color: var(--steel); font-size: 0.9rem; font-weight: 600; }
.job-card-toggle::after { content: "+"; font-size: 1.35rem; line-height: 1; transition: transform 0.2s; }
.job-card-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: none; }
.job-card-cols h4 { font-size: 1rem; margin-bottom: 10px; color: var(--navy); }
.job-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
/* Übersicht: Stellen als Link-Zeilen zur jeweiligen Unterseite */
.job-card-link {
  padding: 24px 28px; color: inherit; text-decoration: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  transition: background 0.2s;
}
.job-card-link:hover { background: var(--bg); }
.job-card-link:focus-visible { outline: 2px solid var(--steel); outline-offset: -2px; }
.job-card-link .job-card-toggle::after { content: "→"; }
.job-card-link:hover .job-card-toggle::after { transform: translateX(3px); }

/* Stellen-Unterseite */
.page-hero .job-hero-meta { margin-top: 10px; font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.job-detail { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 36px 36px; }
.job-detail h2 { font-size: 1.25rem; margin-bottom: 14px; color: var(--navy); }
.job-detail .prose li > ul { margin: 8px 0 0; }
.job-detail .prose li > ul li::before { opacity: 0.45; }
.job-detail-benefits { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); max-width: none; }
.job-detail .job-card-actions { margin-top: 26px; }
.job-detail-note { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.cta-band p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-band .cta-sign { margin: 22px auto 0; color: #fff; font-weight: 700; }

@media (max-width: 768px) {
  .job-card-link { padding: 20px; gap: 12px; }
  .job-detail { padding: 22px 20px 26px; }
  .job-card-title { font-size: 1.05rem; }
  .job-card-toggle { font-size: 0; gap: 0; }
  .job-card-toggle::after { font-size: 1.5rem; }
  .job-card-cols { grid-template-columns: 1fr; gap: 8px; }
}

.form-status--error { color: #b3261e; }

/* ---------- Korrekturen aus Bug-Gutachten 1 (02.10.2026) ---------- */
/* Lange Komposita in Überschriften dürfen nie aus dem Bild laufen */
h1, h2, h3 { overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 420px) { .page-hero h1 { font-size: 1.65rem; } }

/* Geschlossenes Mobilmenü ist für Tastatur und Screenreader nicht erreichbar */
@media (max-width: 768px) {
  .main-nav { visibility: hidden; transition: max-height 0.3s ease, visibility 0s linear 0.3s; }
  .main-nav.open { visibility: visible; transition: max-height 0.3s ease, visibility 0s; }
}

/* Rechtsseiten: Rückweg zur Startseite auch auf dem Handy sichtbar */
.back-link { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.back-link:hover { color: var(--blue); text-decoration: underline; }

/* Referenz-Laufband: Pause-Schalter (WCAG 2.2.2) */
.marquee-toggle {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 0 auto;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 600 0.85rem "Raleway", sans-serif; color: var(--muted);
}
.marquee-toggle:hover { color: var(--navy); }
.marquee-toggle svg { width: 14px; height: 14px; }

/* Nur für Screenreader */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* BauKG-Entscheidungstabelle: auf schmalen Bildschirmen als Karten, alle Spalten sichtbar */
.decision-table:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
@media (max-width: 680px) {
  .decision-table table { min-width: 0; }
  .decision-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .decision-table tr { display: block; border: 1px solid var(--border); margin-bottom: 12px; background: #fff; }
  .decision-table tr:nth-child(even) td { background: transparent; }
  .decision-table td { display: flex; justify-content: space-between; gap: 16px; border: 0; border-top: 1px solid var(--border); padding: 10px 14px; }
  .decision-table td:first-child { display: block; border-top: 0; background: var(--bg) !important; font-weight: 700; color: var(--navy); }
  .decision-table td[data-label]:not(:first-child)::before { content: attr(data-label); color: var(--muted); font-weight: 500; }
}

/* Drucken: alle Inhalte sichtbar, Bedienelemente ausblenden */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .consent-banner, .site-header, .burger, .marquee-toggle, .cta-band .btn, .map-load { display: none !important; }
  .section, .page-hero { padding: 24px 0; }
  .page-hero, .cta-band { background: none !important; color: #000; }
  .page-hero h1, .page-hero .lede, .page-hero .breadcrumb a, .cta-band h2, .cta-band p { color: #000 !important; }
  /* Startseite: helle Schrift auf Bild-/Farbflächen würde auf weißem Papier verschwinden */
  .hero, .hero *, .service-tile, .service-tile *, .leadmagnet, .leadmagnet *, .site-footer, .site-footer * { color: #000 !important; text-shadow: none !important; }
  .hero, .service-tile, .leadmagnet, .site-footer { background: none !important; }
  .hero::before, .hero::after, .service-tile::before, .service-tile::after { display: none !important; }
  .hero-media, .service-tile img { display: none !important; }
  .hero { min-height: 0 !important; }
  .service-tile { aspect-ratio: auto !important; height: auto !important; border: 1px solid #999; }
  .page-hero--img::before, .cta-band::before { display: none; }
}

/* Escape schließt ein per Hover/Fokus geöffnetes Dropdown */
.has-dropdown.esc-closed .dropdown { opacity: 0; visibility: hidden; transform: translateY(6px); transition-delay: 0s; }

/* Ohne JavaScript: Mobilmenü dauerhaft aufgeklappt statt eines Burgers, der nichts tut */
@media (max-width: 768px) {
  html:not(.js) .burger { display: none; }
  html:not(.js) .site-header { position: static; }
  html:not(.js) .header-inner { height: auto; flex-wrap: wrap; padding: 8px 20px; }
  html:not(.js) .main-nav { position: static; max-height: none; visibility: visible; box-shadow: none; border: 0; width: 100%; }
  html:not(.js) .has-dropdown .dropdown { display: block; }
}
