/* one ml Germany: Website-Stylesheet
   Corporate Design nach 03_Branding-One-ML/one-ml_designvorgaben.md
   Stand: 04.08.2026 */

/* ---------- Schriften (lokal, DSGVO-konform, kein Google-CDN) ---------- */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Lato";
  src: url("../fonts/lato-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Token ---------- */
:root {
  --orange: #ea5520;
  --orange-hell: #f58634;
  --orange-dunkel: #d2461a;
  --schwarz: #000000;
  --grau: #6e6e6e;
  --grau-hell: #efebe8;
  --grau-linie: #e2ddd9;
  --weiss: #ffffff;

  --schrift-wort: "Poppins", "Century Gothic", "Futura", sans-serif;
  --schrift-text: "Lato", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --breite: 1080px;
  --satzspiegel: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--schrift-text);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #1a1a1a;
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  color: var(--schwarz);
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
a { color: var(--orange-dunkel); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--orange); }

img, svg { max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--satzspiegel);
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* ---------- Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grau-linie);
}
.kopf .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 72px;
}
.marke { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.marke img { height: 38px; width: auto; }
.marke .wortmarke { display: flex; flex-direction: column; line-height: 1; }
.marke .wortmarke b {
  font-family: var(--schrift-wort);
  font-weight: 300; font-size: 1.4rem; color: var(--schwarz);
}
.marke .wortmarke span {
  font-size: 0.62rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--grau); margin-top: 2px;
}

.navi { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }
.navi a {
  color: #333; text-decoration: none; font-size: 0.95rem;
  padding-bottom: 2px; border-bottom: 2px solid transparent;
}
.navi a:hover { color: var(--orange-dunkel); border-bottom-color: var(--orange); }

.sprache {
  display: flex; gap: 0.35rem; align-items: center;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
}
.sprache a { color: var(--grau); text-decoration: none; }
.sprache a[aria-current="true"] { color: var(--orange-dunkel); font-weight: 700; }
.sprache .trenner { color: var(--grau-linie); }

.navi-schalter {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--grau-linie); border-radius: 4px;
  padding: 0.45rem 0.7rem; font-size: 0.9rem; cursor: pointer;
  font-family: inherit; color: #333;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(234, 85, 32, 0.10) 0%, rgba(234, 85, 32, 0) 62%),
    linear-gradient(180deg, #ffffff 0%, var(--grau-hell) 100%);
  border-bottom: 1px solid var(--grau-linie);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.35fr 0.65fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: #3a3a3a; max-width: 34em;
}
.hero .tropfen { justify-self: center; }
.hero .tropfen img { height: clamp(170px, 26vw, 260px); }

.augenbraue {
  font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--orange-dunkel); margin-bottom: 1rem;
}

/* ---------- Schaltflächen ---------- */
.knopfreihe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.knopf {
  display: inline-block; padding: 0.8rem 1.7rem; border-radius: 3px;
  font-size: 0.98rem; text-decoration: none; border: 1px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.knopf:hover { transform: translateY(-1px); }
.knopf-voll {
  background: linear-gradient(135deg, var(--orange-hell) 20%, var(--orange-dunkel) 100%);
  color: var(--weiss);
  box-shadow: 0 2px 10px rgba(210, 70, 26, 0.28);
}
.knopf-voll:hover { color: var(--weiss); box-shadow: 0 4px 16px rgba(210, 70, 26, 0.34); }
.knopf-linie { border-color: var(--orange); color: var(--orange-dunkel); background: transparent; }
.knopf-linie:hover { background: rgba(234, 85, 32, 0.07); }

/* ---------- Abschnitte ---------- */
section { padding: clamp(3rem, 7vw, 5rem) 0; }
section + section { border-top: 1px solid var(--grau-linie); }
section.getoent { background: #faf8f7; }

.abschnittskopf { max-width: 46em; margin-bottom: 2.6rem; }
.abschnittskopf p { color: #4a4a4a; }

/* ---------- Karten ---------- */
.karten {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.karte {
  background: var(--weiss); border: 1px solid var(--grau-linie);
  border-radius: 5px; padding: 1.6rem 1.5rem;
  border-top: 3px solid var(--orange);
}
.karte h3 { margin-bottom: 0.5rem; }
.karte p:last-child { margin-bottom: 0; }
.karte p { font-size: 0.98rem; color: #444; }

/* ---------- Kennzahlen ---------- */
.kennzahlen {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-top: 2rem;
}
.kennzahl { border-left: 3px solid var(--orange); padding: 0.3rem 0 0.3rem 1.1rem; }
.kennzahl b {
  display: block; font-family: var(--schrift-wort); font-weight: 300;
  font-size: 1.85rem; color: var(--orange-dunkel); line-height: 1.1;
}
.kennzahl span { font-size: 0.85rem; color: var(--grau); letter-spacing: 0.04em; }

/* ---------- Liste mit Tropfen-Aufzählung ---------- */
ul.haken { list-style: none; padding: 0; margin: 0; }
ul.haken li {
  position: relative; padding-left: 1.6rem; margin-bottom: 0.65rem;
}
ul.haken li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 8px; border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, var(--orange-hell), var(--orange-dunkel));
}

/* ---------- Hinweisbox ---------- */
.hinweis {
  background: #fdf6f2; border-left: 3px solid var(--orange);
  padding: 1.1rem 1.3rem; font-size: 0.93rem; color: #4a4a4a;
  border-radius: 0 4px 4px 0; margin-top: 2rem;
}
.hinweis p:last-child { margin-bottom: 0; }

/* ---------- Formular ---------- */
.formular {
  display: grid; gap: 1.1rem; max-width: 680px;
  grid-template-columns: 1fr 1fr;
}
.feld { display: flex; flex-direction: column; gap: 0.35rem; }
.feld.breit { grid-column: 1 / -1; }
.feld label { font-size: 0.88rem; font-weight: 700; color: #333; }
.feld input, .feld textarea, .feld select {
  font-family: inherit; font-size: 1rem; font-weight: 300;
  padding: 0.7rem 0.85rem; border: 1px solid #d6d0cb; border-radius: 3px;
  background: var(--weiss); color: #1a1a1a;
}
.feld textarea { min-height: 150px; resize: vertical; }
.feld input:focus, .feld textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(234, 85, 32, 0.12); }
.pflicht { color: var(--orange-dunkel); }

.zustimmung {
  grid-column: 1 / -1; display: flex; gap: 0.7rem; align-items: flex-start;
  font-size: 0.88rem; color: #4a4a4a; line-height: 1.5;
}
.zustimmung input { margin-top: 0.25rem; width: 17px; height: 17px; accent-color: var(--orange); flex: none; }

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

.meldung {
  grid-column: 1 / -1; padding: 0.9rem 1.1rem; border-radius: 3px; font-size: 0.94rem;
}
.meldung.gut { background: #eef7ee; border-left: 3px solid #4b8a4b; color: #2c5c2c; }
.meldung.schlecht { background: #fdf1ef; border-left: 3px solid #c0392b; color: #8e2b20; }

.kontaktdaten { font-size: 0.98rem; }
.kontaktdaten dt { font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grau); margin-top: 1.2rem; }
.kontaktdaten dd { margin: 0.15rem 0 0; }
.kontaktdaten dt:first-child { margin-top: 0; }

.kontakt-raster {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1.6fr 1fr; align-items: start;
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 48rem; }
.rechtstext h2 { font-size: 1.35rem; margin-top: 2.4rem; }
.rechtstext h3 { font-size: 1.02rem; margin-top: 1.6rem; }
.rechtstext p, .rechtstext li { font-size: 0.98rem; }
.rechtstext ul { padding-left: 1.2rem; }
.rechtstext li { margin-bottom: 0.4rem; }
.platzhalter {
  background: #fff3cd; border-bottom: 1px dashed #b8860b;
  padding: 0 0.25rem; font-weight: 700; color: #7a5c00;
}

/* ---------- Fußzeile ---------- */
.fuss {
  background: #1c1c1c; color: #c9c4c0; padding: 3rem 0 2rem;
  font-size: 0.92rem;
}
.fuss a { color: #e8e3df; text-decoration: none; }
.fuss a:hover { color: var(--orange-hell); }
.fuss-raster {
  display: grid; gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2rem; border-bottom: 1px solid #333;
}
.fuss .marke .wortmarke b { color: var(--weiss); }
.fuss .marke .wortmarke span { color: #9b948f; }
.fuss h4 {
  font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: #8a837e; margin: 0 0 0.9rem; font-weight: 700;
}
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 0.45rem; }
.fuss-unten {
  padding-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between; font-size: 0.85rem; color: #8a837e;
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .tropfen { order: -1; justify-self: start; }
  .hero .tropfen img { height: 130px; }
  .kontakt-raster { grid-template-columns: 1fr; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .navi-schalter { display: block; }
  .navi {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--weiss); border-bottom: 1px solid var(--grau-linie);
    padding: 0.5rem var(--satzspiegel) 1rem;
  }
  .kopf.offen .navi { display: flex; }
  .navi a { padding: 0.7rem 0; width: 100%; border-bottom: 1px solid transparent; }
  .sprache { padding: 0.7rem 0; }
  .formular { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .fuss-raster { grid-template-columns: 1fr; }
}

@media print {
  .kopf, .navi, .knopfreihe, .formular { display: none; }
  body { font-size: 11pt; }
}
