/* Startseite wintercheck.app – eigenständiges Stylesheet, keine Abhängigkeiten. */

@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/open-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/open-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/open-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Open Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url('fonts/open-sans-latin-800-normal.woff2') format('woff2'); }

:root {
  --anthrazit: #1f2428;
  --anthrazit-2: #2b3137;
  --akzent: #ffac00;
  --akzent-dunkel: #d98f00;
  --akzent-hell: #fff4d6;
  --text: #22272b;
  --text-2: #5b6570;
  --linie: #e3e7eb;
  --flaeche: #f6f7f9;
  --weiss: #ffffff;
  --gruen: #2a7a22;
  --gruen-hell: #e8f3e6;
  --rot: #b91c1c;
  --rot-hell: #fde8e8;
  --radius: 16px;
  --schatten: 0 10px 30px rgba(31, 36, 40, 0.10);
  --schatten-klein: 0 2px 8px rgba(31, 36, 40, 0.08);
  --breite: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.rahmen { width: min(var(--breite), 100% - 2rem); margin-inline: auto; }
.abschnitt { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.abschnitt-grau { background: var(--flaeche); }
.abschnitt-kopf { max-width: 720px; margin-bottom: 2.5rem; }
.abschnitt-kopf p { color: var(--text-2); font-size: 1.1rem; }
.ueberzeile { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent-dunkel); margin-bottom: 0.75rem; }
.zentriert { text-align: center; margin-inline: auto; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 50px; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; white-space: nowrap; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf-akzent { background: var(--akzent); color: var(--anthrazit); box-shadow: 0 6px 18px rgba(255, 172, 0, 0.35); }
.knopf-akzent:hover { background: #ffb61a; }
.knopf-hell { background: transparent; color: var(--weiss); border-color: rgba(255, 255, 255, 0.5); }
.knopf-hell:hover { background: rgba(255, 255, 255, 0.08); }
.knopf-dunkel { background: var(--anthrazit); color: var(--weiss); }
.knopf-dunkel:hover { background: #30373d; }
.knopf[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 20;
  background: rgba(31, 36, 40, 0.92); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  color: var(--weiss); border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.kopf .rahmen { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.marke { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.01em; }
.marke img { height: 30px; width: auto; }
.kopf nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.kopf nav a { color: rgba(255, 255, 255, 0.85); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.kopf nav a:hover { color: var(--weiss); }
.kopf nav .knopf { min-height: 40px; padding: 0 1.1rem; font-size: 0.95rem; }
@media (max-width: 760px) { .kopf nav a:not(.knopf) { display: none; } }
@media (max-width: 480px) {
  .kopf .rahmen { gap: 0.75rem; min-height: 60px; }
  .marke img { height: 24px; }
  .marke span { font-size: 1rem; }
  .kopf nav .knopf { padding: 0 0.9rem; font-size: 0.9rem; min-height: 38px; }
}
@media (max-width: 400px) { .marke span { display: none; } }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 85% -10%, rgba(255, 172, 0, 0.22), transparent 60%), linear-gradient(160deg, var(--anthrazit) 0%, var(--anthrazit-2) 100%);
  color: var(--weiss); overflow: hidden;
}
.hero .rahmen { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; padding: clamp(3rem, 7vw, 6rem) 0 0; }
.hero h1 em { font-style: normal; color: var(--akzent); }
.hero .einleitung { font-size: 1.2rem; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.hero .aktionen { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.2rem; }
.hero .klein { font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.hero-bild { position: relative; justify-self: end; width: min(100%, 440px); margin-bottom: -2px; }
.tablet {
  background: #0f1113; border-radius: 28px; padding: 14px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 2px #2a2f34;
  transform: rotate(-2deg); transition: transform 0.4s ease;
}
.tablet:hover { transform: rotate(0deg); }
.tablet img { border-radius: 16px; }
.tablet-bildschirm { max-height: 560px; overflow: hidden; border-radius: 16px; }
.plakette {
  position: absolute; left: -24px; bottom: 56px;
  background: var(--weiss); color: var(--anthrazit); border-radius: 14px; padding: 0.7rem 1rem;
  box-shadow: var(--schatten); font-weight: 700; font-size: 0.95rem; display: flex; align-items: center; gap: 0.6rem;
}
.plakette .punkt { width: 12px; height: 12px; border-radius: 50%; background: var(--gruen); box-shadow: 0 0 0 4px var(--gruen-hell); }
.fakten {
  background: rgba(0, 0, 0, 0.25); border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fakten .rahmen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 0; }
.fakt { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; font-size: 0.95rem; color: rgba(255, 255, 255, 0.9); }
.fakt svg { flex: none; width: 22px; height: 22px; color: var(--akzent); }
@media (max-width: 900px) {
  .hero .rahmen { grid-template-columns: 1fr; gap: 2rem; }
  .hero-bild { justify-self: center; width: min(100%, 380px); }
  .plakette { left: 0; }
  .fakten .rahmen { grid-template-columns: repeat(2, 1fr); }
}

/* Vorher / Nachher */
.vergleich { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--schatten-klein); }
.karte h3 { display: flex; align-items: center; gap: 0.6rem; }
.karte ul { margin: 0; padding: 0; list-style: none; }
.karte li { padding: 0.45rem 0 0.45rem 1.8rem; position: relative; color: var(--text-2); }
.karte li::before { content: ''; position: absolute; left: 0; top: 0.95rem; width: 10px; height: 10px; border-radius: 50%; background: var(--linie); }
.karte-hell { background: var(--anthrazit); color: var(--weiss); border-color: var(--anthrazit); }
.karte-hell li { color: rgba(255, 255, 255, 0.85); }
.karte-hell li::before { background: var(--akzent); }
@media (max-width: 760px) { .vergleich { grid-template-columns: 1fr; } }

/* Ablauf */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: schritt; }
.schritt { position: relative; background: var(--weiss); border-radius: var(--radius); padding: 2rem 1.6rem 1.6rem; border: 1px solid var(--linie); box-shadow: var(--schatten-klein); }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; top: -18px; left: 1.4rem; width: 40px; height: 40px; border-radius: 50%;
  background: var(--akzent); color: var(--anthrazit); font-weight: 800; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(255, 172, 0, 0.35);
}
.schritt p { color: var(--text-2); margin: 0; }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; gap: 2rem; } }

/* Funktionen */
.funktionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.funktion { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--schatten-klein); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.funktion:hover { transform: translateY(-3px); box-shadow: var(--schatten); }
.symbol { width: 48px; height: 48px; border-radius: 12px; background: var(--akzent-hell); color: var(--akzent-dunkel); display: grid; place-items: center; margin-bottom: 1rem; }
.symbol svg { width: 26px; height: 26px; }
.funktion p { color: var(--text-2); margin: 0; }
@media (max-width: 960px) { .funktionen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .funktionen { grid-template-columns: 1fr; } }

/* Ergebnis */
.ergebnis { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.ergebnis figure { margin: 0; }
.ergebnis .bildrahmen { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.ergebnis figcaption { margin-top: 1rem; color: var(--text-2); }
.ergebnis figcaption strong { color: var(--text); display: block; margin-bottom: 0.2rem; }
@media (max-width: 760px) { .ergebnis { grid-template-columns: 1fr; } }

/* Nachverfolgung */
.nachverfolgung { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: center; }
.nachverfolgung .einleitung-dunkel { color: var(--text-2); font-size: 1.05rem; margin-bottom: 1.5rem; }
.nachverfolgung figure { margin: 0; }
.nachverfolgung .bildrahmen { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.nachverfolgung figcaption { margin-top: 1rem; color: var(--text-2); }
.nachverfolgung figcaption strong { color: var(--text); display: block; margin-bottom: 0.2rem; }
@media (max-width: 900px) { .nachverfolgung { grid-template-columns: 1fr; gap: 2rem; } }

/* Betrieb */
.betrieb { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.haken { margin: 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
.haken li { display: flex; gap: 0.9rem; align-items: flex-start; }
.haken svg { flex: none; width: 26px; height: 26px; color: var(--gruen); background: var(--gruen-hell); border-radius: 50%; padding: 4px; margin-top: 2px; }
.haken strong { display: block; }
.haken span { color: var(--text-2); }
.hinweiskasten { background: var(--akzent-hell); border: 1px solid #f3dca2; border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.hinweiskasten .ohne-abstand { margin: 0; }
.hinweiskasten code { background: var(--weiss); border-radius: 6px; padding: 0.1rem 0.4rem; font-size: 0.95em; }
@media (max-width: 860px) { .betrieb { grid-template-columns: 1fr; gap: 2rem; } }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.kontakt-info p { color: var(--text-2); }
.kontakt-info a { color: var(--text); font-weight: 600; }
.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 2rem; box-shadow: var(--schatten); display: grid; gap: 1rem; }
.formular .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.formular label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 700; color: var(--text-2); }
.formular input, .formular textarea {
  font: inherit; font-size: 1rem; color: var(--text); padding: 0.75rem 0.9rem;
  border: 1px solid #c9d0d7; border-radius: 10px; background: var(--weiss); width: 100%;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--akzent); outline-offset: 1px; border-color: var(--akzent); }
.formular textarea { min-height: 140px; resize: vertical; }
.formular .datenschutz { font-size: 0.85rem; color: var(--text-2); margin: 0; }
.formular .honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { display: none; border-radius: 10px; padding: 0.8rem 1rem; font-weight: 600; }
.status.ok { display: block; background: var(--gruen-hell); color: var(--gruen); }
.status.fehler { display: block; background: var(--rot-hell); color: var(--rot); }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 560px) { .formular .zeile { grid-template-columns: 1fr; } }

/* Fuß */
.fuss { background: var(--anthrazit); color: rgba(255, 255, 255, 0.75); padding: 2.5rem 0; font-size: 0.9rem; }
.fuss .rahmen { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: center; }
.fuss a { color: var(--weiss); text-decoration: none; font-weight: 600; }
.fuss a:hover { text-decoration: underline; }
.fuss nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.fuss .adresse { line-height: 1.5; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knopf, .funktion, .tablet { transition: none; }
}

/* Rechtstexte (Impressum, Datenschutz) */
.rechtstext { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.rechtstext .rahmen { max-width: 780px; }
.rechtstext h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 0.4em; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.rechtstext h3 { font-size: 1.05rem; margin-top: 1.5rem; color: var(--text); }
.rechtstext p, .rechtstext li { color: var(--text-2); }
.rechtstext p strong, .rechtstext li strong { color: var(--text); }
.rechtstext ul { padding-left: 1.3rem; margin: 0 0 1em; }
.rechtstext li { margin-bottom: 0.35rem; }
.rechtstext a { color: var(--text); font-weight: 600; text-decoration-color: var(--akzent); }
.rechtstext address { font-style: normal; color: var(--text-2); margin-bottom: 1em; line-height: 1.6; }
.rechtstext .stand { font-size: 0.9rem; color: var(--text-2); margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.rechtstext .uebersichtskasten { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin: 1.5rem 0 2rem; }
.rechtstext .uebersichtskasten h2 { margin-top: 0; font-size: 1.1rem; }
.rechtstext .uebersichtskasten ul { margin: 0; }
.rechtstext .zurueck { display: flex; width: fit-content; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--text-2); text-decoration: none; margin-bottom: 1.5rem; }
.rechtstext .zurueck:hover { color: var(--text); }
.rechtstext code { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 6px; padding: 0.05rem 0.4rem; font-size: 0.92em; }
.rechtstext table { border-collapse: collapse; width: 100%; margin: 0 0 1.2em; font-size: 0.95rem; }
.rechtstext th, .rechtstext td { text-align: left; vertical-align: top; padding: 0.55rem 0.6rem; border-bottom: 1px solid var(--linie); color: var(--text-2); }
.rechtstext th { color: var(--text); font-weight: 700; width: 32%; }
