/* ertragswaechter.de – Werbe-Website im Design der App (Şeref 24.10.2026: „arkası beyaz, uygulamadaki tasarımla birebir“).
   Farben und Schrift wie src/theme.ts: Petrol nur für Schrift, Knöpfe helles Türkis mit weißer mittlerer Schrift, Karten weiß. */
@font-face { font-family: Manrope; font-weight: 300; font-display: swap; src: url(/schrift/Manrope_300Light.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/schrift/Manrope_400Regular.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 500; font-display: swap; src: url(/schrift/Manrope_500Medium.ttf) format('truetype'); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/schrift/Manrope_600SemiBold.ttf) format('truetype'); }

:root {
  --nacht: #0B2F38; --gedimmt: #536A73; --tuerkis: #01A8BA; --tuerkis-text: #0A7F8E; --knopf: #4AA6B6;
  --grund: #F2F6F7; --hinweis: #EAF6F7; --rand: #E3ECEE; --rand-hell: #EEF3F4; --gold: #DEB052;
  --gruen: #2FA866; --gruen-text: #1E7D47; --gruen-hell: #E3F4EA; --gelb-hell: #FBF0D9; --gelb-text: #8A5B00;
  --rot-hell: #FBE5E3; --rot-text: #A8342A; --grau-hell: #EEF3F4;
  --breite: 1120px; --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #FFFFFF; color: var(--nacht); font-family: Manrope, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-weight: 400; font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: var(--tuerkis-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--rand-hell); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.kopf .logo img { height: 30px; width: auto; }
.kopf nav { display: flex; gap: 4px; }
.kopf nav a { color: var(--nacht); font-weight: 500; font-size: 15px; padding: 8px 13px; border-radius: 999px; }
.kopf nav a:hover { background: var(--grund); text-decoration: none; }

/* Knöpfe wie in der App: schlanke Pille, helles Türkis, weiße mittlere Schrift */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--knopf); color: #FFFFFF; font-weight: 500; font-size: 15.5px; border: 0; }
.knopf:hover { text-decoration: none; filter: brightness(0.96); }
.knopf.klein { min-height: 38px; padding: 0 16px; font-size: 14.5px; }
.knopf.sekundaer { background: #FFFFFF; color: var(--nacht); border: 1px solid #9FB3B9; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 14px; background: #FFFFFF; border: 1px solid var(--rand); color: var(--nacht); }
.store svg { flex: none; }
.store b { display: block; font-weight: 600; font-size: 15px; line-height: 1.15; }
.store small { display: block; font-size: 12px; color: var(--gedimmt); line-height: 1.2; }
.store-reihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

/* Abschnitte */
section { padding: 72px 0; }
section.grau { background: var(--grund); }
.marke { display: inline-block; background: var(--hinweis); color: var(--tuerkis-text); font-weight: 600; font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; margin-bottom: 14px; }
.titel { font-size: 34px; line-height: 1.18; max-width: 760px; }
.unter { color: var(--gedimmt); font-size: 17.5px; max-width: 680px; margin-top: 12px; }
.karte { background: #FFFFFF; border: 1px solid var(--rand); border-radius: var(--radius); padding: 22px; }
.raster { display: grid; gap: 14px; margin-top: 34px; }
.raster.drei { grid-template-columns: repeat(3, 1fr); }
.raster.vier { grid-template-columns: repeat(4, 1fr); }

/* Hero */
.hero { padding: 56px 0 64px; }
.hero .innen { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 52px; line-height: 1.08; letter-spacing: -0.03em; margin-top: 4px; }
.hero .lead { font-size: 19px; color: var(--gedimmt); margin-top: 18px; max-width: 520px; }
.hero .knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; align-items: center; }
.punkte { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.punkte li { display: flex; gap: 10px; align-items: flex-start; color: var(--nacht); font-size: 15.5px; }
.haken { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--gruen-hell); color: var(--gruen-text); font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.haken.nein { background: var(--grau-hell); color: var(--gedimmt); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips span { font-size: 13px; font-weight: 500; color: var(--gedimmt); border: 1px solid var(--rand); border-radius: 999px; padding: 5px 12px; }

/* Telefone mit echten App-Bildschirmen */
.buehne { position: relative; height: 620px; }
.telefon { position: absolute; width: 280px; aspect-ratio: 1206 / 2622; border-radius: 46px; padding: 9px; background: #1E3A42; box-shadow: 0 30px 70px rgba(11,47,56,0.20), 0 2px 6px rgba(11,47,56,0.10); }
.telefon img { width: 100%; height: 100%; object-fit: cover; border-radius: 38px; background: var(--grund); }
.buehne .vorn { left: 50%; top: 0; transform: translateX(-20%); z-index: 2; }
.buehne .hinten { left: 50%; top: 46px; transform: translateX(-108%) rotate(-6deg) scale(0.9); opacity: 0.97; }
.ansichten { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.ansicht .telefon { position: relative; width: 100%; border-radius: 38px; padding: 7px; box-shadow: 0 18px 40px rgba(11,47,56,0.14); }
.ansicht .telefon img { border-radius: 31px; }
.ansicht h3 { font-size: 17px; margin-top: 18px; }
.ansicht p { color: var(--gedimmt); font-size: 15px; margin-top: 4px; }

/* Funktionen */
.kachel { width: 48px; height: 48px; border-radius: 15px; background: var(--hinweis); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.funktion h3 { font-size: 17.5px; }
.funktion p { color: var(--gedimmt); font-size: 15.5px; margin-top: 6px; }

/* So funktioniert's */
.zwei { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: center; }
.zwei .telefon { position: relative; width: 300px; margin: 0 auto; }
.schritte { margin-top: 26px; padding: 0 18px; }
.schritt { display: flex; gap: 14px; padding: 18px 0; }
.schritt + .schritt { border-top: 1px solid var(--rand-hell); }
.nummer { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--hinweis); color: var(--tuerkis-text); font-weight: 600; display: flex; align-items: center; justify-content: center; }
.schritt h3 { font-size: 17.5px; }
.schritt p { color: var(--gedimmt); font-size: 15.5px; margin-top: 3px; }

/* Preise */
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 34px; align-items: stretch; }
.preis { display: flex; flex-direction: column; }
.preis.betont { border: 1.5px solid var(--knopf); box-shadow: 0 10px 30px rgba(74,166,182,0.14); }
.preis .name { font-weight: 600; font-size: 19px; display: flex; align-items: center; gap: 8px; }
.preis .betrag { font-weight: 300; font-size: 40px; letter-spacing: -0.02em; margin-top: 10px; }
.preis .betrag small { font-size: 15px; font-weight: 400; color: var(--gedimmt); letter-spacing: 0; }
.preis .hinweis { color: var(--gedimmt); font-size: 14.5px; margin-top: 2px; }
.preis ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; }
.preis li { display: flex; gap: 10px; font-size: 15px; }
.etikett { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; background: var(--gelb-hell); color: var(--gelb-text); padding: 3px 8px; border-radius: 6px; }
.kleingedruckt { color: var(--gedimmt); font-size: 14px; margin-top: 18px; max-width: 820px; }

/* Grenzen */
.grenzen { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.grenzen h3 { font-size: 17.5px; margin-bottom: 10px; }
.grenzen ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.grenzen li { display: flex; gap: 10px; font-size: 15.5px; }

/* PV-Check (Werbung) */
.werbung { display: inline-block; font-size: 12px; color: var(--gedimmt); border: 1px solid var(--rand); border-radius: 6px; padding: 2px 8px; margin-top: 14px; }
.befund { padding: 0; overflow: hidden; }
.befund img { width: 100%; height: 190px; object-fit: cover; }
.befund div { padding: 18px 20px 20px; }
.befund h3 { font-size: 17px; }
.befund p { color: var(--gedimmt); font-size: 15px; margin-top: 4px; }
.pvcheck { display: flex; align-items: center; gap: 20px; margin-top: 14px; }
.pvcheck > div:not(.kachel) { flex: 1; }
.pvcheck .kachel { flex: none; }
.pvcheck h3 { font-size: 17.5px; }
.pvcheck p { color: var(--gedimmt); font-size: 15.5px; margin-top: 4px; }

/* Fragen */
.fragen { margin-top: 30px; padding: 4px 22px; max-width: 860px; }
details { border-bottom: 1px solid var(--rand-hell); }
details:last-child { border-bottom: 0; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-weight: 500; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-weight: 300; font-size: 26px; color: var(--tuerkis-text); line-height: 1; }
details[open] summary::after { content: '−'; }
details p { color: var(--gedimmt); font-size: 15.5px; padding: 0 0 18px; }

/* Abschluss */
.abschluss { text-align: center; padding: 48px 24px; }
.abschluss h2 { font-size: 32px; }
.abschluss p { color: var(--gedimmt); font-size: 17px; margin-top: 8px; }
.abschluss .store-reihe { justify-content: center; }

/* Fuß */
.fuss { border-top: 1px solid var(--rand-hell); padding: 34px 0 40px; color: var(--gedimmt); font-size: 14px; }
.fuss .innen { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.fuss b { color: var(--nacht); font-weight: 600; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.fuss nav a { color: var(--nacht); }
.fuss .nobr { white-space: nowrap; }

/* Rechtsseiten */
.recht { padding: 48px 0 72px; }
.recht .innen { max-width: 820px; }
.recht h1 { font-size: 34px; margin-bottom: 8px; }
.recht h2 { font-size: 19px; margin: 30px 0 8px; }
.recht p { color: #2C4A52; font-size: 16px; margin: 0 0 12px; overflow-wrap: anywhere; }
.recht .zurueck { display: inline-block; margin-bottom: 22px; font-weight: 500; }

@media (max-width: 980px) {
  .kopf nav { display: none; }
  .hero .innen { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .buehne { height: 560px; max-width: 460px; margin: 0 auto; width: 100%; }
  .raster.drei, .preise { grid-template-columns: 1fr 1fr; }
  .raster.vier { grid-template-columns: 1fr 1fr; }
  .ansichten { grid-template-columns: 1fr 1fr; }
  .zwei { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  section { padding: 52px 0; }
  .hero { padding: 30px 0 44px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 17px; }
  .titel { font-size: 27px; }
  .kopf .logo img { height: 24px; }
  .buehne { height: 500px; }
  .telefon { width: 230px; border-radius: 38px; padding: 7px; }
  .telefon img { border-radius: 31px; }
  .buehne .vorn { transform: translateX(-30%); }
  .buehne .hinten { top: 40px; transform: translateX(-96%) rotate(-6deg) scale(0.88); }
  .raster.drei, .raster.vier, .preise, .grenzen { grid-template-columns: 1fr; }
  .ansichten { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-left: -20px; margin-right: -20px; padding: 0 20px 10px; }
  .ansicht { flex: 0 0 64%; scroll-snap-align: center; }
  .zwei .telefon { width: 250px; }
  .pvcheck { flex-direction: column; align-items: flex-start; }
  .abschluss h2 { font-size: 26px; }
}

/* QR-Karte, Beispielrechnung */
.qr { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 12px 16px 12px 12px; border: 1px solid var(--rand); border-radius: 18px; background: #FFFFFF; max-width: 440px; }
.qr img { width: 96px; height: 96px; border-radius: 10px; }
.qr b { font-weight: 600; font-size: 16px; }
.qr p { color: var(--gedimmt); font-size: 14px; margin-top: 2px; }
.abschluss .qr { margin: 18px auto 0; text-align: left; }
.etikett.grau { background: var(--grau-hell); color: var(--gedimmt); }
.rechnung { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; align-items: center; margin-top: 14px; }
.rechnung h3 { font-size: 18px; margin-top: 10px; }
.rechnung p { color: var(--gedimmt); font-size: 15.5px; margin-top: 6px; }
.gegen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gegen > div { background: var(--grund); border-radius: 16px; padding: 16px; text-align: center; }
.gegen small { display: block; color: var(--gedimmt); font-size: 13px; }
.gegen b { display: block; font-weight: 300; font-size: 28px; letter-spacing: -0.02em; margin-top: 2px; }
.gegen b.tuerkis { color: var(--tuerkis-text); font-weight: 500; font-size: 22px; padding-top: 5px; }
@media (max-width: 980px) { .rechnung { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .qr { display: none; } }
