/* Public pages (landing, legal texts, login, cancelling). Palette and fonts as in the app's theme.css. */
@font-face{font-family:"Outfit";font-style:normal;font-weight:200 700;font-display:swap;src:url("fonts/outfit.woff2") format("woff2")}
@font-face{font-family:"Archivo";font-style:normal;font-weight:100 900;font-stretch:62% 125%;font-display:swap;src:url("fonts/archivo.woff2") format("woff2")}

/* Mist #90AFC5, Stone #336887, Shadow #2A3132, Autumn Foliage #763626 (action color only).
   Dark tokens appear twice: once for the system preference, once for the stored choice of the header toggle. */
:root {
  color-scheme: light;
  --bg:#EDF1F4; --surface:#F6F8FA; --surface-2:#E3E9EE; --ink:#2A3132; --ink-2:#3A474D; --muted:#336887;
  --line:#CBD8E0; --line-2:#B3C5D1; --accent:#763626; --on-accent:#fff; --shadow:rgba(42,49,50,.12);
  --panel:#DCE6EE; --hero-geist:#1C394A; --hero-fade:.46; --header-bg:rgba(246,248,250,.78);
  --ease:cubic-bezier(.16,1,.3,1); --header-h:65px;
}
/* Autumn Foliage on Shadow is 1.5:1, so dark mode uses the lightened rust */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --zeige-hell:none; --zeige-dunkel:block;
    --bg:#2A3132; --surface:#333C3E; --surface-2:#2F3739; --ink:#EDF1F4; --ink-2:#C9D3D8; --muted:#90AFC5;
    --line:#3B4446; --line-2:#4A5558; --accent:#D28468; --on-accent:#1F2425; --shadow:rgba(0,0,0,.4);
    --panel:#24343F; --hero-geist:#C3D3DE; --hero-fade:.2; --header-bg:rgba(42,49,50,.78);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --zeige-hell:none; --zeige-dunkel:block;
  --bg:#2A3132; --surface:#333C3E; --surface-2:#2F3739; --ink:#EDF1F4; --ink-2:#C9D3D8; --muted:#90AFC5;
  --line:#3B4446; --line-2:#4A5558; --accent:#D28468; --on-accent:#1F2425; --shadow:rgba(0,0,0,.4);
  --panel:#24343F; --hero-geist:#C3D3DE; --hero-fade:.2; --header-bg:rgba(42,49,50,.78);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--ink);
  font: 16px/1.6 "Archivo", system-ui, sans-serif;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3 { font-family: "Outfit", system-ui, sans-serif; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 600; margin: 0 0 .5rem; }
h2 { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 600; margin: 2rem 0 .75rem; }
h3 { font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 .5rem; }
p { margin: 0 0 1rem; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
strong { color: var(--ink); }
[id] { scroll-margin-top: var(--header-h); }

.wrap { width: 100%; max-width: 1232px; margin: 0 auto; padding: 0 16px; }
main { flex: 1; width: 100%; }

.site-header {
  position: sticky; top: 0; z-index: 20;
  border-bottom: 1px solid var(--line); background: var(--surface);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: var(--header-bg);
    -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  }
}
.header-row { display: flex; align-items: center; gap: 12px 16px; min-height: 64px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: "Outfit", system-ui, sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--ink); text-decoration: none;
}

.theme-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; padding: 0;
  border: 1px solid var(--line-2); border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--muted); }
.theme-toggle svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
/* The icon shows the scheme a click switches to, as in the app */
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
  border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--on-accent);
  font: inherit; font-weight: 600; text-decoration: none; text-align: center; cursor: pointer;
  transition: filter 200ms ease, background-color 200ms ease;
}
.button:hover { filter: brightness(1.1); text-decoration: none; }
.button.ghost { background: transparent; color: var(--accent); }
.button.ghost:hover { background: var(--surface-2); filter: none; }
/* Only one loud call to action in the header: signing in is a plain link. */
.header-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: var(--ink-2); font-weight: 500; text-decoration: none; }
.header-login:hover { color: var(--accent); }
/* The promise next to every call to action, readable at a glance. */
.zusage { display: flex; align-items: center; gap: 8px; margin: 1rem 0 0; color: var(--ink); font-weight: 600; }
.zusage::before {
  content: ""; flex: none; width: 10px; height: 6px; margin: 0 3px 3px 2px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.zusage + .fine { margin-top: .35rem; }
.card .zusage { margin: -.5rem 0 1.5rem; }
.cta-zwischen { margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); display: grid; justify-items: start; gap: 12px; }
.cta-zwischen p { margin: 0; }
.cta-zwischen-text { font: 400 clamp(1.4rem, 3.6vw, 2rem)/1.2 "Outfit", system-ui, sans-serif; letter-spacing: -.02em; color: var(--ink); }
/* Phones: the header buttons sit behind the menu, so a bar at the bottom offers the trial once the page's own
   buttons are out of view (site.js). Without JS it stays hidden. */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 260ms var(--ease);
}
.sticky-cta.zeigen { transform: none; }
.sticky-cta .button { flex: 1; }
@media (min-width: 960px) { .sticky-cta { display: none !important; } }
@media (max-width: 959px) { .landing .site-footer { padding-bottom: 96px; } }

/* Pill with a round arrow knob punched out in the page tone; the knob nudges on hover */
.button.pille { gap: 14px; padding: 6px 6px 6px 22px; }
.button.pille .rund {
  display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 999px;
  background: var(--bg); color: var(--accent); transition: transform 260ms var(--ease);
}
.button.pille .rund svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.button.pille:hover .rund { transform: translateX(3px); }
.button.large.pille { padding: 6px 6px 6px 28px; }
.button.large.pille .rund { width: 40px; height: 40px; }

/* Sign-in, start, error and cancelling pages: one frosted card on the hero's landscape, veiled and faded in and out
   like the landing page's hero. */
/* The card fills the first screen below the header; the footer only follows on scrolling. */
.narrow main {
  position: relative; isolation: isolate; display: grid; place-items: center; padding: 64px 16px;
  min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h));
}
.narrow main::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/hero.jpg") center 42% / cover no-repeat;
  opacity: var(--hero-fade);
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 82%, rgb(0 0 0 / 0) 100%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 82%, rgb(0 0 0 / 0) 100%);
}
.card {
  width: 100%; max-width: 440px; border-radius: 20px; padding: 36px 32px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--surface) 55%, transparent);
  box-shadow: 0 2px 6px var(--shadow), 0 28px 70px rgb(20 35 45 / .35);
}
@media (max-width: 479px) { .card { padding: 28px 22px; } }
.card .fehler-code {
  margin: 0 0 .25rem; font: 300 clamp(3.5rem, 14vw, 5rem)/1 "Outfit", system-ui, sans-serif; letter-spacing: -.04em;
  color: var(--accent);
}
.card p { color: var(--ink-2); }
.lead { margin-bottom: 1.5rem; }
.buttons { display: grid; gap: 12px; }
.fine { font-size: .875rem; margin: 1.25rem 0 0; }

form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-weight: 600; }
input {
  font: inherit; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink); width: 100%;
}

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 40px; font-size: .9rem; color: var(--ink-2); }
.footer-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.footer-marke { grid-column: 1 / -1; max-width: 34rem; }
.footer-marke .brand { display: inline-flex; margin-bottom: 8px; }
.footer-marke p { margin: 0 0 8px; }
.footer-ort { color: var(--muted); }
.site-footer h2 { margin: 0 0 8px; font-family: "Archivo", system-ui, sans-serif; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer nav a, .footer-unten a { color: var(--ink-2); display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.footer-marke p a { color: var(--accent); display: inline-flex; align-items: center; min-height: 44px; }
.site-footer a:hover { color: var(--accent); }
.footer-unten { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; margin-top: 32px; padding-top: 12px; border-top: 1px solid var(--line); }
.footer-unten [data-lang] { font-weight: 600; }
@media (min-width: 960px) { .footer-raster { grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); } .footer-marke { grid-column: auto; } }
@media (min-width: 600px) and (max-width: 959px) { .footer-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Landing page */
[hidden] { display: none !important; }
.header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; padding: 10px 0; transition: color 200ms ease; }
.site-nav a:hover { color: var(--accent); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; cursor: pointer;
}
.menu-toggle svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 959px) {
  .landing .header-row { padding-top: 10px; padding-bottom: 10px; gap: 8px; min-height: 0; }
  .landing .theme-toggle { order: 1; }
  .landing .menu-toggle { order: 2; }
  .landing .site-nav { order: 3; flex-basis: 100%; }
  .landing .header-actions { order: 4; flex-basis: 100%; flex-wrap: nowrap; }
  .landing .header-actions .button { flex: 1; padding-left: 10px; padding-right: 10px; }
  /* Collapsed with JS, the sticky bar stays one row high: links and buttons open together */
  .js .landing .site-nav:not(.open), .js .landing .site-nav:not(.open) ~ .header-actions { display: none; }
  .js .landing .site-nav.open { flex-direction: column; gap: 0; border-top: 1px solid var(--line); margin-top: 4px; }
  .js .landing .site-nav.open ~ .header-actions { padding-bottom: 6px; }
}
@media (min-width: 960px) {
  .menu-toggle { display: none !important; }
  .landing .brand { margin-right: 32px; }
  .landing .site-nav { margin-right: auto; }
}

.landing main section { padding: 72px 0; }
@media (min-width: 900px) { .landing main section { padding: 80px 0; } }
.landing main h2 { margin-top: 0; margin-bottom: 1.25rem; }
.landing main h2, .closing h2 {
  font-size: clamp(1.75rem, 4.6vw, 2.75rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.1;
}
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-lead { color: var(--ink-2); max-width: 640px; font-size: 1.125rem; line-height: 1.55; margin-bottom: 2.5rem; }
.button.large { min-height: 52px; padding: 12px 28px; font-size: 1.05rem; }
.button.small { min-height: 44px; padding: 8px 16px; font-size: .9rem; }
.fine { color: var(--ink-2); }

/* Hero: text and product screenshot stand on the app's landscape, faded in at the top and out at the bottom.
   Side by side from 960px, so the product is visible in the first screen. */
.landing main .hero { padding: 0; }
.hero-bild { position: relative; isolation: isolate; padding: 64px 0 56px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-text { min-width: 0; }
.hero-bild::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/hero.jpg") center 45% / cover no-repeat;
  opacity: var(--hero-fade);
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 82%, rgb(0 0 0 / 0) 100%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 82%, rgb(0 0 0 / 0) 100%);
}
.hero-title {
  margin: 0 0 1.75rem;
  font-size: clamp(2.2rem, 7vw, 4.5rem); font-weight: 400; line-height: 1.02; letter-spacing: -.035em;
}
.hero-title .geist { color: var(--hero-geist); }
.hero-title .hero-zielgruppe { display: block; margin: 0 0 1.25rem; color: var(--hero-geist); font-size: .95rem; line-height: 1.4; font-weight: 600; letter-spacing: .01em; }
/* On the image the lead is ink, not grey, and large enough to count as large text */
.hero-lead { max-width: 620px; margin: 0; color: var(--ink); font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.4; letter-spacing: -.005em; }
.hero-cta { margin-top: 2rem; }
.hero-cta p:first-child { margin: 0; }
/* Price, AI and location before the button: the questions a visitor has before clicking. */
.hero-fakten { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; color: var(--ink); font-size: 1rem; }
/* A marker per item instead of separators, so a wrapped line never starts or ends with a stray dot. */
.hero-fakten li { white-space: nowrap; }
.hero-fakten li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 .55em .15em 0; border-radius: 50%; background: var(--accent); vertical-align: middle; }
.hero-fakten strong { font-weight: 700; }
.hero-fakten a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.hero-fakten a:hover { text-decoration-color: currentColor; }
.hero-cta .vertrauen { display: grid; gap: 8px; margin-top: 1.25rem; font-size: .95rem; color: var(--ink); }
.hero-cta .vertrauen strong { font-weight: 600; }
.landing main .funktioniert-mit { padding: 28px 0 32px; }
.funktioniert-mit .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.landing main .funktioniert-mit h2 { margin: 0; font-family: inherit; font-size: .95rem; font-weight: 500; letter-spacing: 0; line-height: 1.4; color: var(--ink-2); }
.funktioniert-mit ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* Pills, because names like "Claude Desktop und claude.ai" run into each other as plain text. */
.funktioniert-mit a {
  display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  color: var(--ink); font-size: .9rem; text-decoration: none; transition: border-color 200ms ease, color 200ms ease;
}
.funktioniert-mit a:hover { border-color: var(--accent); color: var(--accent); }
.vertrauen { list-style: none; margin: .75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .875rem; }
.vertrauen li { position: relative; padding-left: 20px; }
.vertrauen li::before {
  content: ""; position: absolute; left: 2px; top: .4em; width: 9px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
.vertrauen a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.vertrauen a:hover { text-decoration-color: currentColor; }
@media (min-width: 900px) {
  .hero-bild { padding: 88px 0 64px; }
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .hero-title { font-size: clamp(2.4rem, 4vw, 3.4rem); }
  .hero-lead { font-size: 1.25rem; }
  /* The screenshot reaches into the right margin where there is one, so the graph stays legible */
  .hero-shot { width: calc(100% + clamp(0px, (100vw - 1232px) / 2, 200px)); }
}

/* Screenshots: one per colour scheme in the hero, feature rows alternate image and text. */
.screen { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px var(--shadow); background: var(--surface); }
.screen-zoom { display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; background: none; cursor: zoom-in; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; cursor: zoom-out; }
.lightbox::backdrop { background: rgba(15, 18, 19, .88); }
.lightbox img { display: block; width: auto; height: auto; max-width: 96vw; max-height: 92vh; border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5); }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .45); background: rgba(0, 0, 0, .55); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; }
html:has(.lightbox[open]) { overflow: hidden; }
.nur-hell { display: var(--zeige-hell, block); }
.nur-dunkel { display: var(--zeige-dunkel, none); }
.hero-shot { margin: 0; min-width: 0; }
.demo { position: relative; }
.demo video { aspect-ratio: 16 / 9; background: #262d30; }
.demo-steuerung {
  position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid rgb(255 255 255 / .25); border-radius: 50%; background: rgb(20 26 28 / .7); color: #fff; cursor: pointer;
}
.demo-steuerung:hover { background: rgb(20 26 28 / .9); }
.demo-steuerung svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.demo-steuerung .abspielen { fill: currentColor; stroke-width: 1; }
.demo-steuerung[data-laeuft="true"] .abspielen, .demo-steuerung:not([data-laeuft="true"]) .pause { display: none; }
.hero-shot figcaption { margin-top: 14px; color: var(--ink); font-size: .95rem; text-align: center; }
.feature-row { display: grid; gap: 24px; align-items: center; margin-top: 40px; }
.feature-row h3 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin: 0 0 .75rem; }
.feature-text p { color: var(--ink-2); max-width: 46ch; }
.feature-shot { margin: 0; }
@media (min-width: 960px) {
  .feature-row { grid-template-columns: 5fr 7fr; gap: 56px; margin-top: 40px; }
  .feature-row.umgekehrt { grid-template-columns: 7fr 5fr; }
  .feature-row.umgekehrt .feature-shot { order: -1; }
}

.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards.two, .cards.three, .cards.four { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.four { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  transition: translate 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease;
}
.tile:hover { translate: 0 -3px; border-color: var(--line-2); box-shadow: 0 12px 32px var(--shadow); }
section:not(.band) .tile { background: var(--surface); }
.tile h3 { margin-top: 0; }
.tile p { margin: 0; color: var(--ink-2); }
.person { display: grid; gap: 24px; align-items: start; max-width: 860px; }
.person-bild { margin: 0; width: 160px; }
.person-bild img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); }
.person-text { min-width: 0; }
.person-text p { margin: 0 0 1rem; color: var(--ink-2); max-width: 62ch; }
.person-text .person-name { margin: 0; color: var(--ink); font-family: "Outfit", system-ui, sans-serif; font-size: 1.4rem; font-weight: 600; }
.person-text .person-rolle { margin-bottom: 1.25rem; }
@media (min-width: 720px) {
  .person { grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
  .person-bild { width: 100%; }
}

.icon {
  width: 36px; height: 36px; padding: 6px; margin-bottom: 8px; border-radius: 10px; background: var(--panel);
  fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; counter-reset: step; }
.steps > li { position: relative; padding-left: 56px; counter-increment: step; min-width: 0; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  font-family: "Outfit", system-ui, sans-serif; font-weight: 600;
}
.steps h3 { margin-top: 6px; }
.command { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 1rem; }
.command pre {
  flex: 1 1 260px; min-width: 0; margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--surface-2);
  border: 1px solid var(--line); white-space: pre-wrap; word-break: break-all;
  font: .9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace;
}

.anleitung { max-width: 860px; }
.anleitung > pre {
  margin: 0 0 1rem; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line);
  overflow-x: auto; font: .9rem/1.5 ui-monospace, "Cascadia Mono", Consolas, monospace;
}
.anleitung h3 { margin-top: 1.75rem; }
.werkzeuge { display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; margin: 0 0 1rem; }
.werkzeuge dt { margin: 0; }
.werkzeuge dd { margin: 0; color: var(--ink-2); }

.checks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: .45em; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
#daten .checks { max-width: 760px; }
@media (min-width: 900px) { #daten .checks { max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 48px; } }
.daten-unter { margin: 2.5rem 0 1.25rem; font-size: 1.25rem; }
.funktionen-raster { margin-top: 40px; }

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-family: "Outfit", system-ui, sans-serif; font-weight: 600; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--ink-2); }
.compare .us { background: var(--panel); color: var(--ink); font-weight: 600; }
/* Named products: many columns, so the row labels stay in view while the table scrolls sideways. */
.compare.marken { min-width: 1040px; font-size: .9rem; }
.compare.marken th, .compare.marken td { padding: 12px 12px; }
.compare.marken thead th a { color: var(--ink); text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.compare.marken tbody th { position: sticky; left: 0; z-index: 1; background: var(--bg); min-width: 190px; }
.compare.marken td.ja::before, .compare.marken td.nein::before, .compare.marken td.offen::before {
  display: inline-block; width: 1.1em; font-weight: 700;
}
.compare.marken td.ja::before { content: "✓"; color: var(--accent); }
.compare.marken td.nein::before { content: "✗"; color: var(--muted); }
.compare.marken td.offen::before { content: "?"; color: var(--muted); }
.compare.marken td.nein, .compare.marken td.offen { color: var(--muted); }
.vergleich-seite { max-width: 1100px; }
.vergleich-seite .compare.marken tbody th { background: var(--bg); }
.zurueck { margin: 0 0 .5rem; font-size: .9rem; }
.vergleich-liste { list-style: none; padding: 0; display: grid; gap: 12px; }
.vergleich-liste li { display: grid; gap: 2px; margin: 0; }
.vergleich-liste a { font-weight: 600; }
.ratgeber-antwort { font-size: 1.1rem; color: var(--ink); }
.ratgeber-bild { margin: 1.5rem 0; }
.ratgeber-bild figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); text-align: center; }
.ratgeber-artikel .command { margin-top: .5rem; }
.ratgeber-cta { margin-top: 2.5rem; }
.schritte-weiter { margin: 2rem 0 0; color: var(--ink-2); }
.table-scroll + .fine { font-size: .875rem; margin-top: .75rem; }
.note { max-width: 760px; color: var(--ink-2); margin-top: 1.5rem; }

.badge {
  display: inline-block; margin-left: 6px; padding: 2px 10px; border-radius: 999px; vertical-align: middle;
  background: var(--panel); color: var(--ink); font: 600 .75rem/1.6 "Archivo", system-ui, sans-serif;
}

/* auto-fit leaves room for a third plan (self-hosted) without new breakpoints. */
.price-grid {
  display: grid; gap: 24px; max-width: 1000px; align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}
.price-card {
  display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line-2); border-radius: 20px;
  padding: 28px 24px; box-shadow: 0 12px 36px var(--shadow);
}
.price-card.featured { border: 2px solid var(--accent); }
@media (min-width: 640px) { .price-card { padding: 36px 32px; } }
.price-card h3 { margin: 0 0 .75rem; }
.price { font-family: "Outfit", system-ui, sans-serif; font-size: clamp(2.25rem, 7vw, 3rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 0; }
.price-card p { color: var(--ink-2); }
.price-card .price { color: var(--ink); }
.price-card .price-unit { margin-top: .25rem; }
.price-card .price-cta { margin: auto 0 0; padding-top: 1rem; }
.badge.accent { background: var(--accent); color: var(--on-accent); }
.price-common { max-width: 1000px; margin-top: 2rem; }
/* From 1100px the shared terms sit beside the two plans instead of below them. */
@media (min-width: 1100px) {
  .preise-raster { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .preise-raster .price-common { margin-top: 0; padding-top: 8px; }
}
.price-common p { color: var(--ink-2); }
.example { font-weight: 600; }

.faq-liste { max-width: 800px; }
.faq-liste > details { border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) {
  .faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; align-items: start; }
  .faq-liste { max-width: none; }
}
.faq summary {
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; min-height: 44px;
  font-weight: 600; color: var(--ink); list-style: none; transition: color 200ms ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.3rem; font-weight: 400; line-height: 1; transition: transform 200ms ease; }
.faq details[open] > summary::after { transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
.faq summary:hover { color: var(--accent); }
.faq details p { color: var(--ink-2); }

.closing { text-align: center; background: var(--panel); }
.closing h2 { max-width: 720px; margin-left: auto; margin-right: auto; }

.legal { max-width: 800px; padding-top: 32px; padding-bottom: 56px; }
.legal h2 { font-size: clamp(1.15rem, 3.5vw, 1.4rem); margin-top: 2.25rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.legal li { margin-bottom: .35rem; }
.legal .stand { font-size: .875rem; color: var(--muted); }
.legal .box { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 1.5rem 0; }
.legal .box h2 { margin-top: 0; }
.legal .fill { display: block; border-bottom: 1px solid var(--line-2); min-height: 1.8rem; margin: .25rem 0 1rem; }

/* Motion, ported from michael-schwarz.dev (see bewegung.js). Nothing here applies without .bewegung on <html>,
   which is set only with JS and prefers-reduced-motion: no-preference; the resting state is the visible one.
   --takt staggers in steps of 90ms on reveal and 120ms on load. The hero headline and screenshot never animate:
   as the largest elements they decide when the page counts as loaded (LCP). */
@keyframes sanft-auf { from { opacity: 0; transform: translateY(1rem); } to { opacity: 1; transform: none; } }

/* Each line slides up out of its own mask; padding and negative margin keep descenders unclipped */
.zeile { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.zeile > span { display: block; }
.zeilen-auf { display: block; }

.bewegung .sanft-auf {
  animation: sanft-auf 900ms var(--ease) both; animation-delay: calc(60ms + var(--takt, 0) * 120ms);
}

.bewegung .zeile-auf > span {
  transform: translateY(105%);
  transition: transform 900ms var(--ease); transition-delay: calc(var(--takt, 0) * 90ms);
}
.bewegung .zeilen-auf.ist-da .zeile-auf > span { transform: translateY(0); }

.bewegung .satz-auf {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
  transition-delay: calc(var(--takt, 0) * 90ms);
}
.bewegung .satz-auf.ist-da { opacity: 1; transform: none; }
/* Tiles keep their quick hover lift (translate) beside the slow reveal (transform) */
.bewegung .tile.satz-auf {
  transition: opacity 800ms var(--ease), transform 800ms var(--ease), translate 300ms var(--ease),
    box-shadow 300ms var(--ease), border-color 300ms ease;
  transition-delay: calc(var(--takt, 0) * 90ms), calc(var(--takt, 0) * 90ms), 0s, 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile:hover { translate: none; }
  .button.pille:hover .rund { transform: none; }
}

/* /betrieb: the operator's overview of all teams. */
/* The figures stand on the hero's landscape, veiled and faded like the landing page; the cards are frosted. */
.betrieb-kopf { position: relative; isolation: isolate; padding: 40px 0 8px; }
.betrieb-kopf::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("img/hero.jpg") center 42% / cover no-repeat;
  opacity: var(--hero-fade);
  -webkit-mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 70%, rgb(0 0 0 / 0) 100%);
  mask-image: linear-gradient(to bottom, rgb(0 0 0 / 0) 0, rgb(0 0 0 / 1) 10%, rgb(0 0 0 / 1) 70%, rgb(0 0 0 / 0) 100%);
}
.betrieb-kopf h1 { margin-bottom: 0; }
.wrap.betrieb { max-width: 1320px; }
article.betrieb { padding-bottom: 56px; }
.kennzahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 1.5rem 0 2rem; }
.kennzahlen div {
  border-radius: 16px; padding: 14px 16px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
  border: 1px solid color-mix(in srgb, var(--surface) 55%, transparent);
  box-shadow: 0 2px 6px var(--shadow), 0 16px 40px rgb(20 35 45 / .22);
}
.kennzahlen dt { font-size: .8rem; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.kennzahlen dd { margin: 4px 0 0; font: 500 1.6rem/1.2 "Outfit", system-ui, sans-serif; color: var(--ink); }
/* Fits a laptop screen without scrolling: headers may wrap, cells stay on one line. */
.compare.betrieb-tabelle { min-width: 0; font-size: .85rem; }
.compare.betrieb-tabelle th, .compare.betrieb-tabelle td { padding: 9px 8px; }
.compare.betrieb-tabelle td { white-space: nowrap; }
.compare.betrieb-tabelle thead th { font-size: .8rem; line-height: 1.25; vertical-align: bottom; hyphens: manual; }
.compare.betrieb-tabelle thead small { display: block; font-weight: 400; color: var(--muted); }
.compare.betrieb-tabelle tbody th { white-space: normal; min-width: 9rem; }
.betrieb-tabelle th.sortierbar { cursor: pointer; }
.betrieb-tabelle th[aria-sort="ascending"]::after { content: " ↑"; }
.betrieb-tabelle th[aria-sort="descending"]::after { content: " ↓"; }
.betrieb-tabelle form { display: block; margin: 0; }
.betrieb-tabelle .button.small { min-height: 32px; padding: 4px 12px; font-size: .8rem; }
.betrieb-tabelle tr.nicht-relevant > * { opacity: .55; }
.betrieb-tabelle tr.nicht-relevant > td:last-child { opacity: 1; }
.betrieb-tabelle .kontakt { font-size: .8rem; font-weight: 400; color: var(--muted); text-decoration-color: var(--line-2); }
.betrieb-tabelle .hinweis { font-size: .75rem; font-weight: 500; color: var(--muted); }
.betrieb .compare:not(.betrieb-tabelle) { min-width: 0; }
.zaehlung { display: grid; gap: 16px; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.zaehlung form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 0; }
.zaehlung p { margin: 0; font-size: .875rem; color: var(--ink-2); }
.zaehlung summary { cursor: pointer; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.zaehlung details form { margin-top: 10px; }
.zaehlung .button.small { min-height: 32px; padding: 4px 14px; font-size: .8rem; }
@media (min-width: 900px) { .zaehlung { grid-template-columns: 1fr 1fr; align-items: start; } }
/* Daily views: HTML bars so the text stays crisp at any width; screen readers get each day as text, not 90 tab stops. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.verlauf { margin: 0 0 2rem; }
.verlauf figcaption { margin-bottom: 12px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.verlauf-flaeche { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.verlauf-skala {
  display: flex; flex-direction: column; justify-content: space-between; height: 180px; margin-top: -.5em;
  font-size: .75rem; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums;
}
.verlauf-skala span:last-child { margin-bottom: -.5em; }
.verlauf-balken {
  display: flex; align-items: flex-end; gap: 2px; height: 180px; margin: 0 0 28px; padding: 0; list-style: none;
  border-bottom: 1px solid var(--line-2);
  background: linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 50%;
}
.verlauf-balken.dicht { gap: 1px; }
.verlauf-balken li { position: relative; flex: 1 1 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.verlauf-balken li::before {
  content: ""; display: block; width: min(100%, 40px); height: var(--wert); background: var(--accent); border-radius: 4px 4px 0 0;
}
.verlauf-balken.dicht li::before { border-radius: 2px 2px 0 0; }
.verlauf-balken li:hover::before { filter: brightness(1.25); }
.verlauf-balken li::after {
  content: attr(data-tipp); position: absolute; bottom: calc(var(--wert) + 8px); left: 50%; translate: -50% 0; z-index: 1;
  padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--bg); font-size: .75rem; white-space: nowrap;
  pointer-events: none; opacity: 0;
}
.verlauf-balken li:first-child::after { left: 0; translate: 0 0; }
.verlauf-balken li:last-child::after { left: auto; right: 0; translate: 0 0; }
.verlauf-balken li:hover::after { opacity: 1; }
.verlauf-datum {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0;
  font-size: .75rem; color: var(--muted); white-space: nowrap;
}
.betrieb .table-scroll + .table-scroll { margin-top: 16px; }
.betrieb-tabelle .nur-mobil { display: none; }
/* Phones: each team becomes a card with labelled figures; the header row turns into sort chips. */
@media (max-width: 720px) {
  .betrieb .table-scroll:has(.betrieb-tabelle) { overflow: visible; border: 0; background: none; }
  .compare.betrieb-tabelle, .betrieb-tabelle thead, .betrieb-tabelle tbody { display: block; }
  .betrieb-tabelle thead tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; }
  .compare.betrieb-tabelle thead td { order: -1; flex-basis: 100%; padding: 0; border: 0; }
  .betrieb-tabelle .nur-mobil { display: inline; font-size: .8rem; color: var(--muted); }
  .compare.betrieb-tabelle thead th {
    padding: 5px 11px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; vertical-align: baseline;
  }
  .compare.betrieb-tabelle thead th small { display: inline; }
  .betrieb-tabelle thead th[aria-sort] { border-color: var(--accent); color: var(--ink); }
  .betrieb-tabelle tbody tr {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-bottom: 12px; padding: 14px 16px;
    border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  }
  .compare.betrieb-tabelle tbody tr > * { padding: 0; border: 0; }
  .compare.betrieb-tabelle tbody th { grid-column: 1 / -1; min-width: 0; font-size: .95rem; }
  .compare.betrieb-tabelle td { white-space: normal; }
  .betrieb-tabelle td[data-label]::before {
    content: attr(data-label); display: block; font-size: .72rem; font-weight: 600; color: var(--muted);
  }
  .betrieb-tabelle td.aktion { grid-column: 1 / -1; }
  .betrieb-tabelle .kontakt { overflow-wrap: anywhere; }
}
