/* OSM – the product's website (G15, D100). Plain CSS, no script, no foreign resource: system fonts, inline SVG,
   motion only in CSS and stilled under prefers-reduced-motion. Dark first, a light scheme for those who ask for it. */

:root {
  --grund: #0b0d12;
  --grund-2: #10131a;
  --flaeche: #151923;
  --flaeche-2: #1b2030;
  --linie: #262c3b;
  --text: #e9ebf0;
  --leise: #a2a9b8;
  --akzent: #f0a64a;
  --akzent-2: #4fd1c5;
  --akzent-text: #1a1206;
  --fokus: #8ab4ff;
  --verlauf: linear-gradient(120deg, #f0a64a 0%, #f6c66f 35%, #4fd1c5 100%);
  --schatten: 0 1px 0 rgb(255 255 255 / 0.04) inset, 0 20px 40px -24px rgb(0 0 0 / 0.6);
  --rund: 14px;
  --breite: 72rem;
  --schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif;
  --schrift-titel: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --grund: #f6f7f9;
    --grund-2: #eef0f4;
    --flaeche: #ffffff;
    --flaeche-2: #f2f4f8;
    --linie: #dde1e8;
    --text: #12151c;
    --leise: #545b69;
    --akzent: #a85f0c;
    --akzent-2: #0d7f75;
    --akzent-text: #ffffff;
    --fokus: #1d5fbf;
    --verlauf: linear-gradient(120deg, #a85f0c 0%, #c27b1b 40%, #0d7f75 100%);
    --schatten: 0 1px 2px rgb(16 24 40 / 0.06), 0 12px 32px -20px rgb(16 24 40 / 0.25);
    color-scheme: light;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a { color: var(--akzent); text-underline-offset: 0.18em; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; border-radius: 4px; }

.springen { position: absolute; left: -999px; }
.springen:focus { left: 1rem; top: 1rem; padding: 0.5rem 0.9rem; background: var(--flaeche); z-index: 10; }

/* ——— Header ——— */

.kopf {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--grund) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--linie);
}

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 0.75rem 1rem;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.marke-zeichen { width: 1.7rem; height: 1.7rem; color: var(--akzent); }
.marke-strahl { fill: var(--akzent); opacity: 0.35; transform-origin: 16px 16px; animation: kreisen 6s linear infinite; }
.marke-punkt { fill: var(--akzent-2); animation: pulsieren 2.4s ease-in-out infinite; transform-origin: 21px 11px; }

nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.4rem; margin: 0; padding: 0; list-style: none; }
nav a { color: var(--leise); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); text-decoration: underline; text-decoration-color: var(--akzent);
  text-decoration-thickness: 2px; text-underline-offset: 0.45em; }

.haupt { margin-left: auto; }
.menue { display: none; margin-left: auto; position: relative; }
.menue summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: 0.6rem; }
.menue summary::-webkit-details-marker { display: none; }
.menue summary span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform 0.25s, opacity 0.25s; }
.menue[open] summary span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menue[open] summary span:nth-child(2) { opacity: 0; }
.menue[open] summary span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menue nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  min-width: 13rem;
  padding: 0.9rem 1.1rem;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  animation: aufklappen 0.22s ease-out;
}
.menue nav ul { flex-direction: column; gap: 0.6rem; }

@media (max-width: 860px) {
  .haupt { display: none; }
  .menue { display: block; }
  .kopf-innen > .knopf-klein { display: none; }
}

/* ——— Buttons ——— */

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
  background: var(--verlauf);
  background-size: 200% 100%;
  color: var(--akzent-text);
  font-weight: 650;
  text-decoration: none;
  transition: background-position 0.5s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px -12px color-mix(in srgb, var(--akzent) 70%, transparent);
}
.knopf:hover { background-position: 100% 0; transform: translateY(-1px); }
.knopf-klein { padding: 0.45rem 1rem; font-size: 0.9rem; }
.knopf-zweit {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--linie);
  box-shadow: none;
}
.knopf-zweit:hover { border-color: var(--leise); }

/* ——— Content ——— */

main { display: block; }

.bereich { max-width: var(--breite); margin: 0 auto; padding: 4.5rem 1rem; }
.bereich-schmal { max-width: 46rem; }
.bereich + .bereich { padding-top: 1rem; }

.inhaltsseite { max-width: 46rem; margin: 0 auto; padding: 3.5rem 1rem 4rem; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  color: var(--akzent);
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--schrift-titel); line-height: 1.12; letter-spacing: -0.02em; }
h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 6.2vw, 4.2rem);
  font-weight: 750;
  hyphens: auto;
  overflow-wrap: break-word;
}
h2 { margin: 0 0 1rem; font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { margin: 0 0 0.4rem; font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.inhaltsseite h2 { margin-top: 2.6rem; font-size: 1.45rem; }
.inhaltsseite h3 { margin-top: 1.6rem; }

.verlauf-text {
  background: var(--verlauf);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: schimmern 8s ease-in-out infinite alternate;
}

.vorspann { color: var(--leise); font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 40rem; }

.hinweis {
  margin: 1.5rem 0;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--linie);
  border-left: 3px solid var(--akzent);
  border-radius: 10px;
  background: var(--flaeche);
}

dt { font-weight: 650; margin-top: 1rem; }
dd { margin: 0.25rem 0 0; color: var(--leise); }

.tabelle { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--linie); border-radius: var(--rund); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td { padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
thead th { background: var(--flaeche); font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }

/* ——— Hero ——— */

.held {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--linie);
  background:
    radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--akzent-2) 18%, transparent), transparent 60%),
    radial-gradient(50rem 30rem at -10% 10%, color-mix(in srgb, var(--akzent) 16%, transparent), transparent 60%),
    var(--grund);
}

.held::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--linie) 1px, transparent 1px),
    linear-gradient(90deg, var(--linie) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 0%, transparent 70%);
  opacity: 0.35;
  pointer-events: none;
}

.held-innen {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--breite);
  margin: 0 auto;
  padding: 5.5rem 1rem 5rem;
}

.held-text > * { animation: auftauchen 0.8s cubic-bezier(.2,.7,.2,1) both; }
.held-text > *:nth-child(2) { animation-delay: 0.08s; }
.held-text > *:nth-child(3) { animation-delay: 0.16s; }
.held-text > *:nth-child(4) { animation-delay: 0.24s; }
.held-text > *:nth-child(5) { animation-delay: 0.32s; }

.knoepfe { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.held-fakten { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; margin: 2rem 0 0; padding: 0; list-style: none;
  color: var(--leise); font-size: 0.9rem; }
.held-fakten li::before { content: "✓"; color: var(--akzent-2); margin-right: 0.45rem; font-weight: 700; }

.radar { width: 100%; max-width: 30rem; justify-self: center; aspect-ratio: 1; animation: auftauchen 1.1s ease-out both 0.2s; }
.radar .ring { fill: none; stroke: var(--linie); stroke-width: 1; }
.radar .achse { stroke: var(--linie); stroke-width: 1; }
.radar .strahl { transform-origin: 200px 200px; animation: kreisen 7s linear infinite; }
.radar .knoten { fill: var(--akzent); transform-box: fill-box; transform-origin: center; animation: pulsieren 3s ease-in-out infinite; }
.radar .knoten-2 { fill: var(--akzent-2); animation-delay: 1s; }
.radar .knoten-3 { animation-delay: 2s; }
.radar .verbindung { stroke: var(--akzent-2); stroke-width: 1.2; fill: none; stroke-dasharray: 4 6; opacity: 0.7;
  animation: fliessen 3s linear infinite; }
.radar .kern { fill: var(--flaeche); stroke: var(--akzent); stroke-width: 2; }
.radar .kern-text { fill: var(--text); font: 700 15px var(--schrift); letter-spacing: 0.2em; text-anchor: middle; }
.radar stop.a { stop-color: var(--akzent); stop-opacity: 0.45; }
.radar stop.b { stop-color: var(--akzent); stop-opacity: 0; }

@media (max-width: 860px) {
  .held-innen { grid-template-columns: 1fr; padding-top: 3.5rem; gap: 2rem; }
  .radar { max-width: 20rem; order: -1; }
}

/* ——— Proof strip, cards, steps ——— */

.leiste {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--breite);
  margin: -2.5rem auto 0;
  position: relative;
  background: var(--linie);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  overflow: hidden;
  box-shadow: var(--schatten);
}
.leiste > div { background: var(--flaeche); padding: 1.3rem 1.2rem; }
.leiste strong { display: block; font-family: var(--schrift-titel); font-size: 1.05rem; }
.leiste span { color: var(--leise); font-size: 0.88rem; }
@media (max-width: 860px) { .leiste { grid-template-columns: 1fr 1fr; margin: 1.5rem 1rem 0; } }
@media (max-width: 480px) { .leiste { grid-template-columns: 1fr; } }

.raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.2rem; }
@media (max-width: 960px) { .raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .raster { grid-template-columns: 1fr; } }

.karte {
  position: relative;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(180deg, var(--flaeche), var(--grund-2));
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  box-shadow: var(--schatten);
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), border-color 0.3s;
}
.karte:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie)); }
.karte p { margin: 0; color: var(--leise); font-size: 0.95rem; }
.karte .marke-klein { display: inline-block; margin-top: 0.8rem; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--akzent-2); }
.symbol {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--akzent) 14%, transparent);
  color: var(--akzent);
}
.symbol svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.schritte { counter-reset: schritt; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin: 2.2rem 0 0;
  padding: 0; list-style: none; }
.schritte li { counter-increment: schritt; padding: 1.4rem; border-top: 2px solid var(--linie); position: relative; }
.schritte li::before { content: "0" counter(schritt); display: block; font-family: var(--mono); color: var(--akzent);
  font-size: 0.85rem; margin-bottom: 0.6rem; }
.schritte li::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--verlauf);
  animation: fuellen 1.4s ease-out forwards; }
.schritte li:nth-child(2)::after { animation-delay: 0.3s; }
.schritte li:nth-child(3)::after { animation-delay: 0.6s; }
.schritte p { margin: 0; color: var(--leise); }
@media (max-width: 760px) { .schritte { grid-template-columns: 1fr; } }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .zweispaltig { grid-template-columns: 1fr; gap: 2rem; } }

.architektur { width: 100%; height: auto; }
.architektur .feld { fill: var(--flaeche); stroke: var(--linie); stroke-width: 1.2; }
.architektur .feld-akzent { stroke: var(--akzent); }
.architektur .titel { fill: var(--text); font: 650 14px var(--schrift); }
.architektur .unter { fill: var(--leise); font: 12px var(--schrift); }
.architektur .fluss { stroke: var(--akzent-2); stroke-width: 1.6; fill: none; stroke-dasharray: 5 7; animation: fliessen 2.4s linear infinite; }
.architektur .schloss { fill: var(--akzent); }

.liste-haken { margin: 1rem 0 0; padding: 0; list-style: none; }
.liste-haken li { position: relative; padding-left: 1.7rem; margin-top: 0.6rem; color: var(--leise); }
.liste-haken li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 0.8rem; height: 0.45rem;
  border-left: 2px solid var(--akzent-2); border-bottom: 2px solid var(--akzent-2); transform: rotate(-45deg); }
.liste-haken strong { color: var(--text); }

.aufruf {
  max-width: var(--breite);
  margin: 2rem auto 5rem;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: calc(var(--rund) * 1.5);
  border: 1px solid var(--linie);
  background:
    radial-gradient(40rem 16rem at 50% 0%, color-mix(in srgb, var(--akzent) 22%, transparent), transparent 70%),
    var(--flaeche);
}
.aufruf .knoepfe { justify-content: center; }
.aufruf p { color: var(--leise); max-width: 36rem; margin: 0 auto; }
@media (max-width: 760px) { .aufruf { margin: 1rem 1rem 3rem; padding: 2.2rem 1.2rem; } }

/* ——— Footer ——— */

.fuss { border-top: 1px solid var(--linie); background: var(--grund-2); color: var(--leise); font-size: 0.9rem; }
.fuss-innen { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; max-width: var(--breite); margin: 0 auto;
  padding: 3rem 1rem 1.5rem; }
.fuss nav ul { flex-direction: column; gap: 0.45rem; }
.fuss-titel, .marke-text { margin: 0 0 0.8rem; color: var(--text); font-weight: 650; }
.marke-text { letter-spacing: 0.18em; }
.leise { color: var(--leise); }
.fuss-marke-hinweis { max-width: var(--breite); margin: 0 auto; padding: 1rem 1rem 2.5rem; border-top: 1px solid var(--linie);
  font-size: 0.8rem; }
@media (max-width: 760px) { .fuss-innen { grid-template-columns: 1fr 1fr; } .fuss-marke { grid-column: 1 / -1; } }

/* ——— Motion ——— */

@keyframes kreisen { to { transform: rotate(360deg); } }
@keyframes pulsieren { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }
@keyframes fliessen { to { stroke-dashoffset: -44; } }
@keyframes schimmern { from { background-position: 0% 0; } to { background-position: 100% 0; } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes aufklappen { from { opacity: 0; transform: translateY(-6px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fuellen { to { width: 100%; } }

/* Sections fade in as they scroll into view, where the browser can tie an animation to scrolling. */
@supports (animation-timeline: view()) {
  .einblenden { animation: auftauchen linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .schritte li::after { width: 100%; }
}
