/* ==========================================================================
   Easy Solar – Designsystem nach SunVault-Referenz
   ========================================================================== */

:root {
  --dark: #22282b;
  --dark-2: #2e3538;
  --dark-3: #3a4247;
  --sage: #7e8c80;
  --sage-light: #a9b4a6;
  --off-white: #f2f3ef;
  --yellow: #f2e23a;
  --glow: #f5a623;
  --text-light: #f2f3ef;
  --text-muted: rgba(242, 243, 239, 0.65);
  --text-dark: #22282b;
  --bevel: 22px;
  --nav-h: 72px;
  --font: "Outfit", system-ui, sans-serif;
}

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

html { scroll-behavior: auto; }

body {
  font-family: var(--font);
  font-weight: 300;
  background: var(--dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1200px, 92vw); margin-inline: auto; }

h1, h2, h3 { font-weight: 300; line-height: 1.15; }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: 0.01em; margin-bottom: 1.2rem; }
h3 { font-size: 1.25rem; font-weight: 400; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--yellow);
  margin-bottom: 0.9rem;
}
.section-light .kicker { color: #8a7d00; }

.accent { color: var(--yellow); }
.accent-dark { color: #b3a600; }

/* --- Blitz-Logo --- */
.bolt { width: 26px; height: 26px; fill: var(--yellow); flex-shrink: 0; }
.bolt path { fill: inherit; }
.bolt-sm { width: 16px; height: 16px; }
.bolt-md { width: clamp(28px, 4vw, 48px); height: clamp(28px, 4vw, 48px); }

/* --- Glassmorphism --- */
.glass {
  background: rgba(34, 40, 43, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(242, 243, 239, 0.18);
}
.glass-dark {
  background: rgba(242, 243, 239, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(242, 243, 239, 0.12);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.7rem;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--text-dark);
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.btn-primary .bolt { fill: var(--text-dark); }
.btn-primary:hover { transform: translateY(-2px); background: #f8ea55; }
.btn-full { width: 100%; justify-content: center; }

/* ==========================================================================
   Navbar
   ========================================================================== */

.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1240px, 96vw);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2.2rem;
  background: rgba(34, 40, 43, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(242, 243, 239, 0.14);
  border-top: none;
  clip-path: polygon(0 0, 100% 0, calc(100% - 34px) 100%, 34px 100%);
  transition: background 0.4s ease, height 0.4s ease;
}
.nav.is-scrolled {
  background: rgba(26, 31, 33, 0.82);
  height: 60px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 2.6rem;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: color 0.25s ease;
  position: relative;
}
.nav-links a:hover { color: var(--yellow); }
.nav-cta { white-space: nowrap; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--text-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(26, 31, 33, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu ul { display: flex; flex-direction: column; gap: 2rem; text-align: center; }
.mobile-menu a { font-size: 1.6rem; font-weight: 300; }
.mobile-menu .btn { font-size: 0.9rem; margin-top: 1rem; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  will-change: transform;
}
/* Canvas für scroll-gesteuerte Frame-Sequenz (liegt über dem Poster-Bild) */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.hero-canvas.is-ready { opacity: 1; }
/* Fallback + Einfärbung, damit Text lesbar bleibt */
.hero-gradient {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(34,40,43,0.72) 0%, rgba(34,40,43,0.15) 38%, rgba(20,24,26,0.55) 82%, var(--dark) 100%),
    linear-gradient(160deg, #4a545a 0%, #39424a 45%, #232a2c 100%);
  background-blend-mode: normal;
}
.hero-canvas + .hero-gradient,
.hero-img + .hero-gradient {
  background: linear-gradient(180deg, rgba(34,40,43,0.55) 0%, rgba(34,40,43,0.05) 40%, rgba(20,24,26,0.45) 82%, var(--dark) 100%);
}

/* Bodenraster (wie im Referenzbild) */
.grid-overlay {
  position: absolute;
  left: -20%; right: -20%; bottom: -12%;
  height: 42%;
  background:
    repeating-linear-gradient(90deg, rgba(242,243,239,0.10) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(242,243,239,0.10) 0 1px, transparent 1px 90px);
  transform: perspective(600px) rotateX(58deg);
  transform-origin: bottom center;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, 92vw);
  height: 100%;
}

.hero-title {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  font-size: clamp(3.2rem, 11vw, 10rem);
  font-weight: 200;
  letter-spacing: 0.02em;
  color: var(--off-white);
  white-space: nowrap;
}
.hero-bolt {
  width: clamp(36px, 6vw, 92px);
  height: clamp(36px, 6vw, 92px);
  filter: drop-shadow(0 6px 22px rgba(242, 226, 58, 0.45));
}
.hero-title-left, .hero-title-right { display: inline-block; will-change: transform, opacity; }

/* Spec-Karte links */
.hero-spec {
  position: absolute;
  left: 0;
  top: 44%;
  max-width: 320px;
  padding: 1.4rem 1.6rem;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.hero-spec-row { display: flex; gap: 1.2rem; align-items: flex-start; }
.spec-code { color: var(--yellow); font-weight: 500; letter-spacing: 0.08em; white-space: nowrap; }
.hero-spec p { font-size: 0.95rem; color: var(--text-muted); }
.spec-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--yellow);
  padding-bottom: 3px;
  transition: color 0.25s ease;
}
.spec-link:hover { color: var(--yellow); }

/* Text rechts */
.hero-side {
  position: absolute;
  right: 0;
  top: 42%;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 300;
  text-align: left;
  line-height: 1.4;
  max-width: 340px;
}

/* Callouts */
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.callout-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--off-white);
  box-shadow: 0 0 0 4px rgba(242, 243, 239, 0.25);
}
.callout-line {
  width: 70px; height: 1px;
  background: rgba(242, 243, 239, 0.7);
  transform-origin: left center;
}
.callout-label {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(242, 243, 239, 0.92);
  color: var(--text-dark);
  border: none;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  white-space: nowrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.hero-scroll-hint span {
  width: 1px; height: 42px;
  background: linear-gradient(180deg, transparent, var(--yellow));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
}

/* ==========================================================================
   Karten-Trio
   ========================================================================== */

.cards-trio {
  position: relative;
  z-index: 5;
  margin-top: -14vh;
  padding-bottom: 4rem;
}
.trio-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 1.6rem;
  align-items: stretch;
}
.trio-card {
  position: relative;
  min-height: 320px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.35s ease;
  will-change: transform;
}
.trio-card:hover { transform: translateY(-8px); }

.trio-reviews {
  background: #5c6b70;
  color: var(--off-white);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}
.trio-product {
  background: var(--sage);
  color: var(--off-white);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  align-items: center;
  text-align: center;
}
.trio-feature {
  background: var(--off-white);
  color: var(--text-dark);
  clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
  align-items: flex-end;
  text-align: right;
  justify-content: center;
}

.trio-head { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.trio-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242,243,239,0.7);
}
.star { width: 26px; height: 26px; fill: var(--yellow); }
.trio-big { font-size: 4.6rem; font-weight: 200; line-height: 1; margin: auto 0 0.5rem; }
.trio-text { font-size: 1.15rem; line-height: 1.35; margin-bottom: 1.4rem; }
.trio-title { font-size: 1.5rem; font-weight: 300; line-height: 1.3; }
.trio-badge {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-top: 0.6rem;
  color: #6d6d6d;
}

/* Speicher-Grafik */
.battery {
  margin-top: 2rem;
  width: 120px;
  height: 170px;
  background: linear-gradient(180deg, #e9eae4, #cfd2c8);
  border-radius: 16px 16px 6px 6px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
  gap: 8px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.battery-eye {
  position: absolute;
  top: 22px;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 3px solid #9aa295;
}
.battery-bar {
  width: 34px; height: 6px;
  border-radius: 3px;
  background: var(--yellow);
}
.battery-bar:nth-child(2) { margin-top: 34px; }
.battery-bar:nth-child(4) { opacity: 0.55; }

/* Wassertropfen (SVG) – Symbol für Wetterfestigkeit / IPX8 */
.trio-feature { position: relative; }
.trio-drop {
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 92px;
  height: auto;
  filter: drop-shadow(4px 8px 10px rgba(70, 80, 86, 0.28));
}

/* ==========================================================================
   Sektionen allgemein
   ========================================================================== */

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; position: relative; }
.section-light { background: var(--off-white); color: var(--text-dark); }
.section-dark { background: var(--dark); overflow: hidden; }
.grid-overlay-static { opacity: 0.5; }

/* --- Über uns --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
.about-text p { color: var(--text-muted); margin-bottom: 1.2rem; max-width: 54ch; }
.about-text .btn { margin-top: 1rem; }
.about-stats {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
@media (max-width: 640px) {
  .about-stats { grid-template-columns: 1fr 1fr; }
}
.stat {
  padding: 1.6rem 1.4rem;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.stat-num { font-size: 2.4rem; font-weight: 200; color: var(--yellow); line-height: 1.1; }
.stat-label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.3rem; }

/* --- Leistungen --- */
.services-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-card {
  background: #ffffff;
  padding: 2.2rem 2rem;
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  border-bottom: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(34, 40, 43, 0.12);
}
.service-icon { width: 44px; height: 44px; color: #b3a600; margin-bottom: 1.2rem; }
.service-card h3 { margin-bottom: 0.6rem; font-weight: 500; }
.service-card p { font-size: 0.95rem; color: #5a615c; }

/* --- Ablauf --- */
.steps-track {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.steps-line {
  position: absolute;
  top: 24px;
  left: 6%; right: 6%;
  height: 1px;
  background: rgba(242,243,239,0.15);
}
.steps-line-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
}
.step { position: relative; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--dark-3);
  color: var(--yellow);
  font-weight: 500;
  font-size: 1.1rem;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
  margin-bottom: 1.1rem;
  position: relative;
  z-index: 1;
}
.step h3 { font-weight: 500; margin-bottom: 0.4rem; }
.step p { font-size: 0.92rem; color: var(--text-muted); }

/* --- Effizienz --- */
.efficiency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.check-list { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.check-list li { display: flex; gap: 0.9rem; align-items: baseline; font-size: 1.05rem; }
.check { color: var(--yellow); }

.calculator {
  padding: 2.4rem 2.2rem;
  clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
}
.calculator h3 { font-weight: 500; margin-bottom: 1.6rem; }
.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.calc-label output { color: var(--off-white); font-weight: 500; }
input[type="range"] {
  width: 100%;
  margin-bottom: 1.6rem;
  accent-color: var(--yellow);
  cursor: pointer;
}
.calc-results {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(242,243,239,0.12);
}
.calc-num { font-size: 2.2rem; font-weight: 200; line-height: 1.1; }
.calc-caption { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }
.calc-note { font-size: 0.72rem; color: var(--text-muted); margin-top: 1.4rem; }

/* --- Bewertungen --- */
.reviews-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}
.reviews-big { font-size: 3.6rem; font-weight: 200; line-height: 1; }
.reviews-big span { font-size: 1.4rem; color: #8a8f88; }
.stars { display: flex; gap: 4px; margin: 0.5rem 0 0.3rem; }
.stars .star { width: 20px; height: 20px; }
.reviews-caption { font-size: 0.85rem; color: #6d726c; }
.reviews-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.review-card {
  background: #ffffff;
  padding: 2.2rem 2rem;
  clip-path: polygon(20px 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.6rem;
}
.review-card blockquote { font-size: 1rem; color: #3d443f; line-height: 1.65; }
.review-card figcaption { font-size: 0.88rem; color: #6d726c; }
.review-card strong { color: var(--text-dark); font-weight: 500; }

/* --- Kontakt --- */
.contact-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  text-align: center;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 200;
  margin-bottom: clamp(3rem, 6vw, 5rem);
  flex-wrap: wrap;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.contact-lead { font-size: 1.15rem; max-width: 44ch; margin-bottom: 2rem; }
.contact-list { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-list li { display: flex; flex-direction: column; font-size: 1rem; }
.contact-list a:hover { color: var(--yellow); }
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.2rem;
}

.contact-form {
  padding: 2.4rem 2.2rem;
  clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  color: var(--off-white);
  background: rgba(242,243,239,0.07);
  border: 1px solid rgba(242,243,239,0.15);
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.25s ease;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--yellow); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(242,243,239,0.35); }
.form-note { font-size: 0.85rem; color: var(--yellow); min-height: 1.2em; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #1a1f21;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(242,243,239,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.92rem; color: var(--text-muted); max-width: 34ch; }
.footer-head {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.footer ul { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.95rem; }
.footer a { color: var(--text-muted); transition: color 0.25s ease; }
.footer a:hover { color: var(--yellow); }
.footer .nav-logo { color: var(--text-light); }
.footer-contact li { color: var(--text-muted); }
.footer-bottom {
  border-top: 1px solid rgba(242,243,239,0.08);
  padding: 1.4rem 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ========================================================================== */

.legal-page { padding: calc(var(--nav-h) + 4rem) 0 5rem; min-height: 70vh; }
.legal-page h1 { font-size: 2.6rem; font-weight: 200; margin-bottom: 2rem; }
.legal-page h2 { font-size: 1.3rem; font-weight: 500; margin: 2rem 0 0.6rem; }
.legal-page p { color: var(--text-muted); max-width: 70ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero-title { top: 24%; }
  .hero-spec { top: auto; bottom: 22%; max-width: 280px; }
  .hero-side { top: auto; bottom: 24%; max-width: 260px; font-size: 1.1rem; }

  .trio-grid { grid-template-columns: 1fr; }
  .trio-card { min-height: 240px; }
  .about-grid, .efficiency-grid, .contact-grid { grid-template-columns: 1fr; }
  .services-grid, .reviews-grid { grid-template-columns: 1fr 1fr; }
  .steps-track { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.6rem, 14vw, 4rem); }
  .hero-spec { display: none; }
  .hero-side { bottom: 18%; right: auto; left: 0; }
  .callout-line { width: 36px; }
  .services-grid, .reviews-grid, .steps-track, .form-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .cards-trio { margin-top: -8vh; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Bilder & Inline-Icons (Framework-Feinschliff)
   ========================================================================== */

.icon-inline {
  width: 1em; height: 1em;
  fill: none;
  color: var(--yellow);
  vertical-align: -0.12em;
  margin-right: 0.15em;
}
.accent-inline { display: inline-flex; align-items: center; gap: 0.25em; }
.bolt-dark { fill: #b3a600; vertical-align: -0.12em; }

/* Bewertungs-Karte im Trio mit Foto */
.trio-reviews { padding: 0; overflow: hidden; }
.trio-photo {
  position: absolute;
  right: 0; bottom: 0;
  width: 58%; height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 55%);
}
.trio-reviews-content {
  position: relative;
  z-index: 1;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}
.trio-reviews .trio-head { width: auto; }

/* Über-uns Bild */
.about-media {
  position: relative;
  clip-path: polygon(24px 0, 100% 0, calc(100% - 24px) 100%, 0 100%);
  overflow: hidden;
  min-height: 340px;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-media-tag {
  position: absolute;
  left: 1.2rem; bottom: 1.2rem;
  padding: 0.6rem 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--off-white);
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

/* Trust-Leiste */
.trust-bar {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(242, 243, 239, 0.12);
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.trust-bar li::before {
  content: "";
  width: 16px; height: 16px;
  flex-shrink: 0;
  background: var(--yellow);
  clip-path: polygon(50% 0, 62% 38%, 100% 38%, 70% 62%, 82% 100%, 50% 76%, 18% 100%, 30% 62%, 0 38%, 38% 38%);
}

/* Effizienz-Check als SVG */
.check {
  width: 18px; height: 18px;
  flex-shrink: 0;
  fill: var(--yellow);
  transform: translateY(3px);
}

/* Referenzen */
.references-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.reference-card {
  background: var(--dark-2);
  clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 100%, 0 100%);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.reference-card:hover { transform: translateY(-6px); }
.reference-media { aspect-ratio: 16 / 10; overflow: hidden; }
.reference-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.reference-card:hover .reference-media img { transform: scale(1.05); }
.reference-body { padding: 1.6rem 1.8rem 2rem; }
.reference-body h3 { font-weight: 500; margin-bottom: 0.5rem; }
.reference-body p { font-size: 0.95rem; color: var(--text-muted); }

/* Bewertungs-Karten: Sterne + Avatar */
.review-stars { display: flex; gap: 3px; margin-bottom: 0.2rem; }
.review-stars .star { width: 18px; height: 18px; fill: var(--yellow); }
.review-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.review-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Kontakt-Hintergrundbild */
.contact-bg { position: absolute; inset: 0; z-index: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.contact-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,31,33,0.75) 0%, rgba(26,31,33,0.55) 50%, var(--dark) 100%);
}
.contact .container { position: relative; z-index: 2; }

/* ==========================================================================
   Fokus-States (Barrierefreiheit / Framework-Checkliste)
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.trio-card:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-light a:focus-visible,
.section-light button:focus-visible { outline-color: #b3a600; }

/* ==========================================================================
   Responsive – neue Elemente
   ========================================================================== */

@media (max-width: 1024px) {
  .references-grid { grid-template-columns: 1fr; }
  .about-media { min-height: 260px; }
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
