/* ============================================================
   RUHR DELIVERY SERVICE – Stylesheet (Mobile First)
   ============================================================ */

/* ---------- Self-hosted Fonts ---------- */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Colors */
  --navy:         #0f1e3d;
  --navy-dark:    #080f20;
  --navy-mid:     #162a5c;
  --accent:       #3b82f6;
  --accent-dark:  #1d4ed8;
  --accent-light: #eff6ff;
  --accent-rgb:   59, 130, 246;
  --navy-rgb:     15, 30, 61;
  --white:        #ffffff;
  --gray-50:      #f8f9fc;
  --gray-200:     #dde2ee;
  --text:         #1e2535;
  --text-muted:   #5a6480;

  /* Shape */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow:    0 4px 20px  rgba(var(--navy-rgb), .12);
  --shadow-lg: 0 12px 48px rgba(var(--navy-rgb), .18);
  --shadow-xl: 0 24px 64px rgba(var(--navy-rgb), .22);

  /* Card helpers (reused in service-card & karriere__block) */
  --card-border:       0 0 0 1.5px var(--gray-200);
  --card-shadow:       0 4px 16px rgba(var(--navy-rgb), .06);
  --card-border-hover: 0 0 0 1.5px var(--accent);
  --card-shadow-hover: 0 16px 48px rgba(var(--accent-rgb), .15);

  /* Motion */
  --transition: .3s cubic-bezier(.4,0,.2,1);

  /* Layout – mobile default */
  --header-h: 64px;
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: 3rem; }   /* mobile */

/* ---------- Section Header ---------- */
.section__head {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2rem;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent-rgb), .25);
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.text-accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 1;
}
.btn--lg   { font-size: 1rem; padding: .85rem 2rem; border-radius: var(--radius-lg); }
.btn--full { width: 100%; justify-content: center; }

.btn--accent {
  background: var(--accent);
  color: var(--white);
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), .4);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.45);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.75);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(13,20,43,.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo { display: flex; align-items: center; }
.logo__img {
  height: 108px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
}
.logo__img:hover { opacity: .85; }

/* ---- Burger (visible on mobile by default) ---- */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Nav (mobile: fullscreen overlay by default) ---- */
.nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  z-index: 999;
  background: rgba(8,13,32,.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  padding-top: calc(var(--header-h) + 1rem);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease, visibility 0s .35s;
  pointer-events: none;
}
.nav.open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .35s ease, visibility 0s 0s;
  pointer-events: all;
}

.nav__logo {
  position: absolute;
  top: calc(var(--header-h) / 2);
  left: 1.25rem;
  transform: translateY(-50%);
  height: 110px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.nav__close {
  display: flex;
  position: absolute;
  top: calc(var(--header-h) / 2);
  right: 1.25rem;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav__close:hover { background: rgba(255,255,255,.1); }

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  width: 100%;
}
.nav__link {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  padding: 1rem 2rem;
  width: 100%;
  border-radius: var(--radius-lg);
  transition: color var(--transition), background var(--transition);
}
.nav__link:hover  { color: var(--white); background: rgba(255,255,255,.1); }
.nav__link.active { color: var(--navy); background: var(--white); }

.nav__cta {
  justify-content: center;
  margin-top: 2rem;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  width: 100%;
}

/* Tablet+ spacing */
@media (min-width: 900px) {
  .section          { padding-block: 5rem; }
  .section__head    { margin-bottom: 3rem; }
}

/* Desktop+ spacing */
@media (min-width: 1024px) {
  .section          { padding-block: 7rem; }
  .section__head    { margin-bottom: 4rem; }
}

/* Desktop nav */
@media (min-width: 900px) {
  :root { --header-h: 90px; }

  .burger { display: none; }

  .nav {
    /* reset mobile overlay */
    position: static;
    top: auto; right: auto; bottom: auto; left: auto;
    z-index: auto;
    width: auto;
    height: auto;
    min-height: 0;
    background: transparent;
    backdrop-filter: none;
    /* desktop layout */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    gap: 2rem;
    /* always visible */
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all;
    transition: none;
  }

  .nav__logo  { display: none; }
  .nav__close { display: none; }

  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: .25rem;
    width: auto;
  }
  .nav__link {
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    padding: .5rem .9rem;
    width: auto;
    border-radius: var(--radius-sm);
  }
  .nav__cta {
    margin-top: 0;
    font-size: 1rem;
    padding: .65rem 1.4rem;
    width: auto;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block-start: var(--header-h);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: zoomIn 12s ease-out forwards;
  transform-origin: center center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,13,32,.92) 0%,
    rgba(13,20,46,.80) 55%,
    rgba(13,20,46,.45) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 8vw, 7rem);
  max-width: 100%;
}
.hero__brand {
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
  animation: fadeUp .6s ease both;
}
.hero__headline {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp .7s ease both;
}
.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.78);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  animation: fadeUp .7s .15s ease both;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  animation: fadeUp .7s .3s ease both;
}
.hero__actions .btn { width: 100%; justify-content: center; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.5);
  animation: bounce 2.5s ease infinite;
}

@media (min-width: 900px) {
  .hero__content { max-width: 700px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.leistungen { background: var(--gray-50); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem 2rem;
  box-shadow: var(--card-border), var(--card-shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-border-hover), var(--card-shadow-hover);
}
.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-light) 0%, #dbeafe 100%);
  border-radius: 16px;
  margin-bottom: 1.4rem;
  transition: background var(--transition), transform var(--transition);
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--accent); transition: color var(--transition); }
.service-card:hover .service-card__icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  transform: scale(1.1);
}
.service-card:hover .service-card__icon svg { color: var(--white); }

.service-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .6rem;
}
.service-card__text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.service-card__list { display: flex; flex-direction: column; gap: .4rem; }
.service-card__list li {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}

@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(6, 1fr); }
  .service-card  { grid-column: span 2; }
}

/* ============================================================
   ZAHLEN
   ============================================================ */
.zahlen {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-block: 4rem;
}

.zahlen__head {
  text-align: center;
  margin-bottom: 3rem;
}
.zahlen__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.zahlen__title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
}

.zahlen__grid {
  display: flex;
  justify-content: center;
}
.zahlen__item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  transition: background var(--transition), border-color var(--transition);
}
.zahlen__item:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(var(--accent-rgb), .35);
}
.zahlen__number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: .15rem;
  margin-bottom: .75rem;
}
.zahlen__count {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}
.zahlen__suffix {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--accent);
}
.zahlen__text {
  font-size: .95rem;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}

@media (min-width: 900px) {
  .zahlen { padding-block: 6rem; }
}

/* ============================================================
   VORTEILE
   ============================================================ */
.vorteile { background: var(--white); }

.vorteile__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.vorteile__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.vorteile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.vorteile__img-wrap:hover .vorteile__img { transform: scale(1.04); }

.vorteile__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .vorteile__inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   CTA
   ============================================================ */
.cta {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding-block: 4rem;
}
.cta__inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1rem;
}
.cta__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  max-width: 480px;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cta__contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.cta__contact:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(var(--accent-rgb), .5);
  transform: translateY(-2px);
}
.cta__contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.cta__contact-icon svg { width: 20px; height: 20px; }
.cta__contact-label {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  margin-bottom: .2rem;
}
.cta__contact-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

@media (min-width: 900px) {
  .cta { padding-block: 6rem; }
  .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 4rem; }
  .cta__actions { flex-direction: row; gap: 1.25rem; }
  .cta__contact { min-width: 260px; }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt { background: var(--white); }

.kontakt__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.kontakt__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item  { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: var(--accent-light);
  border: 1px solid rgba(var(--accent-rgb), .2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}
.contact-item__icon svg { width: 18px; height: 18px; }
.contact-item__label {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
}
.contact-item__value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
a.contact-item__value:hover { color: var(--accent-dark); }

.kontakt__map {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 360px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
}
.kontakt__map iframe {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 360px;
  border: 0;
}
.map-link { position: absolute; inset: 0; z-index: 1; cursor: pointer; }

/* --- Map Consent Placeholder --- */
.map-placeholder {
  flex: 1;
  min-height: 360px;
  width: 100%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.map-placeholder__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--white);
  max-width: 300px;
}
.map-placeholder__inner svg {
  color: var(--accent);
  flex-shrink: 0;
}
.map-placeholder__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}
.map-placeholder__text {
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  margin: 0;
  line-height: 1.5;
}
.map-placeholder__btn {
  margin-top: .25rem;
}
.map-placeholder__link {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.map-placeholder__link:hover { color: rgba(255,255,255,.8); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 780px;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 40px rgba(15,30,61,.18);
  border: 1px solid var(--gray-200);
  z-index: 9999;
  animation: cookieSlideUp .4s cubic-bezier(.22,1,.36,1) both;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 200px;
}
.cookie-banner__text strong {
  display: block;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: .3rem;
}
.cookie-banner__text p {
  font-size: .82rem;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--gray-200);
}
.btn--outline:hover {
  border-color: var(--navy);
  background: transparent;
  color: var(--navy);
}
@keyframes cookieSlideUp {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@media (max-width: 540px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; }
  .cookie-banner__actions { justify-content: stretch; }
  .cookie-banner__actions .btn { flex: 1; justify-content: center; }
}

@media (min-width: 1024px) {
  .kontakt__inner { grid-template-columns: 5fr 7fr; }
  .kontakt__map,
  .kontakt__map iframe { min-height: 460px; }
}

/* ============================================================
   KARRIERE
   ============================================================ */
.karriere { background: var(--gray-50); }

.karriere__einsatzort {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: .75rem;
}
.karriere__einsatzort svg { flex-shrink: 0; }

.karriere__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.karriere__block {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--card-border), var(--card-shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}
.karriere__block:hover {
  box-shadow: var(--card-border-hover), var(--card-shadow-hover);
  transform: translateY(-3px);
}
.karriere__block--highlight {
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  box-shadow: var(--shadow-lg);
}
.karriere__block--highlight:hover { box-shadow: var(--shadow-xl); transform: translateY(-3px); }
.karriere__block--highlight .karriere__block-title { color: var(--white); }
.karriere__block--highlight .karriere__block-title svg { color: var(--accent); }
.karriere__block--highlight .karriere__block-text { color: rgba(255,255,255,.75); }
.karriere__block--highlight .btn { margin-top: 1.25rem; }

.karriere__block-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.1rem;
}
.karriere__block-title svg { color: var(--accent); flex-shrink: 0; }

.karriere__block-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Shared checkmark list style */
.service-card__list li::before,
.karriere__list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}
.karriere__list { display: flex; flex-direction: column; gap: .6rem; }
.karriere__list li {
  font-size: .9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .karriere__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); }

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 3rem;
}
.footer__logo {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: .35rem;
  opacity: .9;
}
.footer__tagline {
  font-size: .88rem;
  line-height: 1.65;
  max-width: 240px;
  opacity: .65;
}
.footer__col-title {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul li,
.footer__col ul li a,
.footer__col ul li .footer__item { font-size: .87rem; color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer__col ul li a,
.footer__col ul li .footer__item {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer__col ul li a svg,
.footer__col ul li .footer__item svg { flex-shrink: 0; opacity: .6; }
.footer__col ul li a:hover { color: var(--accent); }

.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.5rem; }
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: .82rem; opacity: .45; }
.footer__legal { display: flex; gap: 1.5rem; justify-content: center; }
.footer__legal a { font-size: .82rem; opacity: .45; transition: opacity var(--transition); }
.footer__legal a:hover { opacity: .85; }

@media (min-width: 900px) {
  .footer__inner          { grid-template-columns: 1fr 1fr; gap: 3rem; padding-block: 4rem; }
  .footer__bottom-inner   { flex-direction: row; text-align: left; }
  .footer__legal          { justify-content: flex-end; }
}
@media (min-width: 1024px) {
  .footer__inner { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes zoomIn {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}


/* Floating icon on CTA contact hover */
.cta__contact:hover .cta__contact-icon {
  animation: float 1.8s ease-in-out infinite;
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding-block: calc(var(--header-h) + 4rem) 4rem;
  text-align: center;
}
.legal-hero__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.legal-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
}

.legal-content {
  padding-block: 4rem 6rem;
}
.legal-content__inner {
  max-width: 780px;
  margin-inline: auto;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2.75rem;
  margin-bottom: .6rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gray-200);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}
.legal-content p {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: .9rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.4rem;
  margin-bottom: .9rem;
}
.legal-content li {
  font-size: .97rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: .3rem;
}
.legal-content a { color: var(--accent); }
.legal-content a:hover { text-decoration: underline; }
.legal-content strong { color: var(--navy); font-weight: 600; }

/* Reduced motion – respect system preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
