/* =========================================================
   EEI Energie – Designrefresh
   Gemeinsames Stylesheet für alle Seiten
   ========================================================= */

:root {
  --blue-dark:   #002941;
  --blue-logo:   #005F79;
  --blue-head:   #06364e;
  --green:       #94b101;
  --green-dark:  #7f9a01;
  --green-light: #a9be41;
  --bg-soft:     #eef5f8;
  --text:        #33475b;
  --white:       #ffffff;

  --container: 1200px;
  --side: 24px;
  --radius: 12px;
  --radius-sm: 6px;
  --shadow-sm: 0 2px 10px rgba(0, 41, 65, 0.08);
  --shadow-md: 0 8px 30px rgba(0, 41, 65, 0.12);
  --header-h-desktop: 148px;
  --header-h-mobile: 100px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 16px; }
svg { display: block; }

h1, h2, h3, h4 {
  color: var(--blue-head);
  font-weight: 700;
  line-height: 1.25;
}
h2 { font-size: 32px; }
h3 { font-size: 20px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--side);
}

main { display: block; }

/* visually hidden (skip link target labels etc.) */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .12s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-primary:hover { background: var(--green-dark); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.85);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-outline-dark:hover { background: var(--blue-dark); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
}
.link-arrow svg { width: 14px; height: 14px; }
.link-arrow:hover { color: var(--green-dark); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--blue-dark);
  color: #fff;
  font-size: 13px;
  height: 40px;
}
.topbar__inner {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar__item svg { width: 15px; height: 15px; flex: none; }
.topbar__link {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.topbar__link:hover { text-decoration: underline; }
.topbar__center {
  flex: 1;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--side);
}
.logo-lockup { display: flex; flex-direction: column; gap: 6px; }
.logo-lockup__mark img { width: 148px; height: auto; }
.logo-lockup__helvetia {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.logo-lockup__helvetia svg { width: 22px; height: 16px; flex: none; }
.logo-lockup__helvetia-text { display: flex; flex-direction: column; line-height: 1.25; }
.logo-lockup__eyebrow {
  font-size: 11px;
  color: #8a97a3;
}
.logo-lockup__brand {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5a6b7a;
  white-space: nowrap;
}

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; align-items: center; gap: 28px; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue-head);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-item--active > .nav-link {
  border-bottom-color: var(--green);
}
.nav-link svg { width: 10px; height: 10px; transition: transform .15s ease; }

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item--dropdown:hover .nav-link svg,
.nav-item--dropdown:focus-within .nav-link svg { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 6px);
  min-width: 240px;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 50;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-head);
}
.nav-dropdown a:hover { background: var(--bg-soft); }
.nav-dropdown a[aria-current="page"] { color: var(--green-dark); }

.header-cta { display: none; }
@media (min-width: 1081px) {
  .header-cta { display: inline-flex; }
}

/* Burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.burger__box { width: 24px; height: 18px; position: relative; }
.burger__line {
  position: absolute;
  left: 0; right: 0; height: 2px;
  background: var(--blue-head);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 8px; }
.burger__line:nth-child(3) { top: 16px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { top: 8px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { top: 8px; transform: rotate(-45deg); }

/* Mobile nav panel */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 20, 33, 0.55);
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.nav-backdrop.is-open { opacity: 1; visibility: visible; }

.mobile-panel {
  position: fixed;
  top: 0; right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  z-index: 700;
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-panel.is-open { transform: translateX(0); }
.mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--bg-soft);
}
.mobile-panel__close {
  width: 40px; height: 40px;
  border: none; background: var(--bg-soft);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.mobile-panel__close svg { width: 18px; height: 18px; color: var(--blue-head); }
.mobile-nav-list { padding: 12px 8px; flex: 1; }
.mobile-nav-list > li { border-bottom: 1px solid var(--bg-soft); }
.mobile-nav-list .nav-link {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 16px 12px;
  font-size: 18px;
  border-bottom: none;
}
.mobile-nav-list .nav-link[aria-current="page"] { color: var(--green-dark); }
.mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 12px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--blue-head);
  background: none;
  border: none;
}
.mobile-dropdown-toggle svg { width: 14px; height: 14px; transition: transform .2s ease; }
.mobile-dropdown-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-dropdown-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 12px;
}
.mobile-dropdown-panel.is-open { max-height: 260px; padding-bottom: 8px; }
.mobile-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-radius: 6px;
}
.mobile-dropdown-panel a:hover { background: var(--bg-soft); }
.mobile-panel__foot {
  padding: 16px;
  border-top: 1px solid var(--bg-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-panel__contact {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}
.mobile-panel__contact a { color: var(--blue-logo); font-weight: 600; }
body.nav-open { overflow: hidden; }

@media (max-width: 1080px) {
  .main-nav .nav-list { display: none; }
  .burger { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 480px;
  height: 62vh;
  max-height: 680px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .container { width: 100%; }
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,26,43,0.82) 0%, rgba(0,32,52,0.55) 42%, rgba(0,41,65,0.12) 78%, rgba(0,41,65,0) 100%);
  z-index: 1;
}
.hero__wave {
  position: absolute;
  top: 0; left: 0;
  width: 60%;
  min-width: 520px;
  z-index: 2;
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__wave { display: none; }
}
.hero__wave svg { width: 100%; height: auto; display: block; }
.hero__content {
  position: relative;
  z-index: 3;
  max-width: 620px;
}
.hero h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.18;
}
.hero__sub {
  margin-top: 20px;
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  max-width: 480px;
}
.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Sub-hero (inner pages) */
.subhero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.subhero__media { position: absolute; inset: 0; z-index: 0; }
.subhero__media img { width: 100%; height: 100%; object-fit: cover; }
.subhero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(0,20,33,0.92) 0%, rgba(0,41,65,0.82) 45%, rgba(0,41,65,0.55) 100%);
  z-index: 1;
}
.subhero__content { position: relative; z-index: 2; padding: 56px 0; }
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: #fff; }
.subhero h1 { color: #fff; font-size: 38px; }
.subhero__sub { margin-top: 14px; font-size: 17px; color: rgba(255,255,255,0.9); max-width: 620px; }

/* ---------- USP bar ---------- */
.usp-wrap { position: relative; z-index: 4; margin-top: -64px; }
.usp-bar {
  background: var(--bg-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-top: -64px;
  position: relative;
  z-index: 10;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.usp-item { display: flex; align-items: flex-start; gap: 14px; }
.usp-item__icon {
  flex: none;
  width: 44px; height: 44px;
  color: var(--green-light);
}
.usp-item__icon svg { width: 44px; height: 44px; }
.usp-item h3 { font-size: 15px; margin-bottom: 4px; }
.usp-item p { font-size: 14px; color: var(--text); }

/* ---------- Sections generic ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--blue-dark); color: #fff; }
.section--tight { padding: 56px 0; }
.section-kicker {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.section-head { max-width: 720px; margin-bottom: 24px; }
.section-head p { margin-top: 14px; font-size: 16px; }

/* ---------- Lösungen (Startseite) ---------- */
.solutions-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 48px;
  align-items: start;
}
.solutions-intro p { margin: 16px 0 28px; font-size: 16px; }
.solutions-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.solution-card { text-align: center; }
.solution-card__icon {
  width: 88px; height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-head);
}
.solution-card__icon svg { width: 36px; height: 36px; }
.solution-card h3 { margin-bottom: 8px; }
.solution-card p { font-size: 14px; }
.solution-card .link-arrow { margin-top: 12px; }

/* Solution cards with photo (loesungen.html) */
.product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-card__media { aspect-ratio: 16/10; overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; }
.product-card__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.product-card__body p { font-size: 14px; flex: 1; }

/* ---------- Bison Box / feature split ---------- */
.feature-split {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 56px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: center;
}
.feature-split__kicker { color: var(--green-dark); font-weight: 700; font-size: 16px; margin-top: 6px; }
.feature-split__text p { margin-top: 16px; font-size: 16px; }
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
}
.check-list svg { flex: none; width: 18px; height: 18px; color: var(--green); margin-top: 2px; }
.feature-split .btn { margin-top: 28px; }
.feature-split__caption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text);
  opacity: .85;
}

/* ---------- Slider ---------- */
.slider {
  position: relative;
}
.slider__viewport {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.slider__track {
  display: flex;
  transition: transform .5s ease;
}
.slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 16/9;
}
.slider__slide img { width: 100%; height: 100%; object-fit: cover; }
.slider__btn {
  position: absolute;
  top: calc(50% - 16px);
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: #fff;
  border: none;
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-head);
  z-index: 5;
}
.slider__btn svg { width: 18px; height: 18px; }
.slider__btn--prev { left: 16px; }
.slider__btn--next { right: 16px; }
.slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
}
.slider__dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #c2d1da;
  border: none;
  padding: 0;
  cursor: pointer;
}
.slider__dot[aria-current="true"] { background: var(--green); }

/* ---------- Prozess (4 Schritte) ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.process-step {
  position: relative;
  padding: 0 24px;
  text-align: center;
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { padding-right: 0; }
.process-step::before {
  content: "";
  position: absolute;
  left: 0; top: 20px; bottom: 20px;
  border-left: 1px dashed #c8d4dc;
}
.process-step:first-child::before { display: none; }
.process-step::after {
  content: "";
  position: absolute;
  left: -6px; top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px; height: 10px;
  border-top: 1px solid #c8d4dc;
  border-right: 1px solid #c8d4dc;
  background: #fff;
}
.process-step:first-child::after { display: none; }
.process-step__icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  color: var(--blue-head);
}
.process-step__icon svg { width: 40px; height: 40px; }
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; }
.process-split {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  gap: 48px;
  align-items: center;
}
.process-split .section-head p { margin-top: 14px; }

/* ---------- Praxisanalyse ---------- */
.stat-cards {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.stat-card__value { font-size: 30px; font-weight: 700; color: var(--blue-head); }
.stat-card__label { margin-top: 8px; font-size: 14px; color: var(--text); }
.praxis-text { max-width: 760px; }
.praxis-text p { margin-top: 16px; font-size: 16px; }
.praxis-text strong { color: var(--blue-head); }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; font-size: 28px; }
.cta-banner p { margin-top: 8px; color: rgba(255,255,255,0.85); }

/* ---------- Feature badges pills (Wärmepumpen) ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-soft);
  color: var(--blue-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 999px;
}
.badge-pill svg { width: 20px; height: 20px; color: var(--green); flex: none; }

/* ---------- Advantage cards ---------- */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 28px 22px;
}
.advantage-card__icon { width: 44px; height: 44px; color: var(--blue-head); margin-bottom: 16px; }
.advantage-card__icon svg { width: 40px; height: 40px; }
.advantage-card h3 { font-size: 16px; margin-bottom: 8px; }
.advantage-card p { font-size: 14px; }

/* ---------- Media-text (alternating) ---------- */
.media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.media-text__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); width: 100%; }
.media-text--reverse .media-text__media { order: 2; }
.media-text__text p { margin-top: 16px; }
.media-text + .media-text { margin-top: 72px; }

/* ---------- Component cards (Bison Box: Komponenten) ---------- */
.component-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.component-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.component-card__icon { width: 40px; height: 40px; color: var(--green-dark); margin-bottom: 14px; }
.component-card__icon svg { width: 36px; height: 36px; }
.component-card h3 { font-size: 16px; margin-bottom: 8px; }
.component-card p { font-size: 14px; }

/* ---------- Download cards ---------- */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.download-card__icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-logo);
}
.download-card__icon svg { width: 24px; height: 24px; }
.download-card__body { flex: 1; }
.download-card__body h3 { font-size: 15px; margin-bottom: 4px; }
.download-card__body span { font-size: 13px; color: var(--text); }
.download-card .link-arrow { flex: none; }

/* ---------- Pills row (Eco Hummel Einsatzbereiche) ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  background: #fff;
  border: 1px solid #d7e3ea;
  color: var(--blue-head);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
}

/* ---------- Reference / quote cards ---------- */
.reference-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px;
}
.reference-card + .reference-card { margin-top: 32px; }
.reference-card__logo {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reference-card__logo img { max-height: 90px; width: auto; }
.reference-card__photo img { border-radius: var(--radius-sm); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.reference-card h2 { font-size: 24px; }
.reference-card p + p { margin-top: 14px; }
.reference-card__sub { color: var(--green-dark); font-weight: 600; margin-top: 4px; margin-bottom: 14px; }
blockquote.quote {
  position: relative;
  margin: 0;
  padding-left: 36px;
  font-size: 19px;
  font-style: italic;
  color: var(--blue-head);
  line-height: 1.55;
}
blockquote.quote::before {
  content: "\201C";
  position: absolute;
  left: -6px;
  top: -18px;
  font-size: 64px;
  font-style: normal;
  color: var(--green-light);
  font-family: Georgia, serif;
}

/* ---------- Spec table (technische Daten) ---------- */
.spec-table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
}
.spec-table caption {
  text-align: left;
  padding: 20px 24px 0;
  color: var(--blue-head);
  font-weight: 700;
  font-size: 18px;
}
.spec-table th,
.spec-table td { padding: 14px 24px; text-align: left; border-bottom: 1px solid var(--bg-soft); }
.spec-table thead th {
  background: var(--bg-soft);
  color: var(--blue-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.spec-table tbody th { font-weight: 600; color: var(--blue-head); width: 45%; }
.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td { border-bottom: 0; }
.spec-table tbody tr:hover { background: rgba(148, 177, 1, 0.05); }
.spec-note { font-size: 14px; margin-top: 14px; color: var(--text); }

/* ---------- Contact cards ---------- */
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  gap: 16px;
}
.contact-card__icon { flex: none; width: 40px; height: 40px; color: var(--blue-logo); }
.contact-card__icon svg { width: 34px; height: 34px; }
.contact-card h3 { font-size: 15px; margin-bottom: 6px; }
.contact-card p { font-size: 14px; }
.contact-card a { color: var(--blue-logo); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }
.person-card {
  background: #fff;
  border: 1px solid var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.person-card__avatar {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-head);
}
.person-card__avatar svg { width: 26px; height: 26px; }
.person-card h3 { font-size: 15px; }
.person-card p { font-size: 14px; margin-top: 2px; }
.person-card a { color: var(--blue-logo); font-weight: 600; }
.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.contact-subheading {
  margin-top: 28px;
  color: var(--blue-head);
  font-size: 18px;
  font-weight: 700;
}

/* ---------- Forms ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 48px;
  align-items: start;
}
.form-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 40px;
}
.form-card h2 { font-size: 24px; margin-bottom: 8px; }
.form-card__intro { font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--blue-head); }
.form-field .req { color: var(--green-dark); }
.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid #ccd8e0;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.radio-group { display: flex; flex-wrap: wrap; gap: 18px; }
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
}
.radio-option input { accent-color: var(--green); width: 16px; height: 16px; }
.form-actions { margin-top: 28px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-visible { display: inline-block; }
.form-status.is-success { background: #e9f3d8; color: #4c6001; }
.form-status.is-error { background: #fbe4e4; color: #9c2b2b; }

/* Rückmeldung nach dem Absenden, oben im Formular */
.form-alert {
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.5;
  border-left: 4px solid transparent;
}
.form-alert p { margin: 0; }
.form-alert p + p { margin-top: 8px; }
.form-alert__title { font-weight: 700; }
.form-alert--success {
  background: #e9f3d8;
  border-left-color: var(--green);
  color: #3f5200;
}
.form-alert--error {
  background: #fbe4e4;
  border-left-color: #c34141;
  color: #8f2626;
}

/* Hinweis am einzelnen Feld */
.field-error {
  font-size: 13px;
  font-weight: 600;
  color: #a32e2e;
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c34141;
  background: #fffafa;
}

/* Einwilligung in die Datenschutzerklärung */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  font-weight: 400;
  color: var(--text);
}
.consent-field input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}
.consent-field a { text-decoration: underline; }

/*
 * Honigtopf gegen automatische Einträge: Das Feld ist für Besucher
 * unsichtbar und für Screenreader ausgeblendet. Bots füllen es trotzdem
 * aus und verraten sich damit. Bewusst kein display:none – das erkennen
 * viele Bots und lassen das Feld dann leer.
 */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Benefit cards (Karriere) ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: #fff;
  border: 1px solid var(--bg-soft);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.benefit-card__icon { width: 44px; height: 44px; color: var(--green-dark); margin-bottom: 16px; }
.benefit-card__icon svg { width: 40px; height: 40px; }
.benefit-card h3 { font-size: 16px; margin-bottom: 8px; }
.benefit-card p { font-size: 14px; }

/* ---------- Legal / prose pages ---------- */
.prose { max-width: 800px; }
.prose h2 { margin-top: 40px; margin-bottom: 14px; font-size: 22px; }
.prose h3 { margin-top: 26px; margin-bottom: 10px; font-size: 17px; }
.prose p { margin-top: 14px; font-size: 15px; }
.prose ul { margin-top: 14px; padding-left: 22px; list-style: disc; }
.prose li { font-size: 15px; margin-top: 6px; }
.prose a { color: var(--blue-logo); text-decoration: underline; }
.prose .legal-address {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Helvetia block (Über uns) ---------- */
.helvetia-block {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 56px;
}
.helvetia-block .section-kicker { color: var(--green-dark); }
.helvetia-block p { margin-top: 16px; font-size: 16px; max-width: 760px; }
.helvetia-block .btn { margin-top: 26px; }

/* ---------- Address map card ---------- */
.address-card {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.address-card__pin { flex: none; width: 40px; height: 40px; color: var(--green-dark); }
.address-card__pin svg { width: 36px; height: 36px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: rgba(255,255,255,0.85); }
.footer-main {
  padding: 64px var(--side) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}
.footer-brand img { width: 150px; height: auto; }
.footer-brand__claim { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.7); max-width: 260px; }
.footer-col h3 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.8); }
.footer-col a:hover { color: #fff; }
.footer-contact { font-size: 14px; line-height: 1.9; color: rgba(255,255,255,0.8); }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 20px var(--side);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.65); }
.footer-bottom-links a:hover { color: #fff; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .site-header__inner { padding: 12px var(--side); }
  .logo-lockup__mark img { width: 128px; }
  .solutions-cards { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .footer-main { grid-template-columns: 1fr 1fr 1fr; row-gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand__claim { margin-top: 12px; }
}

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

@media (max-width: 900px) {
  .topbar__center { display: none; }
  h2 { font-size: 27px; }
  .section { padding: 64px 0; }
  .usp-bar { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid,
  .feature-split,
  .process-split,
  .contact-layout,
  .media-text {
    grid-template-columns: 1fr;
  }
  .feature-split { padding: 36px 24px; }
  .solutions-cards,
  .product-cards,
  .component-grid,
  .download-grid,
  .advantage-grid,
  .benefit-grid,
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process-step::before,
  .process-step:nth-child(2n+1)::before { display: none; }
  .process-step::after,
  .process-step:nth-child(2n+1)::after { display: none; }
  .stat-cards { grid-template-columns: 1fr; }
  .media-text--reverse .media-text__media { order: 0; }
  .reference-card { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .footer-main { padding: 48px var(--side) 32px; }
}

@media (max-width: 560px) {
  :root { --side: 16px; }
  .topbar { height: auto; }
  .topbar__inner { flex-wrap: wrap; justify-content: center; height: auto; padding: 8px 0; gap: 4px 16px; }
  .topbar__item--right { display: none; }
  .hero { height: auto; min-height: 560px; padding: 40px 0 220px; }
  .hero__content { padding: 0 4px; }
  .hero h1 { font-size: 28px; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .usp-bar { grid-template-columns: 1fr; margin-top: -180px; gap: 22px; padding: 24px; }
  .subhero h1 { font-size: 28px; }
  .solutions-cards,
  .product-cards,
  .component-grid,
  .download-grid,
  .advantage-grid,
  .benefit-grid,
  .people-grid,
  .process-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .form-field { grid-column: 1 / -1; }
  .feature-split { padding: 28px 18px; }
  .reference-card { padding: 24px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .cta-banner .btn { width: 100%; justify-content: center; }
  .footer-main { grid-template-columns: 1fr; padding: 40px var(--side) 24px; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  h2 { font-size: 24px; }
  .helvetia-block { padding: 28px 20px; }
}

/* ---------- Scroll-Reveal (Stil wie Wille-Sauna-Projekt) ---------- */
.rv {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity .75s cubic-bezier(.22, 1, .36, 1) var(--rvd, 0ms),
    transform .75s cubic-bezier(.22, 1, .36, 1) var(--rvd, 0ms);
}
.rv--up    { transform: translate3d(0, 24px, 0); }
.rv--left  { transform: translate3d(-28px, 0, 0); }
.rv--right { transform: translate3d(28px, 0, 0); }
.rv--scale { transform: scale(.97); }
.rv.is-in  { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}
