/* Tresenfrei – one stylesheet. Everything comes from this server: no CDNs, no external fonts.
   Fonts: Inter and Newsreader (SIL Open Font License 1.1), subset and self-hosted in /fonts. */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-italic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  color-scheme: light dark;

  --paper: #f7f6f2;
  --surface: #ffffff;
  --surface-2: #f0f3ef;
  --ink: #0f1e1b;
  --text: #283633;
  --muted: #55625e;
  --line: #e2e5df;
  --line-strong: #cfd6cf;

  --brand: #0c6152;
  --brand-hover: #094d41;
  --brand-ink: #0a5547;
  --brand-tint: #e2eee9;
  --brand-tint-2: #d2e5dd;
  --on-brand: #ffffff;
  --glow: rgb(12 97 82 / 9%);
  --dot: rgb(12 97 82 / 16%);

  --band: #0d3a33;
  --band-2: #11463e;
  --band-ink: #f1f7f4;
  --band-text: #c9dbd4;
  --band-accent: #8fd9c5;
  --band-line: rgb(255 255 255 / 11%);

  --focus: #b4510c;
  --shadow-color: 165deg 30% 12%;
  --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 6%);
  --shadow-md: 0 1px 2px hsl(var(--shadow-color) / 5%), 0 10px 28px -8px hsl(var(--shadow-color) / 14%);
  --shadow-lg: 0 2px 6px hsl(var(--shadow-color) / 5%), 0 28px 56px -16px hsl(var(--shadow-color) / 22%);

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Newsreader", ui-serif, Georgia, Cambria, "Times New Roman", serif;

  --wrap: 74rem;
  --gutter: 1.25rem;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --header-h: 4.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1312;
    --surface: #111b19;
    --surface-2: #15211f;
    --ink: #edf3f1;
    --text: #cbd7d3;
    --muted: #9eaeaa;
    --line: #22312e;
    --line-strong: #31433f;

    --brand: #5fc4ab;
    --brand-hover: #82d5c0;
    --brand-ink: #7cd3bd;
    --brand-tint: #15302a;
    --brand-tint-2: #1b3c35;
    --on-brand: #04201a;
    --glow: rgb(95 196 171 / 9%);
    --dot: rgb(95 196 171 / 14%);

    --band: #0f2521;
    --band-2: #133029;
    --band-ink: #edf3f1;
    --band-text: #bccdc7;
    --band-accent: #7cd3bd;
    --band-line: rgb(255 255 255 / 9%);

    --focus: #ffb35c;
    --shadow-color: 170deg 40% 2%;
    --shadow-sm: 0 1px 2px hsl(var(--shadow-color) / 40%);
    --shadow-md: 0 1px 2px hsl(var(--shadow-color) / 40%), 0 10px 28px -8px hsl(var(--shadow-color) / 55%);
    --shadow-lg: 0 2px 6px hsl(var(--shadow-color) / 40%), 0 28px 56px -16px hsl(var(--shadow-color) / 70%);
  }
}

@media (min-width: 40rem) {
  :root {
    --gutter: 2rem;
  }
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 1rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "calt", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
  hyphens: auto;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  color: var(--ink);
  hyphens: manual;
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.018em;
}

h1 {
  font-size: clamp(2.6rem, 1.55rem + 4.3vw, 4.5rem);
  line-height: 1.02;
}

h2 {
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

p,
ul,
ol,
dl,
address {
  margin: 0 0 1rem;
}

p {
  text-wrap: pretty;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

a {
  color: var(--brand-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

svg {
  flex-shrink: 0;
}

.ico {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

#inhalt {
  flex: 1 0 auto;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -10rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}

.mark-bg {
  fill: var(--brand);
}

.mark-fg {
  fill: none;
  stroke: var(--on-brand);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--surface-2);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .header-cta {
  display: none;
}

@media (min-width: 40rem) {
  .header-actions .header-cta {
    display: inline-flex;
  }
}

@media (min-width: 62rem) {
  html {
    scroll-padding-top: calc(var(--header-h) + 1.5rem);
  }

  .site-header {
    position: sticky;
    top: 0;
    background: var(--paper);
    background: color-mix(in srgb, var(--paper) 84%, transparent);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
  }

  .site-nav {
    display: block;
    margin-inline: auto;
  }

  .brand {
    margin-right: 0;
  }
}

/* Mobile menu: a <details> disclosure, no JavaScript. */

.menu {
  position: static;
}

.menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0 1rem 0 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary:hover {
  border-color: var(--muted);
}

.menu .menu-close,
.menu[open] .menu-open {
  display: none;
}

.menu[open] .menu-close {
  display: inline;
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: var(--gutter);
  left: var(--gutter);
  z-index: 50;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.menu-panel ul {
  margin: 0 0 0.5rem;
  padding: 0;
  list-style: none;
}

.menu-panel li + li {
  border-top: 1px solid var(--line);
}

.menu-panel a:not(.button) {
  display: block;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.menu-panel a:not(.button):hover {
  color: var(--brand-ink);
}

.menu-panel .button {
  width: 100%;
}

@media (min-width: 40rem) {
  .menu-panel {
    left: auto;
    width: 20rem;
  }
}

@media (min-width: 62rem) {
  .menu {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.875rem;
  padding: 0.65rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.button-sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.05rem;
  font-size: 0.9375rem;
}

.button-lg {
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  font-size: 1.0625rem;
}

.button-primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 1px 2px hsl(var(--shadow-color) / 16%), 0 4px 12px -6px hsl(var(--shadow-color) / 35%);
}

.button-primary:hover {
  background: var(--brand-hover);
}

.button-quiet {
  border-color: var(--line-strong);
  background: var(--surface);
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--muted);
}

.button-on-dark {
  background: #ffffff;
  color: #0d3a33;
}

.button-on-dark:hover {
  background: #e3f3ed;
}

.button .ico {
  width: 1.15rem;
  height: 1.15rem;
}

@media (prefers-reduced-motion: no-preference) {
  .button {
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  }

  .button:hover .ico {
    transform: translateX(2px);
    transition: transform 0.15s ease;
  }
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.actions-center {
  justify-content: center;
}

@media (max-width: 26rem) {
  .actions .button-lg {
    width: 100%;
  }
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(4.5rem, 2.75rem + 6vw, 8rem);
}

.section-surface {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.section-head {
  max-width: 42rem;
  margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem);
}

.section-head > p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--brand-ink);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.subhead {
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--brand-ink);
  box-shadow: var(--shadow-sm);
}

.icon-tile .ico {
  width: 1.375rem;
  height: 1.375rem;
}

.icon-tile-brand {
  border-color: transparent;
  background: var(--brand);
  color: var(--on-brand);
}

.icon-tile-small {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 10px;
}

.icon-tile-small .ico {
  width: 1.125rem;
  height: 1.125rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 5vw, 6rem);
  background:
    radial-gradient(48rem 28rem at 88% -8%, var(--glow), transparent 70%),
    radial-gradient(36rem 24rem at -10% 110%, var(--glow), transparent 70%);
}

.hero-grid {
  display: grid;
  gap: clamp(2.75rem, 2rem + 3vw, 4rem);
  align-items: center;
}

@media (min-width: 62rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    gap: 4.5rem;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  padding: 0.35rem 0.9rem 0.35rem 0.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 550;
  box-shadow: var(--shadow-sm);
}

.pill-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-tint);
}

.hero h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  color: var(--brand-ink);
  font-style: italic;
}

.lead {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  line-height: 1.6;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-facts .ico {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--brand);
  stroke-width: 2.2;
}

/* Hero illustration */

.hero-visual {
  position: relative;
  isolation: isolate;
  margin: 0 calc(-1 * var(--gutter));
  padding: 1.5rem 0.5rem;
  border-block: 1px solid var(--line);
  background: linear-gradient(160deg, var(--brand-tint) 0%, var(--surface-2) 70%);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: radial-gradient(var(--dot) 1.1px, transparent 1.5px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 35%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 70% at 65% 35%, #000 30%, transparent 80%);
}

@media (max-width: 39.99rem) {
  .hero {
    padding-bottom: 0;
  }

  .hero-visual {
    border-bottom: 0;
  }
}

@media (min-width: 40rem) {
  .hero-visual {
    margin: 0;
    padding: clamp(1.5rem, 1rem + 2.5vw, 2.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
  }
}

.hv {
  display: block;
  width: 100%;
  max-width: 26rem;
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.hv-t {
  font-family: var(--font-sans);
}

.hv-strong {
  fill: var(--ink);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hv-small {
  fill: var(--muted);
  font-size: 12.5px;
}

.hv-ink2 {
  fill: var(--text);
  font-weight: 500;
}

.hv-quote {
  fill: var(--text);
  font-size: 13.5px;
}

.hv-label {
  fill: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hv-value {
  fill: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.hv-tag-text {
  fill: var(--brand-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.hv-tag-muted {
  fill: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.hv-card {
  fill: var(--surface);
  stroke: var(--line);
  stroke-width: 1;
}

.hv-shadow {
  flood-color: #0f2a25;
  flood-opacity: 0.1;
}

.hv-brand {
  fill: var(--brand);
}

.hv-tint,
.hv-tag {
  fill: var(--brand-tint);
}

.hv-bubble,
.hv-foot {
  fill: var(--surface-2);
}

.hv-tag-outline {
  fill: none;
  stroke: var(--line-strong);
}

.hv-divider {
  fill: none;
  stroke: var(--line);
}

.hv-flow {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.6;
  stroke-dasharray: 2 6;
  stroke-linecap: round;
  opacity: 0.7;
}

.hv-node {
  fill: var(--brand);
}

.hv-on-brand-stroke,
.hv-brand-stroke {
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hv-on-brand-stroke {
  stroke: var(--on-brand);
}

.hv-brand-stroke {
  stroke: var(--brand-ink);
}

.hv-thin {
  stroke-width: 1.9;
}

.hv-ripple {
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.5;
  opacity: 0.3;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(1.32);
}

.hv-bar {
  transform-box: fill-box;
  transform-origin: center;
}

@media (prefers-color-scheme: dark) {
  .hv-shadow {
    flood-color: #000000;
    flood-opacity: 0.5;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hv-ripple {
    animation: hv-ripple 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) infinite;
  }

  .hv-bar {
    animation: hv-bar 1.3s ease-in-out infinite;
  }

  .hv-bar:nth-child(2) {
    animation-delay: -0.25s;
  }

  .hv-bar:nth-child(3) {
    animation-delay: -0.5s;
  }

  .hv-bar:nth-child(4) {
    animation-delay: -0.75s;
  }

  .hv-bar:nth-child(5) {
    animation-delay: -1s;
  }

  .hv-flow {
    animation: hv-dash 1.2s linear infinite;
  }
}

@keyframes hv-ripple {
  from {
    transform: scale(1);
    opacity: 0.5;
  }

  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes hv-bar {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(0.45);
  }
}

@keyframes hv-dash {
  to {
    stroke-dashoffset: -16;
  }
}

/* ---------- Problem ---------- */

.section-problem {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.problem-list {
  display: grid;
  gap: 2.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 52rem) {
  .problem-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }

  .problem-list li {
    padding-inline: 2.25rem;
    border-left: 1px solid var(--line);
  }

  .problem-list li:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .problem-list li:last-child {
    padding-right: 0;
  }
}

.problem-list .icon-tile {
  margin-bottom: 1.25rem;
}

.problem-list h3 {
  margin-bottom: 0.5rem;
}

.problem-list p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Modules ---------- */

.modules {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 60rem) {
  .modules {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  .module-main {
    grid-row: span 2;
  }
}

.module {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.module-main {
  border-color: var(--brand-tint-2);
  background:
    radial-gradient(32rem 18rem at 100% 0%, var(--glow), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow-md);
}

.module-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.module h3 {
  margin-bottom: 0.4rem;
  font-size: 1.3125rem;
}

.module-main h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.module-intro {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.module-main .module-intro {
  font-size: 1.125rem;
}

.module-note {
  display: flex;
  gap: 0.6rem;
  margin: auto 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.module-when {
  margin-bottom: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.module-when-title {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--brand-tint-2);
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand-ink);
  font-size: 0.875rem;
  font-weight: 550;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
}

.status-now {
  background: var(--brand-tint);
  color: var(--brand-ink);
}

.status-now::before {
  background: var(--brand);
}

.status-later {
  border: 1px solid var(--line-strong);
  color: var(--muted);
}

.status-later::before {
  border: 1.5px solid currentColor;
}

.checklist {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.checklist:last-child {
  margin-bottom: 0;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--brand-tint);
}

.checklist li::after {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.42em;
  width: 0.34rem;
  height: 0.6rem;
  border: solid var(--brand-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checklist-quiet li::before {
  background: var(--surface-2);
}

.checklist-quiet li::after {
  border-color: var(--muted);
}

.callout {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.callout p {
  margin: 0.2rem 0 0;
}

/* ---------- Flow and steps ---------- */

.flow {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 clamp(3.5rem, 3rem + 2vw, 5rem);
  padding: 0;
  list-style: none;
}

@media (min-width: 56rem) {
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
  }
}

.flow li {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.flow li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.75px solid var(--brand);
  border-bottom: 1.75px solid var(--brand);
  transform: translateX(-50%) rotate(45deg);
}

@media (min-width: 56rem) {
  .flow li:not(:last-child)::after {
    left: auto;
    right: -1.35rem;
    bottom: auto;
    top: 2.35rem;
    transform: rotate(-45deg);
  }
}

.flow li:last-child {
  border-color: var(--brand-tint-2);
  background: var(--brand-tint);
}

.flow-icon {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-ink);
  box-shadow: 0 0 0 1px var(--line);
}

.flow li:last-child .flow-icon {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: none;
}

.flow-title {
  margin-bottom: 0.3rem;
  color: var(--ink);
  font-weight: 600;
}

.flow li p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.96875rem;
  line-height: 1.55;
}

.steps {
  display: grid;
  gap: 2rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.steps li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--line);
  counter-increment: step;
}

.steps li:first-child {
  border-top-color: var(--brand);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.steps h4 {
  margin-bottom: 0.4rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Band: Datenschutz ---------- */

.band {
  --focus: #ffc27d;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(50rem 26rem at 100% 0%, rgb(143 217 197 / 10%), transparent 70%),
    var(--band);
  color: var(--band-text);
}

.band h2,
.band h3 {
  color: var(--band-ink);
}

.band .eyebrow {
  color: var(--band-accent);
}

.band .section-head > p:not(.eyebrow) {
  color: var(--band-text);
}

.band a {
  color: var(--band-ink);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--band-line);
  border-radius: var(--radius-lg);
  background: var(--band-line);
  list-style: none;
}

.trust-grid li {
  padding: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  background: var(--band);
}

.trust-grid .icon-tile {
  margin-bottom: 1.25rem;
  border-color: var(--band-line);
  background: rgb(255 255 255 / 6%);
  color: var(--band-accent);
  box-shadow: none;
}

.trust-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1.125rem;
}

.trust-grid p {
  margin: 0;
  font-size: 0.96875rem;
}

.band-note {
  margin: 2rem 0 0;
  color: var(--band-text);
  font-size: 0.9375rem;
}

/* ---------- Pilot ---------- */

.pilot {
  display: grid;
  gap: 2.5rem;
  padding: clamp(1.5rem, 0.75rem + 3.5vw, 4rem);
  border: 1px solid var(--brand-tint-2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(40rem 24rem at 0% 0%, var(--surface) 0%, transparent 60%),
    linear-gradient(150deg, var(--brand-tint) 0%, var(--surface-2) 100%);
}

@media (max-width: 39.99rem) {
  .pilot {
    margin-inline: calc(-1 * var(--gutter));
    padding: 2.5rem var(--gutter);
    border-inline: 0;
    border-radius: 0;
  }

  .pilot-card {
    padding: 1.5rem 1.25rem;
  }
}

@media (min-width: 62rem) {
  .pilot {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: 4rem;
  }
}

.pilot-intro p:not(.eyebrow) {
  color: var(--text);
  font-size: 1.125rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
}

.chips .ico {
  width: 1rem;
  height: 1rem;
  margin-left: -0.15rem;
  color: var(--brand-ink);
}

.pilot-card {
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.pilot-card h3 {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
}

.pilot-card .checklist {
  margin-bottom: 1.75rem;
}

.pilot-card .button {
  width: 100%;
}

/* ---------- FAQ ---------- */

@media (min-width: 62rem) {
  .faq-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 5rem;
    align-items: start;
  }

  .faq-head {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
  }
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  position: relative;
  padding: 1.35rem 3.25rem 1.35rem 0;
  color: var(--ink);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background:
    linear-gradient(var(--brand-ink), var(--brand-ink)) center / 0.75rem 1.75px no-repeat,
    linear-gradient(var(--brand-ink), var(--brand-ink)) center / 1.75px 0.75rem no-repeat;
}

.faq details[open] summary::after {
  background:
    linear-gradient(var(--brand-ink), var(--brand-ink)) center / 0.75rem 1.75px no-repeat;
  border-color: var(--brand-tint-2);
  background-color: var(--brand-tint);
}

.faq summary:hover {
  color: var(--brand-ink);
}

.faq summary:focus-visible {
  outline-offset: 4px;
}

.faq-body {
  max-width: 44rem;
  padding: 0 3.25rem 1.5rem 0;
  color: var(--muted);
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Final call to action ---------- */

.section-cta {
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.25rem, 0.5rem + 4vw, 4rem);
  border: 1px solid var(--band-line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(42rem 22rem at 50% -20%, rgb(143 217 197 / 22%), transparent 70%),
    var(--band);
  color: var(--band-text);
  text-align: center;
  --focus: #ffc27d;
}

.cta-panel h2 {
  max-width: 18ch;
  margin-inline: auto;
  color: var(--band-ink);
}

.cta-panel .eyebrow {
  color: var(--band-accent);
}

.cta-mark {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  padding: 0.6rem;
  border: 1px solid var(--band-line);
  border-radius: 14px;
  background: rgb(255 255 255 / 6%);
  fill: none;
  stroke: var(--band-accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cta-text {
  max-width: 36rem;
  margin-inline: auto;
  font-size: 1.125rem;
}

.cta-panel .actions {
  margin-top: 2rem;
}

.cta-hint {
  margin: 1.5rem 0 0;
  font-size: 0.875rem;
}

/* ---------- Footer ---------- */

.site-footer {
  padding-top: clamp(3rem, 2.5rem + 2vw, 4.5rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem 2rem;
  padding-bottom: 3rem;
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 62rem) {
  .footer-grid {
    grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: auto;
  }
}

.footer-brand p {
  max-width: 22rem;
  margin: 1rem 0 0;
}

.footer-brand .brand-name {
  font-size: 1.375rem;
}

.footer-title {
  margin-bottom: 0.9rem;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-nav ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: var(--text);
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
  color: var(--brand-ink);
  text-decoration: underline;
}

.footer-bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.5rem;
  font-size: 0.875rem;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--gutter);
  left: var(--gutter);
  border-top: 1px solid var(--line);
}

.footer-bottom p {
  margin: 0;
}

.site-footer-compact {
  padding-top: 0;
}

.site-footer-compact .footer-bottom::before {
  display: none;
}

.footer-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-inline a {
  color: var(--text);
  text-decoration: none;
}

.footer-inline a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}

/* ---------- Legal pages and 404 ---------- */

.page-head {
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 0;
  background:
    radial-gradient(40rem 20rem at 90% -10%, var(--glow), transparent 70%);
}

.legal {
  max-width: calc(46rem + 2 * var(--gutter));
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(4rem, 3rem + 4vw, 6.5rem);
}

.legal h1 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 1.8rem + 2.6vw, 3.5rem);
}

.legal h2 {
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
}

.legal ul {
  padding-left: 1.25rem;
}

.legal li {
  margin-bottom: 0.3rem;
}

.legal li::marker {
  color: var(--brand);
}

.legal address {
  margin-bottom: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-style: normal;
}

.legal .nowrap {
  white-space: nowrap;
}

.legal .meta {
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9375rem;
}

.legal .box {
  margin-block: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--brand-tint-2);
  border-radius: var(--radius-md);
  background: var(--brand-tint);
  color: var(--ink);
}

.legal .box h3 {
  margin-top: 0;
}

.legal .box p:last-child {
  margin-bottom: 0;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 62vh;
}

.not-found .code {
  margin-bottom: 0.5rem;
  color: var(--brand-ink);
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 3rem + 6vw, 7.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
}

.not-found h1 {
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3rem);
}

.not-found .lead {
  max-width: 34rem;
}

/* ---------- Print ---------- */

@media print {
  .site-nav,
  .header-actions,
  .skip-link,
  .actions,
  .hero-visual {
    display: none;
  }

  body,
  .band,
  .cta-panel {
    background: #ffffff;
    color: #000000;
  }

  .band h2,
  .band h3,
  .cta-panel h2 {
    color: #000000;
  }

  .site-header {
    position: static;
  }
}
