@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("/assets/fonts/barlow-condensed-latin-700-italic.woff2") format("woff2");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --pc-bg: #0c0c0e;
  --pc-surface: #17171a;
  --pc-surface-2: #222226;
  --pc-text: #f5f2ed;
  --pc-text-2: rgb(245 242 237 / 0.6);
  --pc-line: rgb(255 255 255 / 0.1);
  --pc-orange: #ff7a1a;
  --pc-on-orange: #170a00;

  --font-text: "Inter", system-ui, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;

  --page-max: 1200px;
  --gutter: clamp(20px, 8.4vw - 12px, 120px);
  --band-y: clamp(64px, 7.8vw, 112px);

  --h1: clamp(56px, 3.6vw + 44px, 100px);
  --h2: clamp(40px, 1.9vw + 33px, 64px);
  --lead: clamp(17px, 0.25vw + 16px, 20px);
  --kicker: clamp(14px, 0.15vw + 13.4px, 16px);

  --radius-card: 28px;
  --radius-box: 12px;
  --focus: 2px solid var(--pc-orange);

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}

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

body {
  margin: 0;
  background: var(--pc-bg);
  color: var(--pc-text);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

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

a {
  color: inherit;
}

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

main:focus {
  outline: none;
}

::selection {
  background: var(--pc-orange);
  color: var(--pc-on-orange);
}

.nowrap {
  white-space: nowrap;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  flex: none;
  width: 1em;
  height: 1em;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--radius-box);
  background: var(--pc-text);
  color: var(--pc-bg);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus-visible {
  transform: none;
}

/* Kopf- und Fußzeile */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.site-nav__list {
  display: flex;
  gap: 40px;
}

.site-nav__link {
  display: inline-block;
  padding: 10px 0;
  color: var(--pc-text-2);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color 150ms ease;
}

.site-nav__link:hover {
  color: var(--pc-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.site-footer {
  padding: 56px max(var(--gutter), (100% - var(--page-max)) / 2) 40px;
  border-top: 1px solid var(--pc-line);
  color: var(--pc-text-2);
}

.site-footer__columns {
  display: grid;
  grid-template-columns: 1fr 240px 240px;
  gap: 64px;
}

.site-footer__brand {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.site-footer__brand .brand {
  color: var(--pc-text);
}

.site-footer__group {
  display: grid;
  gap: 14px;
  align-content: start;
  justify-items: start;
}

.site-footer__group ul {
  display: grid;
  gap: 14px;
}

.site-footer__heading {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.site-footer__base {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--pc-line);
  font-size: 14px;
}

.site-footer__trademark {
  max-width: 620px;
  text-align: right;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pc-text);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 3px;
}

.text-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.text-link[aria-current="page"] {
  font-weight: 600;
}

.text-link--icon .icon {
  width: 18px;
  height: 18px;
  color: var(--pc-text-2);
}

/* Bausteine */

.kicker {
  color: var(--pc-orange);
  font-family: var(--font-display);
  font-size: var(--kicker);
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  max-width: 640px;
  color: var(--pc-text-2);
  font-size: var(--lead);
  line-height: 1.5;
}

.section-head {
  display: grid;
  gap: 20px;
}

.section-head--center {
  max-width: 820px;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1;
  text-wrap: balance;
}

.band {
  padding: var(--band-y) max(var(--gutter), (100% - var(--page-max)) / 2);
}

.band--surface {
  background: var(--pc-surface);
}

.store-badge {
  display: inline-block;
  border-radius: 9px;
}

.store-badge img {
  width: auto;
  height: 56px;
}

.store-badge--small img {
  height: 40px;
}

.store-badge:focus-visible {
  outline-offset: 3px;
  border-radius: 12px;
}

/* Hero */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  grid-template-rows: 1fr auto auto 1fr;
  grid-template-areas: ". demo" "text demo" "action demo" ". demo";
  column-gap: 48px;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 64px var(--gutter) 104px;
}

.hero__text {
  grid-area: text;
  display: grid;
  gap: 28px;
  justify-items: start;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--h1);
  font-weight: 700;
  line-height: 0.95;
}

.hero__lead {
  max-width: 560px;
}

.hero__action {
  grid-area: action;
  display: grid;
  gap: 20px;
  justify-items: start;
  padding-top: 40px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
}

.facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.facts .icon {
  width: 18px;
  height: 18px;
}

/* Watch */

.watch {
  --u: 1.75px;
  position: relative;
  flex: none;
  width: calc(229 * var(--u));
  height: calc(275 * var(--u));
  border-radius: calc(58 * var(--u));
  background: #0a0a0b;
  box-shadow: inset 0 0 0 calc(1.33 * var(--u)) #3a3a3e;
  color: #fff;
  font-family: var(--font-text);
  line-height: 1.2;
}

.watch--stage {
  --u: 1.5px;
}

.watch--small {
  --u: 0.9px;
}

.watch__crown,
.watch__side {
  position: absolute;
  left: calc(228.4 * var(--u));
  background: #2a2a2e;
}

.watch__crown {
  top: calc(52 * var(--u));
  width: calc(7 * var(--u));
  height: calc(40 * var(--u));
  border-radius: calc(3 * var(--u));
}

.watch__side {
  top: calc(118 * var(--u));
  width: calc(5 * var(--u));
  height: calc(54 * var(--u));
  border-radius: calc(2 * var(--u));
}

.watch__screen {
  position: absolute;
  inset: calc(12 * var(--u));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0 calc(2.5 * var(--u)) calc(8 * var(--u));
  border-radius: calc(40 * var(--u));
  background: #000;
}

.watch button {
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.watch button:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.watch__bar {
  position: relative;
  flex: none;
  height: calc(66 * var(--u));
}

.watch__key {
  position: absolute;
  top: calc(19.5 * var(--u));
  display: grid;
  place-items: center;
  height: calc(37 * var(--u));
  padding: 0;
  border-radius: calc(18.5 * var(--u));
  background: #191919;
  box-shadow: inset 0 0 0 calc(1 * var(--u)) #363636;
}

.watch button.watch__key {
  background: #191919;
}

.watch__key--pause {
  left: calc(12 * var(--u));
  width: calc(37 * var(--u));
}

.watch__key--undo {
  left: calc(140 * var(--u));
  width: calc(44 * var(--u));
}

.watch__key:disabled,
.watch__key[data-off] {
  opacity: 0.35;
  cursor: default;
}

.watch__pause {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(2.2 * var(--u));
  width: calc(17 * var(--u));
  height: calc(17 * var(--u));
  border-radius: 50%;
  background: #fff;
}

.watch__pause::before,
.watch__pause::after {
  content: "";
  width: calc(2.2 * var(--u));
  height: calc(6.6 * var(--u));
  border-radius: calc(0.6 * var(--u));
  background: #191919;
}

.watch__time {
  position: absolute;
  top: calc(29.5 * var(--u));
  left: calc(70 * var(--u));
  width: calc(60 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 500;
  text-align: center;
}

.watch__undo {
  display: grid;
  place-items: center;
  width: calc(17 * var(--u));
  height: calc(17 * var(--u));
  border-radius: 50%;
  background: #ff453a;
}

.watch__undo-glyph {
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
}

.watch__board {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
}

.watch__team {
  --team: #ff9f0a;
  --plus: #ffc56c;
  --name: #ffb747;
  display: flex;
  flex-direction: column;
  gap: calc(1 * var(--u));
}

.watch__team--blue {
  --team: #0a84ff;
  --plus: #6cb5ff;
  --name: #47a3ff;
}

.watch__meta {
  display: flex;
  align-items: center;
  gap: calc(4 * var(--u));
  padding: 0 calc(4 * var(--u));
}

.watch__team--bottom .watch__meta {
  padding: 0 calc(12 * var(--u));
}

.watch__count {
  display: flex;
  align-items: center;
  gap: calc(3 * var(--u));
  color: #98989f;
  font-size: calc(11 * var(--u));
  white-space: nowrap;
}

.watch__count b {
  color: #fff;
  font-size: calc(17 * var(--u));
  font-weight: 600;
  line-height: calc(19 * var(--u));
}

.watch__name {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: calc(4 * var(--u));
  color: var(--name);
  font-size: calc(13 * var(--u));
  font-weight: 600;
}

.watch__me {
  padding: calc(1 * var(--u)) calc(5 * var(--u));
  border-radius: calc(6 * var(--u));
  background: rgb(255 122 26 / 0.22);
  color: #fff;
  font-size: calc(12 * var(--u));
}

.watch__row {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  height: calc(40 * var(--u));
  border-radius: calc(20 * var(--u));
  background: #222224;
}

.watch__row::before {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  z-index: -1;
  border-radius: 0 calc(20 * var(--u)) calc(20 * var(--u)) 0;
  background: linear-gradient(0deg, #222224, var(--team));
  opacity: 0.5;
}

.watch__minus,
.watch__plus {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  height: 100%;
  border-radius: 999px;
}

.watch__minus {
  justify-content: flex-start;
  padding: 0 0 0 calc(12 * var(--u));
  color: #fff;
}

.watch .watch__plus {
  justify-content: flex-end;
  padding: 0 calc(12 * var(--u)) 0 0;
  color: var(--plus);
}

.watch__minus:disabled,
.watch__minus[data-off] {
  opacity: 0.35;
  cursor: default;
}

.watch__glyph {
  width: calc(21 * var(--u));
  height: calc(21 * var(--u));
}

.watch__plus .watch__glyph {
  width: calc(23 * var(--u));
  height: calc(23 * var(--u));
}

.watch__score {
  display: grid;
  flex: none;
  place-items: center;
  width: calc(70 * var(--u));
  height: 100%;
  border-radius: calc(20 * var(--u));
  background: #000;
  font-size: calc(40 * var(--u));
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  line-height: 1;
}

.is-target::before,
.is-target::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 calc(1.75 * var(--u, 1.5px)) var(--pc-orange);
  pointer-events: none;
}

.is-target::after {
  animation: ring 1.5s cubic-bezier(0.2, 0.7, 0.3, 1) 3 forwards;
}

.is-target.is-nudged::after {
  animation: ring-nudge 1.5s cubic-bezier(0.2, 0.7, 0.3, 1) 1 forwards;
}

@keyframes ring {
  from {
    opacity: 0.9;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.1, 1.25);
  }
}

@keyframes ring-nudge {
  from {
    opacity: 0.9;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(1.1, 1.25);
  }
}

.watch .is-target:focus-visible,
.dummy__target:focus-visible {
  outline: 2px solid var(--pc-text);
  outline-offset: 4px;
}

.watch__net {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(1.5 * var(--u));
  padding: calc(2 * var(--u)) 0;
}

.watch__serve {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: calc(5 * var(--u));
  padding: 0 calc(6 * var(--u));
  font-size: calc(12 * var(--u));
}

.watch__serve-arrow {
  flex: none;
  width: calc(13 * var(--u));
  height: calc(13 * var(--u));
  color: #98989f;
}

.watch__serve[data-team="top"] .watch__serve-arrow {
  transform: scaleY(-1);
}

.watch__server {
  color: #47a3ff;
  font-weight: 600;
}

.watch__serve[data-team="top"] .watch__server {
  color: #ffb747;
}

.watch__line {
  flex: 1;
  height: max(1px, calc(1 * var(--u)));
  background: rgb(255 255 255 / 0.35);
}

.watch__clock {
  color: #98989f;
  font-variant-numeric: tabular-nums;
}

.watch__note {
  color: #d1d1d6;
  font-size: calc(10.5 * var(--u));
}

.watch__note:empty {
  display: none;
}

.watch__pill {
  display: inline-flex;
  align-items: center;
  gap: calc(3 * var(--u));
  padding: calc(1.5 * var(--u)) calc(6 * var(--u));
  border-radius: 999px;
  background: rgb(255 122 26 / 0.2);
  box-shadow: inset 0 0 0 calc(0.8 * var(--u)) var(--pc-orange);
  color: #fff;
  font-size: calc(9.5 * var(--u));
  font-weight: 600;
  white-space: nowrap;
}

.watch__pill-swap {
  width: calc(10 * var(--u));
  height: calc(10 * var(--u));
  color: var(--pc-orange);
}

.watch__dialog,
.watch__result {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 calc(10 * var(--u)) calc(10 * var(--u));
  background: #000;
}

.watch__overlay-bar {
  position: relative;
  align-self: stretch;
  flex: none;
  height: calc(58 * var(--u));
}

.watch__overlay-bar .watch__time {
  left: auto;
  right: calc(8 * var(--u));
  top: calc(24 * var(--u));
  width: auto;
}

.watch button.watch__close {
  position: absolute;
  top: calc(18 * var(--u));
  left: calc(8 * var(--u));
  display: grid;
  place-items: center;
  width: calc(30 * var(--u));
  height: calc(30 * var(--u));
  border-radius: 50%;
  background: #1f1f21;
}

.watch__close-glyph {
  width: calc(16 * var(--u));
  height: calc(16 * var(--u));
  transform: rotate(45deg);
}

.watch__dialog-title {
  display: grid;
  gap: calc(2 * var(--u));
  margin-bottom: calc(10 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 600;
  text-align: center;
}

.watch__dialog-title span {
  font-size: calc(14 * var(--u));
  font-weight: 400;
}

.watch button.watch__choice {
  position: relative;
  width: 100%;
  height: calc(38 * var(--u));
  margin-top: calc(7 * var(--u));
  border-radius: calc(19 * var(--u));
  background: #222224;
  font-size: calc(14 * var(--u));
}

.watch button.watch__choice--reject {
  background: #3a100e;
  color: #ff453a;
}

.watch__winner {
  display: grid;
  gap: calc(1 * var(--u));
  margin-top: calc(-4 * var(--u));
  font-size: calc(20 * var(--u));
  font-weight: 700;
  text-align: center;
}

.watch__winner-note {
  color: #d1d1d6;
  font-size: calc(13 * var(--u));
  font-weight: 500;
}

.watch__final {
  display: flex;
  align-items: center;
  justify-content: space-around;
  align-self: stretch;
  margin-top: calc(10 * var(--u));
  padding: calc(8 * var(--u)) calc(10 * var(--u));
  border-radius: calc(12 * var(--u));
  background: #1c1c1e;
}

.watch__final-team {
  --dot: #0a84ff;
  display: grid;
  justify-items: center;
  gap: calc(2 * var(--u));
  font-size: calc(10 * var(--u));
}

.watch__final-team[data-team="top"] {
  --dot: #ff9f0a;
}

.watch__final-name::before {
  content: "";
  display: block;
  width: calc(9 * var(--u));
  height: calc(9 * var(--u));
  margin: 0 auto calc(4 * var(--u));
  border-radius: 50%;
  background: var(--dot);
}

.watch__final-games {
  color: var(--dot);
  font-size: calc(30 * var(--u));
  font-weight: 600;
  line-height: 1;
}

.watch__final-colon {
  color: #98989f;
  font-size: calc(20 * var(--u));
}

/* Mini-Demo */

.demo {
  position: relative;
  grid-area: demo;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 24px;
}

.demo__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
}

.demo__label .icon {
  width: 16px;
  height: 16px;
}

.demo__stage {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 12px 0 0;
}

.demo__cue {
  position: absolute;
  top: 37%;
  left: calc(50% + 230px);
  display: grid;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  transition: opacity 240ms ease-out;
}

.demo__cue .icon {
  width: 22px;
  height: 22px;
  color: var(--pc-orange);
}

.demo[data-started] .demo__cue {
  opacity: 0;
}

.demo__controls {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.demo__rule {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo__rule-label {
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
}

.demo__controls,
.demo__finish {
  grid-row: 3;
  grid-column: 1;
}

.demo__finish {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  visibility: hidden;
}

.demo[data-state="done"] .demo__finish {
  visibility: visible;
}

.demo[data-state="done"] .demo__controls,
.demo[data-state="done"] .demo__cue {
  visibility: hidden;
}

.demo__finish-title {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  text-wrap: balance;
}

.demo__finish-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.demo__toast {
  position: absolute;
  bottom: -64px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-surface);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, 6px);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
  pointer-events: none;
}

.demo__toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.demo__noscript,
.dummy__noscript {
  display: none;
}

.segmented {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-surface);
}

.segmented__option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--pc-text-2);
  font: 600 15px/1 var(--font-text);
  cursor: pointer;
}

.segmented__option .icon {
  width: 18px;
  height: 18px;
}

.segmented__option[aria-pressed="true"] {
  background: var(--pc-text);
  color: var(--pc-bg);
}

.segmented__option:disabled {
  opacity: 0.5;
  cursor: default;
}

.pill-button,
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--pc-line);
  border-radius: 999px;
  background: var(--pc-surface);
  color: var(--pc-text);
  font: 600 15px/1 var(--font-text);
  cursor: pointer;
  transition: background-color 200ms ease-out, opacity 200ms ease-out;
}

.text-button {
  padding: 0 12px;
  border-color: transparent;
  background: none;
  color: var(--pc-text-2);
  font-weight: 500;
}

.pill-button .icon,
.text-button .icon {
  width: 18px;
  height: 18px;
}

.pill-button:hover:not(:disabled) {
  background: var(--pc-surface-2);
}

.text-button:hover {
  color: var(--pc-text);
}

.pill-button:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Erzählung */

.story {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 696px);
  justify-content: space-between;
  column-gap: 64px;
  padding: 0 max(var(--gutter), (100% - var(--page-max)) / 2);
  background: var(--pc-surface);
}

.story__steps {
  grid-column: 1;
  grid-row: 1;
}

.story__step {
  display: flex;
  align-items: center;
  min-height: max(640px, 92vh);
}

.story__text {
  display: grid;
  gap: 20px;
}

.story__progress {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.story__progress span {
  width: 16px;
  height: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / 0.15);
}

.story__step[data-step="1"] .story__progress span:nth-child(1),
.story__step[data-step="2"] .story__progress span:nth-child(2),
.story__step[data-step="3"] .story__progress span:nth-child(3) {
  width: 40px;
  background: var(--pc-text);
}

.story__figure {
  display: none;
}

.story__stage {
  position: sticky;
  top: calc(50vh - 320px);
  grid-column: 2;
  grid-row: 1;
  align-self: start;
  height: 640px;
  margin-top: calc(46vh - 320px);
  margin-bottom: calc(46vh - 320px);
}

.story__digits {
  position: absolute;
  top: -60px;
  left: 50%;
  color: rgb(255 255 255 / 0.05);
  font-family: var(--font-display);
  font-size: 720px;
  font-weight: 700;
  line-height: 1;
  transform: translateX(-50%);
  transition: opacity 400ms ease-out;
  pointer-events: none;
}

.story__watch {
  position: absolute;
  z-index: 1;
  top: 131px;
  left: 176px;
  transform-origin: 0 0;
  transition: transform 400ms cubic-bezier(0.3, 0.7, 0.2, 1);
}

.story__stage .story__tafel {
  position: absolute;
  top: 150px;
  left: 45px;
  width: 651px;
  height: auto;
  opacity: 0;
  transform: translateX(120px);
  transition: opacity 400ms ease-out, transform 500ms cubic-bezier(0.3, 0.7, 0.2, 1);
}

.story[data-active="3"] .story__watch {
  transform: translate(-176px, 219px) scale(0.6);
}

.story[data-active="3"] .story__stage .story__tafel {
  opacity: 1;
  transform: none;
}

.story[data-active="3"] .story__stage .story__digits {
  opacity: 0;
}

.score-change {
  animation: score-change 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes score-change {
  from {
    opacity: 0;
    transform: translateY(28%);
  }
}

/* Klick-Dummy */

.dummy__app {
  max-width: var(--page-max);
  margin: 48px auto 0;
}

.dummy__steps {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.dummy__step {
  display: flex;
  gap: 6px;
  padding-top: 10px;
  border-top: 4px solid rgb(255 255 255 / 0.1);
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 400ms ease-out, color 400ms ease-out;
}

.dummy__step-number {
  font-family: var(--font-display);
  font-weight: 600;
}

.dummy__step.is-done {
  border-top-color: rgb(255 255 255 / 0.45);
}

.dummy__step.is-current {
  border-top-color: var(--pc-text);
  color: var(--pc-text);
  font-weight: 600;
}

.dummy__caption {
  display: none;
}

.dummy__stage {
  display: grid;
  grid-template-columns: 357px 64px 545px;
  align-items: center;
  justify-content: center;
  justify-items: center;
  column-gap: 32px;
  height: 640px;
  margin-top: 48px;
  padding: 40px;
  border-radius: 32px;
  background: var(--pc-surface);
}

.dummy__switch {
  display: none;
}

.dummy__device {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.dummy__screen {
  position: relative;
}

.dummy__screen img {
  display: block;
  width: 357px;
  height: auto;
}

.dummy__device--phone img {
  width: 246px;
}

.dummy__device--phone.is-landscape img {
  width: 545px;
}

.dummy__screen img.is-turning {
  animation: turn 500ms cubic-bezier(0.3, 0.7, 0.2, 1);
}

@keyframes turn {
  from {
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
  }
}

.dummy__screen img.is-swapping {
  animation: swap 240ms ease-out;
}

@keyframes swap {
  from {
    opacity: 0.4;
  }
}

.dummy__label {
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
}

.dummy__target {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dummy__target::before,
.dummy__target::after {
  box-shadow: inset 0 0 0 2.5px var(--pc-orange);
}

.dummy__target:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
}

.dummy__link {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 32px;
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
}

.dummy__link .icon {
  width: 24px;
  height: 24px;
}

.dummy__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  min-height: 56px;
  margin-top: 32px;
}

.dummy__hint {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 1.45em;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.dummy__hint-icon {
  display: inline-flex;
  flex: none;
}

.dummy__hint-icon--done,
.dummy__hint.is-done .dummy__hint-icon--tap {
  display: none;
}

.dummy__hint.is-done .dummy__hint-icon--done {
  display: inline-flex;
}

.dummy__hint .icon {
  width: 24px;
  height: 24px;
  color: var(--pc-orange);
}

.segmented__option.has-target::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pc-orange);
}

.dummy__controls,
.dummy__done {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
}

.dummy__done .store-badge img {
  width: 150px;
  height: auto;
}

@media (max-width: 1199px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 440px;
  }

  .demo .watch {
    --u: 1.55px;
  }

  .demo__cue {
    display: none;
  }

  .story {
    grid-template-columns: minmax(0, 1fr) 560px;
  }

  .story__stage {
    transform: scale(0.8);
    transform-origin: 50% 50%;
  }

  .dummy__stage {
    grid-template-columns: 280px 56px 400px;
    column-gap: 24px;
    height: 600px;
  }

  .dummy__screen img {
    width: 280px;
  }

  .dummy__device--phone img {
    width: 200px;
  }

  .dummy__device--phone.is-landscape img {
    width: 400px;
  }
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "text" "demo" "action";
    row-gap: 48px;
  }

  .hero__action {
    padding-top: 0;
  }

  .demo .watch {
    --u: 1.5px;
  }

  .story {
    display: block;
  }

  .story__stage {
    display: none;
  }

  .story__step {
    display: grid;
    gap: 40px;
    min-height: 0;
    padding-block: 56px;
  }

  .story__step + .story__step {
    padding-top: 24px;
  }

  .story__figure {
    position: relative;
    display: grid;
    justify-items: center;
    overflow: hidden;
    margin: 0 calc(-1 * var(--gutter));
    padding: 20px var(--gutter) 0;
  }

  .story__figure .story__digits {
    top: -20px;
    font-size: 380px;
  }

  .story__figure:not(.story__figure--tafel) .watch {
    --u: 1.25px;
  }

  .story__figure--tafel {
    justify-items: start;
    padding-bottom: 8px;
  }

  .story__figure .story__tafel {
    width: 100%;
    max-width: 651px;
    height: auto;
    transition: opacity 400ms ease-out, transform 500ms cubic-bezier(0.3, 0.7, 0.2, 1);
  }

  .story__figure--tafel .watch {
    --u: 0.62px;
    margin: -34% 0 0 4px;
  }

  .story__figure.is-waiting .story__tafel {
    opacity: 0;
    transform: translateX(80px);
  }

  .dummy__steps {
    gap: 6px;
  }

  .dummy__step {
    padding-top: 0;
  }

  .dummy__step-number,
  .dummy__step-name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .dummy__caption {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 14px;
    font-size: 15px;
  }

  .dummy__count {
    color: var(--pc-text-2);
  }

  .dummy__name {
    font-weight: 600;
  }

  .dummy__stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    row-gap: 24px;
    height: auto;
    min-height: calc(min(230px, 56vw) * 2.1 + 116px);
    margin-top: 24px;
    padding: 20px 16px 28px;
    border-radius: 24px;
  }

  .dummy__switch {
    display: inline-flex;
  }

  .dummy__link,
  .dummy__label {
    display: none;
  }

  .dummy__stage[data-view="watch"] .dummy__device--phone,
  .dummy__stage[data-view="phone"] .dummy__device--watch {
    display: none;
  }

  .dummy__screen img {
    width: min(300px, 72vw);
  }

  .dummy__device--phone img {
    width: min(230px, 56vw);
  }

  .dummy__device--phone.is-landscape img {
    width: min(560px, calc(100vw - 2 * var(--gutter) - 32px));
  }

  .dummy__footer {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 28px;
  }

  .dummy__hint {
    align-items: flex-start;
    min-height: calc(3 * 1.45em);
  }

  .demo__toast {
    position: static;
    grid-row: 4;
    min-height: 46px;
    justify-self: center;
    max-width: 100%;
    margin-top: -4px;
    white-space: normal;
    transform: translateY(6px);
  }

  .demo__toast.is-visible {
    transform: none;
  }

  .demo__finish .store-badge {
    display: none;
  }
}

@media (max-width: 767px) {
  .demo {
    gap: 20px;
  }

  .demo .watch {
    --u: 1.3px;
  }

  .demo__stage {
    padding: 0;
  }

  .demo__rule {
    flex-wrap: wrap;
    justify-content: center;
  }

  .segmented__option {
    padding: 0 14px;
  }

  .story__figure:not(.story__figure--tafel) .watch {
    --u: 1.15px;
  }

  .dummy__hint {
    font-size: 17px;
  }
}

/* Funktionen */

.features {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  align-items: center;
  gap: 96px;
  padding-block: 120px;
}

.features__device {
  display: grid;
  justify-items: center;
}

.features__device img {
  width: 318px;
  margin-left: 9px;
}

.features__content {
  display: grid;
  gap: 56px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 40px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-box);
  background: var(--pc-surface-2);
  font-size: 22px;
}

.feature__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.feature p {
  margin-top: 6px;
  color: var(--pc-text-2);
  font-size: 16px;
  line-height: 1.5;
}

/* Preise */

.pricing {
  padding-block: 120px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-height: 394px;
  padding: 40px;
  border-radius: var(--radius-card);
  background: var(--pc-surface);
}

.plan__head {
  display: grid;
  gap: 12px;
}

.plan__name {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
}

.pro-mark {
  padding-right: 0.08em;
  background: linear-gradient(180deg, #ffd9a3 0%, #ff9f45 55%, #ff6a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--pc-orange);
  font-style: italic;
  -webkit-text-fill-color: transparent;
}

.plan__prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.plan__amount {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.plan__period {
  color: var(--pc-text-2);
  font-size: 16px;
}

.plan__period--light {
  font-weight: 300;
}

.plan__list {
  display: grid;
  gap: 14px;
  font-size: 17px;
  line-height: 1.2;
}

.plan__list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.plan__list .icon {
  width: 20px;
  height: 20px;
  color: var(--pc-text-2);
}

.plan--pro .plan__list .icon {
  color: var(--pc-orange);
}

.plan__note {
  margin-top: auto;
  color: var(--pc-text-2);
  font-size: 15px;
}

.pricing__note {
  max-width: 720px;
  margin-top: 56px;
  color: var(--pc-text-2);
  font-size: 15px;
  line-height: 1.5;
}

/* Abschluss */

.closing {
  display: grid;
  justify-items: center;
  gap: 28px;
  padding-bottom: calc(var(--band-y) + 16px);
  text-align: center;
}

.closing__icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
}

.closing__text {
  color: var(--pc-text-2);
  font-size: var(--lead);
}

.closing .store-badge {
  margin-top: 12px;
}

/* Rechtsseiten */

.legal {
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 48px var(--gutter) 120px;
}

.legal--toc {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 1fr);
  gap: 96px;
  align-items: start;
}

.legal__text {
  display: grid;
  gap: 48px;
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
}

.legal__head {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 6px 0;
  color: var(--pc-text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-underline-offset: 3px;
}

.back-link:hover {
  color: var(--pc-text);
  text-decoration: underline;
}

.back-link .icon {
  width: 18px;
  height: 18px;
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 2.5vw + 32px, 72px);
  font-weight: 700;
  line-height: 1;
  hyphens: manual;
}

.legal__date {
  color: var(--pc-text-2);
  font-size: 16px;
}

.legal__section {
  display: grid;
  gap: 14px;
  scroll-margin-top: 24px;
}

.legal__section h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 0.5vw + 22px, 30px);
  font-weight: 700;
  line-height: 1.15;
}

.legal__section h3 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.legal__section ul {
  display: grid;
  gap: 8px;
  padding-left: 1.2em;
  list-style: disc;
}

.legal__section li::marker {
  color: var(--pc-text-2);
}

.legal__section .legal__steps {
  display: grid;
  gap: 6px;
  margin-block: 4px;
  padding-left: 1.6em;
  list-style: decimal;
}

.legal__section .legal__steps li {
  padding-left: 6px;
}

.legal__section .legal__steps li::marker {
  color: var(--pc-orange);
  font-family: var(--font-display);
  font-weight: 700;
}

.legal__section li > .legal__steps {
  margin-block: 10px;
}

.legal__note {
  color: var(--pc-text-2);
}

.legal__section strong {
  font-weight: 600;
}

.legal address {
  font-style: normal;
}

.contact-list {
  display: grid;
  gap: 6px;
  padding-top: 8px;
}

.contact-list div {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
}

.contact-list dt {
  width: 96px;
  color: var(--pc-text-2);
}

.contact-link {
  color: var(--pc-orange);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact-link:hover {
  color: var(--pc-text);
}

.toc {
  position: sticky;
  top: 32px;
  display: grid;
  gap: 14px;
  margin-top: 210px;
}

.toc__title {
  color: var(--pc-text-2);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.toc__list {
  display: grid;
  gap: 4px;
  font-size: 15px;
  line-height: 1.4;
}

.toc__list a {
  display: inline-block;
  padding: 4px 0;
  color: var(--pc-text-2);
  text-decoration: none;
  text-underline-offset: 3px;
}

.toc__list a:hover {
  color: var(--pc-text);
  text-decoration: underline;
}

.toc-compact {
  display: none;
  justify-self: stretch;
  border: 1px solid var(--pc-line);
  border-radius: var(--radius-box);
  background: var(--pc-surface);
}

.toc-compact__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0 16px;
  color: var(--pc-text);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.toc-compact__toggle::-webkit-details-marker {
  display: none;
}

.toc-compact__toggle .icon {
  transition: transform 160ms ease-out;
}

.toc-compact[open] .toc-compact__toggle .icon {
  transform: rotate(180deg);
}

.toc-compact .toc__list {
  padding: 0 16px 14px;
  font-size: 16px;
}

.toc-compact .toc__list a {
  padding: 8px 0;
}

/* 404 */

.not-found {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  min-height: 56vh;
  margin: 0 auto;
  padding: 72px var(--gutter) 120px;
  align-content: center;
}

.not-found__title {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: var(--h2);
  font-weight: 700;
  line-height: 1;
}

.back-link--strong {
  margin-top: 8px;
  color: var(--pc-text);
  font-size: 17px;
}

/* Tablet */

@media (max-width: 1199px) {
  .features {
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr);
    gap: 56px;
  }

  .features__device img {
    margin-left: 0;
  }

  .legal--toc {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 56px;
  }
}

@media (max-width: 1023px) {
  .site-footer__columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
  }

  .feature-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal--toc {
    grid-template-columns: minmax(0, 1fr);
  }

  .toc {
    display: none;
  }

  .toc-compact {
    display: block;
  }
}

/* Mobil */

@media (max-width: 767px) {
  .site-header {
    padding-block: 14px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    row-gap: 40px;
    padding: 24px var(--gutter) 64px;
  }

  .hero__text {
    gap: 20px;
  }

  .features {
    grid-template-columns: minmax(0, 1fr);
    padding-block: var(--band-y);
  }

  .features__device {
    display: none;
  }

  .features__content {
    gap: 40px;
  }

  .feature-list {
    gap: 24px;
  }

  .section-head--center {
    justify-items: start;
    text-align: left;
  }

  .pricing {
    padding-block: var(--band-y);
  }

  .plans {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 40px;
  }

  .plan {
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }

  .plan__name {
    font-size: 28px;
  }

  .plan__amount {
    font-size: 44px;
  }

  .plan__prices {
    flex-direction: column;
  }

  .pricing__note {
    margin-top: 40px;
    font-size: 14px;
  }

  .closing {
    gap: 20px;
    padding-bottom: 72px;
  }

  .closing__icon {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .site-footer {
    padding: 40px var(--gutter) 32px;
  }

  .site-footer__columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .site-footer__base {
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
  }

  .site-footer__trademark {
    text-align: left;
  }

  .legal {
    padding: 24px var(--gutter) 72px;
  }

  .legal__text {
    gap: 36px;
    font-size: 16px;
  }

  .legal__head {
    gap: 12px;
  }

  .contact-list dt {
    width: 72px;
  }
}

