:root {
  --grund: #fafaf8;
  --flaeche: #ffffff;
  --tinte: #141a16;
  --grau: #676e69;
  --grau-hell: #9aa09b;
  --linie: #e6e8e3;
  --linie-stark: #d5d9d2;
  --signal: #39941b;
  --signal-hell: #eaf5e4;
  --signal-leucht: #7fd65a;
  --moos: #4b5737;
  --sand: #c3ab8b;
  --lehm: #967553;
  --humus: #40392e;
  --schrift: "Geist", system-ui, -apple-system, sans-serif;
  --breite: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font: 400 16px/1.6 var(--schrift);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }

.innen { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgb(250 250 248 / .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgb(230 232 227 / .7);
}
.nav-innen {
  max-width: var(--breite); margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; gap: 36px;
}
.marke { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.marke img { display: block; }
.nav-links { display: flex; gap: 26px; margin-right: auto; font-size: 14px; color: var(--grau); }
.nav-links a:hover { color: var(--tinte); }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  height: 36px; padding: 0 16px; border-radius: 999px;
  font: 500 14px/1 var(--schrift); letter-spacing: -.005em;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.knopf-gross { height: 46px; padding: 0 24px; font-size: 15px; }
.knopf-dunkel { background: var(--tinte); color: #fff; box-shadow: 0 1px 2px rgb(20 26 22 / .2), inset 0 1px 0 rgb(255 255 255 / .12); }
.knopf-dunkel:hover { background: #26302a; }
.knopf-hell { background: var(--flaeche); border: 1px solid var(--linie-stark); }
.knopf-hell:hover { border-color: var(--grau-hell); }

/* Einstieg */
.held { position: relative; isolation: isolate; padding: 88px 0 72px; }
.raster-bg {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1;
  background-image:
    linear-gradient(var(--linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .7;
}
.held-innen { text-align: center; }

.held h1 {
  max-width: 16ch; margin: 0 auto;
  font-size: clamp(44px, 7.4vw, 92px);
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -.048em;
  text-wrap: balance;
}
.held h1 .leise { display: block; color: var(--grau-hell); }
.held-unter {
  max-width: 35em; margin: 26px auto 0;
  font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.6; color: var(--grau);
  text-wrap: pretty;
}
.held-knoepfe { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* Produktbild */
.produkt {
  position: relative;
  margin: 72px 0 0; padding: 0;
  border-radius: 14px;
  background: var(--flaeche);
  border: 1px solid var(--linie-stark);
  box-shadow:
    0 0 0 6px rgb(255 255 255 / .6),
    0 2px 4px rgb(20 26 22 / .04),
    0 24px 48px -12px rgb(20 26 22 / .14),
    0 80px 120px -40px rgb(75 87 55 / .35);
  overflow: hidden;
  animation: hoch 1s cubic-bezier(.2, .7, .2, 1) .15s both;
}
@keyframes hoch { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.produkt::before {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, var(--moos), var(--sand), var(--lehm), var(--humus));
}
.produkt-leiste {
  display: flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px;
  border-bottom: 1px solid var(--linie);
  background: #f6f7f4;
}
.produkt-leiste i { width: 11px; height: 11px; border-radius: 50%; background: #dfe2dc; }
.produkt-leiste span {
  margin: 0 auto; padding: 3px 14px; border-radius: 6px;
  background: var(--flaeche); border: 1px solid var(--linie);
  font-size: 12px; color: var(--grau);
  transform: translateX(-20px);
}
.produkt-app { display: grid; grid-template-columns: 176px 1fr 290px; min-height: 430px; text-align: left; font-size: 13px; }

.app-seite { background: var(--tinte); color: #c4cbc6; padding: 16px 10px; }
.app-marke { display: flex; align-items: center; gap: 7px; padding: 2px 8px 18px; color: #fff; font-weight: 600; font-size: 14px; }
.app-tab { padding: 7px 10px; border-radius: 6px; margin-bottom: 2px; }
.app-tab.aktiv { background: rgb(255 255 255 / .09); color: #fff; box-shadow: inset 2px 0 0 var(--signal-leucht); }

.app-haupt { padding: 20px 22px; border-right: 1px solid var(--linie); min-width: 0; }
.app-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.app-titel { font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.app-unter { color: var(--grau); font-size: 12px; margin-top: 2px; }
.app-suche { padding: 6px 12px; width: 160px; border: 1px solid var(--linie); border-radius: 7px; color: var(--grau-hell); font-size: 12px; }
.app-tabelle { margin-top: 18px; }
.zeile {
  display: grid; grid-template-columns: minmax(0, 1fr) 76px 60px 46px; gap: 12px; align-items: center;
  padding: 10px 10px; border-radius: 8px;
}
.zeile + .zeile { margin-top: 2px; }
.zeile span:not(:first-child) { font-variant-numeric: tabular-nums; color: #3c433e; }
.zeile b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zeile small { display: block; color: var(--grau); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kopfzeile { color: var(--grau-hell); font-size: 11.5px; padding-top: 0; padding-bottom: 6px; border-bottom: 1px solid var(--linie); border-radius: 0; }
.kopfzeile span:not(:first-child) { color: var(--grau-hell); }
.gewaehlt { background: #f3f6f0; box-shadow: inset 0 0 0 1px #e1e9dc; }
.s {
  display: inline-grid; place-items: center; width: 34px; height: 22px; border-radius: 6px;
  font-style: normal; font-weight: 600; font-size: 12px;
  background: #eef0ec; color: var(--grau);
}
.s-hoch { background: var(--signal-hell); color: #2b7412; }
.s-mittel { background: #f4efe6; color: #7a5a3f; }

.app-detail { padding: 20px; background: #fcfcfb; }
.detail-ort { font-size: 11.5px; color: var(--grau); }
.detail-titel { margin-top: 3px; font-weight: 600; font-size: 15px; line-height: 1.3; letter-spacing: -.015em; }
.detail-score { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.detail-score b { display: block; font-weight: 600; font-size: 13px; }
.detail-score small { display: block; color: var(--grau); font-size: 11.5px; }

.ring {
  --g: 46px;
  flex: none; display: grid; place-items: center;
  width: var(--g); height: var(--g); border-radius: 50%;
  background: conic-gradient(var(--signal) calc(var(--s) * 1%), #e6eae3 0);
}
.ring span {
  display: grid; place-items: center;
  width: calc(var(--g) - 8px); height: calc(var(--g) - 8px); border-radius: 50%;
  background: var(--flaeche); font-weight: 600; font-size: 15px; letter-spacing: -.02em;
}
.ring-gross { --g: 112px; }
.ring-gross span { width: calc(var(--g) - 14px); height: calc(var(--g) - 14px); font-size: 36px; letter-spacing: -.04em; }

.detail-ki { margin-top: 16px; padding: 12px; border-radius: 10px; background: var(--flaeche); border: 1px solid var(--linie); }
.ki-kopf { display: flex; align-items: center; gap: 7px; font-weight: 500; font-size: 12px; }
.ki-punkt {
  width: 8px; height: 8px; border-radius: 50%;
  background: conic-gradient(var(--signal-leucht), var(--sand), var(--signal-leucht));
  box-shadow: 0 0 0 3px var(--signal-hell);
}
.detail-ki p { margin-top: 6px; color: #3c433e; font-size: 12px; line-height: 1.55; }
.detail-vergabe {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  margin-top: 12px; padding: 12px; border-radius: 10px; border: 1px solid var(--linie); background: var(--flaeche);
}
.detail-vergabe small { display: block; color: var(--grau); font-size: 11.5px; }
.detail-vergabe b { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.status { padding: 3px 9px; border-radius: 999px; background: var(--signal-hell); color: #2b7412; font-size: 11.5px; font-weight: 600; }

/* Branchen */
.branchen { padding: 0; text-align: center; }
.branchen p { color: var(--grau); font-size: 15px; }

/* Plattform */
.plattform { padding: 120px 0 128px; }
.kopf-block { max-width: 620px; }
.plattform h2, .schluss h2 {
  font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; line-height: 1.04; letter-spacing: -.04em;
  text-wrap: balance;
}
.kopf-block p { margin-top: 18px; font-size: 18px; color: var(--grau); max-width: 30em; }

.bento {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 56px;
}
.kachel {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  min-height: 300px; padding: 26px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 16px;
  overflow: hidden;
}
.kachel-gross { grid-column: span 2; grid-row: span 2; }
.kachel h3 { font-size: 18px; font-weight: 600; letter-spacing: -.02em; }
.kachel-text p { margin-top: 6px; color: var(--grau); font-size: 15px; line-height: 1.55; max-width: 32em; }

/* Radar */
.radar { position: relative; flex: 1; min-height: 340px; display: grid; place-items: center; }
.radar-feld { position: relative; width: min(360px, 80%); aspect-ratio: 1; }
.radar-kreis { position: absolute; border-radius: 50%; border: 1px solid var(--linie-stark); }
.k1 { inset: 0; background: radial-gradient(circle, #f6f8f3, var(--flaeche) 70%); }
.k2 { inset: 18%; }
.k3 { inset: 36%; background: var(--signal-hell); border-color: #d4e8ca; }
.radar-strahl {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgb(57 148 27 / .28), rgb(57 148 27 / 0) 70deg, transparent 360deg);
  animation: drehen 6s linear infinite;
}
@keyframes drehen { to { transform: rotate(-360deg); } }
.radar-punkt {
  position: absolute; left: var(--a); top: var(--b);
  width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgb(57 148 27 / .15);
}
.quelle {
  position: absolute; left: var(--a); top: var(--b);
  padding: 6px 12px; border-radius: 999px;
  background: var(--flaeche); border: 1px solid var(--linie);
  box-shadow: 0 4px 14px -6px rgb(20 26 22 / .2);
  font-size: 13px; font-weight: 500; white-space: nowrap;
}

.ki-demo {
  padding: 16px; border-radius: 12px; background: #f6f7f4; border: 1px solid var(--linie);
  font-size: 13.5px; line-height: 1.75; color: #4b524d;
}
.ki-demo mark { background: var(--signal-hell); color: #2b7412; padding: 2px 6px; border-radius: 5px; font-weight: 500; }

.zuschlag-demo { position: relative; display: grid; gap: 14px; padding-left: 4px; }
.zuschlag-demo::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; background: var(--linie); }
.zs-schritt { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--grau); }
.zs-schritt i { width: 12px; height: 12px; border-radius: 50%; background: var(--flaeche); border: 2px solid var(--linie-stark); }
.zs-schritt.fertig i { background: var(--tinte); border-color: var(--tinte); }
.zs-schritt.sieger { padding: 8px 12px 8px 0; color: #2b7412; font-weight: 600; }
.zs-schritt.sieger i { background: var(--signal); border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-hell); }

.score-demo { display: grid; place-items: center; padding-bottom: 6px; }

.pipe-demo { display: grid; gap: 8px; }
.pipe-demo span {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 12px; border-radius: 9px; border: 1px solid var(--linie); background: #fbfbfa;
  font-size: 13.5px; font-weight: 500;
}
.pipe-demo i { font-style: normal; color: var(--grau); font-variant-numeric: tabular-nums; }
.pipe-demo .gewonnen { background: var(--signal-hell); border-color: #d4e8ca; color: #2b7412; }
.pipe-demo .gewonnen i { color: #2b7412; }

.karte-demo {
  position: relative; height: 150px; border-radius: 12px; overflow: hidden;
  background:
    linear-gradient(115deg, transparent 46%, #e9ece6 46% 48%, transparent 48%),
    linear-gradient(20deg, transparent 60%, #e9ece6 60% 61.5%, transparent 61.5%),
    radial-gradient(#dfe3dc 1px, transparent 1.2px) 0 0 / 12px 12px,
    #f6f7f4;
  border: 1px solid var(--linie);
}
.karte-demo span { position: absolute; left: var(--a); top: var(--b); transform: translate(-50%, -50%); border-radius: 50%; }
.umkreis { width: 120px; height: 120px; background: rgb(57 148 27 / .08); border: 1px dashed rgb(57 148 27 / .45); }
.standort { width: 14px; height: 14px; background: var(--tinte); border: 3px solid #fff; box-shadow: 0 1px 4px rgb(20 26 22 / .3); }
.pin { width: 9px; height: 9px; background: var(--lehm); box-shadow: 0 0 0 3px rgb(150 117 83 / .18); }
.pin.top { width: 11px; height: 11px; background: var(--signal); box-shadow: 0 0 0 4px rgb(57 148 27 / .2); }

/* Vision */
.vision { background: var(--tinte); color: #fff; padding: 136px 0; position: relative; overflow: hidden; }
.vision::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--moos), var(--sand), var(--lehm), var(--humus));
}
.vision-satz {
  max-width: 22em;
  font-size: clamp(28px, 4vw, 48px); font-weight: 500; line-height: 1.15; letter-spacing: -.035em;
  color: #7f8983;
  text-wrap: pretty;
}
.vision-satz span { color: #fff; }

/* Schluss */
.schluss { padding: 136px 0; text-align: center; }
.schluss-innen img { display: block; margin: 0 auto 28px; }
.schluss p { margin: 16px auto 32px; font-size: 18px; color: var(--grau); }

.fuss { border-top: 1px solid var(--linie); padding: 24px 0; font-size: 14px; color: var(--grau); }
.fuss-innen { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fuss .marke { font-size: 15px; color: var(--tinte); }

/* Kleinere Bildschirme */
@media (max-width: 1020px) {
  .produkt-app { grid-template-columns: 1fr 270px; }
  .app-seite { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .kachel-gross { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 720px) {
  .innen, .nav-innen { padding-left: 16px; padding-right: 16px; }
  .nav-links { display: none; }
  .nav-innen { justify-content: space-between; }
  .held { padding-top: 56px; }
  .produkt { margin-top: 48px; border-radius: 12px; }
  .produkt-app { grid-template-columns: 1fr; min-height: 0; }
  .app-detail { display: none; }
  .app-haupt { border-right: 0; padding: 16px 12px; }
  .app-suche { display: none; }
  .zeile { grid-template-columns: minmax(0, 1fr) 64px 40px; }
  .zeile span:nth-child(3) { display: none; }
  .produkt-leiste span { transform: none; }
  .plattform { padding: 88px 0; }
  .bento { grid-template-columns: 1fr; }
  .kachel-gross { grid-column: auto; }
  .kachel { min-height: 0; }
  .radar { min-height: 300px; }
  .vision, .schluss { padding: 96px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .produkt { animation: none; }
  .radar-strahl { animation: none; }
}
