/* =========================================================
   LIWAG – Gestaltung der Website
   Farben und Grundwerte stehen ganz oben und können hier
   zentral geändert werden.
   ========================================================= */

:root {
  --navy: #060d2e;          /* Dunkelblau (Kopfzeile, dunkle Abschnitte) */
  --navy-2: #0b1640;        /* etwas helleres Dunkelblau (Icons) */
  --text: #0a1033;          /* Haupt-Textfarbe */
  --text-soft: #8a8fa3;     /* graue Zusatztexte */
  --grau-hell: #ececec;     /* hellgrauer Hintergrund */
  --grau-band: #b6b6bc;     /* Hintergrund der Bewertungs-Leiste */
  --blau: #1747ff;          /* Akzentblau (Unterstreichung, Quiz) */
  --blau-cta-1: #23389a;    /* Verlauf der Haupt-Schaltfläche */
  --blau-cta-2: #4f67c6;
  --weiss: #ffffff;
  --radius: 6px;
  --schatten: 0 10px 30px rgba(6, 13, 46, 0.12);
  --max: 1240px;
}

/* ---------- Schrift (lokal gespeichert, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/nunito-300.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/nunito-regular.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/nunito-italic.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/nunito-500.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/nunito-600.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Nunito", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--weiss); padding: 8px 16px; z-index: 100; }
.skip-link:focus { left: 16px; top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfzeile ---------- */
.site-header { background: var(--navy); color: var(--weiss); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.site-header .logo { flex: none; }
.site-header .logo img { height: 80px; width: auto; max-width: none; }
.header-right { display: flex; align-items: center; gap: 36px; }
.header-wa {
  display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap;
  background: #25d366; color: #fff; padding: 9px 16px; border-radius: 999px; transition: background .2s, transform .2s;
}
.header-wa svg { width: 22px; height: 22px; fill: currentColor; }
.header-wa:hover { background: #1ebe5a; transform: translateY(-1px); }
.header-phone { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 600; font-size: 18px; white-space: nowrap; }
.header-phone svg { width: 26px; height: 26px; fill: currentColor; }
.btn-header {
  display: inline-flex; flex-direction: column; align-items: center; background: var(--weiss); color: var(--text);
  text-decoration: none; border-radius: var(--radius); padding: 12px 28px; line-height: 1.25; transition: transform .2s, box-shadow .2s;
}
.btn-header strong { font-weight: 700; font-size: 15px; }
.btn-header small { font-size: 12px; letter-spacing: .03em; color: #555; }
.btn-header:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,0,0,.25); }

/* ---------- Haupt-Schaltfläche ---------- */
.btn-cta {
  display: inline-flex; align-items: center; gap: 18px; text-align: left; text-decoration: none; color: var(--weiss);
  background: linear-gradient(90deg, var(--blau-cta-1), var(--blau-cta-2)); padding: 14px 36px 14px 26px; border-radius: 3px;
  box-shadow: 0 6px 20px rgba(35, 56, 154, .35); transition: transform .2s, box-shadow .2s; border: 0; cursor: pointer; font: inherit;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(35, 56, 154, .5); }
.btn-cta svg { width: 34px; height: 34px; fill: currentColor; flex: none; }
.btn-cta strong { display: block; font-weight: 700; font-size: 17px; line-height: 1.3; }
.btn-cta small { display: block; font-size: 14px; opacity: .85; letter-spacing: .03em; }

/* ---------- Abschnitte ---------- */
.section { padding: 100px 0; position: relative; }
.bg-grau { background: var(--grau-hell); }
.bg-navy { background: var(--navy); color: var(--weiss); }
.section-title { font-size: clamp(30px, 4vw, 48px); font-weight: 500; text-align: center; }
.eyebrow { display: inline-block; background: var(--grau-hell); padding: 2px 12px; letter-spacing: .06em; font-size: 17px; text-transform: uppercase; margin-bottom: 14px; }

/* ---------- Startbereich (Hero) ---------- */
.hero { padding: 70px 0 80px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 50px); font-weight: 600; text-align: center; margin-bottom: 70px; }
.underline-hand { position: relative; display: inline-block; white-space: nowrap; }
.underline-hand svg { position: absolute; left: 0; bottom: -18px; width: 100%; height: 20px; overflow: visible; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.hero-list { list-style: none; padding: 0; margin: 0 0 16px; }
.hero-list li { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: 17px; }
.hero-list svg { width: 22px; height: 22px; flex: none; fill: var(--navy); }
.trustpilot { width: 255px; margin: 0 auto; }

/* ---------- Video mit Zwei-Klick-Lösung (Datenschutz) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 6px; overflow: hidden; }
.video-hero { box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-btn { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: none; cursor: pointer; color: var(--weiss); font: inherit; }
.video-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65)); }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border-radius: 50%;
  background: rgba(6, 13, 46, .8); display: grid; place-items: center; z-index: 1; transition: transform .2s, background .2s;
}
.video-play svg { width: 30px; height: 30px; fill: var(--weiss); margin-left: 5px; }
.video-btn:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--blau); }
.video-hinweis { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; font-size: 12px; line-height: 1.4; padding: 10px 14px; text-align: left; opacity: .9; }

/* ---------- Laufband (Bewertungen und Logos) ---------- */
.marquee { overflow: hidden; position: relative; }
.marquee-track { display: flex; width: max-content; animation: laufband 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes laufband { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } .marquee { overflow-x: auto; } }

.reviews-band { background: var(--grau-band); padding: 20px 0; }
.reviews-band .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-card { width: 442px; margin-right: 24px; background: var(--weiss); border-radius: 4px; padding: 30px 32px; display: flex; flex-direction: column; flex: none; }
.stars { color: var(--navy); letter-spacing: 6px; font-size: 18px; margin-bottom: 12px; }
.review-card p { font-size: 15px; min-height: 48px; margin-bottom: 20px; }
.review-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.review-person img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.review-person strong { display: block; font-weight: 600; font-size: 15px; }
.review-person span { display: block; font-size: 13px; color: var(--text-soft); }

/* ---------- Gründer ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 100px; align-items: center; max-width: 1110px; margin: 0 auto; }
.founder-label { display: inline; font-size: 22px; background: linear-gradient(180deg, transparent 55%, #aab8f5 55%); padding: 0 6px; }
.founder blockquote { margin: 34px 0 30px; font-style: italic; font-size: 23px; line-height: 1.3; }
.founder .signature { width: 220px; }

/* ---------- Logo-Leiste ---------- */
.logos-band { background: #f3f3f5; box-shadow: 0 -12px 30px rgba(0,0,0,.12); position: relative; z-index: 2; padding: 30px 0; }
.logos-band img { height: 280px; width: auto; margin-right: 10px; flex: none; mix-blend-mode: multiply; }
.logos-band .marquee-track { animation-duration: 45s; }

/* ---------- Wellen-Übergänge ---------- */
.wave { display: block; width: 100%; height: 70px; }
.wave-top { margin-bottom: -1px; }
.wave-bottom { margin-top: -1px; }

/* ---------- „Zeit, zu handeln“ ---------- */
.handeln { padding: 70px 0 120px; }
.handeln h2, .gewinn h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; margin-bottom: 60px; }
.handeln p, .gewinn p { max-width: 930px; margin: 0 auto 16px; font-size: 19px; }
.handeln .btn-cta { margin-top: 64px; }

/* ---------- Video-Karten ---------- */
.video-card { background: var(--weiss); border-radius: 6px; }
.video-card h3 { font-size: 20px; font-weight: 500; margin: 24px 0 14px; }
.video-card .firma { font-size: 15px; color: var(--text-soft); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 18px; }
.video-card .name { font-weight: 500; font-size: 17px; margin: 0; }
.video-card .rolle { font-size: 14px; color: var(--text-soft); margin: 0; }

.slider { position: relative; margin-top: 50px; }
.slider-track { display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 10px 4px 30px; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slider .video-card { flex: 0 0 calc((100% - 30px) / 2); scroll-snap-align: start; padding: 32px; box-shadow: 0 2px 14px rgba(0,0,0,.08); }
.slider-btn {
  position: absolute; top: 35%; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; z-index: 3;
  background: var(--navy); color: var(--weiss); display: grid; place-items: center; box-shadow: var(--schatten);
}
.slider-btn svg { width: 22px; height: 22px; fill: currentColor; }
.slider-btn.prev { left: -20px; }
.slider-btn.next { right: -20px; }
.slider-btn:disabled { opacity: .3; cursor: default; }

.video-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px 30px; margin-top: 60px; }
.video-grid .video-card .video { border-radius: 4px; }

/* ---------- Drei Vorteile ---------- */
.vorteile { padding: 120px 0 60px; }
.vorteile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; text-align: center; }
.vorteil .icon { width: 64px; height: 64px; border-radius: 50%; background: #13206b; display: grid; place-items: center; margin: 0 auto 20px; }
.vorteil .icon svg { width: 30px; height: 30px; fill: var(--weiss); }
.vorteil h3 { font-size: 22px; font-weight: 600; }
.vorteil p { color: #9ea3b8; font-size: 16px; }

.resultate .klein { font-size: 16px; margin-bottom: 6px; }

/* ---------- „Energiekosten ↓ = Gewinn ↑“ ---------- */
.gewinn { padding: 100px 0 60px; }
.kreis { position: relative; display: inline-block; padding: 4px 22px; }
.kreis svg { position: absolute; inset: -8px -10px; width: calc(100% + 20px); height: calc(100% + 16px); overflow: visible; }
.gewinn .bild { width: 100%; max-width: 872px; margin: 60px auto 70px; }
.checks { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 30px; margin-top: 50px; list-style: none; padding: 0; font-weight: 600; font-size: 17px; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks svg { width: 20px; height: 20px; fill: #6a7095; }

/* ---------- Häufige Fragen ---------- */
.faq { padding: 70px 0 120px; }
.faq .section-title { margin-bottom: 56px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-items: start; }
.faq-col { display: grid; gap: 16px; }
.faq details { background: var(--weiss); border-radius: 3px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-size: 19px; font-weight: 500; position: relative; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 300; color: #777; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .antwort { padding: 0 24px 22px; font-size: 16px; }
.faq .antwort p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--navy); color: var(--weiss); padding: 40px 0 70px; }
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; }
.footer-grid h2 { font-size: 22px; font-weight: 600; padding-bottom: 24px; margin-bottom: 30px; border-bottom: 2px solid #12206e; min-height: 58px; }
.footer-col.logo-col h2 { border-bottom-color: #12206e; }
.footer-grid .logo img { width: 245px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 18px; font-size: 16px; }
.footer-grid li a { text-decoration: none; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-links a { text-decoration: none; border-bottom: 2px solid var(--blau); padding-bottom: 4px; }
.footer-links a:hover { color: #aab8f5; }
.footer-bottom { background: #000; color: #8a8a8a; font-size: 13px; padding: 20px 0; }
.footer-bottom .container { border-top: 1px solid #333; padding-top: 18px; }

/* ---------- Unterseiten (Impressum, Datenschutz, AGB) ---------- */
.legal { padding: 80px 0 100px; }
.legal .container { max-width: 900px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 32px; }
.legal h2 { font-size: 24px; margin: 44px 0 14px; }
.legal h3 { font-size: 19px; margin: 28px 0 10px; }
.legal p, .legal li { font-size: 16px; }
.legal .stand { color: var(--text-soft); }

/* ---------- Anpassung für Tablet und Handy ---------- */
@media (max-width: 1000px) {
  .hero-grid, .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-grid { max-width: 560px; }
  .vorteile-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col.logo-col { grid-column: 1 / -1; }
  .footer-col.logo-col h2 { display: none; }
  .slider .video-card { flex-basis: 85%; }
  .slider-btn { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .site-header .container { min-height: 70px; }
  .site-header .logo img { height: 56px; }
  .header-right { gap: 14px; }
  .header-phone span, .header-wa span { display: none; }
  .header-wa { padding: 8px; }
  .btn-header { display: none; } /* Button "Erstgespräch" auf dem Handy ausblenden */
  .hero h1 { margin-bottom: 44px; }
  .underline-hand { white-space: normal; }
  .review-card { width: 300px; padding: 22px; }
  .logos-band img { height: 180px; }
  .video-grid { grid-template-columns: 1fr; }
  .slider .video-card { padding: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-cta { padding: 12px 20px; }
  .handeln p, .gewinn p { font-size: 17px; }
  .faq summary { font-size: 17px; }
}
