/* ============================================================
   NeoFleet Solutions GmbH — Main Stylesheet v2
   ============================================================ */

/* === 1. CSS CUSTOM PROPERTIES === */
:root {
  --navy:       #0F2942;
  --orange:     #C89B5A;
  --white:      #FFFFFF;
  --gray-light: #F7F8FA;
  --text-gray:  #5A6470;

  /* derived */
  --navy-dark:   #0a1f32;
  --navy-mid:    #1a3a5c;
  --orange-dark: #A87F42;
  --border:      #E4E9F0;
  --text-dark:   #1a2a3a;

  --shadow-sm: 0 1px 4px rgba(15,41,66,.06), 0 2px 8px rgba(15,41,66,.05);
  --shadow-md: 0 4px 16px rgba(15,41,66,.10), 0 2px 6px rgba(15,41,66,.06);
  --shadow-lg: 0 8px 32px rgba(15,41,66,.14), 0 4px 12px rgba(15,41,66,.08);
  --shadow-xl: 0 16px 56px rgba(15,41,66,.18), 0 6px 20px rgba(15,41,66,.10);

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-xl:   20px;
  --radius-full: 9999px;

  --transition: all .22s ease;
  --transition-slow: all .38s ease;

  --nav-height:    76px;
  --container-max: 1280px;
  --container-pad: 40px;
}

/* === 2. RESET === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* === 3. LAYOUT === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

/* === 4. TYPOGRAPHY HELPERS === */
.label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.heading-xl {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -.5px;
  color: var(--navy);
}
.heading-lg {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.3px;
  color: var(--navy);
}
.heading-md {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--navy);
}
.subtext    { font-size: 15px; color: var(--text-gray); line-height: 1.75; }
.subtext-lg { font-size: 17px; }
.highlight  { color: var(--orange); }

.divider {
  width: 48px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px 0;
}

/* === 5. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-orange {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--navy);
  background: var(--gray-light);
}
.btn-outline-orange {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-outline-orange:hover {
  background: var(--orange);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

/* === 6. NAVBAR === */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .35s ease;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(15,41,66,.14); }
/* Auto-Hide: beim Runterscrollen ausblenden, beim Hochscrollen wieder einblenden */
.navbar.nav-hidden { transform: translateY(-100%); }

.navbar-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Logo */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 8px;
}
.navbar-logo-svg { width: 46px; height: 46px; flex-shrink: 0; }
/* Logo skaliert flüssig mit der Bildschirmbreite (mobil 40px → Desktop 60px).
   width:auto + max-width:none → IMMER originales Seitenverhältnis, nie gestaucht.
   (Überschreibt den globalen img-Reset max-width:100%, der sonst verzerren würde.) */
.navbar-logo-img { height: clamp(40px, 5vw, 60px); width: auto; max-width: none; flex-shrink: 0; }
.logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.logo-brand    { font-size: 16px; font-weight: 800; color: var(--navy); letter-spacing: .2px; line-height: 1; }
.logo-sub      { font-size: 9px;  font-weight: 700; color: var(--text-gray); letter-spacing: 1.8px; text-transform: uppercase; line-height: 1.3; }
.logo-tagline  { font-size: 9.5px; font-weight: 500; color: var(--orange); line-height: 1.3; }

/* Nav Menu */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: flex-end;
  margin-right: 8px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 11px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: .15px;
  white-space: nowrap;
  position: relative;
  transition: color .18s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--orange); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-chevron {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.nav-item:hover .nav-chevron,
.nav-item.open  .nav-chevron { transform: rotate(180deg); }

.nav-cta { margin-left: 6px; padding: 10px 20px; font-size: 13px; border-radius: var(--radius-full); }

/* === 7. MEGA MENU === */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 820px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  border-top: 3px solid var(--orange);
}
.nav-item:hover .mega-menu,
.nav-item.open  .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: var(--transition);
  color: var(--text-dark);
}
.mega-card:hover { background: var(--gray-light); border-color: var(--border); }
.mega-icon-wrap {
  width: 42px;
  height: 42px;
  background: rgba(200,155,90,.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(200,155,90,.18);
  flex-shrink: 0;
}
.mega-icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mega-card-title { font-size: 13px; font-weight: 700; color: var(--navy); }
.mega-card-desc  { font-size: 12px; color: var(--text-gray); line-height: 1.55; }

/* Simple Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
  border-top: 3px solid var(--orange);
}
.nav-item:hover .dropdown-menu,
.nav-item.open  .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--gray-light); color: var(--orange); padding-left: 24px; }

/* === 8. HAMBURGER + MOBILE MENU === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 999;
  overflow-y: auto;
  padding: 20px var(--container-pad) 40px;
  /* Geschlossen: im Viewport bleiben (kein translateX nach rechts → kein
     horizontaler Überlauf auf Mobilgeräten), nur aus-/eingeblendet. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.mobile-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.mobile-nav-row a { color: inherit; flex: 1; }
.mobile-chevron {
  width: 16px; height: 16px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
  transition: transform .2s ease;
}
.mobile-sub { display: none; padding: 0 0 16px 16px; }
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  transition: color .18s ease;
}
.mobile-sub a:hover { color: var(--orange); }
.mobile-cta { margin-top: 24px; display: block; text-align: center; }

/* === 9. HERO SPLIT (all pages) === */
/* ── Hero Main (Vollbild) ── */
.hero-main {
  min-height: calc(100vh - var(--nav-height));
  background-image:
    linear-gradient(to right, rgba(255,255,255,1) 45%, rgba(255,255,255,0.85) 60%, rgba(255,255,255,0) 80%),
    url('../img/hero-autos.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
}
.hero-content {
  padding-top: 80px;
  padding-bottom: 80px;
  /* Kein max-width hier — container übernimmt die Ausrichtung */
}
.hero-heading { color: var(--navy) !important; margin-top: 10px; margin-bottom: 0; max-width: 460px; }
.hero-heading .highlight { color: var(--orange); }
.hero-sub {
  color: var(--text-gray) !important;
  margin-bottom: 32px;
  max-width: 400px;
  line-height: 1.7;
}
.hero-content .divider { margin: 18px 0; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* Feature-Items direkt im Hero (unter dem Subtext) */
.hero-features {
  display: flex;
  flex-direction: row;
  gap: 0;
  max-width: 460px;
  margin-top: 32px;
}
.hero-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 0 12px;
  flex: 1;
  border-right: 1px solid var(--border);
  transition: opacity .2s ease;
}
.hero-feature-item:first-child { padding-left: 0; }
.hero-feature-item:last-child  { border-right: none; }
.hero-feature-item:hover { opacity: .75; }

/* Kreisförmige Icons im Hero */
.hero-features .feature-strip-icon {
  width: 72px;
  height: 72px;
  background: transparent;
  border-radius: 50%;
  border: 2px solid var(--orange);
  flex-shrink: 0;
}
.hero-features .feature-strip-title { text-align: center; }
.hero-features .feature-strip-sub   { text-align: center; }
.hero-features .feature-strip-icon svg {
  width: 38px;
  height: 38px;
}

/* Legacy split (Unterseiten) */
.hero-split-section {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.hero-split {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  align-items: center;
  min-height: 440px;
}
/* Abstand zwischen Intro-Text und den Buttons im Hero —
   einheitlich auf allen Unterseiten (Über uns, Team, Mission, Werte, Partner). */
.hero-split-left .subtext { margin-bottom: 15px; }
/* Hero image with wave decoration */
.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-xl) var(--radius-xl) 100px var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.hero-image-wrap img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform .55s ease;
}
.hero-image-wrap:hover img { transform: scale(1.03); }
.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  height: 42%;
  background: var(--navy);
  border-radius: 100% 0 0 0;
  opacity: .75;
  pointer-events: none;
}

/* === 10. BREADCRUMBS === */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumbs a    { font-size: 12.5px; font-weight: 500; color: var(--text-gray); transition: color .18s ease; }
.breadcrumbs a:hover { color: var(--orange); }
.breadcrumbs .sep { color: #ABAFB4; font-size: 10px; }
.breadcrumbs .crumb-current { font-size: 12.5px; font-weight: 600; color: var(--orange); }

/* === 11. FEATURE STRIP (homepage below hero) === */
.feature-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 36px 40px;
  border-right: 1px solid var(--border);
  transition: background .2s ease;
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item:hover { background: var(--gray-light); }
.feature-strip-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,155,90,.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,155,90,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-strip-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-strip-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.feature-strip-sub   { font-size: 13px; color: var(--text-gray); }

/* === 12. SPONSORED BAR === */
.sponsored-inline {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  width: fit-content;     /* Linie nur so breit wie der Sponsoren-Block … */
  max-width: 100%;        /* … aber nie breiter als der Bildschirm */
}
.sponsored-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
}
.sponsor-logos-inline { display: flex; align-items: center; gap: 18px; }
.sponsor-sep { width: 1px; height: 32px; background: var(--border); }
.sponsor-logo-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .8;
  transition: opacity .2s ease;
}
.sponsor-logo-item:hover { opacity: 1; }
.sponsor-logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.sponsor-logo-img  { height: 65px; width: auto; object-fit: contain; display: block; }
.sponsor-logo-name { font-size: 12px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.sponsor-logo-tag  { font-size: 10px; color: var(--text-gray); line-height: 1.2; }

/* === 13. CARDS === */
.cards-grid { display: grid; gap: 22px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }

.card-row-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,155,90,.3); transform: translateY(-4px); }
.card-icon {
  width: 52px; height: 52px;
  background: rgba(200,155,90,.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,155,90,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.card-text  { font-size: 13.5px; color: var(--text-gray); line-height: 1.7; }
.card-accent { border-left: 3px solid var(--orange); }

/* === 14. TEAM CARDS (horizontal 3-column) === */
.team-stack { display: flex; flex-direction: column; gap: 20px; }
.team-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 2fr 1.5fr;
  transition: var(--transition-slow);
  overflow: hidden;
}
.team-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,155,90,.25); }

.team-card-main {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-card-statement {
  padding: 32px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--gray-light);
}
.team-card-contact {
  grid-column: 1 / -1;          /* durchgehend volle Breite unter den beiden Textspalten */
  padding: 20px 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;      /* Button + Feld immer zentriert */
  gap: 14px;
  text-align: center;
  background: var(--white);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200,155,90,.3);
  flex-shrink: 0;
}
.team-header { display: flex; align-items: center; gap: 18px; }
.team-name   { font-size: 17px; font-weight: 800; color: var(--navy); }
.team-role   { font-size: 13px; font-weight: 600; color: var(--orange); margin-top: 2px; }
.team-exp-badge {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  background: rgba(200,155,90,.12);
  color: var(--orange-dark);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  margin-top: 4px;
}
.team-bio { font-size: 13.5px; color: var(--text-gray); line-height: 1.7; }

.team-statement-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-top: 34px;   /* auf Höhe der Namenszeile links (Block ist in 100px Fotohöhe zentriert) */
}
.team-quote-mark {
  font-size: 64px;
  line-height: 1;
  color: var(--orange);
  font-family: Georgia, serif;
  opacity: .5;
  margin-bottom: -20px;
}
.team-quote-text {
  font-size: 13px;
  font-style: italic;
  color: var(--text-gray);
  line-height: 1.72;
}

.team-contact-icon {
  width: 48px; height: 48px;
  background: rgba(200,155,90,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(200,155,90,.2);
}
.team-contact-icon svg {
  width: 24px; height: 24px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.team-contact-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex; align-items: center; gap: 6px;
  transition: color .18s ease;
}
.team-contact-link:hover { color: var(--orange); }
.team-contact-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none;
  stroke-width: 2;
}

/* === 15. VALUES GRID (6 columns, no cards, only dividers) === */
.values-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.values-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 36px 24px;
  border-right: 1px solid var(--border);
  transition: background .2s ease;
}
.values-item:last-child { border-right: none; }
.values-item:hover { background: var(--gray-light); }
.values-icon {
  width: 52px; height: 52px;
  background: rgba(200,155,90,.1);
  border-radius: 50%;
  border: 1px solid rgba(200,155,90,.2);
  display: flex; align-items: center; justify-content: center;
}
.values-icon svg {
  width: 24px; height: 24px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.values-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.values-text  { font-size: 12.5px; color: var(--text-gray); line-height: 1.6; }

/* === 16. INFO CARDS === */
.info-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-slow);
}
.info-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,155,90,.3); transform: translateY(-4px); }
.info-card-icon {
  width: 52px; height: 52px;
  background: rgba(200,155,90,.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,155,90,.18);
  display: flex; align-items: center; justify-content: center;
}
.info-card-icon svg {
  width: 26px; height: 26px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.info-card-title { font-size: 15px; font-weight: 700; color: var(--navy); }
.info-card-text  { font-size: 13.5px; color: var(--text-gray); line-height: 1.7; }

/* === 17. MISSION SIDEBAR CARD === */
.mission-sidebar {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  /* bleibt gleich groß, wandert beim Scrollen mit – stoppt am Trennstrich
     (die Grid-Spalte ist durch align-items: stretch voll hoch) */
  position: sticky;
  top: calc(var(--nav-height) + 24px);
}
.mission-sidebar-header {
  background: var(--navy);
  padding: 24px 28px;
}
.mission-sidebar-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}
.mission-sidebar-sub {
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.mission-sidebar-body { padding: 24px 28px; }
.mission-list { display: flex; flex-direction: column; }
.mission-list-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.mission-list-item:last-child { border-bottom: none; }
.mission-list-icon {
  width: 38px; height: 38px;
  background: rgba(200,155,90,.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(200,155,90,.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mission-list-icon svg {
  width: 18px; height: 18px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.mission-list-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.mission-list-text  { font-size: 12.5px; color: var(--text-gray); line-height: 1.6; }

/* === 18. THREE-COLUMN CONTENT LAYOUT === */
.content-3col {
  display: grid;
  grid-template-columns: 2fr 1.4fr;
  gap: 40px;
  align-items: stretch;
}
.content-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.content-img img { width: 100%; height: 300px; object-fit: cover; }

/* === 19. PARTNER LOGOS === */
.partner-logo-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.partner-logo-card:hover { box-shadow: var(--shadow-md); border-color: rgba(200,155,90,.3); transform: translateY(-2px); }
.partner-logo-icon { width: 48px; height: 48px; flex-shrink: 0; }
.partner-logo-name    { font-size: 14px; font-weight: 800; color: var(--navy); }
.partner-logo-tagline { font-size: 12px; color: var(--text-gray); }

/* === 20. CTA BANNER === */
.cta-banner {
  background: var(--navy);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(200,155,90,.07);
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -3%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  pointer-events: none;
}
.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.cta-icon {
  width: 64px; height: 64px;
  background: rgba(200,155,90,.15);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(200,155,90,.3);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta-icon svg {
  width: 32px; height: 32px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.cta-text { flex: 1; min-width: 260px; }
.cta-title { font-size: clamp(20px, 2.8vw, 30px); font-weight: 800; color: var(--white); margin-bottom: 8px; letter-spacing: -.2px; }
.cta-sub   { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.65; }

/* === 21. SECTION HEADER === */
.section-header { margin-bottom: 48px; }
.section-header.center { text-align: center; }
.section-header.center .divider { margin: 14px auto; }

/* === 22. CHECKLIST === */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.55;
}
.checklist li svg {
  width: 20px; height: 20px;
  stroke: var(--orange); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === 23. TWO COLUMN CONTENT === */
.two-col-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* === 24. HIGHLIGHT BAND === */
.highlight-band {
  background: var(--gray-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* === 25. FOOTER === */
footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 22px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-social { display: flex; align-items: center; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-light);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--navy);
}
.footer-social a:hover { background: var(--navy); border-color: var(--navy); color: var(--white); transform: translateY(-2px); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-center { font-size: 12px; color: var(--text-gray); }
.footer-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; font-weight: 500; color: var(--text-gray); transition: color .18s ease; }
.footer-links a:hover { color: var(--navy); }

/* === 26. PLACEHOLDER PAGES === */
.placeholder-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0;
}
.placeholder-hero .container { position: relative; z-index: 1; }
.placeholder-icon {
  width: 64px; height: 64px;
  background: rgba(200,155,90,.15);
  border: 1px solid rgba(200,155,90,.3);
  border-radius: var(--radius-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.placeholder-icon svg {
  width: 32px; height: 32px;
  stroke: var(--orange); fill: none;
  stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}
.placeholder-title { font-size: clamp(28px,4vw,46px); font-weight: 800; color: var(--white); margin-bottom: 16px; }
.placeholder-text  { font-size: 16px; color: rgba(255,255,255,.72); line-height: 1.7; max-width: 480px; margin: 0 auto 32px; }

/* Portale: zwei gleiche Hero-Hälften nebeneinander, mit Trennlinie */
.portale-split { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.portale-col { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 48px; }
.portale-col + .portale-col { border-left: 1px solid rgba(255,255,255,.18); }
@media (max-width: 768px) {
  .portale-split { grid-template-columns: 1fr; }
  .portale-col { padding: 0; }
  .portale-col + .portale-col { border-left: none; border-top: 1px solid rgba(255,255,255,.18); padding-top: 44px; margin-top: 44px; }
}

/* === 27. BENEFIT PAGE === */
.page-intro {
  padding: 60px 0 48px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.benefit-page.section-pad-sm { padding-top: 40px; }
.benefit-page { background: var(--white); }
.benefit-body { min-width: 0; }

.benefit-rows { display: flex; flex-direction: column; }

.benefit-row {
  display: grid;
  grid-template-columns: 100px 1fr 300px;
  gap: 40px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.benefit-row:last-child { border-bottom: none; }

.benefit-icon {
  width: 80px;
  height: 80px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.benefit-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.25;
}
.benefit-desc {
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.75;
}

.benefit-bullets {
  list-style: none;
  padding: 0;
  margin-top: 4px;
}
.benefit-bullets li {
  font-size: 13px;
  color: var(--text-dark);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.5;
}
.benefit-bullets li::before {
  content: '•';
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  position: absolute;
  left: 0;
  top: 3px;
}

/* Benefit responsive */
/* Sobald das volle Menü nicht mehr sicher neben Logo + Button passt:
   komplett auf das Hamburger-Menü umschalten → es bleiben nur Logo + Burger.
   So läuft die Leiste nie über und es flackert nichts. */
@media (max-width: 1150px) {
  /* !important, damit die spätere Regel ".btn { display:inline-flex }"
     (Touch-Flächen ab 768px) den Top-Bar-Button NICHT wieder einblendet. */
  .navbar-menu { display: none !important; }
  .nav-cta     { display: none !important; }
  .hamburger   { display: flex; flex-shrink: 0; }
  .mobile-nav  { display: block; }
  .mega-menu   { display: none !important; }
  /* Logo behält seine Größe/Proportion (kein Schrumpfen), Hamburger bleibt sichtbar */
  .navbar-logo { flex-shrink: 0; }
}

@media (max-width: 1100px) {
  .benefit-row { grid-template-columns: 96px 1fr 240px; gap: 28px; }
}
@media (max-width: 860px) {
  .benefit-row { grid-template-columns: 72px 1fr; gap: 20px; }
  .benefit-icon { width: 64px; height: 64px; }
  .benefit-icon svg { width: 32px; height: 32px; }
  .benefit-bullets { grid-column: 2; }
}
@media (max-width: 560px) {
  .benefit-row { grid-template-columns: 1fr; }
  .benefit-icon { width: 60px; height: 60px; }
  .benefit-bullets { grid-column: 1; }
  /* Sponsoren-Logos auf schmalen Screens kleiner + umbruchfähig (kein Überlauf) */
  .sponsor-logos-inline { flex-wrap: wrap; gap: 14px; }
  .sponsor-logo-img { height: 46px; }
}

/* === 28. RESPONSIVE === */
@media (max-width: 1200px) {
  :root { --container-pad: 28px; }
  /* Navbar straffen, damit das volle Menü bis zum Hamburger-Breakpoint nie überläuft */
  .navbar-inner { gap: 2px; }
  .nav-link { padding: 8px 8px; font-size: 12.5px; }
  .nav-link::after { left: 8px; right: 8px; }
  .nav-cta { padding: 9px 15px; margin-left: 4px; }
  .mega-menu { width: 680px; }
  .card-row-5 { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .values-item:nth-child(3) { border-right: none; }
  .values-item:nth-child(4),
  .values-item:nth-child(5) { border-top: 1px solid var(--border); }
  .values-item:nth-child(6) { border-right: none; border-top: 1px solid var(--border); }
  .content-3col { grid-template-columns: 1.7fr 1fr; }
}

@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap img { height: 340px; }
  .two-col-content { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner-inner { flex-direction: row; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .mega-menu { grid-template-columns: repeat(2, 1fr); width: 440px; }
  .team-card { grid-template-columns: 1fr 1fr; }
  /* Kontakt-Link immer sichtbar: als vollbreite Leiste unten statt ausgeblendet */
  .team-card-contact { grid-column: 1 / -1; flex-direction: row; gap: 16px; border-left: none; border-top: 1px solid var(--border); padding: 18px 32px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; --container-pad: 20px; }
  .section-pad    { padding: 60px 0; }
  .section-pad-sm { padding: 40px 0; }
  .hero-split-section { padding: 48px 0; }
  .hero-main { min-height: 70vh; }
  .hero-content { max-width: 100%; }
  .feature-strip-inner { grid-template-columns: 1fr; }
  .feature-strip-item  { border-right: none; border-bottom: 1px solid var(--border); }
  .feature-strip-item:last-child { border-bottom: none; }
  .cards-2, .cards-3, .cards-4 { grid-template-columns: 1fr; }
  .card-row-5  { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .values-item:nth-child(2n) { border-right: none; }
  .values-item:nth-child(3),
  .values-item:nth-child(4),
  .values-item:nth-child(5),
  .values-item:nth-child(6) { border-top: 1px solid var(--border); }
  .content-3col { grid-template-columns: 1fr; }
  .mission-sidebar { position: static; }
  .team-card    { grid-template-columns: 1fr; }
  .team-card-statement,
  .team-card-contact { border-left: none; border-top: 1px solid var(--border); }
  .team-statement-label { margin-top: 0; }   /* kein Versatz, wenn Karten gestapelt sind */
  .team-card-contact { display: flex; align-items: center; justify-content: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
  .mega-menu   { display: none; }
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
  .sponsored-inline { align-items: flex-start; }
}

@media (max-width: 480px) {
  .heading-xl { font-size: 28px; }
  .heading-lg { font-size: 24px; }
  .navbar-logo-svg { width: 38px; height: 38px; }
  .logo-tagline { display: none; }
  .values-grid { grid-template-columns: 1fr; }
  .values-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ═══════════════ KONTAKTFORMULAR ═══════════════ */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}

/* — Formular — */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
.form-field .req { color: var(--orange); font-weight: 700; }
.form-field .opt { color: var(--text-gray); font-weight: 400; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color .18s, box-shadow .18s;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9aa4b0; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200,155,90,.18);
}
.contact-form select:invalid { color: #9aa4b0; }

/* Checkbox */
.form-check {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--text-gray);
  line-height: 1.6;
  cursor: pointer;
}
.form-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--orange); flex-shrink: 0; }
.form-check a { color: var(--orange); text-decoration: underline; }

.contact-submit { align-self: flex-start; padding: 14px 32px; }

/* Statusmeldung */
.form-status {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}
.form-status.show { display: block; }
.form-status.success { background: rgba(34,139,84,.10); border: 1px solid rgba(34,139,84,.3); color: #1d7a48; }
.form-status.error   { background: rgba(200,60,60,.08);  border: 1px solid rgba(200,60,60,.3);  color: #b23b3b; }

/* — Info-Karte — */
.contact-aside {
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: sticky;
  top: calc(var(--nav-height) + 20px);
}
.aside-icon {
  width: 52px; height: 52px;
  background: rgba(200,155,90,.12);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.aside-icon svg { width: 26px; height: 26px; stroke: var(--orange); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aside-title { font-size: 19px; font-weight: 700; color: var(--orange); margin-bottom: 8px; }
.aside-text { font-size: 14px; color: var(--text-gray); line-height: 1.65; margin-bottom: 24px; }

.aside-info { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.aside-info-item { display: flex; gap: 14px; align-items: flex-start; }
.aside-info-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(200,155,90,.10);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
}
.aside-info-icon svg { width: 19px; height: 19px; stroke: var(--orange); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.aside-info-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-gray); margin-bottom: 2px; }
.aside-info-value { font-size: 14.5px; color: var(--navy); font-weight: 500; line-height: 1.5; }
a.aside-info-value:hover { color: var(--orange); }

.aside-secure {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: 24px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--text-gray); line-height: 1.6;
}
.aside-secure .aside-info-icon { width: 38px; height: 38px; }
.aside-secure strong { color: var(--navy); font-size: 13.5px; }

/* Responsive: einspaltig ab Tablet */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-aside { position: static; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-submit { width: 100%; text-align: center; }
}

/* ═══════════════ RESPONSIVE-FEINSCHLIFF (alle Geräte) ═══════════════ */

/* Lange Wörter / E-Mail-Adressen nie überlaufen lassen */
.aside-info-value, .footer-center, .footer-links a, .breadcrumbs a {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Tablet-Querformat: etwas Luft rausnehmen, Karten 2-spaltig halten */
@media (max-width: 1024px) {
  .section-pad { padding: 72px 0; }
}

/* Touch-Geräte / Smartphones */
@media (max-width: 768px) {
  /* iOS zoomt beim Fokus, wenn Schrift < 16px → Felder auf 16px anheben */
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }

  /* Gute Daumen-Trefferflächen für Buttons & Menüpunkte */
  .btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav-row { min-height: 52px; }

  /* Button-Gruppen sauber umbrechen */
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1 1 auto; }

  /* Hero-Text bekommt vollen Platz, Bild tritt zurück */
  .hero-heading, .hero-sub { max-width: 100%; }
}

/* Kleine Smartphones */
@media (max-width: 480px) {
  :root { --container-pad: 16px; }
  .section-pad    { padding: 48px 0; }
  .section-pad-sm { padding: 32px 0; }

  /* CTA-Buttons über die volle Breite = leichter zu treffen */
  .placeholder-hero .btn,
  .hero-features ~ * .btn { width: 100%; }

  .breadcrumbs { flex-wrap: wrap; row-gap: 4px; }
  .contact-aside { padding: 26px 20px; }
  .footer-links { flex-wrap: wrap; gap: 10px 18px; }
  /* Hero-Kacheln auf kleinen Screens kompakter, damit 3 in einer Reihe passen */
  .hero-features .feature-strip-icon { width: 54px; height: 54px; }
  .hero-feature-item { padding: 0 8px; gap: 8px; }
}

/* Sehr kleine Geräte (z. B. iPhone SE, 320–380px) */
@media (max-width: 380px) {
  .heading-xl { font-size: 26px; }
  .heading-lg { font-size: 22px; }
  .btn { padding: 12px 18px; font-size: 14px; }
  /* Hero-Kacheln noch kompakter, damit auch bei 320px nichts überläuft */
  .hero-features .feature-strip-icon { width: 46px; height: 46px; }
  .hero-feature-item { padding: 0 5px; }
  .hero-features .feature-strip-title { font-size: 12px; }
  .hero-features .feature-strip-sub { font-size: 10px; }
}

/* ═══════════════ SANFTER SEITENÜBERGANG ═══════════════ */
/* Wird per JS (.page-exit) beim Klick auf interne Links ausgelöst.
   Ohne diese Regel gab es nur eine 200ms-Verzögerung ohne Effekt. */
body { transition: opacity .2s ease; }
body.page-exit { opacity: 0; }

/* Respektiere Nutzer, die reduzierte Bewegung wünschen */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ═══════════════ JOBS / STELLENANZEIGEN ═══════════════ */
.job-meta { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--orange); }
.job-meta svg { width: 16px; height: 16px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.job-card-title { font-size: 18px; font-weight: 800; color: var(--navy); line-height: 1.25; }
.job-subhead { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-gray); margin-bottom: 10px; }
.job-apply { align-self: flex-start; margin-top: auto; }

/* ═══════════════ MODAL (Bewerbungsformular) ═══════════════ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(15,41,66,.55);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 40px 20px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  background: var(--white); border-radius: var(--radius-lg);
  max-width: 640px; width: 100%; padding: 38px;
  box-shadow: var(--shadow-xl); position: relative;
  transform: translateY(14px); transition: transform .25s ease;
}
.modal-overlay.open .modal { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1; color: var(--text-gray);
  background: var(--gray-light); border: 1px solid var(--border);
  transition: color .18s, border-color .18s;
}
.modal-close:hover { color: var(--navy); border-color: var(--navy); }
.modal-section-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin: 22px 0 12px; }

/* ═══════════════ DATEI-UPLOAD (Drag & Drop) ═══════════════ */
.upload-drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 26px 20px; cursor: pointer;
  border: 2px dashed var(--border); border-radius: var(--radius-md);
  background: var(--gray-light); transition: border-color .18s, background .18s;
}
.upload-drop:hover, .upload-drop.dragover { border-color: var(--orange); background: rgba(200,155,90,.08); }
.upload-drop svg { width: 30px; height: 30px; stroke: var(--orange); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.upload-drop strong { color: var(--orange); }
.upload-drop .upload-hint { font-size: 12px; color: var(--text-gray); }
.upload-list { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.upload-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; background: var(--gray-light); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; }
.upload-list .file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-dark); }
.upload-list .file-size { font-size: 12px; color: var(--text-gray); flex-shrink: 0; }
.upload-list .file-remove { color: #b23b3b; font-size: 18px; line-height: 1; cursor: pointer; flex-shrink: 0; background: none; border: none; padding: 0 2px; }
.upload-error { color: #b23b3b; font-size: 13px; margin-top: 8px; }

@media (max-width: 560px) { .modal { padding: 26px 18px; } }

/* ═══════════════ ANSPRECHPARTNER-KARTEN (Kontaktseite) ═══════════════ */
.contact-form-wrap { min-width: 0; }   /* Grid-Spalte darf schrumpfen → lange E-Mails brechen um, kein Überlauf */
.contact-persons { display: flex; flex-direction: column; gap: 16px; margin-bottom: 72px; }
.person-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);   /* identisch zu .card */
  box-shadow: var(--shadow-sm);
  padding: 18px 22px;
  display: flex;
  align-items: center;               /* Textblock vertikal mittig zum Bild */
  gap: 24px;
  transition: var(--transition-slow);
}
.person-card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200,155,90,.3); transform: translateY(-4px); }
.person-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(200,155,90,.3);   /* wie .team-avatar */
  flex-shrink: 0;
}
.person-info { min-width: 0; }
.person-name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.person-role { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 8px; }
.person-contact { display: flex; flex-direction: column; gap: 4px; }
.person-contact a, .person-contact span {
  display: flex; align-items: center; gap: 8px; min-width: 0;
  font-size: 13.5px; color: var(--text-gray);
  overflow-wrap: anywhere; word-break: break-word;
}
.person-contact a { transition: color .18s ease; }
.person-contact a:hover { color: var(--orange); }
.person-contact svg { width: 15px; height: 15px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* Mobil: horizontale Anordnung beibehalten, Bild/Schrift leicht kleiner */
@media (max-width: 480px) {
  .person-card { gap: 16px; padding: 14px 16px; }
  .person-avatar { width: 56px; height: 56px; }
  .person-name { font-size: 15px; }
  .person-contact a, .person-contact span { font-size: 12.5px; }
}

/* Wrapper für die zentral injizierte Navigation: erzeugt selbst keine Box,
   damit die sticky-Navbar über die gesamte Seite klebt (nicht nur innerhalb des Wrappers). */
#site-nav { display: contents; }

/* ══════════════ COOKIE-CONSENT ══════════════ */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: var(--white);
  border-top: 3px solid var(--orange);
  box-shadow: 0 -8px 30px rgba(15,41,66,.16);
  transform: translateY(110%);
  transition: transform .4s ease;
}
.cookie-banner.show { transform: none; }
.cookie-banner-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px var(--container-pad);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text { flex: 1; min-width: 260px; font-size: 13.5px; line-height: 1.65; color: var(--text-gray); }
.cookie-text strong { color: var(--navy); }
.cookie-text a { color: var(--orange); font-weight: 600; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: 1.5px solid var(--navy);
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.cookie-btn-secondary { background: var(--white); color: var(--navy); }
.cookie-btn-secondary:hover { background: var(--gray-light); }
.cookie-btn-primary { background: var(--navy); color: var(--white); }
.cookie-btn-primary:hover { box-shadow: 0 6px 18px rgba(15,41,66,.24); }
.cookie-settings-link { cursor: pointer; }
@media (max-width: 640px) {
  .cookie-banner-inner { gap: 16px; }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; padding: 12px 12px; }
}

/* Web3Forms Honeypot: für Menschen unsichtbar (per Position, nicht display:none —
   einfache Bots ignorieren display:none oft und würden das Feld sonst trotzdem ausfüllen). */
.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
