:root {
  --denim: #2f6187;
  --denim-hell: #3f7aa6;
  --schiefer: #1e3f58;
  --tinte: #14293a;
  --flaeche: #f3f6f8;
  --karte: #ffffff;
  --rand: #d3dee6;
  --gedaempft: #5b7385;
  --papier-akzent: #a8bfd1;
  --warnung: #8a6a2e;
  --warnung-flaeche: #f6eedf;

  --breite: 68rem;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(20, 41, 58, 0.06), 0 8px 24px rgba(20, 41, 58, 0.06);
}

@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans";
  src: url("../fonts/NotoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--tinte);
  background: var(--flaeche);
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--denim); text-underline-offset: 2px; }
a:hover { color: var(--schiefer); }

hr { border: 0; border-top: 1px solid var(--rand); margin: 2rem 0; }

img, svg { max-width: 100%; }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--schiefer);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--denim-hell); outline-offset: 2px; }

.kopf {
  background: var(--karte);
  border-bottom: 1px solid var(--rand);
  position: sticky;
  top: 0;
  z-index: 5;
}
.kopf .huelle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}
.marke {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--schiefer);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.marke img { width: 32px; height: 32px; display: block; }
.kopf nav { display: flex; align-items: center; gap: 1.25rem; font-size: 0.94rem; }
.kopf nav a { color: var(--gedaempft); text-decoration: none; }
.kopf nav a:hover { color: var(--denim); }

.sprachwahl { display: inline-flex; gap: 0; border: 1px solid var(--rand); border-radius: 999px; overflow: hidden; }
.sprachwahl button {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border: 0;
  background: transparent;
  color: var(--gedaempft);
  cursor: pointer;
}
.sprachwahl button[aria-current="true"] { background: var(--denim); color: #fff; }

.knopf {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.knopf-voll { background: var(--denim); color: #fff; }
.knopf-voll:hover { background: var(--schiefer); color: #fff; }
.knopf-rand {
  background: transparent;
  border-color: var(--rand);
  color: var(--denim);
  padding: 0.5rem 1rem;
  font-size: 0.92rem;
}
.knopf-rand:hover { border-color: var(--denim); background: var(--karte); }
.knopf svg { width: 1.05em; height: 1.05em; flex: none; }

.buehne { padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.buehne .huelle { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 62rem) {
  .buehne .huelle { grid-template-columns: 1fr auto; gap: 4rem; }
}
.ueberzeile {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--denim);
  background: rgba(47, 97, 135, 0.09);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.1rem;
}
.buehne-text p { font-size: 1.12rem; color: var(--gedaempft); max-width: 34em; }
.buehne-text .knopf { margin-top: 0.6rem; }
.buehne-notiz { display: block; margin-top: 0.85rem; font-size: 0.9rem; color: var(--gedaempft); }

.buehne-bild {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
}
.app-kachel {
  width: min(200px, 46vw);
  aspect-ratio: 1;
  border-radius: 23%;
  background: var(--karte);
  border: 1px solid var(--rand);
  box-shadow: 0 2px 4px rgba(20, 41, 58, 0.08), 0 14px 30px rgba(20, 41, 58, 0.12);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.app-kachel img { width: 66%; height: auto; }
.app-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gedaempft);
  letter-spacing: 0.01em;
}

.abschnitt { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.abschnitt-schmal { padding: clamp(2.5rem, 6vw, 4rem) 0 0; }
.abschnitt-schmal + .abschnitt { padding-top: 1.75rem; }
.zwischen { max-width: 40rem; }
.zwischen .fliesstext { color: var(--gedaempft); }

.raster {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.karte {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.karte h3 { margin-bottom: 0.4rem; }
.karte p:last-child { margin-bottom: 0; }
.karte-symbol {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(47, 97, 135, 0.1);
  color: var(--denim);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.karte-symbol svg { width: 22px; height: 22px; }

.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; max-width: 46rem; }
.schritt { display: grid; grid-template-columns: 2.6rem 1fr; gap: 1.1rem; align-items: start; }
.schritt-zahl {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--denim);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.schritt h3 { margin-bottom: 0.25rem; }
.schritt p:last-child { margin-bottom: 0; }
.schritt .fliesstext { color: var(--gedaempft); }

.abschluss {
  background: var(--schiefer);
  color: #e8eff4;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.abschluss h2 { color: #fff; }
.abschluss a { color: #a8cbe4; }
.abschluss .knopf-voll { background: var(--denim-hell); }
.abschluss .knopf-voll:hover { background: #4d8bb8; }

.textseite { padding: clamp(2rem, 5vw, 3.5rem) 0 4rem; }
.textseite .huelle { max-width: 46rem; }
.blatt {
  background: var(--karte);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  box-shadow: var(--schatten);
  padding: clamp(1.5rem, 4vw, 3rem);
}
.blatt-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.zurueck { font-size: 0.92rem; color: var(--gedaempft); text-decoration: none; }
.zurueck:hover { color: var(--denim); }

.fliesstext > :first-child { margin-top: 0; }
.fliesstext > :last-child { margin-bottom: 0; }
.fliesstext h2 { margin-top: 2rem; }
.fliesstext h3 { margin-top: 1.5rem; }
.fliesstext ul, .fliesstext ol { padding-left: 1.3rem; }
.fliesstext li { margin-bottom: 0.35rem; }
.fliesstext blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 3px solid var(--papier-akzent);
  color: var(--gedaempft);
}
.fliesstext code {
  background: var(--flaeche);
  border: 1px solid var(--rand);
  border-radius: 5px;
  padding: 0.1em 0.35em;
  font-size: 0.9em;
}
.fliesstext pre { background: var(--flaeche); border: 1px solid var(--rand); border-radius: 8px; padding: 1rem; overflow-x: auto; }
.fliesstext pre code { border: 0; background: none; padding: 0; }
.fliesstext table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: 0.95rem; }
.fliesstext th, .fliesstext td { border: 1px solid var(--rand); padding: 0.5rem 0.7rem; text-align: left; }
.fliesstext th { background: var(--flaeche); }

.hinweis {
  background: var(--warnung-flaeche);
  border: 1px solid #e3d3b4;
  border-radius: 10px;
  color: var(--warnung);
  padding: 0.8rem 1rem;
  font-size: 0.93rem;
  margin-bottom: 1.5rem;
}

.fuss {
  background: var(--karte);
  border-top: 1px solid var(--rand);
  padding: 2.5rem 0;
  font-size: 0.92rem;
  color: var(--gedaempft);
}
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.fuss a { color: var(--gedaempft); text-decoration: none; }
.fuss a:hover { color: var(--denim); text-decoration: underline; }
.fuss form { display: inline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
