/* ═══════════════════════════════════════════════════════════
   ECOblau — Prototyp v5
   Apple-Boldness · eine Grotesk · keine Serifen · kein Kursiv
   kein Glass/Blur · freigestellte Bilder · native Scroll-Reveals
   Marke: Blau #2461AE · Grün #1B953E · Hellblau #9EC7CE
   ═══════════════════════════════════════════════════════════ */

:root {
  --blue: #2461AE;
  --blue-deep: #1B4E8D;
  --green: #1B953E;
  --ice: #9EC7CE;
  --night: #0B1D33;
  --white: #FFFFFF;
  --mist: #F2F3F4;
  --grey-dark: #DDE2E8;
  --ink: #0C1C31;
  --ink-soft: #59697A;
  --line: rgba(12, 28, 49, 0.12);
  --line-soft: rgba(12, 28, 49, 0.07);

  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(22px, 6vw, 84px);
  --wrap: 1220px;
  --logobar-h: 92px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: padding-bottom 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
body.logobar-active { padding-bottom: var(--logobar-h); }

img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Sektions-Reihenfolge (visuell via flex-order) ── */
main { display: flex; flex-direction: column; }
#technologie { order: 1; }
#geraete { order: 2; }
.testimonial { order: 3; }
.section.numbers { order: 4; padding: clamp(16px, 2.6vh, 34px) 0; }
#beweise { order: 5; }
#rechner { order: 6; }
#kontakt { order: 7; }
#faq { order: 8; }

/* ── Reveal ── */
.io {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.io.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .io { opacity: 1; transform: none; transition: none; }
}

/* ── Typo ── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.eyebrow--ice { color: var(--ice); }

.hero-title, .h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.0;
}
.accent { color: var(--blue); font-weight: 800; }
.accent-ice { color: var(--ice); font-weight: 800; }
b { font-weight: 800; }

/* ── Aktionen ── */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  letter-spacing: -0.01em;
}
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(36, 97, 174, 0.28); }
.btn-sm { padding: 11px 22px; font-size: 14.5px; }
.btn-full { width: 100%; text-align: center; }

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-text::after { content: "→"; transition: transform 0.3s; }
.btn-text:hover { color: var(--blue); }
.btn-text:hover::after { transform: translateX(4px); }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; }
.brand img { height: 60px; width: auto; transition: height 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.site-header.scrolled .brand img { height: 42px; }

.main-nav { grid-column: 2; justify-self: center; display: flex; gap: 30px; }
.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.72;
  transition: opacity 0.3s;
}
.main-nav a:hover { opacity: 1; }

.header-right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 26px; }
.lang-switch { display: flex; gap: 11px; font-size: 13px; font-weight: 500; }
.lang.active { color: var(--ink); }
.lang.muted { color: var(--ink-soft); opacity: 0.5; cursor: default; }

/* ═══════════ SECTION-BASIS ═══════════ */
.section { padding: clamp(88px, 13vh, 172px) 0; }
.section--light { background: var(--white); }
.section--mist { background: var(--mist); }
.section--grey { background: var(--grey-dark); }
.section--dark { background: var(--night); color: #fff; }

.h2 {
  font-size: clamp(33px, 5.2vw, 66px);
  max-width: 15ch;
  margin-bottom: clamp(40px, 6vh, 68px);
}

/* ═══════════ HERO ═══════════ */
.hero { padding: clamp(40px, 6vh, 84px) 0 0; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 4vw, 72px);
  align-items: stretch;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-title {
  font-size: clamp(40px, 5.8vw, 74px);
  line-height: 1.02;
  margin-bottom: 30px;
}
.hero-lead {
  max-width: 480px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 42px;
}
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }

.stage { display: flex; flex-direction: column; align-items: center; background: none; }
.hero-stage { position: relative; justify-content: center; height: 100%; }

.hero-halo {
  position: absolute;
  top: 44%; left: 50%;
  width: min(84%, 380px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(36, 97, 174, 0.20), rgba(158, 199, 206, 0.12) 46%, transparent 70%);
  z-index: 0;
  animation: haloPulse 6s ease-in-out infinite;
}
.hero-bubbles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bubbles i {
  position: absolute;
  bottom: 14%;
  width: 1em; height: 1em;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, 0.95), rgba(158, 199, 206, 0.55));
  border: 1px solid rgba(36, 97, 174, 0.28);
  opacity: 0;
  animation: bubbleRise 6.5s ease-in infinite;
}
.hero-bubbles i:nth-child(1) { left: 22%; font-size: 15px; animation-delay: 0s; }
.hero-bubbles i:nth-child(2) { left: 36%; font-size: 10px; animation-delay: 1.4s; }
.hero-bubbles i:nth-child(3) { left: 50%; font-size: 20px; animation-delay: 0.7s; }
.hero-bubbles i:nth-child(4) { left: 63%; font-size: 9px;  animation-delay: 2.3s; }
.hero-bubbles i:nth-child(5) { left: 74%; font-size: 14px; animation-delay: 1.7s; }
.hero-bubbles i:nth-child(6) { left: 44%; font-size: 8px;  animation-delay: 3.1s; }
.hero-bubbles i:nth-child(7) { left: 30%; font-size: 12px; animation-delay: 2.7s; }

.hero-avatar {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 0;
  width: 100%;
  max-width: 414px;
  max-height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 40px 55px rgba(12, 28, 49, 0.22));
  animation: avatarIn 1.5s cubic-bezier(0.16, 0.84, 0.3, 1) both;
}
.hero-stage figcaption {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 14px;
  margin-top: 26px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-stage figcaption span:first-child { color: var(--blue); }

@keyframes avatarIn {
  0% {
    opacity: 0;
    transform: translateX(220px);
    filter: brightness(0.4) contrast(0.6) drop-shadow(0 40px 55px rgba(12, 28, 49, 0.22));
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: brightness(1) contrast(1) drop-shadow(0 40px 55px rgba(12, 28, 49, 0.22));
  }
}
@keyframes haloPulse {
  0%, 100% { opacity: 0.7;  transform: translate(-50%, -50%) scale(0.96); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes bubbleRise {
  0%   { transform: translateY(0) scale(0.5);   opacity: 0; }
  12%  { opacity: 0.95; }
  80%  { opacity: 0.55; }
  100% { transform: translateY(-280px) scale(1.15); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-avatar { animation: none; }
  .hero-halo, .hero-bubbles { display: none; }
}

/* Baseline — zentriert, klickbare Zertifikat-Badges */
.hero-baseline {
  margin-top: clamp(52px, 8vh, 92px);
  padding: 22px 0 4px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: center;
  gap: clamp(10px, 1.6vw, 20px);
  flex-wrap: wrap;
}
.baseline-badge {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
button.baseline-badge::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  flex: none;
}
button.baseline-badge:hover {
  color: var(--blue);
  border-color: var(--blue);
  background: #fff;
  transform: translateY(-2px);
}
.baseline-badge--static { cursor: default; }

/* ═══════════ TECHNOLOGIE ═══════════ */
.lead-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 3.5vw, 60px);
  max-width: 880px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--ink-soft);
}

/* ── FAQ (Basis) ── */
.faq { max-width: 880px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  text-align: left;
  padding: 26px 0;
  color: var(--ink);
}
.faq-q-text {
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.faq-q:hover .faq-q-text { color: var(--blue); }
.faq-ic { position: relative; flex: none; width: 22px; height: 22px; }
.faq-ic::before, .faq-ic::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-ic::before { width: 22px; height: 2.5px; transform: translate(-50%, -50%); }
.faq-ic::after  { width: 2.5px; height: 22px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-ic::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a-inner {
  padding: 0 0 30px;
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

/* ── FAQ dezent (einzelne Ozon-Frage in Technologie) ── */
.faq--mini { margin-top: clamp(40px, 6vh, 64px); max-width: 720px; }
.faq--mini .faq-item { border-bottom: none; border-top: 1px solid var(--line-soft); }
.faq--mini .faq-q { padding: 18px 0; }
.faq--mini .faq-q-text { font-size: 17px; font-weight: 600; color: var(--ink-soft); }
.faq--mini .faq-q:hover .faq-q-text { color: var(--blue); }
.faq--mini .faq-ic { width: 15px; height: 15px; }
.faq--mini .faq-ic::before { width: 15px; height: 2px; }
.faq--mini .faq-ic::after  { width: 2px; height: 15px; }
.faq--mini .faq-a-inner { font-size: 16px; padding-bottom: 24px; }

/* Ausklappbare FAQ-Sektion ("Gut zu wissen") */
.faq-master { display: flex; align-items: center; gap: 20px; width: 100%; background: none; border: none; cursor: pointer; font-family: var(--sans); text-align: left; padding: 0; color: var(--ink); }
.faq-master-title { font-size: clamp(33px, 5.2vw, 66px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; transition: color 0.3s; }
.faq-master:hover .faq-master-title { color: var(--blue); }
.faq-master-ic { position: relative; flex: none; width: 26px; height: 26px; }
.faq-master-ic::before, .faq-master-ic::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--blue); border-radius: 2px; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-master-ic::before { width: 26px; height: 3px; transform: translate(-50%, -50%); }
.faq-master-ic::after { width: 3px; height: 26px; transform: translate(-50%, -50%); }
.faq-section.is-open .faq-master-ic::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-section-body { overflow: hidden; max-height: 0; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-section-body .faq { padding-top: clamp(26px, 4vh, 44px); }

/* ═══════════ ZAHLEN ═══════════ */
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(30px, 4vw, 64px); }
.numbers--center { text-align: center; }
.number-item { display: flex; flex-direction: column; gap: 12px; }
.numbers--center .number-item { align-items: center; }
.number-pre { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue); }
.number {
  font-size: clamp(57px, 7.5vw, 114px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.number i { font-style: normal; color: var(--blue); }
.number-label { font-size: 15.5px; color: var(--ink-soft); max-width: 230px; line-height: 1.55; }

/* ═══════════ ZITAT ═══════════ */
.testimonial .wrap { max-width: 1080px; }
.quote {
  font-size: clamp(31px, 4.6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 34px;
}
.quote-note { font-size: 15px; color: var(--ice); opacity: 0.8; }

/* ═══════════ BEWEISE ═══════════ */
.beweise-lead { max-width: 720px; font-size: 18px; line-height: 1.7; color: var(--ink-soft); margin-bottom: clamp(40px, 6vh, 64px); }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
  margin-bottom: clamp(30px, 4vh, 44px);
}
.proof-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px;
  display: flex; flex-direction: column; gap: 12px;
  background: #fff;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.proof-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(12, 28, 49, 0.08); border-color: transparent; }
.proof-place { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.proof-nums { display: flex; align-items: baseline; gap: 10px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.proof-before { color: var(--ink); opacity: 0.32; text-decoration: line-through; text-decoration-thickness: 2px; }
.proof-arrow { color: var(--ink-soft); font-size: 0.5em; font-weight: 700; }
.proof-after { color: var(--green); }
.proof-card--accent { background: var(--green); border-color: var(--green); }
.proof-card--accent .proof-place, .proof-card--accent .proof-unit { color: rgba(255, 255, 255, 0.88); }
.proof-card--accent .proof-after { color: #fff; }
.proof-unit { font-size: 13px; color: var(--ink-soft); font-weight: 500; }

/* KBE-Skala (kompakt) */
.kbe { margin-bottom: clamp(36px, 5vh, 56px); max-width: 720px; }
.kbe-head { font-size: 13px; color: var(--ink-soft); margin-bottom: 10px; }
.kbe-head b { color: var(--ink); font-weight: 700; }
.kbe-bar { display: grid; grid-template-columns: 0.85fr 1fr 1.25fr 1.5fr; gap: 3px; }
.kbe-seg {
  padding: 9px 12px;
  display: flex; flex-direction: column; gap: 1px;
  color: #fff;
}
.kbe-seg:first-child { border-radius: 10px 0 0 10px; }
.kbe-seg:last-child  { border-radius: 0 10px 10px 0; }
.kbe-seg b { font-size: 14px; font-weight: 800; letter-spacing: -0.02em; }
.kbe-seg small { font-size: 10.5px; opacity: 0.92; line-height: 1.25; }
.kbe-seg--0 { background: #1B953E; }
.kbe-seg--1 { background: #4BA542; }
.kbe-seg--2 { background: #E0A63A; }
.kbe-seg--3 { background: #C0473B; }
.kbe-note { margin-top: 12px; font-size: 14px; color: var(--ink-soft); max-width: 640px; }

.proof-media { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(14px, 1.8vw, 22px); }
.proof-photo { position: relative; border-radius: 20px; overflow: hidden; background: #fff; }
.proof-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.proof-media .proof-photo:nth-child(1) img { object-position: center 52%; }
.proof-media .proof-photo:nth-child(2) img { object-position: center top; }
.proof-photo:hover img { transform: scale(1.04); }
.proof-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 20px 16px;
  font-size: 13px; font-weight: 500; color: #fff;
  background: linear-gradient(transparent, rgba(11, 29, 51, 0.82));
}
.proof-note {
  margin-top: clamp(26px, 4vh, 40px);
  font-size: 15px; color: var(--ink-soft);
  max-width: 640px; padding-left: 18px;
  border-left: 3px solid var(--ice);
}

/* ═══════════ GERÄTE — Produkt-Karussell (full-bleed) ═══════════ */
.pc-fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(24px, 4vh, 48px);
  margin-bottom: clamp(10px, 2vh, 24px);
}
.pc {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 20px);
  padding: 0 clamp(10px, 3vw, 40px);
  outline: none;
}
.pc:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; border-radius: 20px; }
.pc-stage {
  position: relative;
  flex: 1;
  max-width: 1180px;
  height: clamp(320px, 50vh, 500px);
}
.pc-slide {
  position: absolute;
  top: 0; left: 50%;
  width: min(34%, 380px);
  height: 100%;
  margin: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transform: translateX(calc(-50% + var(--off, 0) * 82%)) scale(0.6);
  opacity: 0.34;
  filter: brightness(0.85) contrast(0.9) saturate(0.82);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.55s, filter 0.55s;
  z-index: 1;
}
.pc-slide.is-active {
  transform: translateX(-50%) scale(1);
  opacity: 1;
  filter: none;
  z-index: 5;
  cursor: default;
}
.pc-slide.is-hidden { opacity: 0; pointer-events: none; }
.pc-slide img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 34px 46px rgba(12, 28, 49, 0.22));
}
.pc-slide--wide img { max-height: 76%; }
.pc-slide--trolley img { max-height: 90%; }

.pc-arrow {
  flex: none;
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  z-index: 10;
}
.pc-arrow svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.pc-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: scale(1.06); box-shadow: 0 10px 22px rgba(36, 97, 174, 0.3); }

.pc-info { text-align: center; max-width: 620px; margin: clamp(20px, 3vh, 36px) auto 0; }
.pc-name { font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 6px; }
.pc-role { font-size: 18px; font-weight: 600; color: var(--blue); margin-bottom: 18px; }
.pc-text { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; min-height: 3.4em; }
.pc-foot { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 24px; flex-wrap: wrap; }
.pc-dots { display: flex; gap: 10px; }
.pc-dot { width: 9px; height: 9px; border-radius: 50%; border: none; padding: 0; cursor: pointer; background: var(--line); transition: background 0.25s, transform 0.25s; }
.pc-dot:hover { transform: scale(1.25); }
.pc-dot.is-active { background: var(--blue); transform: scale(1.2); }
.pc-hint { text-align: center; margin-top: 22px; font-size: 13px; color: var(--ink-soft); opacity: 0.75; }

/* ═══════════ RECHNER ═══════════ */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 470px);
  gap: clamp(32px, 5vw, 72px);
  align-items: stretch;
}
.calc-head { display: flex; flex-direction: column; justify-content: center; }
.calc-head .h2 { margin-bottom: 20px; }
.calc-sub { color: var(--ink-soft); font-size: 17px; max-width: 40ch; }

.calc-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(26px, 3vw, 38px);
  background: #fff;
  box-shadow: 0 30px 60px rgba(12, 28, 49, 0.08);
  display: grid;
  gap: clamp(22px, 2.6vh, 30px);
}
.calc-input-label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.calc-readout { display: flex; align-items: baseline; gap: 12px; }
.calc-spend { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; letter-spacing: -0.04em; color: var(--ink); }
.calc-spend-label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.calc-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); opacity: 0.7; margin-top: 6px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px;
  background: var(--line); border-radius: 3px; outline: none;
  margin: 20px 0 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; cursor: pointer;
  transition: transform 0.2s; box-shadow: 0 4px 14px rgba(36, 97, 174, 0.45);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--blue); border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 4px 14px rgba(36, 97, 174, 0.45);
}

.calc-bars { display: grid; gap: 14px; }
.calc-bar { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: 16px; }
.calc-bar-cap { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.calc-bar-track { height: 16px; background: var(--mist); border-radius: 999px; overflow: hidden; }
.calc-bar-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.calc-bar-fill--now { background: var(--ink); opacity: 0.72; }
.calc-bar-fill--eco { background: linear-gradient(90deg, var(--green), #27b64f); }

.calc-result { border-top: 1px solid var(--line); padding-top: clamp(20px, 2.6vh, 28px); display: flex; flex-direction: column; align-items: flex-start; }
.calc-result-label { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.calc-result-number { font-size: clamp(44px, 5.4vw, 76px); font-weight: 800; letter-spacing: -0.05em; color: var(--blue); line-height: 1; margin-bottom: 10px; }
.calc-result-unit { font-size: 15px; color: var(--ink-soft); }
.calc-result-unit b { color: var(--ink); }
.calc-cta { margin-top: 24px; }

/* ═══════════ KONTAKT ═══════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(38px, 6vw, 96px); align-items: stretch; max-width: 1000px; }
.contact-copy { display: flex; flex-direction: column; }
.contact-copy .h2 { margin-bottom: 26px; }
.contact-text { color: var(--ink-soft); max-width: 420px; font-size: 17px; }
.contact-direct { margin-top: auto; padding-top: 38px; display: flex; flex-direction: column; gap: 14px; }
.contact-form { display: flex; flex-direction: column; height: 100%; }
.contact-submit { margin-top: auto; }
.contact-submit .btn-primary { margin-top: 10px; }
.contact-direct a { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; width: fit-content; transition: color 0.3s; }
.contact-direct a:hover { color: var(--blue); }

.contact-form .field { margin-bottom: 28px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 9px; }
.field input {
  width: 100%; border: none; border-bottom: 1.5px solid var(--line);
  background: transparent; padding: 10px 0;
  font-family: var(--sans); font-size: 18px; font-weight: 500; color: var(--ink);
  border-radius: 0; transition: border-color 0.3s;
}
.field input:focus { outline: none; border-color: var(--blue); }
.form-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); text-align: center; }
.form-note--ok { color: var(--green); font-weight: 600; }
.form-note--err { color: #C0473B; font-weight: 600; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 28px); }
.field-opt { font-weight: 500; font-size: 9px; letter-spacing: 0.14em; color: var(--ink-soft); opacity: 0.7; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
button.btn-primary:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ═══════════ FOOTER (hell) ═══════════ */
.site-footer { background: var(--mist); color: var(--ink); padding: clamp(70px, 10vh, 104px) 0 40px; border-top: 1px solid var(--line-soft); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; }
.footer-brand img { margin-bottom: 22px; width: 150px; height: auto; }
.footer-brand p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.footer-nav, .footer-meta { display: flex; flex-direction: column; gap: 13px; }
.footer-nav a, .footer-meta a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; opacity: 0.72; transition: opacity 0.3s, color 0.3s; width: fit-content; }
.footer-nav a:hover, .footer-meta a:hover { opacity: 1; color: var(--blue); }
.footer-legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--ink-soft); opacity: 0.8; }

/* ═══════════ PERSISTENTES LOGO-LAUFBAND (unten) ═══════════ */
.logobar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  height: var(--logobar-h);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 26px rgba(12, 28, 49, 0.07);
  display: flex;
  align-items: stretch;
  transform: translateY(115%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.logobar.is-visible { transform: none; }
.logobar-label {
  flex: none;
  display: flex; align-items: center;
  padding: 0 22px 0 var(--gutter);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  border-right: 1px solid var(--line-soft);
}
.logobar .marquee { flex: 1; }

.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marqueeRTL 120s linear infinite; }
.logobar:hover .marquee-track { animation-play-state: paused; }
.marquee-set { display: flex; align-items: center; flex: none; }

.ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: var(--logobar-h);
  padding: 0 clamp(20px, 2.6vw, 46px);
  text-decoration: none;
  white-space: nowrap;
}
.ref-logo { height: 26px; display: flex; align-items: center; }
.ref-logo .logo-img { height: 24px; width: auto; filter: brightness(0); opacity: 0.48; transition: opacity 0.3s, filter 0.3s; }
.ref-emblem { height: 34px; }
.ref-emblem .logo-img { height: 34px; }
.ref-word { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); opacity: 0.5; transition: opacity 0.3s, color 0.3s; }
.ref-cap { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.ref-cap b { font-size: 12px; font-weight: 700; color: var(--ink); transition: color 0.3s; }
.ref-cap span { font-size: 10.5px; color: var(--ink-soft); }
.ref:hover .logo-img { filter: none; opacity: 1; }
.ref:hover .ref-word { opacity: 1; color: var(--blue); }
.ref:hover .ref-cap b { color: var(--blue); }

/* Laufrichtung rechts → links, nahtlose Schleife */
@keyframes marqueeRTL {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ═══════════ MODAL ═══════════ */
.modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 48px);
  visibility: hidden; opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11, 29, 51, 0.66); }
.modal-panel {
  position: relative;
  width: min(620px, 100%);
  height: min(82vh, 820px);
  background: #fff; border-radius: 20px;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 90px rgba(11, 29, 51, 0.4);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-open .modal-panel { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.modal-title { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.modal-x { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background 0.25s, color 0.25s, transform 0.25s; }
.modal-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.modal-x:hover { background: var(--ink); color: #fff; transform: rotate(90deg); }
.modal-body { flex: 1; background: var(--mist); }
.modal-body iframe { width: 100%; height: 100%; border: none; display: block; }
.modal-foot { display: flex; align-items: center; justify-content: flex-end; gap: 16px; padding: 12px 18px; border-top: 1px solid var(--line-soft); }
.modal-dl { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; background: var(--mist); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.modal-dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.modal-dl:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ═══════════ TECHNOLOGIE-BILD (rechts neben dem Titel, klein) ═══════════ */
.tech-head {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: stretch;
  margin-bottom: clamp(30px, 5vh, 56px);
}
.tech-head .h2 { margin-bottom: 0; }
.tech-photo { margin: 0; border-radius: 22px; overflow: hidden; position: relative; }
.tech-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════ TESTIMONIAL-BILD (rechts neben dem Text, klein) ═══════════ */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
  margin: 6px 0 24px;
}
.testimonial-grid .quote { margin-bottom: 0; font-size: clamp(28px, 4vw, 52px); }
.testimonial-photo {
  width: clamp(300px, 34vw, 430px);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.42);
  position: relative;
}
.testimonial-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ═══════════ LEGAL-SEITEN (Impressum / Datenschutz) ═══════════ */
.legal-header {
  border-bottom: 1px solid var(--line-soft);
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.legal-header .brand img { height: 40px; width: auto; }
.legal-back { font-size: 15px; font-weight: 600; color: var(--ink-soft); text-decoration: none; transition: color 0.25s; }
.legal-back:hover { color: var(--blue); }
.legal-main { max-width: 780px; margin: 0 auto; padding: clamp(48px, 9vh, 104px) var(--gutter) clamp(64px, 12vh, 140px); }
.legal-main h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -0.035em; margin-bottom: 12px; }
.legal-lead { color: var(--ink-soft); font-size: 17px; margin-bottom: 48px; }
.legal-main h2 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 14px; }
.legal-main p, .legal-main li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.legal-main p { margin-bottom: 14px; }
.legal-main ul { margin: 0 0 14px 20px; }
.legal-main li { margin-bottom: 6px; }
.legal-main a { color: var(--blue); text-decoration: none; }
.legal-main a:hover { text-decoration: underline; }
.legal-main strong { color: var(--ink); font-weight: 700; }
.legal-note { margin-top: 48px; padding: 18px 20px; background: var(--mist); border-radius: 14px; font-size: 13.5px; color: var(--ink-soft); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-stage { align-self: center; }
  .contact-grid { grid-template-columns: 1fr; max-width: 600px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-layout { grid-template-columns: 1fr; gap: 40px; max-width: 640px; }
  .pc-slide { width: min(46%, 320px); }
  .testimonial-grid { grid-template-columns: 1fr; gap: 28px; }
  .testimonial-photo { align-self: start; width: 100%; max-width: 360px; height: auto; justify-self: start; }
  .tech-head { grid-template-columns: 1fr; gap: 28px; }
  .tech-photo { height: clamp(220px, 46vw, 300px); }
  .contact-direct { margin-top: 30px; }
  .hero-stage { height: auto; }
  .hero-avatar { flex: none; width: min(78%, 360px); height: auto; }
}
@media (max-width: 680px) {
  .lang-switch { display: none; }
  .lead-columns { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: 1fr; gap: 44px; }
  .proof-media { grid-template-columns: 1fr; }
  .kbe-bar { grid-template-columns: 1fr 1fr; }
  .kbe-seg:nth-child(1) { border-radius: 12px 0 0 0; }
  .kbe-seg:nth-child(2) { border-radius: 0 12px 0 0; }
  .kbe-seg:nth-child(3) { border-radius: 0 0 0 12px; }
  .kbe-seg:nth-child(4) { border-radius: 0 0 12px 0; }
  .hero-baseline { gap: 8px; }
  .pc-stage { height: clamp(280px, 42vh, 380px); }
  .pc-slide { width: min(62%, 260px); }
  .logobar-label { display: none; }
  .ref { padding: 0 22px; }
}
