/* ==========================================================================
   HSE-Weida GmbH – Stylesheet
   Alle Farben, Schriften und Abstände stehen zentral als Variablen in :root.
   Wer z. B. das Orange ändern möchte, ändert nur --orange-500.
   ========================================================================== */

:root {
  /* Markenfarben */
  --navy-950: #061729;
  --navy-900: #0B2A4A;
  --navy-800: #123A63;
  --navy-600: #2A5A8A;
  --navy-100: #E6EEF6;
  --navy-50:  #F2F6FA;
  --orange-500: #F28C28;
  --orange-600: #E07A14;
  --orange-100: #FDEBD8;
  --orange-50:  #FFF6EC;
  --orange-700: #B45309;   /* dunkles Orange für Text – erfüllt Kontrast 4,5:1 */

  /* Neutrale Farben */
  --text: #1C2430;
  --muted: #566273;
  --border: #E1E7EE;
  --border-strong: #7D8A9B; /* Rahmen von Eingabefeldern – Kontrast mind. 3:1 */
  --bg: #FFFFFF;
  --bg-soft: #F4F6F8;
  --success: #1F7A4D;
  --error: #C62828;

  /* Schrift (Systemschriften – keine externen Server, DSGVO-freundlich) */
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;

  /* Formen & Schatten */
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(11, 42, 74, .06), 0 2px 8px rgba(11, 42, 74, .05);
  --shadow: 0 12px 32px -12px rgba(11, 42, 74, .22);
  --shadow-lg: 0 30px 60px -24px rgba(11, 42, 74, .35);

  /* Layout */
  --container: 1200px;
  --gutter: 16px;
  --header-h: 68px;
  --section-y: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol.breadcrumb, ol.steps { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 750;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 3.2vw + 1rem, 3.4rem); line-height: 1.07; font-weight: 800; }
h2 { font-size: clamp(1.75rem, 2.2vw + 1rem, 2.6rem); }
h3 { font-size: clamp(1.2rem, .5vw + 1rem, 1.4rem); letter-spacing: -.01em; }

/* Tastatur-Fokus: dunkelblau auf hellem, orange auf dunklem Grund (jeweils Kontrast > 3:1) */
:focus-visible { outline: 3px solid var(--navy-900); outline-offset: 3px; border-radius: 4px; }
.section--navy :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible,
.service--featured:focus-visible, .topbar :focus-visible, .skip-link:focus-visible { outline-color: var(--orange-500); }
.section--navy .jobs :focus-visible, .cta-band .form-card :focus-visible { outline-color: var(--navy-900); }

/* Auf dem Handy verdeckt die Anruf-Leiste sonst fokussierte Elemente am unteren Rand */
@media (max-width: 767.98px) { html { scroll-padding-bottom: 96px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.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;
}

/* ---------- Icons ---------- */
.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Layout-Helfer ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 140, 40, .16) 0%, transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(42, 90, 138, .45) 0%, transparent 70%),
    var(--navy-900);
  color: rgba(255, 255, 255, .82);
}
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row {
  max-width: none; display: flex; flex-wrap: wrap; gap: 16px 32px;
  align-items: flex-end; justify-content: space-between;
}
.section-head--row > div { max-width: 640px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: var(--orange-500); }
.section--navy .eyebrow { color: #FFD3A6; }

.lead { font-size: clamp(1.075rem, .35vw + 1rem, 1.25rem); color: var(--muted); line-height: 1.6; }
.section--navy .lead { color: rgba(255, 255, 255, .78); }

/* ---------- Buttons & Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange-500); color: var(--navy-950); box-shadow: 0 8px 20px -10px rgba(224, 122, 20, .8); }
.btn--primary:hover { background: #F59A3E; }
.btn--secondary { background: #fff; color: var(--navy-900); border-color: var(--border); }
.btn--secondary:hover { border-color: var(--navy-600); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--lg { padding: 1em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 700; color: var(--navy-800);
}
.link-arrow .icon { stroke-width: 2.2; transition: transform .2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; padding: .15em .6em; border-radius: 999px;
  font-size: .72rem; font-weight: 800; letter-spacing: .02em;
  background: var(--orange-500); color: var(--navy-950);
}

/* ---------- Topbar ---------- */
.topbar { display: none; background: var(--navy-950); color: rgba(255, 255, 255, .78); font-size: .875rem; }
@media (min-width: 1024px) { .topbar { display: block; } }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 1em; height: 1em; color: var(--orange-500); }
.topbar__jobs { color: #FFD3A6; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
/* Milchglas-Effekt als eigene Ebene – sonst würde das mobile Menü am Header „kleben" */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}
.nav-open .site-header::before { background: #fff; }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 6px 24px -16px rgba(11, 42, 74, .35); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--navy-900); letter-spacing: -.02em; }
.brand__claim { font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

@media (min-width: 1024px) and (max-width: 1199.98px) {
  .site-header .brand__claim { display: none; }
  .header__inner { gap: 16px; }
  .nav__link { padding-inline: 10px; }
}
@media (max-width: 399.98px) {
  .site-header .brand__claim { display: none; }
  .site-header .brand__mark { width: 38px; height: 38px; }
  .header__inner { gap: 12px; }
}
.header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; color: var(--navy-900); white-space: nowrap; }
.header__phone .icon { color: var(--orange-600); }
.header__cta { display: none; }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }
@media (min-width: 1280px) { .header__phone { display: inline-flex; } }

/* Navigation – Desktop */
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%;
  padding: 14px 4px; border: 0; background: none;
  font-weight: 650; font-size: 1.1rem; color: var(--navy-900); text-align: left;
}
.nav__link .icon { width: 1em; height: 1em; stroke-width: 2.2; transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__link[aria-current="page"] { color: var(--orange-700); }

@media (min-width: 1024px) {
  .nav { margin-left: auto; }
  .nav__list { flex-direction: row; align-items: center; gap: 4px; }
  .nav__item { position: relative; }
  .nav__link {
    padding: 10px 13px; border-radius: 999px; font-size: .98rem; width: auto;
    line-height: 1.3; white-space: nowrap;
    transition: background-color .2s var(--ease);
  }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--navy-50); }
  .header__actions { margin-left: 8px; }
}

/* Dropdown „Leistungen" */
.dropdown { display: none; padding: 4px 0 12px; }
.dropdown.is-open { display: block; }
.dropdown__grid { display: grid; gap: 4px; }
.dropdown__link {
  display: flex; align-items: flex-start; gap: 14px; padding: 10px 12px; border-radius: var(--r);
  transition: background-color .2s var(--ease);
}
.dropdown__link:hover { background: var(--navy-50); }
.dropdown__icon {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex: none;
  background: var(--navy-50); color: var(--navy-800);
}
.dropdown__link--featured .dropdown__icon { background: var(--orange-100); color: var(--orange-600); }
.dropdown__title { display: block; font-weight: 700; color: var(--navy-900); line-height: 1.3; }
.dropdown__desc { display: block; font-size: .875rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }

@media (min-width: 1024px) {
  .dropdown {
    display: block; position: absolute; top: calc(100% + 10px); left: 50%;
    width: 600px; padding: 14px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
  .dropdown__grid { grid-template-columns: 1fr 1fr; }
  .dropdown.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
@media (min-width: 1024px) and (hover: hover) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}

/* Navigation – Mobil */
.nav__mobile-cta { display: grid; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border: 1.5px solid var(--border); border-radius: 12px; background: #fff;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--navy-900);
  transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023.98px) {
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    background: #fff; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px var(--gutter) 40px;
    opacity: 0; transform: translateY(-12px); visibility: hidden; pointer-events: none;
    transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .nav-open .nav { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav__item { border-bottom: 1px solid var(--border); }
  body.nav-open { overflow: hidden; }
}
@media (min-width: 1024px) {
  .nav-toggle, .nav__mobile-cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px);
  background:
    radial-gradient(40% 50% at 92% 8%, rgba(242, 140, 40, .14) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-50) 0%, #fff 100%);
}
.hero__grid { display: grid; gap: clamp(40px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero__title { margin-bottom: .45em; }
.hero__title em { font-style: normal; color: var(--orange-700); }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__phone { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: var(--muted); font-size: .95rem; }
.hero__phone a { font-weight: 800; color: var(--navy-900); font-size: 1.1rem; }
.hero__phone-icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--orange-600); box-shadow: var(--shadow-sm); border: 1px solid var(--border);
}
.hero__visual { position: relative; }
.hero__art { width: 100%; height: auto; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: #fff; border-radius: var(--r);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  font-size: .9rem; line-height: 1.3; max-width: 240px;
}
.float-card strong { display: block; color: var(--navy-900); font-size: .95rem; }
.float-card span { color: var(--muted); }
.float-card__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: var(--orange-100); color: var(--orange-600);
}
.float-card--a { left: 12px; bottom: 16px; }
.float-card--b { right: 12px; top: 16px; }
.float-card--b .float-card__icon { background: var(--navy-50); color: var(--navy-800); }
@media (max-width: 479.98px) { .float-card--b { display: none; } }
@media (min-width: 1200px) {
  .float-card--a { left: -28px; bottom: 36px; }
  .float-card--b { right: -20px; top: 32px; }
}

/* Animationen in der Illustration */
/* Animationen laufen max. ca. 5 Sekunden und stoppen dann (WCAG 2.2.2) */
.hp-fan { transform-box: fill-box; transform-origin: center; animation: spin 1.6s linear 3; }
.heat-flow { stroke-dasharray: 6 8; animation: flow 1.4s linear 3; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes flow { to { stroke-dashoffset: -28; } }
@media (prefers-reduced-motion: reduce) { .hp-fan, .heat-flow { animation: none; } }

/* ---------- Vertrauensleiste ---------- */
.trust { margin-top: clamp(-56px, -4vw, -40px); position: relative; z-index: 2; }
.trust__list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
}
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
.trust__item { display: flex; align-items: flex-start; gap: 14px; padding: 20px; background: #fff; }
@media (min-width: 900px) { .trust__item { padding: 26px 24px; } }
.trust__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--orange-100); color: var(--orange-600);
}
.trust__item strong { display: block; color: var(--navy-900); line-height: 1.25; font-size: 1rem; }
.trust__item span { display: block; font-size: .875rem; color: var(--muted); line-height: 1.4; margin-top: 4px; }
@media (max-width: 479.98px) {
  .trust__item { flex-direction: column; gap: 10px; padding: 16px; }
}

/* ---------- Leistungs-Karten ---------- */
.services { display: grid; gap: 20px; }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(24px, 2.5vw, 32px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: var(--navy-50); color: var(--navy-800); margin-bottom: 22px;
}
.card__icon .icon { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); }
.card .link-arrow { margin-top: auto; padding-top: 20px; }

.service--featured {
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(242, 140, 40, .22) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .8); border: 0; overflow: hidden;
}
@media (min-width: 640px) { .service--featured { grid-column: span 2; } }
.service--featured h3 { color: #fff; font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); }
.service--featured p { color: rgba(255, 255, 255, .78); max-width: 460px; }
.service--featured .card__icon { background: var(--orange-500); color: var(--navy-950); }
.service--featured .link-arrow { color: #FFD3A6; }
.service__tag {
  position: absolute; top: clamp(24px, 2.5vw, 32px); right: clamp(24px, 2.5vw, 32px);
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff;
}
.service__bg-icon {
  position: absolute; right: -40px; bottom: -40px; width: 240px; height: 240px;
  color: rgba(255, 255, 255, .06); stroke-width: 1.2; pointer-events: none;
}
.checklist { display: grid; gap: 10px; margin: 4px 0 8px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist .icon { width: 20px; height: 20px; color: var(--orange-500); stroke-width: 2.4; margin-top: 3px; }
@media (min-width: 768px) { .service--featured .checklist { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

/* Förder-Band */
.promo {
  display: grid; gap: 20px; align-items: center; margin-top: 20px;
  padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--orange-50) 0%, var(--orange-100) 100%);
  border: 1px solid #F8D9B8;
}
@media (min-width: 768px) { .promo { grid-template-columns: auto 1fr auto; gap: 28px; } }
.promo__icon {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px;
  background: #fff; color: var(--orange-600); box-shadow: var(--shadow-sm);
}
.promo__icon .icon { width: 32px; height: 32px; }
.promo h3 { margin-bottom: .25em; }
.promo p { color: #5B4A3A; margin: 0; }

/* ---------- Ablauf / Schritte ---------- */
.steps { display: grid; gap: 20px; counter-reset: step; position: relative; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .steps::before {
    content: ""; position: absolute; top: 28px; left: 12%; right: 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--orange-500) 0 8px, transparent 8px 16px);
    opacity: .5;
  }
}
.step { position: relative; text-align: left; }
.step__num {
  position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #fff; border: 2px solid var(--orange-500); color: var(--navy-900);
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; margin-bottom: 20px;
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.step__num .icon { width: 26px; height: 26px; }
.step__label { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-700); }
.step h3 { margin: 4px 0 8px; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Split-Bereich (Über uns) ---------- */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; }
.split__media .ph { aspect-ratio: 4 / 5; border-radius: var(--r-xl); }
@media (min-width: 960px) { .split__media .ph { aspect-ratio: 5 / 6; } }
.media-badge {
  position: absolute; right: 16px; bottom: 16px; max-width: 280px;
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: var(--r); background: var(--navy-900); color: #fff;
  box-shadow: var(--shadow-lg); line-height: 1.35; font-size: .92rem;
}
@media (min-width: 1200px) { .media-badge { right: -28px; bottom: 40px; } }
.media-badge strong { display: block; font-size: 1rem; }
.media-badge .icon { width: 34px; height: 34px; color: var(--orange-500); }

.pillars { display: grid; gap: 24px 28px; margin: 32px 0 36px; }
@media (min-width: 560px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { display: flex; gap: 14px; }
.pillar__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--navy-50); color: var(--navy-800);
}
.pillar h3 { font-size: 1.05rem; margin: 2px 0 4px; }
.pillar p { font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ---------- Referenzen ---------- */
.refs { display: grid; gap: 20px; }
@media (min-width: 640px) { .refs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .refs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.ref { border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.ref:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ref .ph { aspect-ratio: 4 / 3; border-radius: 0; }
.ref__body { padding: 20px 22px 24px; }
.ref__tag {
  display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy-600); background: var(--navy-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.ref h3 { font-size: 1.15rem; margin-bottom: 4px; }
.ref p { color: var(--muted); font-size: .95rem; }

/* ---------- Platzhalter für Fotos ---------- */
.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  width: 100%; overflow: hidden; color: var(--navy-600); text-align: center;
  font-size: .9rem; font-weight: 650;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .9) 0%, transparent 55%),
    linear-gradient(135deg, #D9E5F1 0%, #EAF0F5 55%, #F7E3CE 100%);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(11, 42, 74, .035) 0 2px, transparent 2px 14px);
}
.ph .icon { position: relative; z-index: 1; width: 34px; height: 34px; opacity: .65; stroke-width: 1.5; }
.ph span { position: relative; z-index: 1; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .75); }
.ph--warm { background: radial-gradient(120% 90% at 85% 0%, rgba(255, 255, 255, .85) 0%, transparent 55%), linear-gradient(135deg, #F7E3CE 0%, #EFE9E2 50%, #D9E5F1 100%); }
.ph--navy { background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .7) 0%, transparent 55%), linear-gradient(135deg, #C9D9EA 0%, #E3EAF2 100%); }

/* ---------- Karriere-Teaser ---------- */
.career { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .career { grid-template-columns: .95fr 1.05fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff;
  font-size: .92rem; font-weight: 600;
}
.chip .icon { width: 18px; height: 18px; color: var(--orange-500); stroke-width: 2.2; }
.career__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.jobs { background: #fff; border-radius: var(--r-xl); padding: 8px; box-shadow: var(--shadow-lg); color: var(--text); }
.jobs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px 10px; }
.jobs__head strong { color: var(--navy-900); font-family: var(--font-display); font-size: 1.1rem; }
.job {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--r);
  transition: background-color .2s var(--ease);
}
.job + .job { border-top: 1px solid var(--border); }
.job:hover { background: var(--navy-50); }
.job:hover + .job { border-top-color: transparent; }
.job__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--navy-50); color: var(--navy-800);
}
.job__body { flex: 1; min-width: 0; }
.job__title { display: block; font-weight: 700; color: var(--navy-900); line-height: 1.3; overflow-wrap: anywhere; }
.career > *, .contact > *, .split > *, .hero__grid > * { min-width: 0; }
@media (max-width: 379.98px) {
  .jobs { padding: 4px; }
  .job { padding: 14px 12px; gap: 12px; }
  .job__icon { display: none; }
}
.job__meta { display: block; font-size: .875rem; color: var(--muted); margin-top: 3px; }
.job__arrow { color: var(--navy-600); transition: transform .2s var(--ease); }
.job:hover .job__arrow { transform: translateX(4px); }
.jobs__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 8px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--orange-50);
}
.jobs__foot p { margin: 0; font-size: .95rem; color: #5B4A3A; }
.jobs__foot strong { color: var(--navy-900); }

/* ---------- Kontakt ---------- */
.contact { display: grid; gap: clamp(40px, 5vw, 64px); }
@media (min-width: 1024px) { .contact { grid-template-columns: .9fr 1.1fr; align-items: start; } }
.contact__list { display: grid; gap: 14px; margin: 28px 0; }
.contact__item {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
a.contact__item:hover { border-color: var(--navy-600); box-shadow: var(--shadow-sm); }
.contact__icon {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; flex: none;
  background: var(--navy-900); color: #fff;
}
.contact__item small { display: block; color: var(--muted); font-size: .82rem; }
.contact__item strong { color: var(--navy-900); font-size: 1.05rem; }
.notice {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r);
  background: var(--orange-50); border: 1px solid #F8D9B8; color: #5B4A3A; font-size: .95rem;
}
.notice .icon { width: 24px; height: 24px; color: var(--orange-600); margin-top: 2px; }
.notice strong { color: var(--navy-900); }
.notice a { font-weight: 700; color: var(--navy-900); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Formulare ---------- */
.form-card {
  background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-card h3 { font-size: 1.4rem; }
.form-card > p { color: var(--muted); }
.form { display: grid; gap: 18px; margin-top: 24px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field__label { font-weight: 650; font-size: .92rem; color: var(--navy-900); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em 1em; font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B2A4A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1em center; background-size: 18px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-600); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-600); box-shadow: 0 0 0 4px rgba(42, 90, 138, .15);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--error); }
.field__error { display: none; font-size: .85rem; color: var(--error); font-weight: 600; }
.field.is-invalid .field__error { display: block; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--navy-900); }
.check a { color: var(--navy-900); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.check.is-invalid { color: var(--error); }
.check-error { display: none; margin-top: -8px; font-size: .85rem; color: var(--error); font-weight: 600; }
.check.is-invalid + .check-error { display: block; }

.form__success {
  display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--r);
  background: #E9F6EF; border: 1px solid #BFE3CF; color: #1D4D34;
}
.form__success[hidden] { display: none; }
.form__success .icon { width: 26px; height: 26px; color: var(--success); margin-top: 1px; }
.form__success strong { display: block; color: #123D27; }
.form__hint { font-size: .82rem; color: var(--muted); }
.form__demo { display: block; margin-top: 4px; font-size: .85rem; }
.form__error-box {
  padding: 16px 18px; border-radius: var(--r); font-weight: 600; font-size: .95rem;
  background: #FDECEC; border: 1px solid #F3BFBF; color: #8E1B1B;
}
.form__error-box[hidden] { display: none; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
/* Spam-Schutz: unsichtbares Feld, das nur Bots ausfüllen */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .95rem; }
.footer__top { display: grid; gap: 40px; padding-block: clamp(56px, 6vw, 80px); }
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.site-footer .brand__name { color: #fff; }
.site-footer .brand__claim { color: rgba(255, 255, 255, .6); }
.footer__about { max-width: 340px; margin-top: 18px; }
.footer__title { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0; }
.footer__links { display: grid; gap: 10px; }
.footer__links a:hover { color: #fff; }
.footer__contact { display: grid; gap: 12px; }
.footer__contact a, .footer__contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact a:hover { color: #fff; }
.footer__contact .icon { color: var(--orange-500); margin-top: 3px; width: 1.1em; height: 1.1em; }
.footer__region { margin-top: 20px; font-size: .88rem; color: rgba(255, 255, 255, .55); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
  padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .875rem;
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Anruf-Leiste (nur Handy) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px -16px rgba(11, 42, 74, .4);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.callbar .btn { padding: .8em 1em; }
@media (max-width: 767.98px) { body { padding-bottom: 76px; } }
@media (min-width: 768px) { .callbar { display: none; } }

/* ---------- Einblend-Animation beim Scrollen ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   UNTERSEITEN
   ========================================================================== */
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* Seitenkopf */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(32px, 5vw, 64px) clamp(48px, 6vw, 88px);
  background:
    radial-gradient(40% 60% at 95% 0%, rgba(242, 140, 40, .13) 0%, transparent 70%),
    linear-gradient(180deg, var(--navy-50) 0%, #fff 100%);
}
.page-hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) { .page-hero__grid--media { grid-template-columns: 1.1fr .9fr; } }
.page-hero h1 { font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem); line-height: 1.1; }
.page-hero .lead { max-width: 640px; margin-bottom: 28px; }
.page-hero__media .ph { aspect-ratio: 4 / 3; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--navy-600); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: #A9B4C2; }

/* Vorteile-Kacheln */
.features { display: grid; gap: 20px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .features--3 { grid-template-columns: repeat(3, 1fr); }
  .features--4 { grid-template-columns: repeat(4, 1fr); }
}
.feature { padding: clamp(22px, 2.2vw, 28px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); }
.section--soft .feature { border-color: transparent; box-shadow: var(--shadow-sm); }
.feature__icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px;
  background: var(--orange-100); color: var(--orange-600); margin-bottom: 18px;
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .35em; }
.feature p { color: var(--muted); font-size: .98rem; line-height: 1.55; }
.section--navy .feature { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.section--navy .feature p { color: rgba(255, 255, 255, .72); }
.section--navy .feature__icon { background: rgba(242, 140, 40, .16); color: var(--orange-500); }

/* Fließtext */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose a { color: var(--navy-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.split--top { align-items: start; }
.split__media .ph--landscape { aspect-ratio: 4 / 3; }
.checklist--dark .icon { color: var(--orange-600); }
.checklist--dark li { color: var(--text); }
@media (min-width: 640px) { .checklist--cols { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.content-block + .content-block { margin-top: 28px; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r); transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq__item[open] { box-shadow: var(--shadow-sm); border-color: #CBD6E2; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-weight: 700; color: var(--navy-900); font-size: 1.04rem; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--orange-600); stroke-width: 2.2; transition: transform .25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__body { padding: 0 22px 20px; color: var(--muted); }
.faq__body a, .callout a, .map__consent a { color: var(--navy-600); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.feature[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* Hinweis-Box */
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--navy-50); border: 1px solid var(--navy-100); }
.callout .icon { width: 26px; height: 26px; color: var(--navy-600); margin-top: 2px; }
.callout strong { color: var(--navy-900); }
.callout--warn { background: var(--orange-50); border-color: #F8D9B8; }
.callout--warn .icon { color: var(--orange-600); }

/* CTA-Band mit Rückruf-Formular */
.cta-band {
  display: grid; gap: 32px; align-items: center;
  padding: clamp(28px, 4.5vw, 64px); border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(242, 140, 40, .2) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: rgba(255, 255, 255, .8);
}
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1fr 1fr; gap: 56px; } }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255, 255, 255, .78); }
.cta-band .eyebrow { color: #FFD3A6; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; color: #fff; font-weight: 800; font-size: 1.25rem; }
.cta-band__phone .icon { color: var(--orange-500); }
.cta-band .form-card { box-shadow: none; border: 0; }
.cta-band > *, .form > *, .form__row > * { min-width: 0; }
.field select { min-width: 0; max-width: 100%; text-overflow: ellipsis; }
@media (max-width: 479.98px) {
  .cta-band { padding: 24px 16px; }
  .cta-band .form-card { padding: 20px 16px; }
}
.form--compact { margin-top: 0; gap: 14px; }

/* Referenzen-Filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter button {
  padding: .6em 1.15em; border-radius: 999px; border: 1.5px solid var(--border); background: #fff;
  font-weight: 650; font-size: .95rem; color: var(--navy-900); transition: all .2s var(--ease);
}
.filter button:hover { border-color: var(--navy-600); }
.filter button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ref[hidden] { display: none; }

/* Team */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.member { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border); overflow: hidden; }
.member__photo {
  display: grid; place-items: center; aspect-ratio: 1;
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; letter-spacing: -.02em; color: var(--navy-800);
  background: radial-gradient(120% 90% at 15% 0%, rgba(255, 255, 255, .9) 0%, transparent 55%), linear-gradient(135deg, #D9E5F1 0%, #EAF0F5 55%, #F7E3CE 100%);
}
.member__body { padding: 16px 18px 20px; }
.member h3 { font-size: 1.05rem; margin-bottom: 4px; }
.member p { font-size: .9rem; color: var(--muted); line-height: 1.45; }

/* Stellenanzeigen (Karriereseite) */
.job-list { display: grid; gap: 16px; }
.job-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.job-card[open] { box-shadow: var(--shadow); border-color: transparent; }
.job-card summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center;
  padding: 20px 22px;
}
.job-card summary::-webkit-details-marker { display: none; }
.job-card__title { display: block; font-family: var(--font-display); font-weight: 750; font-size: clamp(1.05rem, .5vw + 1rem, 1.25rem); color: var(--navy-900); line-height: 1.3; overflow-wrap: anywhere; }
.job-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--navy-50); color: var(--navy-800); }
.tag--orange { background: var(--orange-100); color: #8A4A0B; }
.job-card__toggle {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-50); color: var(--navy-900); transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.job-card__toggle .icon { stroke-width: 2.2; }
.job-card[open] .job-card__toggle { transform: rotate(45deg); background: var(--orange-500); }
.job-card__body { display: grid; gap: 24px; padding: 4px 22px 26px; }
@media (min-width: 768px) {
  .job-card__body { grid-template-columns: 1fr 1fr; padding-left: 82px; padding-right: 32px; }
  .job-card__intro, .job-card__actions { grid-column: 1 / -1; }
}
.job-card__intro { color: var(--muted); }
.job-card__body h3 { font-size: 1rem; margin-bottom: .7em; letter-spacing: 0; }
.job-card__body ul li { display: flex; gap: 10px; margin-bottom: 8px; color: var(--muted); font-size: .97rem; line-height: 1.5; }
.job-card__body ul .icon { width: 18px; height: 18px; color: var(--orange-600); stroke-width: 2.4; margin-top: 3px; }
.job-card__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
@media (max-width: 479.98px) {
  .job-card summary { grid-template-columns: 1fr auto; padding: 18px; }
  .job-card summary .job__icon { display: none; }
  .job-card__body { padding-inline: 18px; }
}

/* Zitate */
.quotes { display: grid; gap: 20px; }
@media (min-width: 768px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { display: flex; flex-direction: column; gap: 20px; margin: 0; padding: 28px; background: #fff; border-radius: var(--r-lg); border: 1px solid var(--border); }
.quote blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; color: var(--text); }
.quote blockquote::before { content: "„"; display: block; font-family: Georgia, serif; font-size: 3rem; line-height: .6; color: var(--orange-500); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote figcaption strong { display: block; color: var(--navy-900); }
.quote figcaption span { font-size: .88rem; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; background: var(--navy-100); color: var(--navy-800); font-weight: 800; }
.ph-note { display: inline-block; font-size: .75rem; font-weight: 700; color: #8A4A0B; background: var(--orange-100); padding: 3px 10px; border-radius: 999px; }

/* Fakten-Leiste */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 28px 0 32px; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(4, 1fr); } }
.fact { padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: var(--r); }
.fact small { display: block; color: var(--muted); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; }
.fact strong { color: var(--navy-900); font-size: 1.05rem; line-height: 1.3; hyphens: auto; overflow-wrap: anywhere; }
.fact { min-width: 0; }
@media (max-width: 379.98px) { .fact { padding: 14px 12px; } .fact strong { font-size: .98rem; } }

/* Drei Abschlüsse (triales Studium) */
.degrees { display: grid; gap: 16px; }
@media (min-width: 768px) { .degrees { grid-template-columns: repeat(3, 1fr); } }
.degree { padding: 28px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.degree__num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--orange-500); }
.degree h3 { color: #fff; margin: 14px 0 6px; }
.degree p { color: rgba(255, 255, 255, .72); font-size: .97rem; }

/* Datei-Upload */
.file {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1.5px dashed var(--border-strong); border-radius: var(--r-sm); background: var(--navy-50); cursor: pointer;
  transition: border-color .2s var(--ease);
}
.file:hover { border-color: var(--navy-600); }
.file:focus-within { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.file input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.file .icon { width: 24px; height: 24px; color: var(--navy-600); }
.file__text strong { display: block; color: var(--navy-900); font-size: .95rem; }
.file__text span { font-size: .85rem; color: var(--muted); }

/* Tabs */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--bg-soft); border-radius: 999px; margin-bottom: 8px; }
.tabs button { border: 0; background: transparent; padding: .6em 1.15em; border-radius: 999px; font-weight: 700; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy-900); box-shadow: var(--shadow-sm); }
[role="tabpanel"][hidden] { display: none; }

/* Karte mit Zustimmung */
.map { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-xl); border: 1px solid var(--border); background: var(--bg-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  padding: 24px; text-align: center;
  background:
    repeating-linear-gradient(0deg, rgba(11, 42, 74, .05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, rgba(11, 42, 74, .05) 0 1px, transparent 1px 40px),
    linear-gradient(135deg, #E6EEF6, #F4F6F8);
}
.map__consent .icon { width: 36px; height: 36px; color: var(--navy-600); }
.map__consent p { max-width: 420px; font-size: .9rem; color: var(--muted); margin: 0; }

/* Video (Karriereseite): lädt erst beim Abspielen, Start nur per Klick */
.video { max-width: 960px; margin: 0 auto; }
.video__frame {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  background: var(--navy-950); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55);
}
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.video__play {
  position: absolute; left: clamp(12px, 3vw, 28px); bottom: clamp(12px, 3vw, 28px);
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px; border: 0; border-radius: 999px;
  background: #fff; color: var(--navy-900); font-weight: 700; text-align: left;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); cursor: pointer;
  transition: transform .2s var(--ease);
}
.video__play[hidden] { display: none; }
.video__play-icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange-500); color: var(--navy-950); transition: transform .2s var(--ease);
}
.video__play-icon svg { width: 22px; height: 22px; fill: currentColor; margin-left: 2px; }
.video__play-text { display: flex; flex-direction: column; line-height: 1.2; }
.video__play-text small { font-weight: 600; font-size: .8rem; color: var(--muted); }
.video__play:hover .video__play-icon { transform: scale(1.08); }
.video__play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--navy-900); }
.video figcaption { margin-top: 14px; text-align: center; font-size: .9rem; color: rgba(255, 255, 255, .72); }
@media (max-width: 479.98px) {
  .video__frame { border-radius: var(--r-lg); }
  .video__play { gap: 10px; padding: 6px 16px 6px 6px; }
  .video__play-icon { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .video__play, .video__play-icon { transition: none; } }

/* Rechtliches */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5em; }
.legal ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.legal a { color: var(--navy-600); text-decoration: underline; text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 24px; margin: 0 0 1em; }
.legal dt { font-weight: 650; color: var(--navy-900); }
.legal dd { margin: 0; }
@media (max-width: 559.98px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* Echte Fotos anstelle der Platzhalter: <img> an dieselbe Stelle wie <div class="ph"> setzen */
.ref > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); }
.split__media > img.photo--hoch { aspect-ratio: 4 / 5; }
.page-hero__media > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-xl); box-shadow: var(--shadow-lg); }
img.member__photo { width: 100%; object-fit: cover; }

/* Fehlerseite */
.notfound { min-height: 50vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); line-height: 1; color: var(--orange-700); }
