@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --grund: #f5f3ec;      /* Kalkweiß, Kiesbank */
  --flaeche: #ffffff;
  --tinte: #0f2e2c;      /* tiefes Flussgrün */
  --leise: #4d625f;
  --fluss: #177670;      /* Lech-Türkis, dunkel genug für Text */
  --fluss-hell: #d7ece8;
  --linie: #d9d6cc;
  --fehler: #a33a1f;
  --rund: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font: 400 17px/1.55 "Figtree", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fluss); }
.huelle { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.nur-vorlesen {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Kopf */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); }
.marke svg { width: 34px; height: 34px; flex: none; }
.marke span { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.nav-links { display: none; gap: 24px; }
.nav-links a { color: var(--tinte); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--fluss); }

.held { padding: 40px 0 64px; }
.held h1 {
  font-weight: 800; font-size: clamp(38px, 9vw, 72px); line-height: 1.02;
  letter-spacing: -0.035em; margin: 0 0 20px; max-width: 12ch;
}
.held h1 em { font-style: normal; color: var(--fluss); }
.held p { font-size: 19px; color: var(--leise); max-width: 34ch; margin: 0 0 28px; }
.welle { display: block; width: 100%; height: 28px; color: var(--fluss); opacity: .35; margin-top: 48px; }

.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.knopf {
  display: inline-block; padding: 14px 22px; border-radius: 999px; font-weight: 600;
  text-decoration: none; font-size: 16px; border: 2px solid var(--fluss);
}
.knopf-voll { background: var(--fluss); color: #fff; }
.knopf-rand { color: var(--fluss); }
.knopf-voll:hover { background: var(--tinte); border-color: var(--tinte); }
.knopf-rand:hover { background: var(--fluss-hell); }

/* Abschnitte */
section { padding: 56px 0; }
.weiss { background: var(--flaeche); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
h2 { font-weight: 800; font-size: clamp(30px, 6vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; }
.vorspann { color: var(--leise); max-width: 46ch; margin: 0 0 28px; }

/* Leistungen: Zeilen mit Trennlinie statt Kartenraster */
.leistungen { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1.5px solid var(--linie); }
.leistungen li { padding: 22px 0; border-bottom: 1.5px solid var(--linie); }
.leistungen h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.leistungen p { margin: 0; color: var(--leise); max-width: 52ch; }

/* Preisliste */
.zielgruppe {
  display: inline-block; background: var(--fluss-hell); color: var(--tinte);
  font-size: 14px; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin: 0 0 16px;
}
.pl-gruppe { border: 0; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; align-content: start; }
.pl-gruppe legend { font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--leise); margin-bottom: 12px; padding: 0; }
.pl-option {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start;
  padding: 16px; border: 1.5px solid var(--linie); border-radius: var(--rund);
  background: var(--grund); cursor: pointer; transition: border-color .15s, background .15s;
}
.pl-option:hover { border-color: var(--fluss); }
.pl-option.ist-gewaehlt { border-color: var(--fluss); background: var(--fluss-hell); }
.pl-option input { accent-color: var(--fluss); width: 20px; height: 20px; margin: 2px 0 0; }
.pl-kopf { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pl-name { font-weight: 600; }
.pl-preis { font-weight: 800; white-space: nowrap; }
.pl-leistungen { grid-column: 2; margin: 0; padding: 0; list-style: none; color: var(--leise); font-size: 15px; }
.pl-leistungen li::before { content: "~ "; color: var(--fluss); font-weight: 800; }
.pl-hinweis { margin: 4px 0 0; color: var(--leise); font-size: 15px; }

/* Extras: schlichte Liste wie eine Karte im Laden, keine Kästen */
.pl-extras { gap: 0; }
.pl-extras .pl-option:first-of-type { border-top: 1.5px solid var(--linie); }
.pl-extras .pl-option {
  position: relative; grid-template-columns: 1fr auto; gap: 2px 16px; align-items: center;
  padding: 18px 0; background: none; border: 0; border-bottom: 1.5px solid var(--linie); border-radius: 0;
}
.pl-extras .pl-option:hover, .pl-extras .pl-option.ist-gewaehlt { background: none; }
.pl-extras .pl-option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pl-extras .pl-kopf { grid-column: 1; grid-row: 1; display: block; }
.pl-extras .pl-name { display: block; font-size: 18px; }
.pl-extras .pl-preis { font-weight: 600; color: var(--fluss); }
.pl-extras .pl-leistungen { grid-column: 1; grid-row: 2; font-size: 14px; }
.pl-extras .pl-leistungen li { display: inline; }
.pl-extras .pl-leistungen li::before { content: none; }
.pl-extras .pl-leistungen li + li::before { content: ", "; color: inherit; font-weight: 400; }
.pl-schalter {
  grid-column: 2; grid-row: 1 / 3; white-space: nowrap;
  border: 1.5px solid var(--fluss); color: var(--fluss); border-radius: 999px;
  padding: 8px 14px; font-weight: 600; font-size: 15px; transition: background .15s, color .15s;
}
.pl-schalter::after { content: "Dazunehmen"; }
.pl-extras .pl-option:hover .pl-schalter { background: var(--fluss-hell); }
.pl-extras .pl-option.ist-gewaehlt .pl-schalter { background: var(--fluss); color: #fff; }
.pl-extras .pl-option.ist-gewaehlt .pl-schalter::after { content: "✓ Dabei"; }
.pl-extras .pl-option:has(input:focus-visible) .pl-schalter { outline: 3px solid var(--tinte); outline-offset: 2px; }

.pl-summe {
  position: sticky; bottom: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: var(--tinte); color: #fff; border-radius: var(--rund); padding: 16px;
  box-shadow: 0 10px 30px rgba(15, 46, 44, .25);
}
.pl-summe-zeile span { display: block; font-size: 13px; opacity: .75; }
.pl-summe-zeile strong { font-size: 24px; font-weight: 800; }
.pl-knopf {
  grid-column: 1 / -1; font: inherit; font-weight: 600; cursor: pointer; border: 0;
  background: #fff; color: var(--tinte); padding: 13px 18px; border-radius: 999px;
}
.pl-knopf:hover { background: var(--fluss-hell); }
.ust { font-size: 14px; color: var(--leise); margin: 18px 0 0; }

/* Ablauf: drei Schritte entlang einer Linie */
.ablauf { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: schritt; }
.ablauf li {
  counter-increment: schritt; position: relative; padding: 0 0 28px 56px;
}
.ablauf li::before {
  content: counter(schritt); position: absolute; left: 0; top: -4px;
  width: 38px; height: 38px; border-radius: 50%; background: var(--fluss); color: #fff;
  display: grid; place-content: center; font-weight: 800; font-size: 18px;
}
.ablauf li:not(:last-child)::after {
  content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 2px; background: var(--fluss-hell);
}
.ablauf h3 { font-size: 20px; font-weight: 800; margin: 0 0 2px; }
.ablauf p { margin: 0; color: var(--leise); }

/* Formular */
.formular { display: grid; gap: 18px; max-width: 640px; }
.formular-zwei { display: grid; gap: 18px; }
.feld label, .feld .label { display: block; font-weight: 600; margin-bottom: 6px; }
.feld .optional { font-weight: 400; color: var(--leise); }
.feld input, .feld textarea {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; color: var(--tinte);
  background: var(--flaeche); border: 1.5px solid var(--linie); border-radius: 10px;
}
.feld textarea { min-height: 120px; resize: vertical; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--fluss); box-shadow: 0 0 0 3px var(--fluss-hell); }
.feld-hilfe { font-size: 14px; color: var(--leise); margin: 6px 0 0; }

.bestaetigung { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; }
.bestaetigung input {
  appearance: none; -webkit-appearance: none; margin: 1px 0 0; width: 24px; height: 24px;
  border: 2px solid var(--fluss); border-radius: 7px; background: var(--flaeche); cursor: pointer;
  display: grid; place-content: center;
}
.bestaetigung input::after {
  content: ""; width: 12px; height: 7px; border: solid #fff; border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) translate(1px, -1px); opacity: 0;
}
.bestaetigung input:checked { background: var(--fluss); }
.bestaetigung input:checked::after { opacity: 1; }
.bestaetigung input:focus-visible { outline: 3px solid var(--tinte); outline-offset: 2px; }

.formular-hinweis { font-size: 14px; color: var(--leise); margin: 0; }
.honig { position: absolute; left: -9999px; }
.formular button[type="submit"] {
  justify-self: start; font: inherit; font-weight: 600; font-size: 17px; cursor: pointer;
  background: var(--fluss); color: #fff; border: 2px solid var(--fluss); border-radius: 999px; padding: 14px 26px;
}
.formular button[type="submit"]:hover { background: var(--tinte); border-color: var(--tinte); }
.formular button[disabled] { opacity: .6; cursor: wait; }
.meldung { margin: 0; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.meldung[hidden] { display: none; }
.meldung-gut { background: var(--fluss-hell); color: var(--tinte); }
.meldung-fehler { background: #f6dfd6; color: var(--fehler); }

/* Fuß */
.fuss { background: var(--tinte); color: #e8efe9; padding: 40px 0; font-size: 15px; }
.fuss a { color: #fff; }
.fuss .huelle { display: grid; gap: 20px; }
.fuss .marke { color: #fff; }
.fuss .marke svg rect { fill: var(--grund); }
.fuss .marke svg path { stroke: var(--tinte); }
.fuss p { margin: 0; }
.fuss-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Unterseiten (Impressum, Datenschutz) */
.text { padding: 32px 0 64px; max-width: 720px; }
.text h1 { font-weight: 800; font-size: clamp(32px, 7vw, 48px); letter-spacing: -0.03em; margin: 0 0 24px; }
.text h2 { font-size: 22px; margin: 32px 0 8px; }
.text h1 + p { color: var(--leise); margin-top: -16px; }

@media (min-width: 760px) {
  .nav-links { display: flex; }
  .held { padding: 72px 0 80px; }
  section { padding: 80px 0; }
  .leistungen li { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; align-items: baseline; }
  .preisbereich { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .pl-summe { grid-column: 1 / -1; grid-template-columns: 1fr 1fr auto; align-items: center; }
  .pl-knopf { grid-column: auto; }
  .ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .ablauf li { padding: 56px 0 0; }
  .ablauf li::before { top: 0; }
  .ablauf li:not(:last-child)::after { left: 46px; right: -20px; top: 18px; bottom: auto; width: auto; height: 2px; }
  .formular-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .fuss .huelle { grid-template-columns: 1fr auto; align-items: center; }
}
.fuss .fuss-kontakt { margin-top: 12px; }

.zurueck { display: inline-block; margin-bottom: 24px; font-weight: 600; }
