/* ════════════════════════════════════════════════════════════════════════════
   IW-Transport GmbH – Haupt-Stylesheet (Modern Edition)
   ════════════════════════════════════════════════════════════════════════════ */

:root {
  --green:        #3FA862;
  --green-btn:    #45B068;
  --green-dark:   #1A3328;
  --green-medium: #245237;
  --green-glow:   rgba(63,168,98,0.35);
  --green-light:  #62C882;
  --dark:         #0F1A14;
  --dark-2:       #111827;
  --light:        #F8FAF9;
  --white:        #FFFFFF;
  --nav-height:   80px;
  --radius:       8px;
  --radius-lg:    14px;
  --transition:   0.3s ease;
  --shadow-sm:    0 2px 10px rgba(0,0,0,0.08);
  --shadow:       0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.18);
}

/* ── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark-2);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
textarea, input, select { font: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── Typography ──────────────────────────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--green-light);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.section-title.green  { color: var(--green); }
.section-title.white  { color: var(--white); }
.section-title.center { text-align: center; }

.section-text { font-size: 1rem; line-height: 1.8; opacity: 0.88; margin-bottom: 1rem; font-weight: 400; }
.text-light { color: rgba(255,255,255,0.82); }
.section-divider { border: none; border-top: 1px solid rgba(255,255,255,0.2); margin: 1.5rem 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1.25rem; }
.mb-4 { margin-bottom: 2.5rem; }
.center { text-align: center; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-btn) 0%, #38924F 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--green-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--green-glow);
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-btn) 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--green-light);
}
.btn-outline-light:hover { background: var(--green-light); color: var(--dark); transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--light); transform: translateY(-2px); box-shadow: var(--shadow); }

.btn-lg { padding: 0.9rem 2.2rem; font-size: 1rem; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

/* Ripple effect */
.btn::after {
  content: '';
  position: absolute;
  inset: 50% 50%;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  transform: translate(-50%,-50%) scale(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
}
.btn:active::after {
  transform: translate(-50%,-50%) scale(4);
  opacity: 0;
  transition: 0s;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background: rgba(255,255,255,0);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.06);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 62px;
  width: auto;
  filter: none;
  transition: transform 0.3s ease;
}
.nav-logo-img:hover { transform: scale(1.03); }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-iw {
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  transition: color 0.4s;
}
.logo-transport {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  transition: color 0.4s;
}
.logo-sub {
  font-size: 0.42rem;
  color: var(--green-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Scrolled state: dark logo */
.site-header.scrolled .logo-iw   { color: var(--green-dark); }
.site-header.scrolled .logo-transport { color: var(--green-dark); opacity: 0.7; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-link {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  border-radius: 50px;
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.nav-link.active { font-weight: 700; color: var(--white); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--green-light);
  border-radius: 50%;
}

/* Scrolled: dark nav links */
.site-header.scrolled .nav-link       { color: var(--dark-2); }
.site-header.scrolled .nav-link:hover { background: var(--light); color: var(--dark-2); }
.site-header.scrolled .nav-link.active { color: var(--green-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, background 0.3s ease;
  transform-origin: center;
}
.site-header.scrolled .nav-toggle span { background: var(--dark-2); }

/* Hamburger → X wenn offen */
.nav-toggle.active span { background: var(--dark-2); }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero Slideshow ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slides, .hero-slide { position: absolute; inset: 0; }

/* Transition: fade (default) */
.hero-slide { opacity: 0; transition: opacity 1.4s ease; transform: none; }
.hero-slide.active { opacity: 1; }

/* Transition: slide */
.hero-slides.transition-slide .hero-slide { opacity: 1; transform: translateX(100%); transition: transform 0.8s cubic-bezier(0.77,0,0.18,1); }
.hero-slides.transition-slide .hero-slide.active { transform: translateX(0%); }
.hero-slides.transition-slide .hero-slide.leaving { transform: translateX(-100%); }

/* Transition: zoom */
.hero-slides.transition-zoom .hero-slide { opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 1s ease; }
.hero-slides.transition-zoom .hero-slide.active { opacity: 1; transform: scale(1); }

.hero-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease;
}
.hero-slide.active .hero-bg { transform: scale(1); }

.hero-bg-default {
  background: linear-gradient(135deg, #0d2018 0%, var(--green-dark) 40%, #0a1a10 100%);
}
.hero-media { width: 100%; height: 100%; object-fit: cover; }

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25) 0%,
    rgba(0,0,0,0.50) 40%,
    rgba(0,0,0,0.65) 100%
  );
  z-index: 1;
}

/* subtle vignette at edges */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding-top: calc(var(--nav-height) + 1rem);
}

/* Hero entrance animations */
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(0,0,0,0.3);
  animation: heroTitle 0.9s cubic-bezier(0.22,1,0.36,1) both;
}
.hero-highlight {
  color: var(--green-light);
  display: block;
  text-shadow: 0 0 60px rgba(98,200,130,0.4), 0 4px 20px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0,0,0,0.6);
  color: rgba(255,255,255,0.92);
  animation: heroSub 1s 0.25s cubic-bezier(0.22,1,0.36,1) both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroBtns 1s 0.45s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes heroTitle {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroSub {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroBtns {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Slideshow controls */
.hero-dots {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 10px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transition: all 0.4s ease;
  border: none; cursor: pointer;
}
.hero-dot.active {
  background: var(--green-light);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(98,200,130,0.6);
}

.hero-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  border: 1px solid rgba(255,255,255,0.2);
  line-height: 1;
}
.hero-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-50%) scale(1.05);
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 36px; right: 36px;
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  animation: scrollBounce 2s 1.5s ease infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.section-stats {
  background: var(--light);
  padding: 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-item {
  text-align: center;
  padding: 3rem 1.5rem;
  position: relative;
  transition: background var(--transition);
  background: var(--light);
}
.stat-item + .stat-item {
  border-left: 1px solid rgba(0,0,0,0.07);
}
.stat-item:hover { background: var(--white); }

.stat-value {
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.stat-item:hover .stat-value { color: var(--green); }

.stat-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26,51,40,0.55);
}

/* ── Reveal animations (scroll-triggered) ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed { 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; }

/* ── Two-Column Layout ───────────────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.two-col-reverse .two-col-image { order: 1; }
.two-col-reverse .two-col-text  { order: 0; }

.section-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}
.section-img:hover { transform: scale(1.02); box-shadow: 0 30px 70px rgba(0,0,0,0.22); }

.img-placeholder {
  width: 100%; height: 440px;
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.3);
  text-align: center; font-size: 0.9rem;
}
.img-placeholder:not(.dark) {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.12);
  color: rgba(0,0,0,0.25);
}

/* ── About Section ───────────────────────────────────────────────────────── */
.section-about { background: var(--dark); color: var(--white); }
.section-about .section-text { color: rgba(255,255,255,0.78); }

/* ── Fleet Section ───────────────────────────────────────────────────────── */
.section-fleet {
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
/* Background pattern */
.section-fleet::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(63,168,98,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Jobs Section ────────────────────────────────────────────────────────── */
.section-jobs {
  background: linear-gradient(135deg, var(--green-medium) 0%, #1d4a2c 100%);
  color: var(--white);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}
.section-jobs::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(98,200,130,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.jobs-inner { display: grid; grid-template-columns: 1fr auto; gap: 5rem; align-items: start; }

.jobs-subtitle { font-weight: 500; margin-bottom: 2rem; opacity: 0.88; font-size: 1.05rem; }

.jobs-benefits { display: flex; flex-direction: column; gap: 0.75rem; }
.jobs-benefits li {
  padding: 0.7rem 1rem 0.7rem 1.5rem;
  position: relative;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border-left: 3px solid var(--green-light);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.jobs-benefits li:hover { background: rgba(255,255,255,0.1); }

.jobs-contact-card {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  min-width: 230px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.contact-card-label {
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.6; margin-bottom: 1rem;
}
.contact-card-photo {
  width: 80px; height: 80px; border-radius: 50%;
  object-fit: cover; margin: 0 auto 0.75rem;
  border: 3px solid var(--green-light);
}
.contact-card-name { font-weight: 700; font-size: 1.1rem; margin-bottom: 0.3rem; }
.contact-card-detail { font-size: 0.82rem; opacity: 0.75; margin-bottom: 0.25rem; }
.contact-card-detail a { color: inherit; }
.section-jobs-full { min-height: 420px; }

/* ── IW Group ────────────────────────────────────────────────────────────── */
.section-group {
  background: var(--dark);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.section-group::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(63,168,98,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.group-tabs { margin-top: 3rem; }

.group-tab-nav {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-bottom: 0;
  padding: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-bottom: none;
}

.group-tab-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-align: center;
  transition: all var(--transition);
  background: transparent;
  border: none; cursor: pointer;
  min-width: 100px;
  border-radius: calc(var(--radius) - 2px);
}
.group-tab-btn:hover { color: rgba(255,255,255,0.85); background: rgba(255,255,255,0.06); }
.group-tab-btn.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.1);
  border-bottom: 2px solid var(--green-light);
}

.group-tab-content {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  min-height: 160px;
}
.group-tab-panel { display: none; animation: fadeInTab 0.3s ease; }
.group-tab-panel.active { display: block; }

@keyframes fadeInTab {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.group-company-label {
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.group-company-desc {
  margin-bottom: 1.5rem;
  opacity: 0.8;
  max-width: 580px;
  font-size: 0.98rem;
  line-height: 1.7;
}

/* ── Contact Section ─────────────────────────────────────────────────────── */
.section-contact {
  background: #0d1a12;
  color: var(--white);
  padding: 6rem 0;
}

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-sub { font-size: 0.88rem; font-weight: 600; color: var(--green-light); }
.contact-detail { font-size: 0.88rem; opacity: 0.75; margin-bottom: 0.3rem; }
.contact-detail a { color: inherit; transition: opacity var(--transition); }
.contact-detail a:hover { opacity: 1; color: var(--green-light); }
.hours-table {
  display: grid; grid-template-columns: auto 1fr;
  gap: 0.3rem 1.5rem;
  font-size: 0.88rem; opacity: 0.78;
}
.contact-form-title {
  font-size: 1.15rem; font-weight: 700;
  color: var(--green-light); margin-bottom: 1.75rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; opacity: 0.75; font-weight: 500; }
.required { color: var(--green-light); }

.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 0.7rem 0.9rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-light);
  background: rgba(255,255,255,0.09);
}
.form-group input::placeholder,
.form-group textarea::placeholder { opacity: 0.35; }

.form-result {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
}
.form-result.success { background: rgba(63,168,98,0.15); color: var(--green-light); border: 1px solid rgba(63,168,98,0.25); }
.form-result.error   { background: rgba(220,60,60,0.12); color: #ff8080; border: 1px solid rgba(220,60,60,0.2); }

/* ── Page Hero (Unterseiten) ─────────────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 230px;
  background: var(--green-dark);
  display: flex;
  align-items: flex-end;
  margin-top: var(--nav-height);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 100%);
  z-index: 0;
}
.page-hero-overlay { display: none; }
.page-hero-content {
  position: relative; z-index: 1;
  color: var(--white);
  padding-bottom: 2.2rem;
}
.page-hero-content h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.page-hero-content p { opacity: 0.82; font-size: 1rem; }

/* ── Info Blocks (Unternehmen) ───────────────────────────────────────────── */
.section-info-blocks { padding: 5rem 0; background: var(--light); }
.section-info-blocks .container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.info-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.info-block:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.info-block-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.info-block-title::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.info-block-text {
  color: var(--dark-2);
  line-height: 1.85;
  font-size: 0.97rem;
}
.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.info-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--dark-2);
  line-height: 1.7;
  font-size: 0.97rem;
}
.info-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
  top: 0.15em;
}
.info-list.timeline { gap: 0; }
.info-list.timeline li {
  padding: 0.6rem 0 0.6rem 2.5rem;
  border-left: 2px solid rgba(63,168,98,0.2);
  margin-left: 0.5rem;
  position: relative;
}
.info-list.timeline li::before {
  content: '';
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--green);
  position: absolute;
  left: -6px; top: 50%;
  transform: translateY(-50%);
}
.info-list.timeline li:last-child { border-left-color: transparent; }

@media (max-width: 640px) {
  .info-block { padding: 1.75rem 1.5rem; }
}

/* ── Values Section ──────────────────────────────────────────────────────── */
.section-values { padding: 6rem 0; background: var(--light); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(0,0,0,0.05);
}
.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(63,168,98,0.15);
}
.value-icon { font-size: 2.8rem; margin-bottom: 1.25rem; }
.value-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.6rem; color: var(--green-dark); }
.value-text  { font-size: 0.88rem; opacity: 0.65; line-height: 1.65; }

/* ── Gallery ─────────────────────────────────────────────────────────────── */
.section-gallery, .section-gallery-empty { padding: 6rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  aspect-ratio: 4/3;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '🔍';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  opacity: 0;
}
.gallery-item:hover::after { background: rgba(0,0,0,0.3); opacity: 1; }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white; padding: 1rem 0.75rem 0.5rem;
  font-size: 0.82rem;
}

.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  cursor: zoom-out;
  animation: fadeIn 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  color: white; font-size: 2.5rem;
  background: rgba(255,255,255,0.1); border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }

/* ── Videos ──────────────────────────────────────────────────────────────── */
.section-videos { padding: 6rem 0; }
.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}
.video-player { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.video-caption { font-size: 0.85rem; opacity: 0.65; margin-top: 0.6rem; }

/* ── Empty State ─────────────────────────────────────────────────────────── */
.section-empty { padding: 7rem 0; background: var(--light); }
.empty-state { text-align: center; }
.empty-icon { font-size: 4rem; margin-bottom: 1.25rem; }
.empty-state h2 { margin-bottom: 0.6rem; color: var(--green-dark); font-size: 1.5rem; font-weight: 700; }
.empty-state p { opacity: 0.55; }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: #080f0a; color: var(--white); }

.footer-top {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 3.5rem;
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-logo-text { display: flex; flex-direction: column; line-height: 1; }
.footer-logo-img  { height: 76px; width: auto; filter: brightness(0) invert(1) opacity(0.88); }
.footer-logo-text .logo-iw       { font-size: 2.2rem; color: var(--white); }
.footer-logo-text .logo-transport { color: rgba(255,255,255,0.55); }
.footer-logo-text .logo-sub      { color: var(--green-light); }

.footer-col-title {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-light); }

.footer-contact-list { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact-list li,
.footer-contact-list a { font-size: 0.88rem; color: rgba(255,255,255,0.62); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--green-light); }
.footer-address { font-size: 0.82rem; color: rgba(255,255,255,0.38); margin-top: 0.75rem; line-height: 1.7; }

.footer-bottom { padding: 1.5rem 0; }
.footer-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-legal-links { display: flex; gap: 1.75rem; }
.footer-legal-links a { transition: color var(--transition); }
.footer-legal-links a:hover { color: var(--green-light); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .two-col, .two-col-reverse { gap: 3rem; }
  .container { padding: 0 32px; }
}

@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .two-col, .two-col-reverse {
    grid-template-columns: 1fr; gap: 3rem; padding-top: 4rem; padding-bottom: 4rem;
  }
  .two-col-reverse .two-col-image { order: 0; }
  .two-col-reverse .two-col-text  { order: 1; }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .jobs-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .nav-logo-img { height: 54px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Long-form statt inset-Shorthand: ältere iOS-Versionen rechnen
       inset mit position:fixed nicht zuverlässig zu height. */
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    width: 100%;
    background: #ffffff;
    z-index: 99;
    padding: 2rem 18px;
    gap: 0.4rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    /* Anti-Jump: per opacity/visibility animieren, nicht display */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s linear;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle { display: flex; }
  .site-header.scrolled .nav-link { color: var(--dark-2); }
  .nav-link {
    font-size: 1.05rem; padding: 0.85rem 1rem;
    color: var(--dark-2) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius);
  }
  .nav-link.active { background: var(--light); }
  .nav-logo-img { height: 48px; }

  .stats-grid { grid-template-columns: 1fr; }
  .stat-item + .stat-item { border-left: none; border-top: 1px solid rgba(0,0,0,0.07); }

  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-btns { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

  .section-group { padding: 4rem 0; }
  .group-tabs { margin-top: 2rem; }
  /* Alle Firmen auf einen Blick: 2-Spalten-Raster statt Scrollen */
  .group-tab-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .group-tab-btn {
    min-width: 0;
    font-size: 0.74rem;
    padding: 0.75rem 0.5rem;
    line-height: 1.25;
  }
  /* Ungerade letzte Karte über volle Breite */
  .group-tab-btn:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .group-tab-content { padding: 1.75rem 1.4rem; min-height: 0; }
  .group-company-desc { font-size: 0.95rem; max-width: none; }

  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }

  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-logo-img { height: 58px; }
  .footer-bottom-inner { flex-direction: column; gap: 0.75rem; text-align: center; }
  .hero-arrow { display: none; }
  .hero-scroll { display: none; }
  .two-col { padding-top: 3rem; padding-bottom: 3rem; }

  section { padding: 4rem 0; }
}

/* ── Kontaktformular: Datei-Anhänge ────────────────────────────────────────── */
.form-hint { display: block; margin-top: 0.3rem; font-size: 0.78rem; opacity: 0.6; }
.contact-form input[type=file] {
  width: 100%;
  padding: 0.6rem;
  border: 1px dashed rgba(255,255,255,0.25);
  border-radius: 8px;
  background: rgba(255,255,255,0.03);
  color: inherit;
  font-size: 0.85rem;
  cursor: pointer;
}
.contact-form input[type=file]::file-selector-button {
  margin-right: 0.75rem;
  padding: 0.4rem 0.9rem;
  border: none;
  border-radius: 6px;
  background: var(--green, #3FA862);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.cf-files-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}
.cf-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  background: rgba(63,168,98,0.15);
  border: 1px solid rgba(63,168,98,0.3);
  border-radius: 50px;
  font-size: 0.78rem;
}
.cf-file-chip small { opacity: 0.6; }

/* ── Rechtstext-Seiten (Impressum / Datenschutz) ───────────────────────────── */
.section-legal { padding: 3.5rem 0 5rem; }
.section-legal .container { max-width: 820px; }
.legal-body {
  font-size: 1rem;
  color: var(--dark-2);
}
.legal-body p {
  line-height: 1.7;
  margin-bottom: 1rem;
}
.legal-body p:empty { display: none; }
.legal-heading {
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h2.legal-heading { font-size: 1.6rem; margin: 2rem 0 0.85rem; }
h3.legal-heading { font-size: 1.2rem; margin: 1.5rem 0 0.6rem; }
.legal-body > .legal-heading:first-child { margin-top: 0; }
.legal-empty { color: #888; font-style: italic; }
