@font-face {
  font-family: "Baloo 2";
  src: url("assets/Baloo2.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("assets/Nunito.ttf") format("truetype");
  font-weight: 200 1000;
  font-display: swap;
}

/* Farben aus dem App-Icon (brand/render-icons.ts): Verlauf Orange -> Violett,
   Ringe in Grün, Plakette in Koralle, Creme und Tinte. */
:root {
  --primary: #ff8a3d;
  --coral: #ff5f78;
  --purple: #8c6bff;
  --green: #4cd97b;
  --green-dark: #1f7a4d;
  --sky: #bfe6ff;
  --accent-text: #d4561a;
  --bg: #fff8f0;
  --surface: #ffffff;
  --text: #2a1e2f;
  --text-2: #6f6474;
  --line: rgba(42, 30, 47, 0.1);
  --shadow: 0 18px 50px -20px rgba(140, 107, 255, 0.35);
  --gradient: linear-gradient(135deg, var(--primary), var(--purple));
  --radius: 28px;
}
/* Dunkel: nach System, außer oben rechts umgeschaltet (theme.js setzt
   data-theme auf <html>). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --accent-text: #ffa266;
    --bg: #1d1720;
    --surface: #2a2230;
    --text: #fcf7ff;
    --text-2: #c3b6c7;
    --line: rgba(252, 247, 255, 0.12);
    --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
  }
}
:root[data-theme="dark"] {
  --accent-text: #ffa266;
  --bg: #1d1720;
  --surface: #2a2230;
  --text: #fcf7ff;
  --text-2: #c3b6c7;
  --line: rgba(252, 247, 255, 0.12);
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.7);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
.btn,
.brand {
  font-family: "Baloo 2", "Nunito", sans-serif;
  line-height: 1.1;
  margin: 0;
}
a {
  color: inherit;
}
img,
svg {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}
.grad-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
}
.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
nav.links {
  display: flex;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}
nav.links a {
  text-decoration: none;
  color: var(--text-2);
}
nav.links a:hover {
  color: var(--accent-text);
}
header.top .actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Mobile-Menü (details/summary, ohne Framework) */
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu .bars,
.menu .bars::before,
.menu .bars::after {
  display: block;
  width: 20px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease;
}
.menu .bars {
  position: relative;
}
.menu .bars::before,
.menu .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu .bars::before {
  top: -6px;
}
.menu .bars::after {
  top: 6px;
}
.menu[open] .bars {
  background: transparent;
}
.menu[open] .bars::before {
  transform: translateY(6px) rotate(45deg);
}
.menu[open] .bars::after {
  transform: translateY(-6px) rotate(-45deg);
}
.menu .panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(280px, calc(100vw - 32px));
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.menu .panel a:not(.btn) {
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
}
.menu .panel a:not(.btn):hover {
  background: var(--bg);
}
.menu .panel .btn {
  margin-top: 6px;
  justify-content: center;
}
@media (max-width: 760px) {
  nav.links {
    display: none;
  }
  .menu {
    display: block;
  }
  .btn.head-cta {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 12px 28px -10px var(--primary);
}
.btn.ghost {
  border-color: var(--line);
  background: var(--surface);
}
.btn.small {
  padding: 8px 20px;
  font-size: 1rem;
}
/* "Bald für ...": sieht aus wie ein Knopf, ist bis zum Store-Release aber
   bewusst kein Link. */
.btn.soon,
.btn.soon:hover {
  cursor: default;
  transform: none;
}
.btn.ghost.soon {
  color: var(--text-2);
  border-style: dashed;
}

/* Hero */
.hero {
  position: relative;
  /* Nur seitlich abschneiden, damit die Farbflecken unten weich auslaufen. */
  overflow-x: clip;
  padding: 72px 0 96px;
  isolation: isolate;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: -1;
}
.blob.b1 {
  width: 420px;
  height: 420px;
  background: var(--primary);
  top: -120px;
  left: -120px;
}
.blob.b2 {
  width: 380px;
  height: 380px;
  background: var(--purple);
  bottom: -100px;
  right: 8%;
}
.blob.b3 {
  width: 260px;
  height: 260px;
  background: var(--green);
  top: 30%;
  right: -80px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.pill {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.hero p.lead {
  font-size: 1.3rem;
  color: var(--text-2);
  max-width: 36ch;
  margin: 22px 0 32px;
}
.hero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero .fine {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-2);
}
@media (max-width: 860px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 40px 0 64px;
  }
}
@media (max-width: 520px) {
  .hero .cta .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Beispiel-Timesheet im Hero (reines HTML/CSS, kein Screenshot) */
.sheet {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
  max-width: 480px;
  width: 100%;
  margin-inline: auto;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.sheet-head b {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.3rem;
}
.sheet-head span {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 700;
}
.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}
.days span {
  display: grid;
  gap: 2px;
  text-align: center;
  padding: 6px 0;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-2);
  background: var(--bg);
}
.days span small {
  font-size: 0.72rem;
  font-weight: 700;
}
.days span.today {
  background: var(--gradient);
  color: #fff;
}
.entry {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
}
.entry b {
  display: block;
  font-weight: 800;
  line-height: 1.3;
}
.entry small {
  display: block;
  color: var(--text-2);
  font-weight: 700;
  font-size: 0.85rem;
}
.entry .code {
  display: inline-block;
  margin-right: 6px;
  padding: 0 7px;
  border-radius: 6px;
  background: var(--sky);
  color: #2a1e2f;
  font-size: 0.75rem;
  font-weight: 900;
  vertical-align: 2px;
}
.entry .dur {
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.entry.running .dur {
  color: var(--accent-text);
}
.entry.running {
  margin: 0 -10px;
  padding: 12px 10px;
  border-radius: 16px;
  border-top-color: transparent;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.entry.running + .entry {
  border-top-color: transparent;
}
.tb {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}
.tb svg {
  width: 16px;
  height: 16px;
}
.tb.stop {
  background: var(--coral);
  border-color: transparent;
  color: #fff;
}
.sheet-total {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--gradient);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.2rem;
}
.sheet-total small {
  font-family: "Nunito", sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  opacity: 0.9;
  align-self: center;
}
@media (max-width: 860px) {
  .sheet {
    transform: none;
  }
}
@media (max-width: 420px) {
  .sheet {
    padding: 16px;
  }
  .days {
    gap: 4px;
  }
  .entry {
    gap: 8px;
  }
}

/* Chips */
.chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 0 0 8px;
}
.chips span {
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #2a1e2f;
}

/* Sections */
section {
  padding: 88px 0;
}
.eyebrow {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: var(--accent-text);
  margin-bottom: 10px;
}
h2 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}
.section-head p {
  color: var(--text-2);
  font-size: 1.15rem;
  margin: 16px 0 0;
}

/* Timer-Highlight */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 40px;
  padding: 56px;
  box-shadow: var(--shadow);
}
.spotlight h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}
.spotlight p {
  font-size: 1.2rem;
  opacity: 0.95;
}
.spotlight ul {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  font-weight: 800;
}
.spotlight li {
  padding-left: 1.4em;
  text-indent: -1.4em;
}
.spotlight li::before {
  content: "✓ ";
  display: inline-block;
  width: 1.4em;
  text-indent: 0;
  color: #fff3c4;
}
.stopwatch {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  padding: 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: grid;
  gap: 14px;
}
.stopwatch .face {
  background: var(--surface);
  color: var(--text);
  border-radius: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.stopwatch .face img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  flex: none;
}
.stopwatch .face small {
  display: block;
  color: var(--text-2);
  font-weight: 800;
}
.stopwatch .face .time {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Baloo 2", sans-serif;
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.dot {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--coral);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.3;
  }
}
.stopwatch .row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  color: #2a1e2f;
  border-radius: 18px;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 0.95rem;
}
.stopwatch .row {
  flex-wrap: wrap;
}
.stopwatch .row span:last-child {
  color: #6f6474;
  white-space: nowrap;
}
@media (max-width: 860px) {
  .spotlight {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }
}
@media (max-width: 420px) {
  .stopwatch {
    padding: 16px;
  }
  .stopwatch .face {
    padding: 16px;
    gap: 12px;
  }
  .stopwatch .face img {
    width: 48px;
    height: 48px;
  }
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.card .ico {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-content: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  margin: 0;
  color: var(--text-2);
}
.card.later {
  background: transparent;
  border-style: dashed;
}
.badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--gradient);
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.5;
}
.badge.muted {
  background: var(--line);
  color: var(--text-2);
}

/* Teams */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split p {
  color: var(--text-2);
  font-size: 1.15rem;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
  font-weight: 800;
}
.checks li {
  padding-left: 1.4em;
  text-indent: -1.4em;
}
.checks li::before {
  content: "✓ ";
  display: inline-block;
  width: 1.4em;
  text-indent: 0;
  color: var(--accent-text);
}
.roles {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 28px;
  box-shadow: var(--shadow);
}
.roles .role {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.roles .role:last-child {
  border: 0;
}
.roles .role b {
  justify-self: start;
  padding: 3px 14px;
  border-radius: 999px;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.05rem;
  color: #2a1e2f;
}
.roles .role span {
  color: var(--text-2);
  font-size: 0.98rem;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .roles {
    padding: 8px 20px;
  }
  .roles .role {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Plattformen */
.platforms .card {
  display: flex;
  flex-direction: column;
}
.platforms .card p {
  flex: 1;
}
.platforms .status {
  margin-top: 18px;
  font-weight: 800;
  font-size: 0.95rem;
}
.platforms .status a {
  color: var(--accent-text);
  text-decoration: none;
}
.platforms .status a:hover {
  text-decoration: underline;
}
.platforms .status.soon {
  color: var(--text-2);
}
.platforms .card.live {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--gradient) border-box;
}

/* Schritte */
.steps {
  counter-reset: s;
}
.steps .card::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-family: "Baloo 2", sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* Datenschutz-Band */
.trust {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.trust .grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.trust .item {
  text-align: center;
}
.trust .item .ico {
  font-size: 2.2rem;
}
.trust .item b {
  display: block;
  font-family: "Baloo 2", sans-serif;
  font-size: 1.25rem;
  margin: 6px 0 4px;
}
.trust .item span {
  color: var(--text-2);
  font-size: 0.98rem;
}
.trust-more {
  margin: 40px 0 0;
  text-align: center;
  color: var(--text-2);
}
.trust-more a {
  color: var(--accent-text);
  font-weight: 800;
}

/* Über */
.about {
  display: flex;
  gap: 28px;
  align-items: center;
  max-width: 760px;
  margin-inline: auto;
}
.about img {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  flex: none;
  box-shadow: var(--shadow);
}
.about p {
  margin: 8px 0 0;
  color: var(--text-2);
}
.about a {
  color: var(--accent-text);
}
@media (max-width: 600px) {
  .about {
    flex-direction: column;
    text-align: center;
  }
}

/* Schluss-CTA */
.final {
  text-align: center;
  background: var(--gradient);
  color: #fff;
  border-radius: 40px;
  padding: 72px 24px;
  box-shadow: var(--shadow);
}
.final p {
  font-size: 1.25rem;
  opacity: 0.95;
  margin: 16px auto 32px;
  max-width: 46ch;
}
.final .btn {
  background: #fff;
  color: #2a1e2f;
}

footer {
  padding: 40px 0 56px;
  color: var(--text-2);
  font-size: 0.95rem;
}
footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  gap: 22px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .sheet {
    transform: none;
  }
}

/* Umschalter Hell/Dunkel im Header */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.theme-toggle:hover {
  color: var(--accent-text);
}
.theme-toggle svg {
  width: 20px;
  height: 20px;
}
.theme-toggle .moon,
:root[data-theme="dark"] .theme-toggle .sun {
  display: none;
}
:root[data-theme="dark"] .theme-toggle .moon {
  display: block;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun {
    display: none;
  }
  :root:not([data-theme="light"]) .theme-toggle .moon {
    display: block;
  }
}

/* Rechtstexte (erzeugt von tools/build-legal-pages.ts aus legal/*.md) */
main.legal {
  max-width: 760px;
  padding: 48px 0 72px;
  overflow-wrap: break-word;
  hyphens: manual;
}
.legal h1,
.legal h2 {
  hyphens: auto;
}
.legal h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.legal h2 {
  font-size: clamp(1.35rem, 3.6vw, 1.7rem);
  font-weight: 700;
  margin: 2.2em 0 0.5em;
  scroll-margin-top: 80px;
}
.legal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 1.6em 0 0.4em;
}
.legal p,
.legal ul {
  margin: 0 0 1em;
}
.legal ul {
  padding-left: 1.3em;
}
.legal li {
  margin-bottom: 0.4em;
}
.legal li::marker {
  color: var(--accent-text);
}
.legal a {
  color: var(--accent-text);
  text-underline-offset: 2px;
}
.legal .fine {
  color: var(--text-2);
  font-size: 0.95rem;
}
.legal .lang-switch {
  margin: 0 0 16px;
  font-weight: 800;
  font-size: 0.95rem;
}
.legal .lang-switch a {
  text-decoration: none;
}
.legal .note {
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.legal .table {
  overflow-x: auto;
  margin: 0 0 1.2em;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.92rem;
  line-height: 1.45;
}
.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}
.legal th {
  font-weight: 800;
}
.legal tr:last-child td {
  border-bottom: 0;
}
.legal .back {
  margin-top: 2.5em;
  font-weight: 800;
}
footer nav {
  flex-wrap: wrap;
  gap: 8px 22px;
}
footer nav a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
}
/* Schmal: Tabellenzeilen als Karten, Spaltenname vor jedem Wert. */
@media (max-width: 640px) {
  .legal .table {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .legal table,
  .legal tbody,
  .legal tr,
  .legal td {
    display: block;
    min-width: 0;
  }
  .legal thead {
    display: none;
  }
  .legal tr {
    margin-bottom: 14px;
    padding: 6px 0;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
  }
  .legal td {
    border-bottom: 0;
    padding: 6px 16px;
  }
  .legal td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    color: var(--text-2);
    font-size: 0.8rem;
  }
}
