/* mummentum GmbH Website, Entwurf 1
   Basis: FUSION (Geist 400, Graustufen, Haarlinien, Dither und ASCII).
   Zwei gleichwertige Themes: dunkel (obsidian/chalk) und hell (paper/ink). */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --font-sans: "Geist", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --frame: 1180px;
  --gutter: 20px;
  --pad-x: clamp(20px, 4vw, 40px);
  --section-y: clamp(80px, 9vw, 128px);
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  color-scheme: dark;
  --bg: #101010;
  --bg-deep: #0b0b0b;
  --surface: #141414;
  --lift: #191919;
  --line: #212121;
  --line-strong: #3d3d3d;
  --ink: #f3f3f3;
  --ink-2: #9c9c9c;
  --ink-3: #5c5c5c;
  --cta-bg: #f3f3f3;
  --cta-ink: #101010;
  --dither: #f3f3f3;
  --nav-bg: rgba(16, 16, 16, 0.92);
  --pill-bg: rgba(11, 11, 11, 0.85);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f3f3;
  --bg-deep: #e9e9e9;
  --surface: #ececec;
  --lift: #e2e2e2;
  --line: #d2d2d2;
  --line-strong: #a3a3a3;
  --ink: #0b0b0b;
  --ink-2: #5f5f5f;
  --ink-3: #8c8c8c;
  --cta-bg: #0b0b0b;
  --cta-ink: #f3f3f3;
  --dither: #0b0b0b;
  --nav-bg: rgba(243, 243, 243, 0.92);
  --pill-bg: rgba(243, 243, 243, 0.9);
}

/* Invertierte Abschnitte: im Dunkelmodus hell, im Hellmodus dunkel. --edge ist die Farbe der Umgebung. */
.invert {
  color-scheme: light;
  --bg: #f3f3f3;
  --bg-deep: #e9e9e9;
  --surface: #ececec;
  --lift: #e2e2e2;
  --line: #d2d2d2;
  --line-strong: #a3a3a3;
  --ink: #0b0b0b;
  --ink-2: #5f5f5f;
  --ink-3: #8c8c8c;
  --cta-bg: #0b0b0b;
  --cta-ink: #f3f3f3;
  --dither: #0b0b0b;
  --edge: #101010;
  color: var(--ink);
}
:root[data-theme="light"] .invert {
  color-scheme: dark;
  --bg: #101010;
  --bg-deep: #0b0b0b;
  --surface: #141414;
  --lift: #191919;
  --line: #212121;
  --line-strong: #3d3d3d;
  --ink: #f3f3f3;
  --ink-2: #9c9c9c;
  --ink-3: #5c5c5c;
  --cta-bg: #f3f3f3;
  --cta-ink: #101010;
  --dither: #f3f3f3;
  --edge: #f3f3f3;
}

/* ------------------------------------------------------------------- Basis */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  margin: 0;
  overflow-wrap: break-word;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--ink);
  color: var(--bg);
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg,
canvas {
  display: block;
}

canvas.dither {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--cta-bg);
  color: var(--cta-ink);
  font-size: 14px;
  border-radius: 999px;
}
.skip-link:focus {
  top: 12px;
}

/* ----------------------------------------------------------------- Layout */

.wrap {
  width: min(var(--frame), 100% - 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--pad-x);
  position: relative;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  background: var(--bg);
  border-top: 1px solid var(--line);
}
/* --------------------------------------------------------------- Typografie */

.meta {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.subhead {
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink-2);
}
.eyebrow {
  font-size: clamp(15px, 1.3vw, 17px);
  letter-spacing: -0.005em;
  color: var(--ink-2);
}

.display {
  font-size: clamp(44px, 7.4vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.headline {
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.032em;
}
.title {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 34em;
}
.body {
  font-size: 17px;
  line-height: 1.6;
  max-width: 36em;
}
.muted {
  color: var(--ink-2);
}
.dim {
  color: var(--ink-3);
}
.tnum {
  font-variant-numeric: tabular-nums;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 80px);
}
@media (min-width: 900px) {
  .section-head.is-split {
    grid-template-columns: 5fr 6fr;
    align-items: end;
    gap: 40px 80px;
  }
}

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

.btn {
  --h: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
  background: none;
  color: inherit;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.pixel-arrow.arrow {
  width: 14px;
  height: 10px;
  flex: none;
}
.btn .arrow {
  transition: transform 0.35s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn-primary {
  background: var(--cta-bg);
  color: var(--cta-ink);
}
.btn-primary:hover {
  opacity: 0.9;
}
.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--lift);
}
.btn-ghost {
  padding-inline: 4px;
  color: var(--ink-2);
}
.btn-ghost:hover {
  color: var(--ink);
}
.btn-sm {
  --h: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-lg {
  --h: 56px;
  padding: 0 30px;
  font-size: 16px;
}

/* --------------------------------------------------------------- Navigation */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand svg {
  width: 30px;
  height: auto;
}
.brand-word {
  font-size: 19px;
  letter-spacing: -0.03em;
  line-height: 1;
  transform: translateY(-1px);
}
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  /* Gleicher Abstand zum Logo und zu den Aktionen rechts */
  margin-inline: auto;
}
.nav-links a {
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  padding-block: 6px;
  transition: color 0.2s;
}
.nav-links > a:hover,
.nav-drop > a:hover,
.nav-links a.is-current,
.nav-drop.is-open > a {
  color: var(--ink);
}
/* Eine Linie für alle Punkte, sie gleitet zum aktuellen Abschnitt */
.nav-indicator {
  position: absolute;
  left: 0;
  bottom: 12px;
  width: 1px;
  height: 1px;
  background: var(--ink);
  transform-origin: left;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.55s var(--ease), opacity 0.3s var(--ease);
}
.nav-indicator.is-on {
  opacity: 1;
}
.nav-links > a,
.nav-drop > a {
  padding-block: 21px;
}
.nav-drop {
  position: relative;
}
.nav-drop > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.nav-chevron {
  width: 7px;
  height: 5px;
  fill: currentColor;
  shape-rendering: crispEdges;
  transition: transform 0.3s var(--ease);
}
.nav-drop.is-open .nav-chevron {
  transform: rotate(180deg);
}
.nav-drop-panel {
  position: absolute;
  z-index: 3;
  top: calc(100% + 8px);
  left: 50%;
  width: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-deep);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -6px);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s 0.35s;
}
/* unsichtbare Brücke, damit das Menü beim Hinüberfahren offen bleibt */
.nav-drop-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease);
}
.nav-drop-panel a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.nav-drop-panel a:hover,
.nav-drop-panel a:focus-visible {
  background: var(--lift);
}
.nd-icon {
  position: relative;
  width: 52px;
  height: 52px;
}
.nd-icon canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.nd-text {
  display: grid;
  gap: 2px;
}
.nd-title {
  font-size: 15px;
  color: var(--ink);
}
.nd-sub {
  font-size: 13px;
  color: var(--ink-2);
}
.nav-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.25s var(--ease);
}
.theme-toggle:hover {
  background: var(--lift);
}
.theme-toggle .tt-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: linear-gradient(90deg, var(--ink) 50%, transparent 50%);
  transition: transform 0.6s var(--ease);
}
:root[data-theme="light"] .theme-toggle .tt-icon {
  transform: rotate(180deg);
}

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
}

.menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.menu-btn span {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), background-color 0.2s;
}
.menu-btn span::before,
.menu-btn span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.menu-btn span::before {
  top: -5px;
}
.menu-btn span::after {
  top: 5px;
}
.nav.is-open .menu-btn span {
  background: transparent;
}
.nav.is-open .menu-btn span::before {
  transform: translateY(5px) rotate(45deg);
}
.nav.is-open .menu-btn span::after {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .nav-meta {
    margin-left: auto;
  }
  .nav-links,
  .nav .btn-nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .mobile-menu {
    display: block;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    z-index: 99;
    background: var(--bg);
    padding: 4px var(--pad-x) 32px;
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
  }
  .nav.is-open + .mobile-menu {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
  }
  .mobile-menu ol {
    border-top: 0;
  }
  .mobile-menu li a {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 30px;
    letter-spacing: -0.03em;
  }
  .mobile-menu .mm-sub {
    padding: 4px 0 12px 4px;
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu .mm-sub a {
    display: block;
    padding: 7px 0;
    border: 0;
    font-size: 17px;
    letter-spacing: 0;
    color: var(--ink-2);
  }
  .mobile-menu li:has(.mm-sub) > a {
    border-bottom: 0;
    padding-bottom: 8px;
  }
  .mobile-menu .btn {
    margin-top: 32px;
  }
}

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

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + clamp(28px, 5vh, 64px));
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  border-top: 0;
}
.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 0 40px;
  }
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 26px;
  align-content: center;
}
.hero-copy .display {
  font-size: clamp(36px, 5.6vw, 84px);
}
.hero-copy .display .nw {
  white-space: nowrap;
}
@media (max-width: 420px) {
  .hero-copy .display {
    font-size: 9.4vw;
  }
}
@media (min-width: 980px) {
  .hero-copy .display .line-mask > span {
    white-space: nowrap;
  }
}
.hero-copy .lead {
  max-width: 30em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 620px;
  justify-self: center;
}
@media (min-width: 980px) {
  .hero-visual {
    max-width: none;
  }
}
@media (min-width: 1360px) {
  .hero-visual {
    width: calc(100% + 60px);
    margin-right: -60px;
  }
}
.hero-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (max-width: 979px) {
  .hero {
    min-height: 0;
    padding-bottom: clamp(56px, 10vw, 96px);
  }
  .hero-grid {
    gap: 8px;
  }
  .hero-visual {
    order: -1;
    aspect-ratio: auto;
    height: min(34vh, 300px);
    max-width: none;
  }
}
/* ------------------------------------------------------------- Ausgangslage */

/* Kundensatz, Pfeil, Antwort in einer Zeile. Die Zeile in der Bildschirmmitte ist hervorgehoben. */
.fit {
  display: grid;
}
.fit-row {
  position: relative;
  display: grid;
  grid-template-columns: 160px minmax(0, 6fr) 40px minmax(0, 5fr);
  gap: 0 36px;
  align-items: center;
  padding: 28px 0;
  opacity: 0.42;
  transition: opacity 0.45s var(--ease);
}
.fit-row + .fit-row {
  border-top: 1px solid var(--line);
}
.fit-row.is-active {
  opacity: 1;
}
.fit-visual {
  position: relative;
  aspect-ratio: 4 / 3;
}
.fit-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.fit-quote {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.pixel-arrow {
  display: block;
  width: 24px;
  height: 17px;
  fill: currentColor;
  shape-rendering: crispEdges;
}
.fit-arrow {
  justify-self: center;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease);
}
.fit-row.is-active .fit-arrow {
  opacity: 1;
  transform: none;
}
.fit-service {
  display: block;
  font-size: 21px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
/* Die ganze Zeile ist der Link zur passenden Leistung */
.fit-service::after {
  content: "";
  position: absolute;
  inset: 0;
}
.fit-row:hover .fit-arrow {
  transform: translateX(4px);
}
.fit-text {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-2);
}
.fit-more {
  margin-top: clamp(32px, 4vw, 56px);
  max-width: 44em;
  color: var(--ink-2);
}
@media (max-width: 979px) {
  .fit {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    gap: 12px;
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scroll-padding-inline: var(--pad-x);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .fit::-webkit-scrollbar {
    display: none;
  }
  .fit-row,
  .fit-row + .fit-row {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 16px;
    padding: 16px 20px 24px;
    border: 0;
    border-radius: 8px;
    background: var(--bg-deep);
    opacity: 1;
    scroll-snap-align: start;
  }
  .fit-quote {
    font-size: 20px;
  }
  .fit-arrow,
  .fit-row.is-active .fit-arrow {
    justify-self: start;
    opacity: 1;
    transform: rotate(90deg);
  }
}

.route {
  justify-self: start;
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.route:hover {
  border-color: var(--ink);
}
.route .arrow {
  display: inline-block;
  margin-left: 4px;
  transition: transform 0.35s var(--ease);
}
.route:hover .arrow {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------- Leistungen */

.services {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0 80px;
}
@media (min-width: 980px) {
  .services {
    grid-template-columns: 5fr 6fr;
  }
}
.services-visual {
  display: none;
}
@media (min-width: 980px) {
  .services-visual {
    display: block;
    position: relative;
  }
  .services-sticky {
    position: sticky;
    top: calc(var(--nav-h) + 6vh);
    aspect-ratio: 1 / 1;
    width: 100%;
  }
  .services-sticky canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.service {
  padding: 40px 0 48px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 18px;
  transition: opacity 0.5s var(--ease);
}
.service li:last-child {
  border-bottom: 0;
}
@media (min-width: 980px) {
  .service {
    min-height: 62vh;
    align-content: center;
    opacity: 0.55;
  }
  .service.is-active {
    opacity: 1;
  }
  .service:first-child {
    border-top: 0;
  }
  .service:last-child {
    border-bottom: 0;
  }
}
.service-visual {
  display: none;
}
@media (max-width: 979px) {
  .service {
    border-top: 0;
    padding: 28px 0 44px;
  }
  .service:last-child {
    padding-bottom: 0;
  }
  .service-visual {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    max-height: 320px;
    margin-bottom: 4px;
  }
  .service-visual canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
.service h3 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 13em;
}
.service .body {
  color: var(--ink);
}
.service ul {
  display: grid;
  gap: 0;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  max-width: 34em;
}
.service li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
/* --------------------------------------------------------------------- Team */

.head-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 72px;
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.head-visual-text {
  display: grid;
  gap: 24px;
}
.head-visual-canvas {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 420px;
  justify-self: center;
}
.head-visual-canvas canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
@media (min-width: 900px) {
  .head-visual {
    grid-template-columns: 6fr 5fr;
  }
}
@media (max-width: 899px) {
  .head-visual-canvas {
    max-width: 320px;
  }
}
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--line);
}
@media (min-width: 720px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.member {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  align-content: start;
  gap: 14px;
  padding: 24px 24px 28px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.35s var(--ease);
}
@media (min-width: 720px) {
  .member {
    border-right: 1px solid var(--line);
  }
  .member:nth-child(2n) {
    border-right: 0;
  }
}
@media (min-width: 1100px) {
  .team-grid {
    margin-inline: -24px;
  }
  .member:nth-child(2n) {
    border-right: 1px solid var(--line);
  }
  .member:last-child {
    border-right: 0;
  }
}
.member:hover {
  background: var(--surface);
}
.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  margin-bottom: 10px;
}
.portrait > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portrait img {
  object-fit: cover;
}
.portrait-reveal {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
:root[data-theme="light"] .portrait img {
  filter: brightness(0.94) contrast(1.04);
}
.member h3 {
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.member .focus {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.member .role {
  margin-top: -8px;
}
.member .role span {
  display: block;
}

.member .more {
  margin-top: 6px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.2s;
}
.member .more .pixel-arrow {
  transition: transform 0.35s var(--ease);
}
.member:hover .more {
  color: var(--ink);
}
.member:hover .more .arrow {
  transform: translateX(4px);
}
.member .stretched::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* ------------------------------------------------------------ Zertifikate */

/* Zertifizierungen: Überschrift, ein Satz, Logos */
.section.certs {
  padding-block: clamp(72px, 9vw, 120px);
  text-align: center;
}
.certs-title {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.certs-text {
  margin: 12px auto 0;
  color: var(--ink-2);
  max-width: 34em;
}
.logo-row {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 4.5vw, 72px) clamp(36px, 5.5vw, 80px);
  color: var(--ink-2);
}
.logo svg {
  display: block;
  width: auto;
}
.logo-anthropic svg { height: 17px; }
.logo-uipath svg { height: 30px; }
.logo-n8n svg { height: 26px; }
.logo-google svg { height: 30px; }
.logo-microsoft svg { height: 26px; }
.logo-istqb svg { height: 50px; }
@media (max-width: 600px) {
  .logo-anthropic svg { height: 13px; }
  .logo-uipath svg, .logo-google svg { height: 24px; }
  .logo-n8n svg, .logo-microsoft svg { height: 21px; }
  .logo-istqb svg { height: 32px; }
}

/* --------------------------------------------------------------- Einstieg */

.timeline-steps {
  position: relative;
}
.tl-visual {
  position: relative;
  height: 72px;
  margin-bottom: 8px;
}
.tl-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.tl {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.tl-step {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  padding-top: 16px;
}
.tl-step h3 {
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.tl-step p {
  color: var(--ink-2);
  max-width: 30em;
}
.tl-node {
  display: none;
}
@media (max-width: 899px) {
  .tl-visual {
    display: none;
  }
  .tl-node {
    display: block;
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--ink);
  }
  .tl-node-2 {
    background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 3px 3px;
  }
  .tl-node-3 {
    background: var(--ink);
  }
  .tl {
    grid-template-columns: minmax(0, 1fr);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    margin-left: 5px;
  }
  .tl-step {
    padding: 0 0 36px 32px;
  }
  .tl-step:last-child {
    padding-bottom: 0;
  }
  .tl-node {
    left: -6px;
    top: 9px;
  }
}
/* -------------------------------------------------------------------- CTA */

.cta {
  padding-bottom: 0;
  overflow: hidden;
}
.cta-inner {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 28px;
  position: relative;
  z-index: 2;
}
.cta-inner .display {
  max-width: 11em;
}
.cta-inner .lead {
  margin-inline: auto;
}
.cta-horizon {
  position: relative;
  height: clamp(220px, 30vw, 380px);
  margin-top: clamp(32px, 5vw, 64px);
}
.cta-horizon canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.footer {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: 32px;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}
@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}
.footer-title {
  font-size: 14px;
  color: var(--ink-2);
  margin-bottom: 16px;
}
.footer-grid li + li {
  margin-top: 8px;
}
.footer-grid a {
  color: var(--ink-2);
  transition: color 0.2s;
}
.footer-grid a:hover {
  color: var(--ink);
}
.footer-claim {
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 16em;
}
.ascii-wordmark {
  margin: clamp(48px, 6vw, 80px) 0 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0;
  white-space: pre;
  color: var(--ink);
  overflow: hidden;
  user-select: none;
}
@media (max-width: 720px) {
  .ascii-wordmark {
    font-size: 5px;
  }
}
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------- Teamseite */

.page-hero {
  padding-top: calc(var(--nav-h) + clamp(56px, 10vh, 120px));
  padding-bottom: clamp(56px, 8vw, 96px);
  border-top: 0;
}
.page-hero .display {
  font-size: clamp(40px, 5.6vw, 80px);
  margin-block: 28px;
  position: relative;
  z-index: 2;
}
.page-hero .display .nw {
  white-space: nowrap;
}
.page-hero .lead {
  position: relative;
  z-index: 2;
}
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.page-hero-visual {
  display: none;
}
@media (min-width: 1000px) {
  .page-hero-grid {
    grid-template-columns: 7fr 4fr;
  }
  .page-hero-visual {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
  }
  .page-hero-visual canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px 88px;
}
@media (min-width: 980px) {
  .profile {
    grid-template-columns: 5fr 7fr;
  }
  .profile.is-flipped {
    grid-template-columns: 7fr 5fr;
  }
  .profile.is-flipped .profile-visual {
    order: 2;
  }
}
.profile-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
}
/* Das Porträt bleibt beim Lesen des Profils stehen */
@media (min-width: 980px) {
  .profile-visual {
    position: sticky;
    top: calc(var(--nav-h) + 48px);
    align-self: start;
  }
}
@media (max-width: 979px) {
  .profile-visual {
    max-width: 300px;
  }
}
.profile-visual .portrait {
  margin: 0;
}
.profile-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 44px;
  align-content: start;
}
.profile-role {
  margin-top: 12px;
  font-size: clamp(17px, 1.5vw, 19px);
}
.profile-role span {
  display: block;
  color: var(--ink-2);
}
.profile-mission {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.mission-lead {
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 26em;
}
.mission-text {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36em;
}
.track-intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 38em;
  margin-bottom: 22px;
}
/* Jeder Profilabschnitt beginnt mit einer Linie und seiner Bezeichnung, Abstände sind überall gleich */
.profile-block {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.profile-block .subhead {
  margin-bottom: 18px;
}
.timeline {
  border-top: 1px solid var(--line);
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px 32px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) {
  .timeline li {
    grid-template-columns: 200px minmax(0, 1fr);
  }
}
.timeline .org {
  font-size: 15px;
  color: var(--ink-2);
  padding-top: 1px;
}
.org-logo {
  display: flex;
  align-items: center;
  min-height: 26px;
  color: var(--ink);
}
.career-logo {
  display: block;
  width: auto;
}
.career-logo-audi { height: 20px; }
.career-logo-volkswagen { height: 30px; }
.career-logo-skoda { height: 13px; }
.timeline .what {
  font-size: 17px;
}
.timeline .what span {
  display: block;
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* Profile: Expertise als Kacheln mit eigenem Pixelmotiv, Branchen als ruhige Zeile */
.skills {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 560px) {
  .skills {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.skill {
  position: relative;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 10px;
  min-height: 118px;
  padding: 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.skill:hover {
  border-color: var(--line-strong);
  background: var(--lift);
}
.skill-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: -6px 0 0 -6px;
}
.skill-icon canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.skill-label {
  align-self: end;
  hyphens: manual;
  overflow-wrap: break-word;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -0.005em;
}
/* Branchen: ruhige Zellen im Stil der Expertise-Kacheln, ohne Symbol */
.industries {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}
.industries li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.3;
}
.industries li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  background: var(--ink);
}
/* Die Abschnittslinie oben reicht, die letzte Zeile braucht keine eigene Linie */
.proof-list li:first-child {
  padding-top: 0;
}
.proof-list li:last-child,
.timeline li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.proof-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.proof-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}
.proof-icon svg {
  width: 16px;
  height: 16px;
}
.proof-text {
  display: grid;
  gap: 3px;
}
.proof-title {
  font-size: 17px;
  line-height: 1.35;
}
.proof-sub {
  font-size: 15px;
  color: var(--ink-2);
}
.proof-logo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
  padding-top: 3px;
}
.cert-logo {
  display: block;
  width: auto;
  color: var(--ink-2);
}
.cert-logo-anthropic { height: 10px; }
.cert-logo-google { height: 17px; }
.cert-logo-uipath { height: 17px; }
.cert-logo-istqb { height: 30px; }

/* ------------------------------------------------ Link-Buttons (Kontaktkarten) */

.link-buttons {
  display: grid;
  gap: 10px;
}
.link-button {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 20px 12px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.link-button:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.lb-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: var(--lift);
}
.lb-icon svg {
  width: 16px;
  height: 16px;
}
.lb-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.lb-label {
  font-size: 16px;
}
.lb-sub {
  font-size: 14px;
  color: var(--ink-2);
}
.link-button .pixel-arrow {
  transition: transform 0.35s var(--ease);
}
.link-button:hover .pixel-arrow {
  transform: translateX(3px);
}

/* ------------------------------------------------------- Über uns */

@media (max-width: 999px) {
  .page-hero {
    padding-top: calc(var(--nav-h) + 8px);
  }
  .page-hero-grid {
    gap: 0;
  }
  .page-hero-visual {
    display: block;
    order: -1;
    position: relative;
    height: min(36vh, 300px);
  }
  .page-hero-visual canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
}
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 88px;
}
@media (min-width: 980px) {
  .story-grid {
    grid-template-columns: 5fr 7fr;
  }
}
.story-text {
  display: grid;
  gap: 20px;
  max-width: 40em;
}
.story-lead {
  color: var(--ink);
}
.story-text .body {
  color: var(--ink-2);
}
.drive {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 48px 40px;
}
@media (min-width: 860px) {
  .drive {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.drive-item {
  display: grid;
  gap: 14px;
  align-content: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.drive-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 8px;
}
.drive-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.drive-item h3 {
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.drive-item p {
  color: var(--ink-2);
}
.people-head {
  padding-bottom: clamp(24px, 4vw, 48px);
}
.people-head + .profile-section {
  border-top: 0;
}
.people-head .section-head {
  margin-bottom: 0;
}

/* ------------------------------------------- Übergänge zwischen Abschnitten */

.section.invert {
  background: var(--bg);
  border-top: 0;
}
.section.invert > .wrap {
  position: relative;
  z-index: 1;
}
.section.invert + .section,
.section.invert + .footer,
.section.invert + * + .footer {
  border-top: 0;
}
.edge {
  position: absolute;
  left: 0;
  width: 100%;
  height: 32px;
  pointer-events: none;
}
.edge-top {
  top: -1px;
}
.edge-bottom {
  bottom: -1px;
}



/* ------------------------------------------------------------- Bewegung */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-block: 0.14em 0.08em;
  margin-block: -0.14em -0.08em;
}
.line-mask > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.2s var(--ease);
  transition-delay: calc(120ms + var(--d, 0) * 110ms);
}
.is-loaded .line-mask > span {
  transform: none;
}

.theme-wipe {
  position: fixed;
  inset: 0;
  z-index: 500;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  [data-reveal],
  .line-mask > span {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .service {
    transition: none;
  }
}



/* ------------------------------------------------------- Sprache */

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  transition: color 0.2s, background-color 0.25s var(--ease);
}
.lang-switch:hover {
  color: var(--ink);
  background: var(--lift);
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-2);
  cursor: pointer;
  text-align: left;
}
.linklike:hover {
  color: var(--ink);
}
.legal .linklike {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------- Buchung */

.booking-page {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 96px));
  border-top: 0;
}
.booking-head {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: end;
}
.booking-head .lead {
  margin-top: 18px;
}
.booking-meta {
  margin-top: 18px;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  color: var(--ink-2);
}
.booking-points {
  display: grid;
  border-top: 1px solid var(--line);
}
.booking-points li {
  display: grid;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}
.booking-point-title {
  color: var(--ink);
  font-size: 16px;
}
@media (min-width: 980px) {
  .booking-head {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.booking {
  position: relative;
  z-index: 2;
  margin-top: clamp(40px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-deep);
  padding: clamp(20px, 3vw, 36px);
}
.bk-pick {
  display: grid;
  gap: 32px 48px;
}
.bk-pick[hidden],
.bk-form[hidden],
.bk-done[hidden] {
  display: none;
}
@media (min-width: 860px) {
  .bk-pick {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  }
}
.bk-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.bk-month {
  font-size: 20px;
  letter-spacing: -0.015em;
}
.bk-nav {
  display: flex;
  gap: 8px;
}
.bk-arrow {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s;
}
.bk-arrow:hover:not(:disabled) {
  background: var(--lift);
}
.bk-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
.bk-arrow.is-prev .pixel-arrow {
  transform: scaleX(-1);
}
.bk-week,
.bk-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}
.bk-week {
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
  text-align: center;
}
.bk-day {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.bk-day:hover:not(:disabled) {
  border-color: var(--ink);
}
.bk-day:disabled {
  border-color: transparent;
  color: var(--ink-2);
  cursor: default;
}
.bk-day[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.bk-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  background: currentColor;
}
.bk-days[aria-busy="true"] .bk-day {
  animation: bk-pulse 1.2s steps(3) infinite;
}
@keyframes bk-pulse {
  50% {
    opacity: 0.45;
  }
}
.bk-status {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-2);
}
.bk-status[hidden] {
  display: none;
}
.bk-status .linklike {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bk-day-label {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 18px;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
}
.bk-slot {
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.bk-slot:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.bk-tz {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
}

.bk-form {
  display: grid;
  gap: 28px;
}
.bk-chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.bk-chosen-label {
  flex: 1 0 100%;
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  color: var(--ink-2);
}
.bk-chosen-time {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.015em;
}
.bk-chosen .linklike {
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bk-fields {
  display: grid;
  gap: 18px 20px;
}
@media (min-width: 720px) {
  .bk-fields {
    grid-template-columns: 1fr 1fr;
  }
  .bk-field.is-wide {
    grid-column: 1 / -1;
  }
}
.bk-field {
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}
.bk-field em {
  font-style: normal;
  color: var(--ink-2);
  opacity: 1;
}
.bk-field input,
.bk-field select,
.bk-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s;
}
.bk-field textarea {
  resize: vertical;
  line-height: 1.5;
}
.bk-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(-45deg, transparent 50%, var(--ink-2) 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.bk-field :focus {
  outline: none;
  border-color: var(--ink);
}
.bk-field [aria-invalid="true"] {
  border-color: #d4574a;
}
.bk-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.bk-msg {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  font-size: 15px;
}
.bk-msg[hidden] {
  display: none;
}
.bk-submit-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.bk-submit-row .btn:disabled {
  opacity: 0.6;
  cursor: progress;
}
.bk-legal {
  flex: 1 1 260px;
  font-size: 14px;
  color: var(--ink-2);
}
.bk-legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bk-done {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: clamp(24px, 5vw, 56px) 0;
  text-align: center;
}
.bk-done-mark {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 8px;
}
.bk-done-mark canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.bk-done-title {
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.025em;
}
.bk-done-time {
  font-size: 19px;
}
.bk-done-text {
  color: var(--ink-2);
  max-width: 30em;
}

/* ------------------------------------------------- Rechtliches */

.legal-hero {
  padding-top: calc(var(--nav-h) + clamp(48px, 8vh, 96px));
  padding-bottom: clamp(40px, 5vw, 64px);
  border-top: 0;
}
.legal-hero .lead {
  margin-top: 18px;
}
.legal-body {
  padding-top: 0;
  border-top: 0;
}
.legal {
  max-width: 46em;
}
.legal-row {
  padding: 0 0 28px;
}
.legal-row h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.legal-row p {
  color: var(--ink-2);
}
.legal-row p + p {
  margin-top: 12px;
}
.legal-row a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-updated {
  margin-top: 28px;
  font-size: 14px;
  color: var(--ink-2);
}

/* ------------------------------------------------------- 404 */

.notfound {
  min-height: 80svh;
  padding-top: calc(var(--nav-h) + clamp(40px, 8vh, 96px));
  border-top: 0;
}
.notfound .wrap {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.notfound-visual {
  position: relative;
  width: min(260px, 60vw);
  aspect-ratio: 4 / 3;
}
.notfound-visual canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
