/* Tokens de marca. Fuente: 01_Identidad_visual/Manual_de_marca.md */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("../assets/fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 300; font-style: normal; font-display: swap; src: url("../assets/fonts/roboto-slab-300.woff2") format("woff2"); }
@font-face { font-family: "Roboto Slab"; font-weight: 400; font-style: normal; font-display: swap; src: url("../assets/fonts/roboto-slab-400.woff2") format("woff2"); }

:root {
  --gruen: #79AD67;
  --gruen-dunkel: #4E7A40;
  --kohle: #2B2B2B;
  --kohle-weich: #55594F;
  --papier: #F9F9F9;
  --linie: #E3E5E0;
  --weiss: #FFFFFF;

  --titel: "Roboto Slab", Georgia, serif;
  --text: Inter, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --breite: 1080px;
  --rand: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--kohle);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }

a { color: var(--kohle); text-decoration-color: var(--gruen); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--gruen-dunkel); }
a:focus-visible, .knopf:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding-inline: var(--rand); }

/* Kopf */
.kopf { padding-block: 28px; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kopf .logo img { width: 230px; }
.kopf nav { display: flex; gap: 28px; }
.kopf nav a { white-space: nowrap; }
.kopf .logo { flex-shrink: 0; }
.kopf nav a { font-size: 16px; font-weight: 500; }
.kopf nav a[aria-current="page"] { text-decoration-thickness: 2px; }
.kopf nav a:not([aria-current]) { text-decoration: none; }
.kopf nav a:not([aria-current]):hover { text-decoration: underline; text-decoration-color: var(--gruen); }

/* Überschriften */
h1, h2, h3 { font-family: var(--titel); font-weight: 300; line-height: 1.2; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 40px); }
h3 { font-family: var(--text); font-weight: 500; font-size: 18px; }

.tilde { width: 44px; margin-top: 18px; }

/* Abschnitte */
.abschnitt { padding-block: 88px; border-top: 1px solid var(--linie); }
.abschnitt > .huelle > h2 + * { margin-top: 36px; }
p { margin: 0; max-width: 62ch; }
p + p { margin-top: 18px; }

/* Hero */
/* Hero mit Ambientebild */
.hero { position: relative; padding: 0; min-height: min(78vh, 720px); display: flex; align-items: center; }
.hero .bg { position: absolute; inset: 0; overflow: hidden; }
.hero { background: var(--weiss); }
.hero .bg img { width: 100%; height: 100%; object-fit: contain; object-position: right bottom;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
          mask-image: linear-gradient(to right, transparent 0, #000 22%); }
.hero .bg picture { display: contents; }
.hero .huelle { position: relative; width: 100%; padding-block: 88px; display: block; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.07; max-width: 13ch; }
.hero .einleitung { margin-top: 24px; font-size: 20px; max-width: 40ch; color: var(--kohle-weich); }

.knopf {
  display: inline-block; margin-top: 36px; padding: 14px 26px;
  background: var(--kohle); color: var(--weiss);
  font-weight: 500; font-size: 17px; text-decoration: none;
  border-radius: 2px;
}
.knopf:hover { background: var(--gruen-dunkel); color: var(--weiss); }

/* Liste mit Tilde */
.tilden { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; max-width: 64ch; }
.tilden li { padding-left: 52px; position: relative; }
.tilden li::before {
  content: ""; position: absolute; left: 0; top: 0.72em; width: 32px; height: 10px;
  background: url("../assets/tilde.svg") no-repeat center / contain;
}
.fazit { margin-top: 40px; font-weight: 500; }

/* Methode */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.schritte li { border-top: 2px solid var(--kohle); padding-top: 18px; }
.schritte h3 { margin-bottom: 10px; }
.regeln { margin-top: 64px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.regeln h3 { margin-bottom: 10px; color: var(--gruen-dunkel); }

/* Stimmen */
.stimme { margin: 0; max-width: 62ch; }
.stimme + .stimme { margin-top: 52px; padding-top: 48px; border-top: 1px solid var(--linie); }
.stimmen { display: grid; }
.stimme blockquote { margin: 0; font-family: var(--titel); font-weight: 300; font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; }
.stimme figcaption { margin-top: 22px; font-size: 16px; color: var(--kohle-weich); }
.stimme figcaption a { font-weight: 500; }

/* Karussell */
.stimmen.ist-karussell { display: block; position: relative; overflow: hidden; transition: height .45s ease; }
.stimmen.ist-karussell .stimme { position: absolute; inset: 0 auto auto 0; width: 100%; opacity: 0; visibility: hidden; transition: opacity .45s ease; margin: 0; padding: 0; border: 0; }
.stimmen.ist-karussell .stimme.aktiv { opacity: 1; visibility: visible; }
.karussell-steuerung { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.kpfeil { background: none; border: 1px solid var(--linie); color: var(--kohle-weich); width: 38px; height: 38px; border-radius: 50%; font-size: 20px; line-height: 1; cursor: pointer; }
.kpfeil:hover { border-color: var(--gruen); color: var(--gruen-dunkel); }
.kpunkte { display: flex; gap: 10px; }
.kpunkt { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--linie); cursor: pointer; }
.kpunkt[aria-current="true"] { background: var(--gruen); }
@media (prefers-reduced-motion: reduce) { .stimmen.ist-karussell .stimme { transition: none; } }

/* Für wen */
.zweispaltig { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px; }
.zweispaltig h3 { margin-bottom: 18px; }

/* Kontakt */
.kontakt .huelle { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.kontakt figure { margin: 0; max-width: 360px; }
.kontakt .daten { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }

/* Fuß */
.fuss { padding-block: 40px; border-top: 1px solid var(--linie); font-size: 15px; color: var(--kohle-weich); }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.fuss nav { display: flex; gap: 24px; }

/* Rechtstexte */
.recht { padding-block: 48px 96px; }
.recht h1 { font-size: clamp(32px, 5vw, 44px); }
.recht h2 { font-size: 22px; font-weight: 400; margin-top: 44px; }
.recht p, .recht address { margin-top: 14px; font-style: normal; max-width: 70ch; }

/* Über mich */
.woher .huelle { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: center; }
.woher figure { margin: 0; max-width: 420px; }
.woher h2 + p { margin-top: 28px; }
.stationen { margin-top: 40px; }
.abschnitt .huelle > .knopf { margin-top: 32px; }

/* Leistungen */
.seitenkopf { padding-block: 48px 88px; }
.seitenkopf .einleitung { margin-top: 24px; font-size: 20px; max-width: 52ch; color: var(--kohle-weich); }
.leistung .huelle { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.leistung .marke { font-size: 15px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gruen-dunkel); margin-bottom: 10px; }
.leistung .lead { margin-top: 24px; font-size: 20px; }
.leistung .tilden { margin-top: 32px; }
.leistung .nachsatz { margin-top: 32px; color: var(--kohle-weich); }
.preis { background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--gruen); padding: 32px; }
.preis .betrag { font-family: var(--titel); font-weight: 300; font-size: 52px; line-height: 1; }
.preis .preisart { margin-top: 8px; font-weight: 500; }
.preis .klein { margin-top: 14px; font-size: 15px; color: var(--kohle-weich); }
.preis .knopf { margin-top: 28px; }
.praxis { border-left: 3px solid var(--gruen); padding-left: 24px; }
.praxis h3 { margin-bottom: 10px; color: var(--gruen-dunkel); }
.praxis p { font-size: 17px; }
.praxis .zahl { margin-top: 20px; font-family: var(--titel); font-weight: 300; font-size: 40px; line-height: 1.1; }
.praxis .zahl span { display: block; font-family: var(--text); font-size: 15px; color: var(--kohle-weich); margin-top: 6px; }
.h-klein { font-size: 24px; font-weight: 400; margin-bottom: 16px; }

@media (max-width: 820px) {
  .leistung .huelle, .woher .huelle { grid-template-columns: 1fr; gap: 40px; }
  .seitenkopf { padding-block: 24px 56px; }
  .kopf nav { gap: 20px; }
  .hero { min-height: 0; display: block; }
  .hero .bg { position: relative; inset: auto; width: 100%; height: 54vh; max-height: 420px; }
  .hero .bg img { object-fit: cover; object-position: 50% 16%; -webkit-mask-image: none; mask-image: none; }
  .hero .huelle { padding-block: 44px 56px; }
  :root { --rand: 20px; }
  body { font-size: 17px; }
  .abschnitt { padding-block: 64px; }
  .hero .huelle, .kontakt .huelle, .zweispaltig, .schritte, .regeln { grid-template-columns: 1fr; gap: 36px; }
  .hero figure { justify-self: start; max-width: 340px; }
  .kopf .logo img { width: 190px; }
}

.stimme blockquote p { margin: 0 0 14px; }
.stimme blockquote p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .kopf { padding-block: 20px; }
  .kopf .huelle { flex-wrap: wrap; gap: 14px; }
  .kopf nav { width: 100%; gap: 22px; }
}
