/* Running Passion – Homepage. Farben und Stil wie der Hub der App (Design „Modernist“). */
@font-face { font-family: Archivo; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/archivo-latin.woff2) format('woff2'); }
:root { --bg: #f1f2f4; --flaeche: #e7e9ed; --text: #1b1d22; --akzent: #2447d6; --linie: #1b1d22; --leise: #50545e; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--text); font: 400 17px/1.55 Archivo, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--akzent); }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(44px, 8vw, 88px); }
h2 { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 12px; }
h3 { font-size: 26px; margin-bottom: 8px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
section { padding: 64px 0; border-bottom: 2px solid var(--linie); scroll-margin-top: 72px; }
.flaeche { background: var(--flaeche); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 20; background: var(--bg); padding: 8px 12px; }

.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 2px solid var(--linie); }
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.marke { display: flex; flex-direction: column; color: var(--text); text-decoration: none; line-height: 1.15; margin-right: auto; }
.marke b { font-weight: 800; font-size: 19px; }
.marke span { font-size: 13px; color: var(--leise); }
nav { display: flex; gap: 20px; }
nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--akzent); }
.sprache { display: flex; border: 2px solid var(--linie); }
.sprache a { padding: 4px 8px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; }
.sprache a[aria-current] { background: var(--linie); color: var(--bg); }

.knopf { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; padding: 12px 18px; background: var(--akzent); color: #fff; border: 2px solid var(--akzent); font: 600 17px/1.2 Archivo, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--text); border-color: var(--text); }
.knopf.hell { background: transparent; color: var(--text); border-color: var(--linie); }
.knopf.hell:hover { background: var(--text); color: var(--bg); }
.knopf.klein { min-height: 40px; padding: 6px 14px; font-size: 15px; white-space: nowrap; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero h1 { font-size: clamp(42px, 12vw, 72px); }
.hero .wrap { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.zeile, .nr { font-weight: 600; color: var(--akzent); font-size: 15px; }
.zeile { margin-bottom: 12px; }
.lead { font-size: 20px; margin-top: 20px; max-width: 34ch; }
.klein-text { font-size: 14px; color: var(--leise); margin-top: 16px; }
.hero figure { position: relative; border: 2px solid var(--linie); }
.hero figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero figcaption { position: absolute; left: 0; bottom: 0; background: var(--akzent); color: #fff; padding: 10px 16px; display: flex; align-items: baseline; gap: 10px; }
.hero figcaption b { font-size: 36px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }

.intro { font-size: 19px; max-width: 52ch; margin-bottom: 32px; }
.drei, .zwei { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.drei article { border-top: 2px solid var(--linie); }
.drei img { width: 100%; margin-bottom: 14px; }

.lauf { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 2px solid var(--linie); --l-akzent: #ae1800; background: #f3f2f2; color: #201e1d; }
.lauf svg { width: 84px; height: 84px; fill: currentColor; }
.lauf .akzent { fill: var(--l-akzent); }
.lauf .nr, .lauf .weiter { color: var(--l-akzent); }
.lauf h3 { font-size: 34px; margin: 0; }
.vineyard { --l-akzent: #8fce4c; background: #0d0e0c; color: #eef0e9; }
.vineyard svg path { fill: none; stroke: currentColor; stroke-width: 3.5; }
.lauf dl { width: 100%; margin-top: auto; }
.lauf dl div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid currentColor; }
.lauf dd { font-weight: 600; text-align: right; }
.weiter { font-weight: 600; }

.halb { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.halb > img { border: 2px solid var(--linie); }
.schritte { list-style: none; counter-reset: s; }
.schritte li { counter-increment: s; position: relative; padding: 14px 0 14px 48px; border-top: 2px solid var(--linie); }
.schritte li::before { content: counter(s); position: absolute; left: 0; top: 12px; font-weight: 800; font-size: 26px; color: var(--akzent); }
.schritte b { display: block; }
.karte { border: 2px solid var(--linie); padding: 24px; background: var(--bg); }

.schmal { min-height: 65vh; }
.schmal .wrap { max-width: 460px; display: flex; flex-direction: column; gap: 20px; }
form { display: flex; flex-direction: column; gap: 8px; }
label { font-weight: 600; }
input[type=password] { font: inherit; min-height: 52px; padding: 10px 14px; border: 2px solid var(--linie); border-radius: 0; background: #fff; color: var(--text); margin-bottom: 8px; }
.meldung { border: 2px solid #ae1800; color: #8a1300; padding: 12px 14px; font-weight: 600; }

.text .wrap { max-width: 720px; }
.text h1 { font-size: clamp(36px, 6vw, 56px); margin-bottom: 24px; }
.text h2 { font-size: 21px; margin: 28px 0 8px; }
.text p { margin-bottom: 10px; }

footer { padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }

@media (min-width: 760px) {
  .drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; }
  .hero h1 { font-size: clamp(50px, 5.6vw, 68px); }
  .halb { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 759px) {
  nav { display: none; }
  .top .wrap { gap: 10px; }
  .marke b { font-size: 16px; }
  .marke span { font-size: 12px; }
  section { padding: 44px 0; }
}
