/* PrüfFit – gemeinsames Stylesheet. Farben aus dem Markenlogo (Navy #142434, Blau #2B84E0). */
:root {
  --gruen: #2B84E0;
  --gruen-dunkel: #1D6FC7;
  --gruen-hell: #EFF6FF;
  --gruen-rand: #BFDBFE;
  --text: #142434;
  --grau: #475569;
  --grau-hell: #94A3B8;
  --rand: #E2E8F0;
  --flaeche: #F8FAFC;
  --weiss: #FFFFFF;
  --radius: 16px;
  --max: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gruen-dunkel); }
a:hover { color: var(--gruen); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
.kopf {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--rand);
}
.kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.25rem; }
.marke img { width: 40px; height: 40px; border-radius: 10px; }
.navi { display: flex; gap: 6px; flex-wrap: wrap; }
.navi a { text-decoration: none; color: var(--grau); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.navi a:hover, .navi a[aria-current="page"] { background: var(--gruen-hell); color: var(--gruen-dunkel); }

/* Abschnitte */
section { padding: 72px 0; }
.flaeche { background: var(--flaeche); border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.ueberzeile { color: var(--gruen-dunkel); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--grau); max-width: 680px; }

/* Hero */
.hero { padding: 64px 0 40px; background: linear-gradient(180deg, var(--gruen-hell) 0%, var(--weiss) 100%); }
.hero-inhalt { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-logo { width: 200px; height: 200px; margin-bottom: 12px; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.knopf {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; text-decoration: none;
  background: var(--gruen); color: var(--weiss); border: 2px solid var(--gruen);
}
.knopf:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: var(--weiss); }
.knopf.hell { background: var(--weiss); color: var(--gruen-dunkel); }
.knopf.hell:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); }

.bildreihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bildreihe img {
  border-radius: 18px; border: 1px solid var(--rand);
  box-shadow: 0 12px 30px rgba(15,23,42,.10);
}
.bildreihe img:nth-child(2) { transform: translateY(-18px); }

/* Kacheln */
.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 32px; }
.kachel {
  background: var(--weiss); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column;
}
.kachel p { color: var(--grau); margin: 0; font-size: .97rem; }
.symbol {
  width: 44px; height: 44px; border-radius: 12px; background: var(--gruen-hell); color: var(--gruen-dunkel);
  display: grid; place-items: center; margin-bottom: 14px; font-size: 1.3rem;
}

/* App-Kacheln */
.app { gap: 6px; }
.app h3 { margin-bottom: 2px; }
.app .beruf { color: var(--grau); font-size: .95rem; margin-bottom: 14px; }
.app .aktion { margin-top: auto; }
.status {
  display: inline-block; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: var(--flaeche); color: var(--grau); border: 1px solid var(--rand);
}
.app a.status-live {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none;
  background: var(--gruen); color: var(--weiss); padding: 9px 14px; border-radius: 10px; font-size: .92rem;
}
.app a.status-live:hover { background: var(--gruen-dunkel); color: var(--weiss); }

/* Schritte */
.schritte { counter-reset: schritt; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 32px; }
.schritt { position: relative; padding: 24px 22px 22px; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--rand); }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: var(--gruen); color: var(--weiss); font-weight: 800; margin-bottom: 12px;
}
.schritt p { color: var(--grau); margin: 0; }

/* Info-Kasten */
.kasten { background: var(--gruen-hell); border: 1px solid var(--gruen-rand); border-radius: var(--radius); padding: 22px 24px; }
.kasten p:last-child { margin-bottom: 0; }

/* Tabellen / Definitionslisten */
.liste { list-style: none; padding: 0; margin: 0; }
.liste li { padding: 12px 0; border-bottom: 1px solid var(--rand); }
.liste li:last-child { border-bottom: 0; }
code { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 6px; padding: 1px 6px; font-size: .9em; }

/* Textseiten (Impressum, Datenschutz) */
.textseite { padding: 56px 0 72px; }
.textseite .wrap { max-width: 780px; }
.textseite h2 { font-size: 1.35rem; margin-top: 2em; }
.textseite p, .textseite li { color: #334155; }

/* Fußzeile */
.fuss { background: var(--text); color: #CBD5E1; padding: 44px 0 36px; font-size: .95rem; }
.fuss .wrap { display: grid; gap: 28px; grid-template-columns: 1fr; }
.fuss a { color: #E2E8F0; text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss .marke { color: var(--weiss); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.fuss small { color: var(--grau-hell); }

@media (min-width: 860px) {
  .hero-inhalt { grid-template-columns: 1.05fr .95fr; }
  .fuss .wrap { grid-template-columns: 1fr auto; align-items: center; }
}
@media (max-width: 520px) {
  section { padding: 52px 0; }
  .navi a { padding: 6px 8px; font-size: .9rem; }
  .bildreihe img:nth-child(2) { transform: none; }
}

/* Link-Seite für die Social-Media-Bio */
a.bio-link { text-decoration: none; color: var(--text); transition: transform .15s ease, box-shadow .15s ease; }
a.bio-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.10); color: var(--text); }
a.bio-link .status-live { align-self: flex-start; margin-top: auto; }
