/* styles.css — Landingpage «Gratis Drohnen-Rinnen-Check» (mobile first) */

/* ── Schriften (selbst gehostet, keine Google-Server) ───────────────────── */
@font-face { font-family: 'Oswald'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/oswald-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Oswald'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/oswald-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --kupfer: #BD843A;
  --kupfer-dunkel: #94621F;
  --kupfer-hell: #F4EADD;
  --grau-logo: #9A9BA0;
  --text: #25292E;
  --text-neben: #5C636B;
  --linie: #E3DFD9;
  --bg: #F7F5F2;
  --weiss: #FFFFFF;
  --gut: #2F7A46;
  --beobachten: #A86A00;
  --handlung: #B3332B;
  --radius: 10px;
  --cta-leiste: 76px;
  --kopf: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--kopf); }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  padding-bottom: calc(var(--cta-leiste) + env(safe-area-inset-bottom));
}
body.formular-offen { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: 'Oswald', 'Arial Narrow', sans-serif; font-weight: 600; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 8vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--kupfer-dunkel); }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--kupfer-dunkel); outline-offset: 2px; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.4em;
  font: 600 1.02rem/1.2 'Inter', sans-serif;
  color: var(--weiss); background: var(--kupfer-dunkel);
  border: 0; border-radius: var(--radius); cursor: pointer; text-decoration: none;
  transition: background .15s;
}
.btn:hover { background: #7d5219; }
.btn--gross { width: 100%; font-size: 1.08rem; }
.btn--sekundaer { background: transparent; color: var(--text); border: 1.5px solid var(--linie); }
.btn--sekundaer:hover { background: var(--weiss); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── Kopfzeile ─────────────────────────────────────────────────────────── */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 245, 242, .96);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--kopf); }
.kopf__logo img { height: 38px; width: auto; }
.kopf__cta { display: none; }

/* ── Feste CTA-Leiste (Handy) ──────────────────────────────────────────── */
.cta-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--linie);
  box-shadow: 0 -4px 16px rgba(37, 41, 46, .06);
}

/* ── Platzhalter-Bilder ────────────────────────────────────────────────── */
.platzhalter {
  position: relative; display: flex; align-items: flex-end;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 18px, rgba(255,255,255,0) 18px 36px),
    linear-gradient(160deg, #6f6a64, #3d4248);
  color: rgba(255,255,255,.85);
}
.platzhalter__label {
  margin: 12px; padding: 4px 10px; font-size: .78rem;
  background: rgba(0,0,0,.45); border-radius: 4px;
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; }
.hero__bild { position: absolute; inset: 0; }
.hero__bild::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,25,.15) 0%, rgba(20,22,25,.75) 75%); }
.hero__bild .platzhalter__label { position: absolute; top: 0; right: 0; z-index: 1; }
.hero__inhalt { position: relative; z-index: 2; color: var(--weiss); padding-top: 64px; padding-bottom: 40px; }
.hero__inhalt p { font-size: 1.15rem; max-width: 32em; color: rgba(255,255,255,.92); }
.hero .btn { margin-top: .4em; }

/* ── Abschnitte ────────────────────────────────────────────────────────── */
.abschnitt { padding: 64px 0; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--kupfer { background: var(--kupfer-hell); }
.einleitung { color: var(--text-neben); max-width: 38em; }

/* So funktioniert es */
.schritte { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; counter-reset: s; }
.schritt { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; }
.schritt__icon {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--kupfer-hell); color: var(--kupfer-dunkel);
}
.schritt__icon svg { width: 28px; height: 28px; }
.schritt h3 { margin-bottom: .2em; }
.schritt h3 span { color: var(--kupfer-dunkel); margin-right: .35em; }
.schritt p { color: var(--text-neben); margin: 0; }

/* Report */
.report { display: grid; gap: 28px; margin-top: 28px; }
.report__vorschau { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; max-width: 380px; box-shadow: 0 8px 24px rgba(37,41,46,.12); background: var(--weiss); border: 1px solid var(--linie); }
.muster { padding: 22px 20px; font-size: .8rem; color: var(--text); height: 100%; display: flex; flex-direction: column; gap: 10px; }
.muster__kopf { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--kupfer); padding-bottom: 8px; }
.muster__kopf strong { font-family: 'Oswald', sans-serif; font-size: 1.05rem; }
.muster__ampel { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 6px; background: #FBF3E6; font-weight: 600; color: var(--beobachten); }
.muster__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; flex: 1; }
.muster__fotos .platzhalter { border-radius: 4px; min-height: 70px; }
.muster__fotos .platzhalter__label { margin: 4px; font-size: .62rem; }
.muster__zeile { height: 7px; border-radius: 4px; background: var(--linie); }
.muster__zeile--kurz { width: 60%; }
.muster__hinweis { font-size: .72rem; color: var(--text-neben); text-align: center; }

.ampel { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ampel li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); }
.ampel__marke { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.ampel__punkt { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.ampel p { margin: 0; color: var(--text-neben); font-size: .96rem; grid-column: 1 / -1; }
/* Wort in Textfarbe (Kontrast), Farbe trägt der Punkt. #A86A00 erreicht auf Weiss nur 4.4:1 */
.ampel__marke, .muster__ampel { color: var(--text) !important; }
.stufe-gut { color: var(--gut); } .stufe-gut .ampel__punkt { background: var(--gut); }
.stufe-beobachten { color: var(--beobachten); } .stufe-beobachten .ampel__punkt { background: var(--beobachten); }
.stufe-handlung { color: var(--handlung); } .stufe-handlung .ampel__punkt { background: var(--handlung); }

/* Versprechen */
.versprechen { border-left: 4px solid var(--kupfer); padding-left: 20px; max-width: 40em; }
.versprechen p { font-size: 1.08rem; }

/* Karten */
.karten { display: grid; gap: 16px; margin-top: 24px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 22px; }
.karte p { color: var(--text-neben); }
.karte__preis { font-weight: 600; color: var(--text); margin: 0; }
.karte__preis small { display: block; font-weight: 400; color: var(--text-neben); font-size: .88rem; margin-top: 2px; }

/* Vertrauen */
.fakten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.fakt { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 16px 10px; text-align: center; }
.fakt strong { display: block; font-family: 'Oswald', sans-serif; font-size: 1.3rem; font-weight: 600; color: var(--kupfer-dunkel); }
.fakt span { font-size: .88rem; color: var(--text-neben); }
.team-bild { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-top: 8px; }

/* FAQ */
.faq { margin-top: 20px; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 36px 18px 0; position: relative;
  font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--kupfer-dunkel); border-bottom: 2px solid var(--kupfer-dunkel);
  transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { color: var(--text-neben); padding-bottom: 8px; }

/* Abschluss */
.abschluss { text-align: center; }
.abschluss p { color: var(--text-neben); }
.abschluss .btn { margin-top: 8px; }

/* Footer */
.fuss { background: #25292E; color: #D5D8DB; padding: 40px 0 32px; font-size: .94rem; }
.fuss a { color: #F4EADD; }
.fuss__grid { display: grid; gap: 20px; }
.fuss__logo { background: var(--weiss); display: inline-block; padding: 10px 12px; border-radius: 6px; }
.fuss__logo img { height: 34px; width: auto; }
.fuss__links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ── Formular (Overlay) ────────────────────────────────────────────────── */
.formular {
  position: fixed; inset: 0; z-index: 50;
  background: var(--bg);
  display: none; flex-direction: column;
  height: 100%; height: 100dvh;
}
.formular.offen { display: flex; }
.formular__kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); padding: 10px 16px 12px; }
.formular__zeile { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.formular__titel { font-family: 'Oswald', sans-serif; font-weight: 600; font-size: 1.15rem; margin: 0; }
.schliessen { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--text); }
.schliessen:hover { background: var(--bg); }
.fortschritt { margin-top: 6px; }
.fortschritt__text { font-size: .85rem; color: var(--text-neben); margin-bottom: 6px; }
.fortschritt__balken { height: 6px; background: var(--linie); border-radius: 3px; overflow: hidden; }
.fortschritt__balken span { display: block; height: 100%; background: var(--kupfer); transition: width .25s; }
.formular__body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.formular__body .wrap { max-width: 560px; padding-top: 24px; padding-bottom: 32px; }
.formular__fuss { background: var(--weiss); border-top: 1px solid var(--linie); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); }
.formular__fuss .wrap { max-width: 560px; padding: 0; display: flex; gap: 10px; }
.formular__fuss .btn { flex: 1; }
.formular__fuss .btn--sekundaer { flex: 0 0 auto; min-width: 104px; }
.schritt-panel h2 { font-size: 1.6rem; }
.schritt-panel[hidden] { display: none; }

.feld { margin-bottom: 18px; }
.feld label, .feld .label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.feld .optional { font-weight: 400; color: var(--text-neben); }
.feld-reihe { display: grid; grid-template-columns: 1fr 96px; gap: 12px; }
.feld-reihe--plz { grid-template-columns: 110px 1fr; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="time"], textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  min-height: 50px; padding: 12px 14px;
  font: 400 16px/1.4 'Inter', sans-serif; color: var(--text);
  background: var(--weiss); border: 1.5px solid #CFC9C1; border-radius: 8px;
  -webkit-appearance: none; appearance: none;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--kupfer-dunkel); box-shadow: 0 0 0 3px rgba(189,132,58,.25); }
.feld.fehler input, .feld.fehler textarea, .feld.fehler .wahl-gruppe { border-color: var(--handlung); }
.fehlertext { color: var(--handlung); font-size: .88rem; margin-top: 6px; display: none; }
.feld.fehler .fehlertext { display: block; }

fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.wahl-gruppe { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-radius: 8px; }
.wahl { position: relative; }
.wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wahl span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 50px; padding: 8px 10px; font-size: .96rem;
  background: var(--weiss); border: 1.5px solid #CFC9C1; border-radius: 8px; cursor: pointer;
}
.wahl input:checked + span { border-color: var(--kupfer-dunkel); background: var(--kupfer-hell); font-weight: 600; }
.wahl input:focus-visible + span { outline: 3px solid var(--kupfer-dunkel); outline-offset: 2px; }

.hinweis { background: var(--kupfer-hell); border-radius: 8px; padding: 12px 14px; font-size: .94rem; margin: 0 0 18px; }
.hinweis[hidden] { display: none; }

/* Termine */
.woche { margin-bottom: 18px; }
.woche__titel { font-size: .85rem; color: var(--text-neben); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.tage { display: grid; gap: 8px; }
.tag { display: grid; grid-template-columns: 92px 1fr 1fr; gap: 8px; align-items: center; }
.tag__name { font-size: .92rem; font-weight: 500; }
.tag .wahl span { min-height: 44px; font-size: .9rem; }
.auswahl-zaehler { font-size: .92rem; color: var(--text-neben); margin-bottom: 16px; }

/* Checkboxen */
.check { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--weiss); border: 1.5px solid var(--linie); border-radius: 8px; margin-bottom: 12px; cursor: pointer; font-size: .95rem; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--kupfer-dunkel); }
.check .pflicht { color: var(--text-neben); font-size: .85rem; display: block; margin-top: 4px; }
.check.fehler { border-color: var(--handlung); }

.honig { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.zusammenfassung { background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; padding: 14px 16px; font-size: .92rem; margin-bottom: 18px; }
.zusammenfassung dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 4px 12px; }
.zusammenfassung dt { color: var(--text-neben); }
.zusammenfassung dd { margin: 0; }

.formular-fehler { background: #FBEAE9; color: var(--handlung); border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-size: .94rem; }
.formular-fehler[hidden] { display: none; }

.danke { text-align: left; }
.danke__ref { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 1.6rem; letter-spacing: .04em; color: var(--kupfer-dunkel); background: var(--kupfer-hell); padding: 6px 14px; border-radius: 8px; margin: 4px 0 18px; }
.danke ol { padding-left: 1.2em; }
.danke li { margin-bottom: .5em; }

/* Cookie-Hinweis */
.cookie { position: fixed; left: 12px; right: 12px; bottom: calc(var(--cta-leiste) + 12px + env(safe-area-inset-bottom)); z-index: 40; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: 0 8px 28px rgba(37,41,46,.18); padding: 16px; font-size: .92rem; max-width: 520px; }
.cookie[hidden] { display: none; }
.cookie__knoepfe { display: flex; gap: 8px; margin-top: 12px; }
.cookie__knoepfe .btn { flex: 1; min-height: 44px; font-size: .95rem; }

/* ── Desktop ───────────────────────────────────────────────────────────── */
@media (min-width: 800px) {
  body { padding-bottom: 0; }
  .cta-leiste { display: none; }
  .kopf__cta { display: inline-flex; min-height: 44px; font-size: .95rem; }
  .kopf__logo img { height: 44px; }
  :root { --kopf: 72px; }
  .hero { min-height: 82vh; }
  .hero__inhalt { padding-bottom: 72px; }
  .hero .btn { width: auto; }
  .abschnitt { padding: 96px 0; }
  .schritte { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .schritt { grid-template-columns: 1fr; }
  .report { grid-template-columns: 380px 1fr; align-items: center; gap: 48px; }
  .karten { grid-template-columns: 1fr 1fr; }
  .vertrauen-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .fuss__grid { grid-template-columns: 2fr 1fr 1fr; }
  .cookie { left: 24px; bottom: 24px; }
  .formular { align-items: center; justify-content: center; background: rgba(37,41,46,.55); }
  .formular__karte { width: 640px; max-height: 92vh; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; background: var(--bg); box-shadow: 0 24px 60px rgba(0,0,0,.3); }
}
@media (max-width: 799px) {
  .formular__karte { display: flex; flex-direction: column; height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ── Textseiten (Impressum, Datenschutz) ───────────────────────────────── */
body.textseite { padding-bottom: 0; }
.text { max-width: 760px; padding-top: 40px; padding-bottom: 64px; }
.text h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.text h2 { font-size: 1.5rem; margin-top: 1.6em; }
.text h3 { font-size: 1.15rem; margin-top: 1.2em; }
.text ul { padding-left: 1.2em; }
.entwurf { background: #FBF3E6; border: 1px solid #E8D3B0; border-radius: 8px; padding: 12px 14px; font-size: .94rem; }
