/* ============================================================
   LOCAL FONTS
   ============================================================ */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-v20-latin-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-v20-latin-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-v20-latin-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-v20-latin-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-v20-latin-800.woff2") format("woff2"); }

/* ============================================================
   interwayz – STYLESHEET
   ============================================================ */

/* --- 1. CUSTOM PROPERTIES --- */
:root {
  --bg:           #f4f7fb;
  --surface:      #ffffff;
  --muted:        #5b6472;
  --line:         #d9e2ec;

  --primary:      #1560bb;
  --primary-hover:#084ea3;
  --footer-bg:    #243e73;

  --shadow:       0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-soft:  0 8px 20px rgba(15, 23, 42, 0.05);

  --radius:       18px;
  --radius-sm:    12px;

  --text:         #102033;
  --text-2:       #4a5a6b;
  --text-3:       #8494a7;
  --primary-tint: #eaf1fb;
}

/* --- 2. RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Scroll-Offset für fixe Header */
[id] {
  scroll-margin-top: 100px;
}



html {
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
strong { color: #e5e8ed; }
strong_black { color: #000000; }

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* --- 3. HEADER & NAV --- */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

/* Dunkler Gradient von oben – Logo immer erkennbar */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 15, 35, 0.55) 0%,
    rgba(5, 15, 35, 0.0) 100%
  );
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.28s ease;
  z-index: -1;
}

.header.is-scrolled::before {
  opacity: 0;
}

/* Logo Fade-in beim Laden */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  animation: fadeInDown 0.6s ease forwards;
}

.nav-links {
  animation: fadeInDown 0.6s ease 0.1s both;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e6ebf2;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.nav {
  min-height: 90px;
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-right: auto;
}

.brand-logo {
  height: 42px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #ffffff;
  transition: color 0.28s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links a {
  position: relative;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  transition: color 0.28s ease;
}

/* Unterstrich nur für Top-Level Nav-Links, nicht für Dropdown-Unterlinks */
.nav-links > a::after,
.nav-dropdown > a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}

.nav-dropdown__menu a::after,
.nav-dropdown__menu a::before {
  content: none !important;
  display: none !important;
}

.nav-links > a:hover::after,
.nav-dropdown > a:hover::after { transform: scaleX(1); }

.header.is-scrolled .brand-text,
.header.is-scrolled .nav-links a {
  color: #183f8f;
}

/* --- 4. HAMBURGER --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.28s ease;
  transform-origin: center;
}

.header.is-scrolled .nav-toggle span { background: #183f8f; }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- 5. HERO (HOME) --- */
.hero {
  width: 100%;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 130px 0 60px;
  background:
    linear-gradient(rgba(10, 20, 40, 0.55), rgba(10, 20, 40, 0.55)),
    url("images/hero.jpg") center / cover no-repeat;
  color: #ffffff;
  position: relative;
}

.hero__inner {
  max-width: 820px;
}

.hero h1 {
  margin: 12px 0 24px;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 16px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 62ch;
  line-height: 1.65;
}

.hero__sub {
  margin: 0 0 40px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 58ch;
  line-height: 1.75;
}

.hero strong { color: #ffffff; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- 6. PAGE HERO (Unterseiten) --- */
.page-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 90px;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(10, 25, 60, 0.82) 0%, rgba(10, 25, 60, 0.65) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 0;
}

.page-hero__content h1 {
  margin: 8px 0 16px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.page-hero__text {
  margin: 0;
  max-width: 58ch;
  font-size: 1.08rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

/* --- 7. EYEBROW --- */
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 10px;
}

/* --- 8. BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 180px;
  min-height: 50px;
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 88, 182, 0.2);
}

.btn--ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  box-shadow: none;
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--primary);
  box-shadow: none;
}
.btn--white:hover {
  background: #e8f0fc;
  transform: translateY(-1px);
}

.btn--small {
  min-width: unset;
  padding: 10px 20px;
  font-size: 0.88rem;
  min-height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* --- 9. TRUST BAR --- */
.trust-bar {
  background: linear-gradient(135deg, #0f2244 0%, #1560bb 100%);
  padding: 28px 0;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.trust-item:last-child { border-right: none; }

.trust-item__value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.trust-item__label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* --- 10. MAIN & SECTIONS --- */
.main {
  background: var(--bg);
  padding: 0;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section-intro {
  max-width: 62ch;
  color: var(--muted);
  margin: 0 0 40px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.section-cta { margin-top: 36px; }

.section--light {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-radius: var(--radius);
  padding: 56px 48px;
  margin-left: -48px;
  margin-right: -48px;
  border: 1px solid var(--line);
}

/* --- 11. CARDS (HOME GRID) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  align-items: stretch;
}

.card {
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card__icon {
  font-size: 2.2rem;
  margin-bottom: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  min-height: 80px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- 12. WHY / ANSATZ GRID --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.why-card {
  padding: 28px 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid var(--line);

  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-left-color 0.2s ease;
}

.why-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow);

}

.why-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--text);
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- 13. STEPS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.step {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.step h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--text);
}

.step p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --- 14. ÜBER UNS – INTRO --- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-intro__text h2 {
  margin: 8px 0 20px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.about-intro__text p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 16px;
}

.about-stat-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat {
  background: linear-gradient(135deg, #ffffff 0%, #f0f6ff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.about-stat__value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.about-stat__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --- 15. WERTE --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--primary-tint, #eaf1fb);
  border-radius: 50%;
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--text);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- 16. TEAM --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.team-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}

.team-card--placeholder {
  border-style: dashed;
  background: var(--bg);
}

.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.team-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card--placeholder .team-card__avatar {
  background: var(--line);
  color: var(--muted);
  font-size: 1.4rem;
}

.team-card__body h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  color: var(--text);
}

.team-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-card--placeholder .team-card__role { color: var(--muted); }

.team-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

a.team-card {
  display: grid;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

a.team-card:hover .team-card__role { color: var(--primary); }

/* --- 17. STANDORT --- */
.location-block {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 12px;
}

.location-block__info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.location-block__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.location-block__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.info-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.info-item p,
.info-item a {
  margin: 0;
  color: var(--muted);
  text-decoration: none;
}

/* --- 18. CTA BANNER --- */
.cta-banner { margin: 0 0 72px; }

.cta-banner__inner {
  background: linear-gradient(135deg, #0f2244 0%, #1560bb 60%, #2a7fff 100%);
  border-radius: var(--radius);
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.cta-banner__inner::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.cta-banner__inner::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  pointer-events: none;
}

.cta-banner__inner h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #fff;
  line-height: 1.2;
}

.cta-banner__inner p {
  margin: 0;
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
}

/* --- 19. SERVICE BLOCKS (Dienstleistungen) --- */
.service-blocks {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 12px;
}

.service-block {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-block:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.service-block__icon {
  font-size: 2.4rem;
  line-height: 1;
  padding-top: 4px;
}

.service-block__body h3 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: var(--text);
}

.service-block__body > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}

.service-list li {
  font-size: 0.93rem;
  color: var(--text-2, #3d5166);
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* --- 20. CONTAINER GRID (Dienstleistungen) --- */
.container-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.container-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.container-card--muted {
  background: var(--bg);
  border-style: dashed;
}

.container-card__size {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1;
}

.container-card__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

/* --- 22. KONTAKT – FORM LAYOUT --- */
.contact-form-section { padding-top: 0; }

.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form-intro h2 {
  margin: 8px 0 18px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  line-height: 1.2;
}

.contact-form-intro p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 14px;
  font-size: 0.97rem;
}

.contact-form-intro__link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- 23. FORM --- */
.form {
  display: grid;
  gap: 18px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.form-section-label {
  margin: 8px 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-section-label:first-child { margin-top: 0; }

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.full { grid-column: 1 / -1; }

label {
  display: grid;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #223548;
}

input, select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 16px;
  border: 1px solid #d7e0ea;
  border-radius: 10px;
  background: #f9fbfd;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder { color: #8b96a7; }

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(21, 96, 187, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.input-file {
  min-height: unset;
  padding: 10px 14px;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-card {
  background: #fff;
  border: 1px solid #e4ebf3;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

/* --- 24. FORM TOGGLE (Import/Export) --- */
.form-toggle {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.form-toggle__inner {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
}

.form-toggle__btn {
  padding: 9px 28px;
  border: none;
  border-radius: 9px;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.form-toggle__btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(21, 96, 187, 0.25);
}

.form-toggle__btn:not(.is-active):hover {
  background: var(--line);
  color: var(--text);
}

/* --- 25. KARRIERE --- */
.karriere-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 12px;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.benefit-card__icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 14px;
  line-height: 1;
}

.benefit-card h3 { margin: 0 0 8px; font-size: 1rem; color: var(--text); }
.benefit-card p  { margin: 0; font-size: 0.93rem; color: var(--muted); line-height: 1.7; }

.job-list { display: flex; flex-direction: column; gap: 20px; margin-top: 12px; }

.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.job-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.job-card__head h3 { margin: 0 0 10px; font-size: 1.15rem; color: var(--text); line-height: 1.3; }

.job-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.job-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #eef3fb;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 100px;
}

.job-card > p { margin: 0 0 16px; color: var(--muted); line-height: 1.75; font-size: 0.97rem; }

.job-requirements { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }

.job-requirements li {
  font-size: 0.92rem;
  color: var(--text-2, #3d5166);
  padding-left: 18px;
  position: relative;
}

.job-requirements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.karriere-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 48px;
  align-items: start;
}

.karriere-form-intro h2 { margin: 8px 0 18px; font-size: clamp(1.6rem, 2.5vw, 2.2rem); line-height: 1.2; }
.karriere-form-intro p  { color: var(--muted); line-height: 1.8; margin: 0 0 14px; font-size: 0.97rem; }

.karriere-contact-hint {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.karriere-contact-hint a { font-size: 1rem; font-weight: 700; color: var(--primary); }

/* --- 26. DANKE-SEITE --- */
.danke-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 80px;
}

.danke-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  max-width: 520px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.danke-icon  { font-size: 3rem; line-height: 1; }
.danke-card h1 { margin: 0; font-size: 2rem; color: var(--text); }
.danke-card p  { margin: 0; color: var(--muted); line-height: 1.75; max-width: 38ch; }

/* --- 27. LEGAL PAGES --- */
.legal-page {
  padding: 10rem 0 6rem;
  background: var(--bg);
}

.legal-container {
  width: min(100% - 2rem, 720px);
  margin: 0 auto;
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.legal-intro {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.legal-body { display: flex; flex-direction: column; }

.legal-section {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3, #8494a7);
  margin-bottom: 0.75rem;
}

.legal-section p { font-size: 1rem; line-height: 1.8; color: var(--text); }
.legal-section a { color: var(--primary); font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }

/* --- 28. FOOTER --- */
.footer {
  background: var(--footer-bg);
  color: #ffffff;
  padding: 44px 0 4px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  font-weight: 700;
}

.footer p {
  margin: 6px 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer a {
  display: block;
  font-size: 0.95rem;
  margin: 6px 0;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s ease;
}

.footer a:hover { color: #ffffff; }

/* --- 29. RESPONSIVE --- */

/* Tablet */
@media (max-width: 960px) {
  .grid,
  .contact-form-layout,
  .karriere-form-layout,
  .row,
  .about-intro,
  .location-block { grid-template-columns: 1fr; }

  .why-grid         { grid-template-columns: 1fr; }
  .steps            { grid-template-columns: repeat(2, 1fr); }
  .container-grid   { grid-template-columns: repeat(2, 1fr); }
  .values-grid      { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr; }
  .karriere-benefits{ grid-template-columns: repeat(2, 1fr); }

  .trust-bar__grid  { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2)               { border-right: none; }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2)               { border-bottom: 1px solid var(--line); }

  .service-block    { grid-template-columns: 1fr; gap: 16px; }
  .service-list     { grid-template-columns: 1fr; }

  .section--light   { margin-left: 0; margin-right: 0; padding: 40px 28px; }
  .cta-banner__inner{ padding: 44px 32px; }

  .contact-form-layout { gap: 28px; }
  .karriere-form-layout{ gap: 28px; }
  .about-intro         { gap: 36px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .job-card__head { flex-direction: column; align-items: flex-start; }
}

/* Mobile: hamburger activates */
@media (max-width: 720px) {
  .container { width: min(1180px, calc(100% - 28px)); }

  * { max-width: 100%; }
  img { max-width: 100%; height: auto; }

  .nav { min-height: 70px; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 22, 50, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 999;
  }

  .nav-links.is-open { display: flex; }

  /* Nur Top-Level Links — nicht die Dropdown-Unterlinks */
  .nav-links > a,
  .nav-links .nav-dropdown > a {
    font-size: 1.6rem;
    color: #fff !important;
    text-align: center;
  }
  .nav-links > a::after,
  .nav-links .nav-dropdown > a::after {
    display: none !important;
    content: none !important;
  }

  .hero { padding: 130px 0 70px; min-height: auto; }
  .hero h1 { font-size: 2.2rem; }

  .page-hero { min-height: 340px; }

  .section { padding: 48px 0; }
  .section--light { padding: 32px 20px; }

  .steps { grid-template-columns: 1fr; }
  .karriere-benefits { grid-template-columns: repeat(2, 1fr); }

  .contact-way  { padding: 22px 24px; }
  .contact-way__divider { width: auto; height: 1px; align-self: auto; }

  .team-card  { grid-template-columns: 56px 1fr; gap: 16px; padding: 22px; }
  .team-card__avatar { width: 52px; height: 52px; font-size: 0.95rem; }

  .job-card   { padding: 22px; }
  .form-card  { padding: 20px; }
  .form       { padding: 20px; }

  .cta-banner__inner { padding: 36px 24px; }
  .footer { padding: 48px 0; }
}

/* Small mobile */
@media (max-width: 480px) {
  .hero h1    { font-size: 1.9rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .trust-bar__grid     { grid-template-columns: 1fr 1fr; }
  .karriere-benefits   { grid-template-columns: 1fr; }
  .about-stat-block    { grid-template-columns: 1fr; max-width: 100%; }
  .container-grid      { grid-template-columns: repeat(2, 1fr); }

  .legal-page { padding: 8rem 0 4rem; }
}

.brand-text { display: none; }

/* ===========================
   GOOGLE MAPS CONSENT
   =========================== */
.map-consent {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius);
}

.map-consent__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  padding: 32px;
}

.map-consent__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.map-consent__inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 28ch;
  line-height: 1.6;
}

.map-consent__inner strong {
  color: var(--text);
  font-size: 1rem;
}

.map-consent__inner .btn {
  margin-top: 6px;
  min-width: 140px;
}

/* ===========================
   KONTAKT – INFO BOX
   =========================== */
.contact-info-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info-box__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-info-box__item:first-child { padding-top: 0; }
.contact-info-box__item:last-child  { padding-bottom: 0; border-bottom: none; }

.contact-info-box__label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-box__value {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.contact-info-box__value:hover { color: var(--primary); }

.contact-info-box__hint {
  font-size: 0.8rem;
  color: var(--muted);
}
/* ============================================================
   BARRIEREFREIHEIT
   ============================================================ */

/* Skip-Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Fokus-Styles für Tastaturnavigation */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21, 96, 187, 0.15);
}

/* Screenreader-only Text */
.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;
}
/* --- Code of Conduct Download --- */
.coc-download {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 16px;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  vertical-align: middle;
}

.coc-download:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ============================================================
   ANIMATIONEN
   ============================================================ */

/* Scroll-Animationen */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Seitenübergang – Bahn-Wipe */
.page-transition {
  position: fixed;
  top: 0; left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, #4a9eff 50%, var(--primary) 100%);
  z-index: 9999;
  transition: left 0.4s ease;
  opacity: 0;
}

.page-transition.is-running {
  left: 0;
  opacity: 1;
}



/* Intro-Animation Homepage */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__inner > *,
.page-hero__content > * {
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}

.hero__inner > *:nth-child(1),
.page-hero__content > *:nth-child(1) { animation-delay: 0.2s; }

.hero__inner > *:nth-child(2),
.page-hero__content > *:nth-child(2) { animation-delay: 0.4s; }

.hero__inner > *:nth-child(3),
.page-hero__content > *:nth-child(3) { animation-delay: 0.6s; }

.hero__inner > *:nth-child(4),
.page-hero__content > *:nth-child(4) { animation-delay: 0.7s; }
/* --- Inlandsterminals --- */
.terminal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.terminal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.terminal-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
  color: var(--primary);
}

.terminal-hint {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--muted);
}

.terminal-hint a {
  color: var(--primary);
  font-weight: 600;
  margin-left: 4px;
}

.terminal-hint a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .terminal-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .terminal-grid { grid-template-columns: repeat(2, 1fr); }
}

.terminal-group-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 28px 0 10px;
}

.terminal-group-label:first-of-type {
  margin-top: 0;
}

/* --- Nav Dropdown --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dropdown__arrow {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown:hover .nav-dropdown__arrow {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding-top: 12px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 200;
  min-width: 210px;
}

.nav-dropdown:hover .nav-dropdown__menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu__inner {
  background: rgba(10, 22, 50, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  padding: 8px;
  overflow: hidden;
}

.nav-dropdown__menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8) !important;
  text-transform: none;
  letter-spacing: 0.01em;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__menu a::before {
  display: none;
}

.nav-dropdown__menu a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff !important;
}

.nav-dropdown__menu a::after { display: none; }

/* Mobile */
@media (max-width: 720px) {
  .nav-dropdown__trigger {
    font-size: 1.6rem;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    text-align: center;
  }
  .nav-dropdown__trigger::after,
  .nav-dropdown__trigger::before {
    display: none !important;
    content: none !important;
  }
  .nav-dropdown__arrow {
    display: block;
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: transform 0.25s;
    flex-shrink: 0;
  }
  .nav-dropdown.is-open .nav-dropdown__arrow {
    transform: rotate(180deg);
  }
  .nav-dropdown__menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    opacity: 1 !important;
    pointer-events: none;
    padding-top: 0;
    max-height: 0;
    min-width: 0 !important;
    width: 100% !important;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-dropdown.is-open .nav-dropdown__menu {
    pointer-events: auto;
    max-height: 400px;
    padding-top: 8px;
  }
  .nav-dropdown__menu__inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100%;
    gap: 0;
  }
  .nav-dropdown__menu a,
  .nav-dropdown__menu a:link,
  .nav-dropdown__menu a:visited {
    display: block !important;
    width: auto !important;
    text-align: center !important;
    font-size: 1.1rem !important;
    color: rgba(255,255,255,0.65) !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    position: static !important;
    align-items: unset !important;
    gap: 0 !important;
  }
  .nav-dropdown__menu a::after,
  .nav-dropdown__menu a::before {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }
  /* nav-links a::after Unterstrich in Dropdowns deaktivieren */
  .nav-dropdown__menu .nav-links a::after,
  .nav-links .nav-dropdown__menu a::after {
    display: none !important;
    content: none !important;
  }
  .nav-dropdown__menu a:hover,
  .nav-dropdown__menu a:active {
    background: transparent !important;
    color: #fff !important;
    padding-left: 0 !important;
    transform: none !important;
  }
}

.service-block__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.card__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.about-intro__text .section-eyebrow {
  color: var(--primary);
}
/* Container-Grid Auf Anfrage – 5 Spalten */
.container-grid + .terminal-group-label + .container-grid {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 960px) {
  .container-grid + .terminal-group-label + .container-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .container-grid + .terminal-group-label + .container-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* values-grid 4-spaltig */
.values-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .values-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .values-grid--4 { grid-template-columns: 1fr; }
}

/* ============================================================
   DIENSTLEISTUNGEN – NEUE LAYOUTS
   ============================================================ */

/* --- Kernleistungen: nummerierte Split-Blöcke --- */
.dl-section-header {
  max-width: 680px;
  margin-bottom: 64px;
}

.dl-leistung {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  position: relative;
}

.dl-leistung:last-child { border-bottom: 1px solid var(--line); }

.dl-leistung--reverse {
  grid-template-columns: 48px 1fr 1fr;
  direction: rtl;
}

.dl-leistung--reverse > * { direction: ltr; }

.dl-leistung__num {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--primary);
  opacity: 0.5;
  align-self: start;
  padding-top: 6px;
}

.dl-leistung__img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dl-leistung__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
}

.dl-leistung__icon {
  font-size: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/3;
}

.dl-leistung__content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.dl-leistung__content > p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
  font-size: 0.97rem;
}

.dl-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dl-list li {
  font-size: 0.9rem;
  color: var(--text-2);
  padding-left: 16px;
  position: relative;
}

.dl-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

/* --- Containertypen: Tabellen-Layout --- */
.dl-container__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dl-container__sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 32ch;
  text-align: right;
  margin: 0;
  line-height: 1.6;
}

.dl-container__table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.dl-ctable__head {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 0;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dl-ctable__row {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  gap: 0;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.15s ease;
}

.dl-ctable__row:last-child { border-bottom: none; }

.dl-ctable__row:hover { background: var(--bg); }

.dl-ctable__row--muted {
  opacity: 0.6;
}

.dl-ctable__row--muted:hover { opacity: 0.9; }

.dl-ctable__size {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.dl-ctable__row--muted .dl-ctable__size { color: var(--muted); }

.dl-ctable__avail {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.dl-ctable__avail--yes {
  color: #1a9e5c;
  background: #e6f9f0;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}

/* --- Standorte: Zwei-Spalten Listenlayout --- */
.dl-standorte__intro { margin-bottom: 40px; }

.dl-standorte__cols {
  display: grid;
  grid-template-columns: 1fr 20px 2fr;
  gap: 0 32px;
  align-items: start;
}

.dl-standorte__divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
  margin: 0 auto;
}

.dl-standorte__col-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.dl-standorte__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dl-standorte__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.dl-standorte__list li:first-child { border-top: 1px solid var(--line); }

.dl-standorte__list li:hover {
  color: var(--primary);
  padding-left: 8px;
}

.dl-standorte__list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dl-standorte__list--grid li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.dl-standorte__list--grid li:nth-child(even) { padding-left: 24px; }

/* --- Ablauf: Horizontale Timeline --- */
.dl-timeline {
  position: relative;
  margin-top: 48px;
}

.dl-timeline__line {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #4a9eff);
  z-index: 0;
}

.dl-timeline__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.dl-timeline__step {
  padding-top: 52px;
}

.dl-timeline__dot {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0 0 4px var(--bg);
  position: relative;
  margin-bottom: 20px;
}

.dl-timeline__step h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.dl-timeline__step p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .dl-leistung,
  .dl-leistung--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .dl-leistung__num { display: none; }
  .dl-leistung__img { max-width: 280px; }

  .dl-container__header { flex-direction: column; align-items: flex-start; }
  .dl-container__sub { text-align: left; }
  .dl-ctable__head,
  .dl-ctable__row { grid-template-columns: 100px 1fr 120px; padding: 12px 16px; }

  .dl-standorte__cols { grid-template-columns: 1fr; }
  .dl-standorte__divider { display: none; }
  .dl-standorte__list--grid { grid-template-columns: 1fr; }
  .dl-standorte__list--grid li:nth-child(odd),
  .dl-standorte__list--grid li:nth-child(even) { border-right: none; padding-left: 0; padding-right: 0; }

  .dl-timeline__line { display: none; }
  .dl-timeline__steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .dl-timeline__steps { grid-template-columns: 1fr; }
  .dl-ctable__head { display: none; }
  .dl-ctable__row { grid-template-columns: 80px 1fr; }
  .dl-ctable__row > span:last-child { display: none; }
}

/* Terminals klickbar */
.dl-standorte__list a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

.dl-standorte__list li:hover {
  color: var(--primary);
  padding-left: 8px;
  cursor: pointer;
}

.dl-standorte__list a:hover { color: var(--primary); }

/* --- Datenschutz Checkbox --- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
  border-radius: 4px;
}

.checkbox-label a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- About Facts: Liste statt Boxen --- */
.about-facts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}

.about-fact:last-child { border-bottom: none; }

.about-fact__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.about-fact__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

.trust-bar__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.trust-item--link {
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.trust-item--link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
}

.trust-item--link .trust-item__label {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 960px) {
  .trust-bar__grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .trust-bar__grid--5 { grid-template-columns: repeat(2, 1fr); }
}
/* --- Footer Copyright --- */
.footer-bottom {
  background: transparent;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

/* --- About Facts: Liste statt Boxen --- */
.about-facts {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.about-fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 28px;
  border-bottom: 1px solid var(--line);
}

.about-fact:last-child { border-bottom: none; }

.about-fact__value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.about-fact__label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

/* --- Checkbox --- */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.6;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Trust Bar 5 Spalten --- */
.trust-bar__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.trust-item--link {
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.trust-item--link:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
}

.trust-item--link .trust-item__label {
  color: rgba(255,255,255,0.85);
}

@media (max-width: 960px) {
  .trust-bar__grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .trust-bar__grid--5 { grid-template-columns: repeat(2, 1fr); }
}

/* --- Dienstleistungen neue Layouts --- */
.dl-container__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.dl-container__sub {
  color: var(--muted);
  font-size: 0.97rem;
  max-width: 32ch;
  text-align: right;
  margin: 0;
  line-height: 1.6;
}

.dl-container__table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.dl-ctable__head {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dl-ctable__row {
  display: grid;
  grid-template-columns: 140px 1fr 160px;
  padding: 16px 28px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: background 0.15s ease;
}

.dl-ctable__row:last-child { border-bottom: none; }
.dl-ctable__row:hover { background: var(--bg); }
.dl-ctable__row--muted { opacity: 0.6; }
.dl-ctable__row--muted:hover { opacity: 0.9; }

.dl-ctable__size {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.dl-ctable__row--muted .dl-ctable__size { color: var(--muted); }

.dl-ctable__avail {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.dl-ctable__avail--yes {
  color: #1a9e5c;
  background: #e6f9f0;
  padding: 4px 10px;
  border-radius: 100px;
  display: inline-block;
}

.dl-standorte__intro { margin-bottom: 40px; }

.dl-standorte__cols {
  display: grid;
  grid-template-columns: 1fr 20px 2fr;
  gap: 0 32px;
  align-items: start;
}

.dl-standorte__divider {
  width: 1px;
  background: var(--line);
  align-self: stretch;
  margin: 0 auto;
}

.dl-standorte__col-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.dl-standorte__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.dl-standorte__list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.dl-standorte__list li:first-child { border-top: 1px solid var(--line); }
.dl-standorte__list li:hover { color: var(--primary); padding-left: 8px; }

.dl-standorte__list a { color: inherit; text-decoration: none; display: block; }
.dl-standorte__list a:hover { color: var(--primary); }

.dl-standorte__list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.dl-standorte__list--grid li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
.dl-standorte__list--grid li:nth-child(even) { padding-left: 24px; }

@media (max-width: 960px) {
  .dl-container__header { flex-direction: column; align-items: flex-start; }
  .dl-container__sub { text-align: left; }
  .dl-ctable__head, .dl-ctable__row { grid-template-columns: 100px 1fr 120px; padding: 12px 16px; }
  .dl-standorte__cols { grid-template-columns: 1fr; }
  .dl-standorte__divider { display: none; }
  .dl-standorte__list--grid { grid-template-columns: 1fr; }
  .dl-standorte__list--grid li:nth-child(odd),
  .dl-standorte__list--grid li:nth-child(even) { border-right: none; padding-left: 0; padding-right: 0; }
}

@media (max-width: 640px) {
  .dl-ctable__head { display: none; }
  .dl-ctable__row { grid-template-columns: 80px 1fr; }
  .dl-ctable__row > span:last-child { display: none; }
}

/* --- scroll-margin-top --- */
[id] { scroll-margin-top: 100px; }
/* --- Germanports ID im Hero --- */
.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  margin-top: 16px;
  width: calc(100vw - 40px);
  max-width: 1180px;
}

.hero__sub {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 58ch;
  line-height: 1.75;
  align-self: flex-start;
  padding-left: 0;
}

.hero__germanports {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(21, 96, 187, 0.35);
  border: 1px solid rgba(74, 159, 255, 0.4);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  flex-shrink: 0;
  white-space: nowrap;
}

.hero__germanports__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero__germanports__value {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
}

/* --- Footer Copyright --- */
.footer-bottom {
  background: transparent;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin: 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}


/* --- ADSp Link --- */
.adsp-link {
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  transition: opacity 0.2s ease;
}

.adsp-link:hover {
  opacity: 0.75;
}
/* --- Code of Conduct Block auf ueber-uns --- */
.coc-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.coc-block__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.coc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.coc-item__icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .coc-block { grid-template-columns: 1fr; gap: 32px; }
  .coc-block__items { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .coc-block__items { grid-template-columns: 1fr; }
}
/* --- Bewerbung Layout --- */
.bewerbung-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.bewerbung-kontakt {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.bewerbung-kontakt__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.bewerbung-kontakt__email {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.bewerbung-kontakt__email:hover { text-decoration: underline; }

.bewerbung-kontakt__hint {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}

.bewerbung-checklist__title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 24px;
}

.bewerbung-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bewerbung-step {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.bewerbung-step:first-child { border-top: 1px solid var(--line); }

.bewerbung-step__num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
}

.bewerbung-step strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.bewerbung-step p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 800px) {
  .bewerbung-layout { grid-template-columns: 1fr; gap: 40px; }
}
/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 28px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.25);
  flex-shrink: 0;
}
.header.is-scrolled .lang-switcher {
  border-left-color: rgba(21,96,187,0.2);
}
.lang-switcher__btn {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 6px;
  color: rgba(255,255,255,0.55);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, color 0.18s;
  line-height: 1;
}
.header.is-scrolled .lang-switcher__btn {
  color: var(--text-2);
}
.lang-switcher__btn.is-active {
  color: #fff;
  background: rgba(255,255,255,0.18);
  border-radius: 6px;
}
.lang-switcher__btn:hover {
  color: #fff;
}
.header.is-scrolled .lang-switcher__btn.is-active {
  background: var(--primary);
  color: #fff;
}
.header.is-scrolled .lang-switcher__btn:hover {
  color: var(--primary);
  background: transparent;
}

@media (max-width: 720px) {
  .lang-switcher {
    margin-left: 0;
    margin-right: 12px;
    padding-left: 0;
    border-left: none;
  }
  .lang-switcher__btn {
    color: rgba(255,255,255,0.65);
  }
  .lang-switcher__btn.is-active {
    background: rgba(255,255,255,0.2);
    color: #fff;
  }
}