/* ============================================================
   WPT Nord GmbH — Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@600;700;800&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0d1f3c;
  --navy-mid:  #163555;
  --orange:    #1565c0;
  --orange-dk: #0d47a1;
  --accent-glow: rgba(21,101,192,.22);
  --light:     #f4f6f9;
  --white:     #ffffff;
  --gray:      #52677e;
  --gray-lt:   #e9ecef;
  --text:      #0d1f3c;
  --radius:    10px;
  --radius-lg: 18px;
  --shadow:    0 8px 32px rgba(13,31,60,.08);
  --trans:     .26s cubic-bezier(.4,0,.2,1);
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

html { scroll-behavior: smooth; }
body { overflow-x: clip; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--light);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -.03em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Language Switcher ────────────────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-btn {
  background: none;
  border: none;
  padding: 2px 6px;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray);
  cursor: pointer;
  transition: color var(--trans);
  line-height: 1;
}
.lang-btn:hover { color: var(--navy); }
.lang-btn.active { color: var(--orange); }
.lang-sep {
  color: var(--gray-lt);
  font-size: .75rem;
  user-select: none;
}

/* ── Header / Nav ─────────────────────────────────────── */
.site-header {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(13,31,60,.08);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible;
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
  position: relative;
  overflow: visible;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  overflow: visible;
}
.brand img {
  display: block;
  height: 48px;
  width: auto;
  max-height: 48px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

/* Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav > li { position: relative; list-style: none; }
.site-nav {
  margin-left: auto;
}
.site-nav > li > a {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--navy);
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
}
.site-nav > li > a:hover,
.site-nav > li > a.active {
  color: var(--orange);
  background: rgba(21,101,192,.09);
}
.site-nav .caret {
  font-size: .65rem;
  transition: transform var(--trans);
}
.site-nav > li:hover .caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.15);
  border-top: 3px solid var(--orange);
  z-index: 999;
  overflow: hidden;
}
.site-nav > li:hover .dropdown { display: block; }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 18px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-lt);
  transition: background var(--trans), color var(--trans);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--light); color: var(--orange); }
.dropdown a svg { flex-shrink: 0; }

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
}
.mobile-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: var(--trans);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.nav-phone svg { color: var(--orange); flex-shrink: 0; }
.nav-phone:hover { color: var(--orange); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  padding: 10px 18px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(21,101,192,.28);
  transition: background var(--trans), transform var(--trans);
}
.nav-cta:hover {
  background: var(--orange-dk);
  transform: translateY(-1px);
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  padding: 88px 0 48px;
}
.hero-slides,
.hero-bg {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.15s ease, transform 8s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(8,18,34,.92) 0%, rgba(8,18,34,.72) 46%, rgba(8,18,34,.28) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.15rem, 5.2vw, 4.1rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 18px;
  letter-spacing: -.04em;
}
.hero h1 span,
.hero h1 em {
  color: #8ec8ff;
  font-style: normal;
}
.hero p {
  font-size: 1.08rem;
  line-height: 1.7;
  opacity: .92;
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 640px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 22px;
}
.hero-stats > div {
  padding: 0 18px;
  border-right: 1px solid rgba(255,255,255,.14);
}
.hero-stats > div:first-child { padding-left: 0; }
.hero-stats > div:last-child { border-right: none; padding-right: 0; }
.hero-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 4px;
}
.hero-stats span {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  font-weight: 600;
}

/* ── Trust bar ────────────────────────────────────────── */
.trust-bar {
  background: var(--orange);
  color: var(--white);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  flex-wrap: wrap;
  padding: 14px 0;
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.trust-bar-inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-bar-inner svg { flex-shrink: 0; opacity: .9; }

/* ── Page Hero (sub-pages) ────────────────────────────── */
.page-hero {
  background-color: var(--navy);
  background-image:
    linear-gradient(to right, rgba(8,18,34,.88) 0%, rgba(8,18,34,.58) 52%, rgba(8,18,34,.38) 100%),
    var(--hero-img);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 88px 0 52px;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.page-hero::before { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: .83rem;
  opacity: .7;
  margin-bottom: 12px;
  display: flex; gap: 8px; align-items: center;
}
.page-hero .breadcrumb a { color: var(--white); }
.page-hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -.03em;
}
.page-hero p { font-size: 1.02rem; opacity: .9; max-width: 600px; }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--trans);
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 14px rgba(21,101,192,.25);
}
.btn-primary:hover {
  background: var(--orange-dk);
  border-color: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(21,101,192,.4);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(21,101,192,.3); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.btn-outline:active { transform: translateY(0); }
.btn-orange-outline {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-orange-outline:hover { background: var(--orange); color: var(--white); }

/* ── Section Layout ───────────────────────────────────── */
.section { padding: 80px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }
.section-title {
  text-align: center;
  margin-bottom: 48px;
}
.section-title .label {
  display: inline-block;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.section-dark .section-title h2 { color: var(--white); }
.section-title p { font-size: 1.02rem; color: var(--gray); max-width: 580px; margin: 0 auto; }
.section-dark .section-title p { color: rgba(255,255,255,.7); }
.divider {
  width: 50px; height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 14px auto 0;
}

/* ── Cards ────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(13,31,60,.14); }
.card img { width: 100%; height: 240px; object-fit: cover; }
.card-body { padding: 26px; }
.card-icon {
  width: 48px; height: 48px;
  background: rgba(21,101,192,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  margin-bottom: 16px;
}
.card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.card p { font-size: .93rem; color: var(--gray); line-height: 1.6; margin-bottom: 18px; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--orange); font-weight: 700; font-size: .9rem;
  transition: gap var(--trans);
}
.card-link:hover { gap: 10px; }

/* ── Features / Icon list ─────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-lt);
  transition: border-color var(--trans), box-shadow var(--trans);
}
.feature:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(21,101,192,.12); }
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(21,101,192,.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.feature p { font-size: .9rem; color: var(--gray); }

/* ── Stats bar ────────────────────────────────────────── */
.stats {
  background: linear-gradient(135deg, #0a1828 0%, var(--navy) 45%, #162d4e 100%);
  padding: 44px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 25%, var(--orange) 75%, transparent 100%);
}
/* subtle decorative glow orbs */
.stats::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,.12) 0%, transparent 70%);
  top: -150px; left: -100px;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
  position: relative; z-index: 1;
}
.stats-grid .stat-item {
  padding: 12px 20px;
  position: relative;
}
.stats-grid .stat-item:not(:last-child)::after {
  content: '';
  position: absolute; right: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.18), transparent);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  color: var(--orange);
  letter-spacing: -.02em;
  text-shadow: 0 0 28px rgba(21,101,192,.4);
}
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }

/* ── Team / Ansprechpartner ───────────────────────────── */
.team-category { margin-bottom: 52px; }
.team-category:last-child { margin-bottom: 0; }
.team-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  justify-content: flex-start;
}
.team-category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-lt);
}
.team-category-label {
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--orange);
  background: rgba(21,101,192,.07);
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  border: 1px solid rgba(21,101,192,.15);
}
.team-grid,
.team-grid.team-grid-solo,
.team-grid.team-grid-duo,
.team-grid.team-grid-quad,
.team-grid-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  justify-content: start;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--trans);
  display: flex;
  flex-direction: column;
  color: var(--text);
}
.team-card:hover { transform: translateY(-3px); }
.team-photo {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--navy);
  flex-shrink: 0;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.team-photo .team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.1rem;
  letter-spacing: -.04em;
  color: rgba(255,255,255,.88);
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.team-card-header {
  background: var(--white);
  padding: 18px 22px 6px;
  color: var(--navy);
}
.team-card-header .role {
  display: inline-block;
  background: rgba(21,101,192,.1);
  color: var(--orange);
  border: none;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.team-card-header h3 { font-size: 1.08rem; font-weight: 700; }
.team-card-body { padding: 20px 22px; flex: 1; }
/* .team-card-body already defined above */
.contact-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-item svg { color: var(--orange); flex-shrink: 0; }
.contact-item a { color: var(--text); transition: color var(--trans); }
.contact-item a:hover { color: var(--orange); }

/* ── Contact Section ──────────────────────────────────── */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-section { grid-template-columns: 1fr; gap: 40px; }
}
.contact-form-wrap h2 { font-size: 1.8rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
.contact-form-wrap p { color: var(--gray); margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-lt);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--orange); }
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info { }
.contact-info-box {
  background: var(--navy);
  border-radius: 10px;
  padding: 32px;
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info-box h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 12px; }
.info-row {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: .9rem;
}
.info-row svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.info-row a { color: rgba(255,255,255,.85); transition: color var(--trans); }
.info-row a:hover { color: var(--orange); }

/* ── Prüfverfahren Grid ───────────────────────────────── */
.pv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pv-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1.5px solid var(--gray-lt);
}
.pv-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(21,101,192,.15); border-color: var(--orange); }
.pv-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  flex-shrink: 0;
}
.pv-card-body {
  padding: 18px;
  display: flex; flex-direction: column;
  flex: 1;
}
.pv-card-body .badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .05em;
  align-self: flex-start;
}
.pv-card-body h3 { font-size: .98rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.pv-card-body p { font-size: .84rem; color: var(--gray); line-height: 1.55; }

/* ── Windkraft list ───────────────────────────────────── */
.wind-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}
.wind-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 16px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-lt);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
  transition: border-color var(--trans), box-shadow var(--trans), transform var(--trans);
  cursor: default;
}
.wind-item:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(21,101,192,.1);
  transform: translateY(-2px);
}
.wind-item svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--orange);
  background: rgba(21,101,192,.09);
  border-radius: 6px;
  padding: 3px;
  box-sizing: content-box;
}

/* ── Partner-Marquee (Slideshow) ─────────────────────── */
.partners-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  padding-bottom: 8px;
}
.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.partners-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--white) 0%, transparent 100%);
}
.partners-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--white) 0%, transparent 100%);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  padding: 12px 0;
  animation: partners-left 40s linear infinite;
}
.partners-track--rev {
  animation: partners-right 36s linear infinite;
  margin-top: 16px;
}
.partners-track:hover { animation-play-state: paused; }

@keyframes partners-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes partners-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.partner-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}
.partner-item img {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.5);
  transition: filter .35s ease;
}
.partner-item:hover img {
  filter: grayscale(0%) opacity(1);
}

@media (prefers-reduced-motion: reduce) {
  .partners-track,
  .partners-track--rev { animation: none; }
  .partners-marquee { overflow-x: auto; }
  .partners-track { flex-wrap: wrap; justify-content: center; width: 100%; gap: 32px; }
  .partners-track--rev { display: none; }
}

/* ── Zertifikate ──────────────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--white);
  border: 1.5px solid var(--gray-lt);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  transition: border-color var(--trans), box-shadow var(--trans);
}
.cert-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.cert-card .cert-icon {
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  margin: 0 auto 16px;
}
.cert-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.cert-card p { font-size: .88rem; color: var(--gray); }

/* ── Karriere ─────────────────────────────────────────── */
.job-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 30px 36px;
  margin-bottom: 24px;
}
.job-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.job-meta {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  font-size: .85rem; color: var(--gray); margin-bottom: 20px;
}
.job-meta span {
  display: flex; align-items: center; gap: 5px;
}
.job-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; margin-top: 18px; }
.job-card ul { padding-left: 18px; margin-bottom: 8px; }
.job-card ul li {
  list-style: disc;
  font-size: .9rem;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.55;
}

/* ── CTA Band ─────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; margin-bottom: 12px; }
.cta-band p { font-size: 1rem; opacity: .8; max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ───────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-logo-fallback { color: var(--white); font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }
footer h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: .88rem; transition: color var(--trans); }
.footer-links a:hover { color: var(--orange); }
.footer-contact .info-row { margin-bottom: 10px; font-size: .88rem; }
.footer-contact .info-row svg { width: 15px; height: 15px; }
.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a { color: rgba(255,255,255,.45); transition: color var(--trans); }
.footer-bottom a:hover { color: var(--orange); }
.footer-legal { display: flex; gap: 18px; }

/* ── Two-column layout ────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
}
.two-col img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}
.text-col h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}
.text-col .label {
  display: inline-block;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.text-col p { color: var(--gray); margin-bottom: 14px; line-height: 1.75; }
.check-list { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .93rem; color: var(--text);
}
.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Leistungsspektrum grouped cards ─────────────────── */
.lspec-group {
  background: var(--white);
  border: 1.5px solid var(--gray-lt);
  border-radius: 10px;
  padding: 16px 18px 12px;
  margin-bottom: 14px;
}
.lspec-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gray-lt);
}
.lspec-group .check-list { margin: 0; gap: 6px; }
.two-col-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
}
.lspec-note {
  font-size: .85rem;
  color: var(--gray);
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(21,101,192,.05);
  border-left: 3px solid var(--orange);
  border-radius: 0 6px 6px 0;
}
/* ── Image frame ──────────────────────────────────────── */
.img-frame {
  position: relative;
}
.img-frame img {
  border-radius: 12px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  display: block;
}
.img-frame::before {
  content: '';
  position: absolute;
  inset: -8px -8px 8px 8px;
  border-radius: 14px;
  border: 2px solid rgba(21,101,192,.2);
  z-index: 0;
}
.img-frame > img { position: relative; z-index: 1; }
.img-frame-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(10,24,40,.82);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.15);
}

/* ── Impressum / Datenschutz ──────────────────────────── */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; font-weight: 700; color: var(--navy); margin: 32px 0 10px; }
.prose h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: 22px 0 8px; }
.prose p { color: var(--gray); margin-bottom: 14px; font-size: .95rem; line-height: 1.75; }
.prose a { color: var(--orange); }
.prose ul { padding-left: 20px; margin-bottom: 14px; }
.prose ul li { list-style: disc; font-size: .95rem; color: var(--gray); margin-bottom: 5px; }

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav-phone { display: none; }
}

@media (max-width: 980px) {
  body.nav-open { overflow: hidden; }
  .site-nav { margin-left: 0; }
  .nav-right { margin-left: auto; }
  .mobile-toggle { display: block; flex-shrink: 0; }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13, 31, 60, .45);
    z-index: 998;
  }
  .nav-backdrop.open { display: block; }
  .site-nav {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: var(--mobile-nav-top, 72px);
    z-index: 999;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    border-radius: 0 0 12px 12px;
    padding: 10px 0 16px;
    gap: 0;
    max-height: calc(100dvh - var(--mobile-nav-top, 72px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .site-nav.open { display: flex; }
  .site-nav > li > a { border-radius: 0; padding: 12px 20px; }
  .site-nav > li:hover .dropdown { display: none; }
  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    border-left: 3px solid var(--orange);
    margin-left: 20px;
    display: none;
    border-radius: 0;
  }
  .site-nav > li.open .dropdown { display: block; }
  .site-nav .caret { display: none; }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .pv-grid { grid-template-columns: 1fr 1fr; }
  .team-grid,
  .team-grid.team-grid-solo,
  .team-grid.team-grid-duo,
  .team-grid.team-grid-quad,
  .team-grid-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(2)::after { display: none; }
  .wind-list { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px 0; }
  .hero-stats > div {
    border-right: none;
    padding: 0 0 12px;
  }
  .hero-stats > div:nth-child(odd) { padding-right: 16px; }
}

@media (max-width: 768px) {
  body.nav-open { overflow: hidden; }

  .features-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .team-grid,
  .team-grid-preview,
  .team-grid.team-grid-solo,
  .team-grid.team-grid-duo,
  .team-grid.team-grid-quad { grid-template-columns: 1fr; }
  .partners-marquee::before,
  .partners-marquee::after { width: 48px; }
  .partners-track { gap: 32px; }
  .partner-item img { height: 36px; max-width: 140px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid .stat-item::after { display: none; }
  .wind-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 20px;
  }
  .wind-item {
    padding: 10px 10px;
    gap: 8px;
    font-size: .78rem;
    align-items: flex-start;
    border-radius: 8px;
  }
  .wind-item svg {
    width: 14px;
    height: 14px;
    padding: 2px;
    margin-top: 1px;
  }
  .two-col-list { grid-template-columns: 1fr; }
  .two-col img,
  .img-frame img { height: 260px; }
  .page-hero { padding: 64px 0 36px; min-height: 220px; }
  .page-hero-sm { padding: 52px 0 28px; min-height: 160px; }

  .nav-wrap {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand img {
    height: 40px;
    max-height: 40px;
    width: auto;
  }
  .nav-cta {
    padding: 8px 12px;
    font-size: .75rem;
  }
  .nav-right { gap: 10px; margin-left: auto; }
  .hero {
    min-height: 0;
    align-items: flex-end;
    padding: 56px 0 36px;
  }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 28px; }
  .hero-actions .btn { justify-content: center; white-space: normal; text-align: center; }
  .hero-stats { max-width: none; }
  .trust-bar-inner { justify-content: flex-start; gap: 10px 18px; font-size: .78rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .pv-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 12px; }
  .cta-band { padding: 48px 0; }
  .cta-actions { flex-direction: column; align-items: stretch; padding: 0 8px; }
  .cta-actions .btn { justify-content: center; white-space: normal; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 1.85rem; }
  .section { padding: 52px 0; }
  .btn { padding: 10px 20px; font-size: .88rem; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: .72rem; }
  .wind-list { gap: 6px; }
  .wind-item {
    padding: 8px;
    font-size: .72rem;
    gap: 6px;
  }
}

/* ── Misc ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.fw-700 { font-weight: 700; }
.text-orange { color: var(--orange); }
.bg-light { background: var(--light); }

.alert-info {
  background: rgba(21,101,192,.07);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .93rem;
  color: var(--navy);
  margin-bottom: 24px;
}

/* ── Utility ── */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }

/* ── Page Hero small ── */
.page-hero-sm { padding: 64px 0 40px; min-height: 200px; }

/* ── Prose pages (Impressum / Datenschutz / AGB) ── */
.prose-container { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.25rem; font-weight: 700; color: var(--navy); margin: 2rem 0 .6rem; border-bottom: 2px solid var(--light); padding-bottom: .4rem; }
.prose h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 1.4rem 0 .4rem; }
.prose p { margin-bottom: 1rem; line-height: 1.75; color: var(--text); }
.prose ul { padding-left: 20px; margin-bottom: 1rem; }
.prose ul li { margin-bottom: .4rem; line-height: 1.65; color: var(--text); }
.prose a { color: var(--orange); }
.prose a:hover { text-decoration: underline; }
.prose .lead { font-size: 1.05rem; color: var(--navy); font-weight: 500; }

/* ── AGB formatting ───────────────────────────────────── */
.agb-meta {
  font-size: .95rem;
  color: var(--gray);
  margin-bottom: 2rem !important;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--light);
}
.agb-section { margin-bottom: 1.5rem; }
.agb-section h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  margin: 0 0 .25rem;
  border: none;
  padding: 0;
}
.agb-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 .75rem;
}
.agb-section p:last-child { margin-bottom: 0; }

/* ── Contact page ── */
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.contact-left h2 { font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.contact-left > p { color: var(--gray); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .8rem; color: var(--gray); margin-bottom: 18px; }
.form-note span { color: var(--orange); }
.form-note a { color: var(--orange); }
.form-success { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 14px 18px; background: #e8f5e9; color: #2e7d32; border-radius: var(--radius); font-weight: 500; font-size: .92rem; }
.contact-info-card { background: var(--navy); color: white; border-radius: var(--radius); padding: 28px 28px 20px; margin-bottom: 20px; }
.contact-info-card h3 { font-size: 1.1rem; font-weight: 700; color: white; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); padding-bottom: 12px; }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; font-size: .88rem; line-height: 1.55; color: rgba(255,255,255,.85); }
.contact-detail svg { flex-shrink: 0; margin-top: 2px; color: var(--orange); }
.contact-detail strong { color: white; display: block; margin-bottom: 2px; }
.contact-detail a { color: rgba(255,255,255,.85); }
.contact-detail a:hover { color: var(--orange); }
.contact-key-persons { background: var(--light); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 20px; }
.contact-key-persons h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .05em; }
.key-person { font-size: .85rem; color: var(--text); margin-bottom: 14px; line-height: 1.55; }
.key-person:last-child { margin-bottom: 0; }
.key-person a { color: var(--orange); }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--gray-lt);
  background: var(--light);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}
.map-embed-link {
  display: block;
  padding: 10px 16px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: var(--orange);
  background: var(--white);
  border-top: 1px solid var(--gray-lt);
  transition: background var(--trans), color var(--trans);
}
.map-embed-link:hover {
  background: rgba(21,101,192,.06);
  color: var(--orange-dk);
}

/* ── Job card extras ── */
.job-card { padding: 0; overflow: hidden; }
.job-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #162d4e 100%);
  padding: 28px 28px 22px;
  color: var(--white);
  position: relative;
}
.job-card-header h3 { font-size: 1.35rem; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.job-card-header .badge {
  background: var(--orange);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}
.job-card-header .job-meta {
  color: rgba(255,255,255,.65);
  font-size: .87rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.job-card-header .job-meta svg { color: rgba(255,255,255,.5); }
.job-card-body { padding: 24px 28px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.job-section h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .04em; }
.job-card-footer { padding: 20px 28px 24px; border-top: 1px solid var(--light); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--light); }
.job-contact { font-size: .88rem; color: var(--gray); line-height: 1.6; }
.job-contact a { color: var(--orange); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .job-card-body { grid-template-columns: 1fr; }
  .job-card-footer { flex-direction: column; align-items: flex-start; }
}

/* Startseite Ansprechpartner: 4 Karten (Claus + Lars nebeneinander) */
.team-grid.team-grid-preview.team-grid-preview-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .team-grid.team-grid-preview.team-grid-preview-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .team-grid.team-grid-preview.team-grid-preview-4 { grid-template-columns: 1fr; } }
