/* =========================================================
   Vimex Service – Landingpage Styles
   Brand: Petrol #0E3B4C · Türkis #1796A8 · Hell-Türkis #27C0D4
   ========================================================= */

:root {
  --petrol: #0E3B4C;
  --petrol-dark: #08222C;
  --teal: #1796A8;
  --teal-bright: #27C0D4;
  --ink: #0E3B4C;
  --text: #566569;
  --muted: #8A989D;
  --line: #EBF0F1;
  --bg: #ffffff;
  --bg-alt: #F4F8F9;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow-sm: 0 4px 16px rgba(14, 59, 76, .08);
  --shadow: 0 8px 26px rgba(14, 59, 76, .10);
  --shadow-btn: 0 10px 24px rgba(23, 150, 168, .35);
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; line-height: 1.2; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1700px; margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.desktop-only { display: flex; }
.mobile-only { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 600; cursor: pointer;
  border: none; border-radius: 10px; padding: 13px 22px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { background: #1488998f; background: #138497; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 9px; }
.btn-block { width: 100%; justify-content: center; }

.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(8px);
  box-shadow: 0 2px 14px rgba(14,59,76,.06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 9px; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-text { font-size: 18px; font-weight: 600; color: var(--petrol); letter-spacing: .5px; }
.logo-text strong { color: var(--teal); font-weight: 600; }
.header-actions { align-items: center; gap: 14px; }
.main-nav { align-items: center; gap: 26px; }
.main-nav a { font-size: 15px; font-weight: 500; color: var(--petrol); }
.main-nav a:hover { color: var(--teal); }
.phone-link { font-size: 15px; font-weight: 600; color: var(--petrol); }
.phone-link i { color: var(--teal); }
.icon-btn {
  width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.icon-btn-phone { background: var(--petrol); }
.icon-btn-wa { background: #25D366; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(125deg, rgba(8,34,44,.92) 0%, rgba(14,59,76,.86) 55%, rgba(20,85,107,.82) 100%),
    #0c3645 url('../images/hero.webp') center/cover no-repeat;
  color: #fff;
}
.hero-content { position: relative; padding: 78px 24px 64px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(39,192,212,.16); color: #9FECF5;
  border: 1px solid rgba(39,192,212,.35);
  font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 30px; margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 5vw, 46px); color: #fff; letter-spacing: -.5px; margin-bottom: 20px; }
.hero-usps {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px;
  max-width: 620px; margin: 0 auto 26px;
}
.hero-usps li {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500; color: #fff;
}
.hero-usps i { color: var(--teal-bright); font-size: 19px; flex-shrink: 0; }
.hero-sub { font-size: clamp(15px, 2.2vw, 18px); color: #D2E0E5; max-width: 540px; margin: 0 auto 22px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Trustbar ---------- */
.trustbar { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.trustbar-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap; padding: 16px 24px;
  font-size: 14px; font-weight: 600; color: #3A4A50;
}
.trustbar i { color: var(--teal); }
.stars { color: #E8B14C; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
main section[id] { scroll-margin-top: 84px; }
.section-tight { padding: 14px 0 42px; }
.section-alt { background: var(--bg-alt); }
.eyebrow { display: block; text-align: center; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 600; color: var(--teal); margin-bottom: 10px; }
.section-title { text-align: center; font-size: clamp(22px, 3.5vw, 28px); margin-bottom: 6px; }
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 32px; }

.grid { display: grid; gap: 18px; }
.grid-cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Gewerke-Karten ---------- */
.trade-card { overflow: hidden; }
.trade-img {
  height: 140px; display: flex; align-items: flex-end; padding: 14px;
  background-position: center; background-size: cover;
}
.trade-img h3 { color: #fff; font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
/* Gradient-Fallback + echtes Foto (../images/*.webp). Foto überschreibt nicht, sondern liegt darunter. */
.trade-img-maler      { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #b89a72 url('../images/gewerk-maler.webp')      center/cover; }
.trade-img-sanierung  { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #97a8b0 url('../images/gewerk-sanierung.webp')  center/cover; }
.trade-img-trockenbau { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #cfc9bb url('../images/gewerk-trockenbau.webp') center/cover; }
.trade-img-dach       { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #a07e5c url('../images/gewerk-dach.webp')       center/cover; }
.trade-img-elektrik   { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #c2b285 url('../images/gewerk-elektrik.webp')   center/cover; }
.trade-img-erdbau     { background: linear-gradient(to top, rgba(8,34,44,.85), rgba(14,59,76,.2)), #a89c87 url('../images/gewerk-erdbau.webp')     center/cover; }
.trade-body { padding: 18px; }
.trade-body p { margin-bottom: 14px; font-size: 14px; }
.checks li { font-size: 13.5px; color: var(--petrol); margin-bottom: 8px; padding-left: 26px; position: relative; }
.checks li::before {
  content: "\ea5e"; font-family: "tabler-icons"; color: var(--teal);
  position: absolute; left: 0; top: 1px; font-size: 16px;
}

/* ---------- CTA-Band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--petrol), #13556B);
  border-radius: var(--radius-lg); padding: 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  box-shadow: 0 14px 34px rgba(14,59,76,.2);
}
.cta-band h2 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.cta-band p { color: #C4D6DC; font-size: 15px; max-width: 460px; }

/* ---------- Vergleich ---------- */
.compare-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 30px; }
.compare-card { padding: 26px; }
.compare-good { border: 2px solid var(--teal); }
.compare-bad { background: #FAFAF8; box-shadow: none; border: 1px solid #E8E6DE; }
.compare-head { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; min-height: 34px; }
.compare-head h3 { font-size: 18px; }
.compare-logo { height: 30px; width: auto; display: block; }
.compare-head i { font-size: 24px; color: #9A958A; }
.compare-bad .compare-head h3 { color: #7A766B; }
.compare-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; margin-bottom: 13px; color: var(--petrol); }
.compare-list i { font-size: 20px; flex-shrink: 0; }
.compare-good .compare-list i { color: var(--teal); }
.compare-bad .compare-list { color: #7A766B; }
.compare-bad .compare-list li { color: #7A766B; }
.compare-bad .compare-list i { color: #C2705B; }

/* ---------- 3 Schritte ---------- */
.section-steps { background: linear-gradient(160deg, #f0f7f8 0%, #e6f3f5 100%); }
.steps-grid { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; gap: 0 16px; margin: 52px 0 44px; }
.step-card { background: #fff; border-radius: var(--radius-lg); padding: 32px 28px 28px; box-shadow: var(--shadow); text-align: center; position: relative; }
.step-num { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--petrol); color: #fff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(14,59,76,.25); }
.step-icon { font-size: 34px; color: var(--teal); margin: 8px 0 14px; line-height: 1; }
.step-title { font-size: 17px; font-weight: 700; color: var(--petrol); margin-bottom: 10px; }
.step-text { font-size: 14.5px; color: #4a6470; line-height: 1.65; margin: 0; }
.step-connector { display: flex; align-items: center; justify-content: center; padding-top: 60px; color: var(--teal); font-size: 28px; opacity: .5; }
.steps-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.steps-cta-sub { font-size: 13px; color: #5a7a86; display: flex; align-items: center; gap: 6px; margin: 0; }
.steps-cta-sub i { color: var(--teal); font-size: 16px; }

@media (max-width: 820px) {
  .steps-grid { grid-template-columns: 1fr; gap: 36px 0; }
  .step-connector { padding-top: 0; transform: rotate(90deg); font-size: 22px; opacity: .35; }
}

/* ---------- Vorher / Nachher (interaktiver Slider) ---------- */
.ba-card { overflow: hidden; margin: 0; }
.ba-slider {
  position: relative; width: 100%; height: 360px; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0; background: #dfe4e6;
  touch-action: none; cursor: ew-resize; user-select: none; -webkit-user-select: none;
}
.ba-layer { position: absolute; inset: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.ba-before { clip-path: inset(0 50% 0 0); }
.ba-tag {
  position: absolute; top: 12px; z-index: 3; pointer-events: none;
  font-size: 12px; font-weight: 600; color: #fff; padding: 4px 11px; border-radius: 7px;
}
.ba-tag-before { left: 12px; background: rgba(0,0,0,.6); }
.ba-tag-after { right: 12px; background: var(--teal); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); z-index: 4; pointer-events: none; box-shadow: 0 0 10px rgba(0,0,0,.35); }
.ba-grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--petrol);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.28);
}
.ba-card figcaption { padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--petrol); }

/* ---------- Bewertungen (Marquee) ---------- */
.reviews-score { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 22px; color: var(--petrol); }
.reviews-score i { color: var(--teal); }
.reviews-score strong { font-weight: 600; }
.marquee-wrap { overflow: hidden; padding: 6px 0; }
.marquee { display: flex; gap: 16px; width: max-content; padding: 0 16px; animation: scroll 36s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review-card { width: 270px; flex-shrink: 0; padding: 18px; }
.review-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--petrol); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.avatar-teal { background: var(--teal); }
.avatar-deep { background: #13556B; }
.review-head strong { display: block; font-size: 13.5px; color: var(--petrol); }
.review-card p { font-size: 13.5px; color: var(--text); }

/* ---------- Quiz ---------- */
.quiz { max-width: 460px; margin: 0 auto; background: var(--petrol); border-radius: var(--radius-lg); padding: 24px; min-height: 300px; box-shadow: var(--shadow); }
.quiz-logo-wrap { display: flex; justify-content: center; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
.quiz-logo { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .9; }
.quiz-progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; font-weight: 600; }
#q-step-label { color: #9FB5BD; letter-spacing: 1px; }
#q-pct { color: var(--teal-bright); }
.quiz-bar { height: 5px; background: rgba(255,255,255,.12); border-radius: 4px; margin-bottom: 22px; }
#q-bar { height: 5px; width: 20%; background: var(--teal-bright); border-radius: 4px; transition: width .3s ease; }
.q-title { font-size: 18px; font-weight: 600; color: #fff; text-align: center; margin-bottom: 18px; }
.q-grid { display: grid; gap: 10px; }
.q-grid-2 { grid-template-columns: 1fr 1fr; }
.q-opt {
  cursor: pointer; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: 11px; padding: 15px 10px; text-align: center; color: #fff; font-size: 14px;
  transition: background .15s ease, border-color .15s ease;
}
.q-opt:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); }
.q-opt i { font-size: 24px; color: var(--teal-bright); display: block; margin-bottom: 6px; }
.q-field { width: 100%; height: 44px; border-radius: 9px; border: none; padding: 0 14px; font: inherit; font-size: 14px; }
.q-field-area { height: auto; padding: 12px 14px; }
.q-back { cursor: pointer; text-align: center; margin-top: 14px; font-size: 13px; color: #9FB5BD; }
.quiz-done { text-align: center; padding: 28px 6px; color: #fff; }
.quiz-done i { font-size: 48px; color: var(--teal-bright); }
.quiz-done strong { display: block; font-size: 18px; margin: 10px 0 6px; }
.quiz-done p { color: #B9CDD4; font-size: 14px; }

/* ---------- Einzugsgebiet ---------- */
.region-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.region-left .eyebrow { text-align: left; }
.region-left h2 { font-size: clamp(23px, 3.2vw, 30px); line-height: 1.2; margin-bottom: 14px; }
.region-left > p { font-size: 16px; color: var(--text); line-height: 1.7; margin-bottom: 18px; }
.region-left .checks { margin-bottom: 26px; }
.region-left .checks li { font-size: 15px; margin-bottom: 11px; }
.region-map svg { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .region-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Kontakt (2 Spalten) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-left h3 { font-size: 19px; margin-bottom: 8px; }
.contact-left > p { font-size: 14px; color: var(--text); margin-bottom: 18px; }
.contact-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }
.contact-option {
  display: flex; align-items: center; gap: 14px; padding: 13px 16px;
  background: #fff; border: 0.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.contact-option:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.co-icon { width: 46px; height: 46px; border-radius: 11px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; }
.co-icon-phone { background: var(--petrol); }
.co-icon-mail { background: var(--teal); }
.co-icon-wa { background: #25D366; }
.co-text { display: flex; flex-direction: column; line-height: 1.3; }
.co-label { font-size: 12px; color: var(--muted); }
.co-value { font-size: 15px; font-weight: 600; color: var(--petrol); }
.contact-map iframe { width: 100%; height: 240px; border: 0; border-radius: 12px; display: block; box-shadow: var(--shadow-sm); }
.contact-right .quiz { max-width: none; margin: 0; }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 22px; }
  .contact-right { order: -1; }
  .contact-map iframe { height: 220px; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 580px; margin: 0 auto; }
.faq details { border-bottom: 1px solid #E0E7E8; padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; color: var(--petrol); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--teal); transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] .faq-plus { transform: rotate(45deg); }
.faq details p { margin-top: 10px; font-size: 14px; color: var(--text); }

/* ---------- Footer ---------- */
/* ---------- Finale CTA ---------- */
.section-final-cta { position: relative; background-image: url('../images/CTA-Background.webp'); background-size: cover; background-position: center; padding: 100px 0; overflow: hidden; }
.final-cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(14,59,76,.93) 0%, rgba(23,150,168,.78) 100%); }
.final-cta-inner { position: relative; z-index: 1; text-align: center; max-width: 760px; margin: 0 auto; }
.eyebrow-light { color: rgba(255,255,255,.7); border-color: rgba(255,255,255,.25); }
.final-cta-title { font-size: clamp(28px, 4.5vw, 48px); font-weight: 800; color: #fff; line-height: 1.15; margin: 14px 0 20px; }
.final-cta-sub { font-size: 17px; color: rgba(255,255,255,.82); line-height: 1.7; margin-bottom: 38px; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; }
.btn-outline-light { background: transparent; border: 2px solid rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.final-cta-trust { display: flex; gap: 28px; justify-content: center; flex-wrap: wrap; }
.final-cta-trust span { color: rgba(255,255,255,.72); font-size: 13.5px; display: flex; align-items: center; gap: 6px; }
.final-cta-trust i { color: var(--teal-bright); font-size: 16px; }
@media (max-width: 820px) {
  .section-final-cta { padding: 70px 0; }
  .final-cta-actions { flex-direction: column; align-items: center; }
  .final-cta-trust { gap: 14px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-dark); color: #9FB5BD; }
.footer-logo-wrap { margin-bottom: 50px; }
@media (max-width: 820px) { .footer-logo-wrap { margin-bottom: 20px; } }
.footer-logo { height: 64px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .9; }
.footer-cols { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.1fr; gap: 32px; padding: 40px 0 40px; }
.footer-col h3 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1.3px; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col p { color: #9FB5BD; font-size: 14px; line-height: 1.5; }
.footer-col a:hover { color: var(--teal-bright); }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-contact-line i { color: var(--teal-bright); font-size: 18px; flex-shrink: 0; }
.footer-address { margin-top: 4px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 8px; font-size: 14px; }
.footer-hours span:first-child { color: #C4D6DC; }
.footer-bottom-wrap { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: #7E97A0; font-size: 12.5px; padding: 16px 0; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 820px) {
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
}
@media (max-width: 520px) {
  .footer-top { padding: 36px 0 28px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8,34,44,.6); backdrop-filter: blur(2px); }
.modal-card { position: relative; z-index: 1; width: 100%; max-width: 440px; padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: pop .2s ease; max-height: 92vh; overflow-y: auto; }
@keyframes pop { from { transform: translateY(12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; cursor: pointer; font-size: 22px; color: var(--muted); }
.modal-card h2 { font-size: 21px; padding-right: 24px; }
.modal-sub { font-size: 14px; color: var(--text); margin: 6px 0 18px; }
.lead-form { display: flex; flex-direction: column; gap: 11px; }
.lead-form input, .lead-form textarea {
  font: inherit; font-size: 14px; padding: 12px 14px; border-radius: 9px;
  border: 1px solid #E0E6E7; background: var(--bg-alt); color: var(--ink); width: 100%;
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,150,168,.15); }
.form-note { font-size: 11.5px; color: var(--muted); text-align: center; margin-top: 2px; }
.form-success { text-align: center; padding: 16px 6px; }
.form-success i { font-size: 46px; color: var(--teal); }
.form-success strong { display: block; font-size: 18px; color: var(--ink); margin: 8px 0 4px; }
.form-success p { font-size: 14px; color: var(--text); }

/* Datenschutz-Consent (in allen Formularen) */
.form-consent { display: flex; gap: 9px; align-items: flex-start; font-size: 12.5px; line-height: 1.45; color: var(--text); text-align: left; margin: 2px 0; }
.form-consent input { width: 17px; height: 17px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--teal); cursor: pointer; }
.form-consent a { color: var(--teal); text-decoration: underline; }
.quiz .form-consent { color: #C4D6DC; }
.quiz .form-consent a { color: var(--teal-bright); }
.quiz .form-consent input { accent-color: var(--teal-bright); }

/* Direktkontakt-Buttons im Formular-Popup (nur mobil) */
.modal-quick { gap: 8px; margin-top: 14px; }
.modal-quick a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 11px 6px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #fff; }
.modal-quick a i { font-size: 17px; }
.mq-phone { background: var(--petrol); }
.mq-wa { background: #25D366; }
.mq-mail { background: var(--teal); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 820px) {
  .desktop-only { display: none; }
  .mobile-only { display: flex; }
  .header-actions.mobile-only { gap: 8px; }
  .section { padding: 44px 0; }
  .cta-band { text-align: center; justify-content: center; }
  .cta-band p { margin: 0 auto; }
  .ba-slider { height: 300px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .container-wide { padding: 0 10px; }
  .hero-content { padding: 56px 16px 48px; }
  .trustbar-inner { display: grid; grid-template-columns: auto auto; justify-content: center; justify-items: center; gap: 18px 22px; font-size: 13px; padding: 26px 18px; }
  .trustbar-inner span { display: inline-flex; align-items: center; gap: 8px; }
  .trustbar-inner i { font-size: 19px; }
  .ba-slider { height: 280px; }
  .q-grid-2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
  .btn:hover { transform: none; }
}

/* =========================================================
   Rechtsseiten (Impressum / Datenschutz)
   ========================================================= */
.legal-header { border-bottom: 1px solid var(--line); }
.legal-header .header-inner { height: 64px; }
.legal-back { font-size: 14px; font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.legal { max-width: 800px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { font-size: clamp(26px, 4vw, 34px); margin-bottom: 8px; }
.legal .legal-intro { color: var(--muted); font-size: 15px; margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin: 36px 0 12px; }
.legal h3 { font-size: 16px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 15px; color: #44525A; line-height: 1.75; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; list-style: disc; margin-bottom: 14px; }
.legal ul li { margin-bottom: 6px; }
.legal a { color: var(--teal); text-decoration: underline; }
.legal address { font-style: normal; line-height: 1.7; font-size: 15px; color: #44525A; }
.legal .note {
  background: var(--bg-alt); border-left: 3px solid var(--teal);
  padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; font-size: 14px; color: var(--text);
}
