/* Sun Device — Google-Ads-Landingpage Photovoltaik
   Tokens und Werte gemäß design-system.md / README (High-Fidelity) */

:root {
  --orange: #f09400;
  --orange-hover: #d17f00;
  --orange-hover-alt: #d98500;
  --brown: #492300;
  --ink: #1c1c1c;
  --text-mid: #55504b;
  --text-soft: #7b7269;
  --text-faint: #8a8a8a;
  --text-mute: #a09689;
  --bg: #f2f2f2;
  --surface: #f4f1ed;
  --border: #e6e1da;
  --border-soft: #f2ede6;
  --border-row: #ece7e0;
  --border-warm: #d8d1c8;
  --green: #2fa84f;
  --star: #f5b400;
  --team-bg: #2a1400;
  --pad-x: clamp(16px, 2.6vw, 44px);
}

html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  font-family: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  color: #111111;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { letter-spacing: -0.01em; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: #c97900; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
input, textarea, button { font-family: inherit; }
::placeholder { color: #6f6f6f; opacity: 1; }
img { max-width: 100%; }

/* ---------- Keyframes ---------- */
@keyframes sdRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes sd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sdColUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes sdColDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

/* ---------- Wrapper & Sonne ---------- */
.sd-wrap { width: 100%; overflow-x: clip; background: transparent; position: relative; }

.sd-sun {
  position: fixed; top: 12vh; right: -6vw;
  width: clamp(340px, 46vw, 720px); height: clamp(340px, 46vw, 720px);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(240,148,0,0.42) 0%, rgba(240,148,0,0.20) 42%, rgba(240,148,0,0) 72%);
  pointer-events: none; z-index: 0; opacity: 0;
  transition: opacity 0.35s ease; will-change: transform;
}

/* ---------- Topbar ---------- */
.sd-topbar { background: var(--brown); }
.sd-topbar header {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 2vw, 40px);
  padding: 12px var(--pad-x);
  flex-wrap: wrap; max-width: 1240px; margin: 0 auto; width: 100%;
}
.sd-logo { display: block; width: 96px; flex: 0 0 auto; }
.sd-logo img { display: block; width: 100%; height: auto; }
.sd-topbar nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 44px); margin-left: auto; flex-wrap: wrap; }
.sd-tel { display: inline-flex; align-items: center; gap: 10px; color: #ffffff; font-size: 18px; font-weight: 500; }
.sd-tel:hover { color: #ffffff; }
.sd-topbar-cta {
  flex: 0 0 auto; background: var(--orange); color: #ffffff;
  font-size: 16px; font-weight: 700; padding: 12px 24px; border-radius: 999px;
}
.sd-topbar-cta:hover { background: var(--orange-hover-alt); color: #ffffff; }

/* ---------- Hero ---------- */
.sd-hero { background: transparent; position: relative; z-index: 1; }
.sd-hero-inner {
  max-width: 1240px; margin: 0 auto;
  padding: clamp(32px, 4vw, 68px) var(--pad-x) clamp(28px, 3.4vw, 52px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(28px, 3.6vw, 60px); align-items: center;
}
.sd-hero-col { display: flex; flex-direction: column; gap: 20px; animation: sdRise 0.7s ease both; }
.sd-kicker {
  margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--orange);
}
.sd-hero h1 {
  margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.08;
  font-weight: 700; color: var(--ink); letter-spacing: -0.025em; text-wrap: pretty;
}
.sd-hero-sub { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--text-mid); }
.sd-bullets { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.sd-bullet { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.sd-bullet svg { flex: 0 0 auto; margin-top: 1px; }
.sd-hero-trust { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.sd-hero-rating { display: flex; align-items: center; gap: 16px; }
.sd-hero-rate { font-size: 46px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.sd-hero-stars { display: flex; flex-direction: column; gap: 6px; }
.sd-stars-row { display: flex; gap: 3px; }
.sd-rating-caption { display: inline-flex; align-items: baseline; gap: 8px; font-size: 17px; color: var(--text-mid); }
.sd-google-word { display: inline-flex; align-items: baseline; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.sd-hero-exp { font-size: 16px; color: var(--text-soft); }
.sd-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.sd-cta-primary {
  display: inline-flex; flex-direction: column; gap: 1px;
  background: var(--orange); color: #ffffff; padding: 12px 24px; border-radius: 999px;
}
.sd-cta-primary:hover { background: var(--orange-hover); color: #ffffff; }
.sd-cta-primary .t { font-size: 16px; font-weight: 700; }
.sd-cta-primary .s { font-size: 13px; color: rgba(255,255,255,0.85); }
.sd-cta-tel {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--border-warm); color: var(--ink);
  font-size: 16px; font-weight: 700; padding: 12px 22px; border-radius: 999px;
}
.sd-cta-tel:hover { background: #ffffff; color: var(--ink); }

/* Hero-Bildmosaik */
.sd-mos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  height: clamp(230px, 44vw, 620px); overflow: hidden;
  mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.sd-mos-clip { overflow: hidden; height: 100%; }
.sd-mos-col { display: flex; flex-direction: column; gap: 14px; animation: sdColUp 42s linear infinite; }
.sd-mos-col[data-dir="down"] { animation-name: sdColDown; }
.sd-mos:hover .sd-mos-col { animation-play-state: paused; }
.sd-mos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; display: block; }

/* ---------- Funnel ---------- */
#funnel {
  background: transparent; position: relative; z-index: 1;
  padding: clamp(36px, 4vw, 64px) var(--pad-x);
  max-width: 940px; margin: 0 auto;
}
.sd-funnel-note {
  margin: clamp(28px, 3.2vw, 48px) 0 0; text-align: center;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.18;
  font-weight: 500; color: var(--ink);
  letter-spacing: -0.02em; text-wrap: balance;
}
.sd-funnel-note strong { font-weight: 800; }
.sd-card {
  background: #ffffff; border-radius: 24px;
  box-shadow: 0 18px 50px rgba(73,35,0,0.10);
  overflow: hidden; display: flex; flex-direction: column; will-change: transform;
}
.sd-advisor {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: clamp(20px, 2.2vw, 28px) clamp(20px, 2.6vw, 36px);
}
.sd-advisor-photo { position: relative; flex: 0 0 auto; width: 64px; height: 64px; }
.sd-advisor-photo img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; display: block; }
.sd-advisor-dot {
  position: absolute; right: 0; bottom: 0; width: 14px; height: 14px;
  border-radius: 50%; background: var(--green); border: 2px solid #ffffff;
}
.sd-advisor-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sd-advisor-name { font-size: 17px; line-height: 1.3; color: var(--text-mid); }
.sd-advisor-name b { font-weight: 700; color: var(--ink); }
.sd-advisor-status { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-soft); }
.sd-advisor-status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.sd-advisor-status .on { color: var(--green); font-weight: 600; }
.sd-advisor-meta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.sd-step-badge {
  background: var(--brown); color: #ffffff; font-size: 14px; font-weight: 700;
  padding: 9px 16px; border-radius: 999px;
}
.sd-step-time { font-size: 14px; color: var(--text-soft); }
.sd-progress { height: 5px; background: var(--border-soft); }
.sd-progress-fill {
  display: block; height: 100%; background: var(--orange);
  transition: width 0.35s cubic-bezier(0.16, 0.84, 0.24, 1);
}
.sd-funnel-body {
  display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 22px);
  padding: clamp(24px, 2.8vw, 40px) clamp(20px, 2.6vw, 36px);
}
.sd-question { display: flex; flex-direction: column; gap: 8px; }
.sd-question h3 {
  margin: 0; font-size: clamp(20px, 2vw, 26px); line-height: 1.22;
  font-weight: 700; color: var(--ink); letter-spacing: -0.015em; text-wrap: pretty;
}
.sd-question p { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.sd-tile-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr));
  gap: clamp(12px, 1.3vw, 18px); width: 100%;
}
.sd-tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 12px 12px 16px; border-radius: 12px; cursor: pointer;
  transition: all 0.15s ease; background: #ffffff; border: 1.5px solid var(--border);
}
.sd-tile.active { border-color: var(--orange); }
.sd-tile-ring {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 68px; border-radius: 10px;
  transition: all 0.15s ease; background: var(--surface);
}
.sd-tile.active .sd-tile-ring { background: rgba(240,148,0,0.14); }
.sd-tile-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.sd-tile-label { font-size: 16px; color: var(--ink); text-align: center; font-weight: 700; line-height: 1.3; }
.sd-contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 16px; width: 100%;
}
.sd-contact-grid input {
  height: 56px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--border); background: #ffffff; color: var(--ink); font-size: 16px;
}
.sd-contact-grid input.invalid { border-color: #d94f30; }
.sd-form-error { margin: 0; font-size: 14px; line-height: 1.5; color: #d94f30; display: none; }
.sd-form-error.show { display: block; }
/* Honeypot: fuer Besucher unsichtbar, Bots fuellen es aus */
.sd-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.sd-privacy-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-faint); }
.sd-privacy-note a { color: var(--text-soft); border-bottom: 1px solid var(--border-warm); }
.sd-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sd-chip {
  background: var(--surface); color: var(--brown); font-size: 14px;
  padding: 9px 16px; border-radius: 999px;
}
.sd-funnel-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px; width: 100%;
  border-top: 1px solid var(--border-row); padding-top: 28px; margin-top: 6px;
}
.sd-btn-back {
  height: 50px; padding: 0 22px; border: 1px solid var(--border);
  border-radius: 999px; background: #ffffff; color: var(--brown);
  font-size: 16px; font-weight: 600; cursor: pointer;
}
.sd-btn-back:hover { background: var(--surface); }
.sd-btn-next {
  flex: 1 1 260px; height: 56px; padding: 0 30px; border: none; border-radius: 999px;
  font-size: 17px; font-weight: 700; transition: all 0.15s ease;
  cursor: pointer; background: var(--orange); color: #ffffff;
}
.sd-btn-next:disabled { background: var(--border-soft); color: var(--text-mute); cursor: not-allowed; }
.sd-trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 8px 20px; width: 100%; font-size: 14px; color: var(--text-faint); padding-top: 4px;
}
.sd-trust-row .item { display: inline-flex; align-items: center; gap: 7px; }
.sd-trust-row .sep { color: #ddd6cd; }

/* ---------- Mobiler Referenzstreifen ---------- */
.sd-only-mobile { display: none; }
.sd-show-mobile { display: none; }
.sd-strip { padding: clamp(20px, 4vw, 32px) 0 clamp(8px, 2vw, 16px); }
.sd-strip-rows { display: flex; flex-direction: column; gap: 12px; }
.sd-marquee-row { overflow-x: auto; scrollbar-width: none; }
.sd-marquee-row::-webkit-scrollbar { display: none; }
.sd-marquee-track { display: flex; gap: 12px; width: max-content; animation: sd-marquee 70s linear infinite; }
.sd-marquee-track[data-dir="reverse"] { animation-direction: reverse; }
.sd-marquee-row:hover .sd-marquee-track { animation-play-state: paused; }
.sd-strip img {
  flex: 0 0 auto; width: 58vw; max-width: 280px; height: 42vw; max-height: 200px;
  object-fit: cover; border-radius: 12px; display: block;
}

/* ---------- Presse ---------- */
.sd-press { background: transparent; position: relative; z-index: 1; padding: clamp(48px, 5.4vw, 88px) var(--pad-x); }
.sd-press-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(28px, 3.4vw, 56px); align-items: center;
}
.sd-press-img { width: 100%; height: auto; border-radius: 16px; display: block; }
.sd-press-col { display: flex; flex-direction: column; gap: 20px; }
.sd-press-known { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.sd-press-known img { height: 26px; width: auto; display: block; opacity: 0.85; }
.sd-h2 {
  margin: 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.16; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em; text-wrap: pretty;
}
.sd-press-quote { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.sd-press-src { margin: 0; font-size: 15px; color: var(--text-soft); }
.sd-press-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.sd-btn-orange {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--orange); color: #ffffff; font-size: 16px; font-weight: 700;
  padding: 15px 28px; border-radius: 999px;
}
.sd-btn-orange:hover { background: var(--orange-hover); color: #ffffff; }
.sd-press-link {
  font-size: 15px; color: var(--text-soft);
  border-bottom: 1px solid var(--border-warm); padding-bottom: 2px;
}
.sd-press-link:hover { color: var(--orange); }

/* ---------- Vergleich ---------- */
.sd-cmp { background: #ffffff; position: relative; z-index: 1; padding: clamp(48px, 5.4vw, 88px) var(--pad-x); }
.sd-cmp-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-direction: column; gap: clamp(28px, 3.2vw, 48px); }
.sd-cmp-header { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.sd-cmp-header h2 { max-width: 780px; }
.sd-cmp-card {
  border-radius: 24px; background: #ffffff;
  box-shadow: 0 14px 44px rgba(73,35,0,0.07);
  padding: clamp(8px, 1vw, 16px) 0;
}
.sd-cmp-row { display: grid; grid-template-columns: minmax(150px, 0.9fr) repeat(3, minmax(0, 1fr)); }
.sd-cmp-row .crit {
  display: flex; align-items: flex-start; padding: 20px 22px;
  font-size: 16px; font-weight: 700; color: var(--ink);
  border-bottom: 1px solid var(--border-soft);
}
.sd-cmp-cell {
  display: flex; align-items: flex-start; gap: 10px; padding: 20px 22px;
  font-size: 15px; line-height: 1.45; color: var(--text-soft);
  border-bottom: 1px solid var(--border-soft);
}
.sd-cmp-cell svg { flex: 0 0 auto; margin-top: 1px; }
.sd-cmp-hl {
  font-weight: 600; color: var(--ink);
  background: rgba(240,148,0,0.07);
  border-left: 2px solid var(--orange); border-right: 2px solid var(--orange);
  border-bottom: none;
}
.sd-cmp-head .cell-logo {
  display: flex; align-items: center; justify-content: center; padding: 22px 20px;
  background: rgba(240,148,0,0.07);
  border: 2px solid var(--orange); border-bottom: none;
  border-radius: 20px 20px 0 0;
}
.sd-cmp-head .cell-logo img { height: 30px; width: auto; display: block; }
.sd-cmp-head .cell-label {
  display: flex; align-items: center; justify-content: center; padding: 22px 20px;
  font-size: 16px; font-weight: 700; color: var(--ink);
}
.sd-cmp-row:last-of-type .sd-cmp-hl {
  border-bottom: 2px solid var(--orange);
  border-radius: 0 0 20px 20px;
}
.sd-cmp-tag { display: none; }
.sd-cmp-hint { display: none; margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--text-mute); }
.sd-cmp-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.sd-cmp-cta .sd-btn-orange { font-size: 17px; padding: 17px 32px; }
.sd-cmp-cta span { font-size: 14px; color: var(--text-faint); }

/* ---------- Rezensionen ---------- */
.sd-reviews { background: transparent; position: relative; z-index: 1; padding: clamp(48px, 5vw, 80px) 0 clamp(60px, 6.6vw, 110px); }
.sd-reviews-head {
  max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-x);
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.sd-eyebrow-grey {
  margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: #9b9b9b;
}
.sd-reviews-head h2 { line-height: 1.2; text-align: center; max-width: 820px; }
.sd-reviews-google { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.sd-reviews-google .block { display: inline-flex; align-items: center; gap: 12px; }
.sd-reviews-google .col { display: flex; flex-direction: column; line-height: 1.15; }
.sd-reviews-google .score { display: flex; align-items: center; gap: 8px; }
.sd-reviews-google .score b { font-size: 18px; color: var(--ink); }
.sd-reviews-google .sub { font-size: 13px; color: var(--text-faint); }
.sd-reviews-track {
  display: flex; gap: clamp(16px, 1.8vw, 26px);
  padding: clamp(36px, 4vw, 60px) var(--pad-x) 10px;
  max-width: 1240px; margin: 0 auto;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.sd-reviews-track::-webkit-scrollbar { display: none; }
.sd-review-card {
  flex: 0 0 clamp(300px, 30vw, 400px); scroll-snap-align: start;
  background: #ffffff; border-radius: 16px; padding: clamp(24px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
}
.sd-review-head { display: flex; align-items: center; gap: 14px; }
.sd-review-avatar {
  width: 46px; height: 46px; flex: 0 0 auto; border-radius: 50%;
  color: #ffffff; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 700;
}
.sd-review-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.sd-review-name { font-size: 16px; font-weight: 700; color: var(--ink); }
.sd-review-src { font-size: 14px; color: var(--text-faint); }
.sd-review-stars { display: flex; align-items: center; gap: 3px; }
.sd-review-text { margin: 0; flex: 1; font-size: 16px; line-height: 1.62; color: #33302c; }
.sd-reviews-nav {
  max-width: 1240px; margin: 0 auto; padding: 22px var(--pad-x) 0;
  display: flex; justify-content: flex-end; gap: 14px;
}
.sd-nav-btn {
  width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); font-size: 18px; cursor: pointer;
}
.sd-nav-btn:hover { background: var(--ink); color: #ffffff; }

/* ---------- Referenzen ---------- */
.sd-refs {
  background: transparent; position: relative; z-index: 1;
  padding: 20px var(--pad-x) clamp(72px, 8vw, 130px);
  max-width: 1240px; margin: 0 auto;
}
.sd-refs-head { display: grid; grid-template-columns: minmax(160px, 0.42fr) 1fr; gap: clamp(20px, 3vw, 56px); }
.sd-refs-head .sd-eyebrow-grey { margin: 6px 0 0; }
.sd-refs-head h2 { line-height: 1.2; }
.sd-refs-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: clamp(260px, 30vw, 470px); align-items: stretch;
  gap: clamp(20px, 2vw, 32px); margin-top: clamp(32px, 3.6vw, 56px);
}
.sd-ref-card {
  position: relative; width: 100%; height: 100%;
  border-radius: 12px; overflow: hidden;
  background-size: cover; background-position: center;
}
.sd-ref-ov { opacity: 0; transition: opacity 0.3s ease; }
.sd-ref-card:hover .sd-ref-ov { opacity: 1; }
.sd-ref-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.68) 100%); }
.sd-ref-caption { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; flex-direction: column; gap: 12px; }
.sd-ref-caption h3 { margin: 0; color: #ffffff; font-size: clamp(19px, 1.7vw, 25px); font-weight: 700; line-height: 1.25; }
.sd-ref-caption p { margin: 0; color: rgba(255,255,255,0.85); font-size: clamp(14px, 1.1vw, 17px); line-height: 1.45; }
.sd-refs-nav { display: flex; justify-content: flex-end; gap: 18px; margin-top: 46px; }
.sd-refs-nav .sd-nav-btn { width: 58px; height: 58px; font-size: 20px; }

/* ---------- Team ---------- */
.sd-team {
  z-index: 1; position: relative; overflow: hidden; min-height: 760px;
  background-color: var(--team-bg);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(40px, 4.4vw, 80px) var(--pad-x);
}
.sd-team-bg {
  position: absolute; inset: -2%;
  background-image: url('../img/lp/team-bg.jpg');
  background-size: cover; background-position: center;
  filter: brightness(0.22) saturate(0.45) contrast(1.12);
  transform: scale(1.06);
  transition: filter 0.12s linear, transform 0.12s linear;
  will-change: filter, transform;
}
.sd-team-veil {
  position: absolute; inset: 0; opacity: 0.72;
  background: linear-gradient(180deg, rgba(73,35,0,0.78) 0%, rgba(73,35,0,0.25) 45%, rgba(20,10,0,0.7) 100%);
  transition: opacity 0.12s linear;
}
.sd-team-content {
  position: relative; z-index: 3; max-width: 1240px; width: 100%; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
}
.sd-team-content h2 { max-width: 720px; color: #ffffff; }
.sd-team-content p { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.88); }
.sd-team-cta {
  align-self: flex-start; background: var(--orange); color: #ffffff;
  font-size: clamp(16px, 1.1vw, 18px); font-weight: 700;
  padding: 16px 30px; border-radius: 999px;
}
.sd-team-cta:hover { background: var(--orange-hover-alt); color: #ffffff; }
.sd-team-stats {
  position: relative; z-index: 3; max-width: 1240px; width: 100%;
  margin: 60px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 40px);
}
.sd-stat { display: flex; flex-direction: column; gap: 10px; }
.sd-stat-num { font-size: clamp(34px, 3.4vw, 52px); font-weight: 700; color: var(--orange); line-height: 1; }
.sd-stat-label { font-size: 16px; line-height: 1.45; color: rgba(255,255,255,0.88); }

/* ---------- Partner ---------- */
.sd-partners { background: transparent; position: relative; z-index: 1; padding: 20px 0 clamp(72px, 8vw, 130px); max-width: 1240px; margin: 0 auto; }
.sd-partners-head { padding: 0 var(--pad-x); }
.sd-partners-head .sd-eyebrow-grey { margin: 0 0 34px; }
.sd-partners-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px, 3vw, 60px); flex-wrap: wrap; }
.sd-partners-row h2 { max-width: 900px; line-height: 1.2; }
.sd-partners-marquees { display: flex; flex-direction: column; gap: clamp(12px, 1.3vw, 20px); padding: clamp(40px, 4.6vw, 70px) var(--pad-x) 0; }
.sd-partner-track { display: flex; gap: clamp(12px, 1.3vw, 20px); width: max-content; animation: sd-marquee 70s linear infinite; }
.sd-partner-track[data-dir="reverse"] { animation-direction: reverse; }
.sd-partner-cell {
  flex: 0 0 auto; width: clamp(120px, 12.2vw, 164px); height: clamp(104px, 9vw, 150px);
  border: 1px solid #e2e2e2; border-radius: 8px; background: #f7f7f7;
  display: flex; align-items: center; justify-content: center; padding: 22px;
}
.sd-partner-logo { width: 100%; height: 100%; background-size: contain; background-position: center; background-repeat: no-repeat; }

/* ---------- Gewerbekunden ---------- */
.sd-biz {
  background: transparent; position: relative; z-index: 1;
  padding: 20px var(--pad-x) clamp(72px, 8vw, 130px);
  max-width: 1240px; margin: 0 auto;
}
.sd-biz-grid {
  display: grid; grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: clamp(360px, 34vw, 440px);
}
.sd-biz-col { display: flex; flex-direction: column; gap: 20px; }
.sd-biz-eyebrow { margin: 0; font-size: 14px; font-weight: 500; letter-spacing: 0.02em; color: var(--text-faint); }
.sd-biz-col h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.14; }
.sd-biz-col > p:not(.sd-biz-eyebrow) { margin: 0; font-size: 18px; line-height: 1.6; color: #555555; }
.sd-biz-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 8px; }
.sd-biz-cta .sd-btn-orange { padding: 17px 30px; }
.sd-biz-img {
  border-radius: 16px; min-height: clamp(300px, 30vw, 420px);
  background-image: url('../img/lp/gewerbe-cutaway.webp');
  background-size: contain; background-position: center; background-repeat: no-repeat;
}

/* ---------- Kontakt ---------- */
#kontakt { position: relative; padding: clamp(48px, 5.6vw, 90px) var(--pad-x); background-color: var(--bg); }
.sd-contact-card {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  max-width: 1240px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}
.sd-contact-left {
  background: var(--brown);
  padding: clamp(38px, 4.4vw, 70px) clamp(24px, 3.6vw, 60px);
  display: flex; flex-direction: column;
}
.sd-contact-left h2 {
  margin: 0; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.14;
  font-weight: 500; color: var(--orange); letter-spacing: -0.01em;
}
.sd-contact-left > p { margin: 20px 0 0; font-size: 18px; line-height: 1.55; color: var(--orange); max-width: 460px; }
.sd-contact-channels { margin-top: auto; display: flex; flex-direction: column; gap: 26px; padding-top: 80px; }
.sd-contact-channel { display: flex; align-items: center; gap: 20px; }
.sd-contact-channel a { color: var(--orange); font-size: 20px; }
.sd-contact-right {
  background: #ffffff;
  padding: clamp(34px, 3.8vw, 60px) clamp(24px, 3.6vw, 60px) clamp(40px, 4.4vw, 70px);
  display: flex; flex-direction: column; gap: 20px;
}
.sd-contact-right .sd-eyebrow-grey { margin: 0 0 6px; }
.sd-anliegen { display: flex; flex-wrap: wrap; gap: 18px; }
.sd-anliegen button {
  padding: 12px 22px; font-size: 16px; border-radius: 999px; cursor: pointer;
  background: #ffffff; color: #222222; border: 1px solid #d5d5d5;
}
.sd-anliegen button.active { background: var(--orange); color: #ffffff; border-color: var(--orange); }
.sd-contact-right input, .sd-contact-right textarea {
  width: 100%; padding: 0 18px; font-size: 16px; color: #222222;
  border: 1px solid #e0e0e0; border-radius: 8px; background: #fafafa; outline: none;
}
.sd-contact-right input { height: 56px; }
.sd-contact-right input:first-of-type { margin-top: 12px; }
.sd-contact-right textarea { height: 120px; padding: 16px 18px; resize: vertical; }
.sd-contact-right input:focus, .sd-contact-right textarea:focus { border-color: var(--orange); }
.sd-contact-submit {
  width: 100%; height: 58px; margin-top: 8px; border: none; border-radius: 999px;
  background: var(--orange); color: #ffffff; font-size: 18px; font-weight: 700; cursor: pointer;
}
.sd-contact-submit:hover { background: var(--orange-hover-alt); }

/* ---------- Footer ---------- */
.sd-footer { background: var(--orange); padding: clamp(48px, 5vw, 80px) var(--pad-x) 0; }
.sd-footer-inner { max-width: 1240px; margin: 0 auto; }
.sd-footer-cta {
  display: flex; justify-content: space-between; align-items: center; gap: 28px;
  flex-wrap: wrap; padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.35);
}
.sd-footer-cta h2 { color: #ffffff; max-width: 560px; line-height: 1.15; }
.sd-btn-dark {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #ffffff; font-size: 16px; font-weight: 700;
  padding: 17px 30px; border-radius: 999px;
}
.sd-btn-dark:hover { background: #000000; color: #ffffff; }
.sd-footer-mid {
  display: grid; grid-template-columns: auto auto; justify-content: space-between;
  gap: clamp(28px, 4vw, 72px); align-items: center; padding: 48px 0;
}
.sd-footer-logo {
  display: flex; align-items: center; justify-content: center;
  width: 96px; height: 96px; border-radius: 50%; background: #ffffff;
}
.sd-footer-logo img { width: 84px; height: auto; display: block; }
.sd-footer-contact { display: flex; flex-direction: column; gap: 12px; text-align: right; }
.sd-footer-contact a { font-size: 16px; font-weight: 700; color: #ffffff; }
.sd-footer-legal {
  display: flex; justify-content: center; gap: 34px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.35); flex-wrap: wrap;
}
.sd-footer-legal a { font-size: 14px; color: #ffffff; }
.sd-footer-legal span { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ---------- Sticky-Leiste (mobil) ---------- */
.sd-mbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  align-items: center; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: #ffffff; border-top: 1px solid var(--border);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.10);
}
.sd-mbar-call {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; height: 52px; padding: 0 18px;
  border: 1px solid var(--border-warm); border-radius: 999px;
  color: var(--ink); font-size: 16px; font-weight: 700;
}
.sd-mbar-call:hover { background: var(--surface); color: var(--ink); }
.sd-mbar-cta {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 16px; border-radius: 999px;
  background: var(--orange); color: #ffffff; font-size: 16px; font-weight: 700; text-align: center;
}
.sd-mbar-cta:hover { background: var(--orange-hover); color: #ffffff; }

/* ---------- Responsive ---------- */
/* Mobil behält die Tabelle das Desktop-Layout und scrollt horizontal in der Karte */
@media (max-width: 900px) {
  .sd-cmp-card { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .sd-cmp-card::-webkit-scrollbar { display: none; }
  .sd-cmp-row { min-width: 700px; }
  .sd-cmp-hint { display: block; }
}

@media (max-width: 820px) {
  .sd-mbar { display: flex; }
  body { padding-bottom: 84px; }
}

@media (max-width: 760px) {
  .sd-wrap { display: flex; flex-direction: column; }
  .sd-wrap > * { min-width: 0; }
  .sd-topbar { order: -3; }
  #funnel { order: -2; padding-top: clamp(20px, 4vw, 28px); }
  .sd-only-mobile { display: block; order: -1; }
  .sd-mos { display: none; }
  .sd-hide-mobile { display: none !important; }
  .sd-stack { grid-template-columns: 1fr !important; }
  .sd-stack-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .sd-hero-col { gap: 14px; }
  .sd-hero-rate { font-size: 34px; }
  /* Funnel-Kacheln: Icon links, Label daneben */
  .sd-tile-grid { grid-template-columns: 1fr; }
  .sd-tile { flex-direction: row; align-items: center; gap: 12px; padding: 10px 14px; }
  .sd-tile-ring { width: 48px; height: 48px; flex: 0 0 auto; }
  .sd-tile-label { text-align: left; }
  /* Funnel kompakt: Frage + Optionen + Button möglichst im ersten Screen */
  .sd-show-mobile { display: block; }
  .sd-funnel-note { margin-top: 28px; }
  .sd-advisor { padding: 14px 16px 10px; gap: 12px; }
  .sd-advisor-text { flex: 1 1 0; }
  .sd-advisor-photo, .sd-advisor-photo img { width: 48px; height: 48px; }
  .sd-advisor-dot { width: 12px; height: 12px; }
  .sd-advisor-name { font-size: 15px; }
  .sd-advisor-status { font-size: 13px; }
  .sd-advisor-meta { width: 100%; margin-left: 0; justify-content: space-between; }
  .sd-step-badge { font-size: 13px; padding: 7px 14px; }
  .sd-funnel-body { padding: 16px 16px 20px; gap: 14px; }
  .sd-question h3 { font-size: 19px; }
  .sd-question p { display: none; }
  .sd-card.is-contact .sd-question p, .sd-card.is-done .sd-question p { display: block; }
  .sd-funnel-foot { padding-top: 14px; margin-top: 0; gap: 10px; }
  .sd-btn-next { height: 52px; font-size: 16px; }
  .sd-btn-back { height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .sd-mos-col, .sd-marquee-track, .sd-partner-track { animation: none; }
  .sd-hero-col { animation: none; }
}

/* ---------- Anfrage-Seite (ablenkungsfrei) ---------- */
.sd-focus { background: var(--bg); }
.sd-focus .sd-logo { width: 96px; flex: 0 0 auto; display: block; }
.sd-focus-funnel {
  max-width: 760px; margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--pad-x) clamp(24px, 3vw, 40px);
  position: relative; z-index: 1;
}
.sd-focus-proof {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 12px clamp(20px, 3vw, 40px);
  margin-top: clamp(24px, 3vw, 36px);
  font-size: 15px; color: var(--text-soft); text-align: center;
}
.sd-focus-proof-item { display: inline-flex; align-items: center; gap: 8px; }
.sd-focus-proof-item b { color: var(--ink); font-weight: 700; }
.sd-focus-rate { font-size: 20px; font-weight: 700; color: var(--ink); line-height: 1; }
.sd-focus-proof-label { color: var(--text-faint); }
.sd-focus-footer {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px;
  padding: clamp(20px, 3vw, 32px) var(--pad-x) clamp(28px, 4vw, 44px);
  font-size: 14px; color: var(--text-faint);
}
.sd-focus-footer a { color: var(--text-soft); }
.sd-focus-footer a:hover { color: var(--orange); }

/* ---------- Einwilligungsbanner ---------- */
.sd-consent {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: clamp(12px, 2vw, 24px); z-index: 120;
  width: min(680px, calc(100vw - 24px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  padding: 18px 22px; border-radius: 16px;
  background: #ffffff; border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(73,35,0,0.18);
}
.sd-consent-text { margin: 0; flex: 1 1 320px; font-size: 14px; line-height: 1.5; color: var(--text-mid); }
.sd-consent-text a { color: var(--text-soft); border-bottom: 1px solid var(--border-warm); }
.sd-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.sd-consent button {
  height: 44px; padding: 0 20px; border-radius: 999px;
  font-size: 15px; font-weight: 700; cursor: pointer;
}
.sd-consent-deny { border: 1px solid var(--border); background: #ffffff; color: var(--brown); }
.sd-consent-deny:hover { background: var(--surface); }
.sd-consent-ok { border: none; background: var(--orange); color: #ffffff; }
.sd-consent-ok:hover { background: var(--orange-hover); }
@media (max-width: 820px) {
  .sd-focus .sd-consent { bottom: 12px; }
  .sd-consent-actions { margin-left: 0; width: 100%; }
  .sd-consent-actions button { flex: 1 1 auto; }
}
