/* ==========================================================================
   educis.de Startseite (2026, v3)
   Geist + Geist Mono, lokal gehostet. Marke: Violett #6D28D9, Tinte #0F172A,
   Lavendel #F5F3FF. Keine externen Requests.

   Formsystem (bitte einhalten):
   - Flächen, Karten, Demos:  --r-lg (22px)
   - kleine Elemente, Zeilen: --r-md (14px)
   - Buttons, Segmente, Tags: Pille (999px)

   Ebenen: Grain 90 > Navigation 50 > Dropdown 51 > Inhalt
   ========================================================================== */

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

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f6f6f9;
  --bg-2: #eeedf4;
  --surface: #fdfdfe;
  --ink: #0f172a;
  --text: #3a4155;
  --muted: #5f6577;
  --line: rgb(15 23 42 / 0.09);
  --line-strong: rgb(15 23 42 / 0.16);

  --accent: #6d28d9;
  --accent-hover: #5b21b6;
  --accent-text: #6d28d9;
  --accent-soft: #f2edfd;
  --accent-line: #dccff8;
  --on-accent: #fdfdfe;

  --warn: #92400e;
  --warn-soft: #fdf3e4;
  --ok: #046c4e;
  --ok-soft: #e7f6ef;

  --deep: #0f172a;
  --deep-2: #161f38;
  --deep-text: #c7cbe0;

  --r-lg: 22px;
  --r-md: 14px;
  --pill: 999px;

  --shadow: 0 1px 1px rgb(46 16 101 / 0.04), 0 12px 32px -12px rgb(46 16 101 / 0.16);
  --shadow-lg: 0 2px 2px rgb(46 16 101 / 0.04), 0 40px 80px -32px rgb(46 16 101 / 0.32);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --fs-display: clamp(2.3rem, 1.2rem + 3.4vw, 4.2rem);
  --fs-h2: clamp(2.1rem, 1.3rem + 2.8vw, 3.6rem);
  --fs-lead: clamp(1.06rem, 1rem + 0.25vw, 1.2rem);

  --nav-h: 68px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(88px, 10vw, 140px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0c0b14;
    --bg-2: #13121d;
    --surface: #17161f;
    --ink: #f0eff7;
    --text: #bdbccc;
    --muted: #9796aa;
    --line: rgb(255 255 255 / 0.08);
    --line-strong: rgb(255 255 255 / 0.16);
    --accent: #7c3aed;
    --accent-hover: #8b5cf6;
    --accent-text: #b79cf7;
    --accent-soft: #1d1730;
    --accent-line: #352a55;
    --on-accent: #fbfaff;
    --warn: #f3c37c;
    --warn-soft: #2a2013;
    --ok: #74d6ad;
    --ok-soft: #12251d;
    --deep: #05040a;
    --deep-2: #110f1c;
    --deep-text: #bdbccc;
    --shadow: 0 1px 1px rgb(0 0 0 / 0.3), 0 12px 32px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 2px 2px rgb(0 0 0 / 0.3), 0 40px 80px -32px rgb(0 0 0 / 0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0c0b14;
  --bg-2: #13121d;
  --surface: #17161f;
  --ink: #f0eff7;
  --text: #bdbccc;
  --muted: #9796aa;
  --line: rgb(255 255 255 / 0.08);
  --line-strong: rgb(255 255 255 / 0.16);
  --accent: #7c3aed;
  --accent-hover: #8b5cf6;
  --accent-text: #b79cf7;
  --accent-soft: #1d1730;
  --accent-line: #352a55;
  --on-accent: #fbfaff;
  --warn: #f3c37c;
  --warn-soft: #2a2013;
  --ok: #74d6ad;
  --ok-soft: #12251d;
  --deep: #05040a;
  --deep-2: #110f1c;
  --deep-text: #bdbccc;
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 6px;
}
::selection {
  background: var(--accent);
  color: var(--on-accent);
}
[hidden] {
  display: none !important;
}
.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 {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: var(--pill);
  background: var(--ink);
  color: var(--bg);
  font-weight: 500;
  transition: top 0.2s var(--ease);
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--sm {
  width: 16px;
  height: 16px;
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
@media (prefers-color-scheme: dark) {
  .grain {
    mix-blend-mode: screen;
    opacity: 0.035;
  }
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.h2 {
  font-size: var(--fs-h2);
  max-width: 18ch;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  max-width: 58ch;
  color: var(--text);
}
.lead a,
.faq a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 46px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-size: 0.98rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    transform 0.2s var(--ease);
}
.btn:active {
  transform: translateY(1px) scale(0.985);
}
.btn .ico {
  transition: transform 0.45s var(--ease);
}
.btn:hover .ico {
  transform: translateX(3px);
}
.btn--sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 0.92rem;
}
.btn--lg {
  --h: 54px;
  padding: 0 28px;
  font-size: 1.02rem;
}
.btn--xl {
  --h: 64px;
  padding: 0 36px;
  font-size: 1.12rem;
}
.btn--primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.18),
    0 10px 24px -10px rgb(109 40 217 / 0.6);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn--primary:hover {
  background: var(--accent-hover);
}
.btn--primary:hover::before {
  opacity: 1;
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ink);
}
.btn--light {
  background: #fbfaff;
  color: #0f172a;
}
.btn--light:hover {
  background: #ece6fd;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--pill);
  border: 1px solid var(--line-strong);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}
.tag--live {
  border-color: var(--accent-line);
  background: var(--accent-soft);
  color: var(--accent-text);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition:
    transform 0.6s var(--ease),
    background-color 0.4s,
    border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}
.nav.is-hidden {
  transform: translateY(-100%);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.brand img {
  width: 34px;
  height: 34px;
  margin: -2px;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--pill);
  background: none;
  font-size: 0.94rem;
  font-weight: 450;
  color: var(--text);
  transition:
    color 0.25s,
    background-color 0.25s;
}
.nav__link:hover,
.drop.is-open .drop__btn {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}
.drop__btn .ico {
  transition: transform 0.35s var(--ease);
}
.drop.is-open .drop__btn .ico {
  transform: rotate(180deg);
}
.nav__sep {
  width: 1px;
  height: 20px;
  margin: 0 8px;
  background: var(--line-strong);
}
.nav__cta {
  margin-left: 6px;
}
.drop {
  position: relative;
}
.drop__panel {
  position: absolute;
  top: calc(100% + 10px);
  left: -12px;
  z-index: 51;
  width: 340px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  transition:
    opacity 0.25s var(--ease),
    transform 0.35s var(--ease),
    visibility 0s 0.35s;
}
.drop.is-open .drop__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 0.25s var(--ease),
    transform 0.35s var(--ease);
}
.drop__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  border-radius: var(--r-md);
  transition: background-color 0.2s;
}
.drop__item:hover {
  background: var(--accent-soft);
}
.drop__item img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}
.drop__item strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 550;
  font-size: 0.96rem;
}
.drop__item small {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
}
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: transparent;
}
.burger span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.45s var(--ease);
}
.burger span:first-child {
  transform: translateY(-4px);
}
.burger span:last-child {
  transform: translateY(4px);
}
.burger[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}
.burger[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(32px, 6vw, 80px));
  padding-bottom: clamp(56px, 7vw, 104px);
  min-height: min(100dvh, 980px);
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 80%;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 82% 18%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__eyebrow {
  margin-bottom: 28px;
}
.hero__title {
  font-size: var(--fs-display);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-text);
  padding-right: 0.04em;
}
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}
.mask > span {
  display: block;
}
@media (min-width: 961px) {
  .hero__title .mask > span {
    white-space: nowrap;
  }
}
.hero__sub {
  margin-top: 28px;
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.6;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.hero__visual {
  position: relative;
  padding-bottom: 56px;
}
.hero__photo {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  box-shadow: var(--shadow-lg);
}
.hero__photo img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 34% 60%;
  transform-origin: 40% 60%;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero__photo img {
    filter: brightness(0.86) saturate(0.95);
  }
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.06);
  pointer-events: none;
}

/* Buchungs-Komponente im Hero */
.booker {
  position: absolute;
  left: clamp(-56px, -4vw, -16px);
  bottom: 0;
  width: min(330px, 86%);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.5),
    var(--shadow-lg);
}
.booker__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 2px 2px 14px;
}
.booker__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
}
.booker__head strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.2;
}
.booker__head small {
  color: var(--muted);
  font-size: 0.82rem;
}
.booker__slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.booker__slots button {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  text-align: left;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink);
  transition:
    border-color 0.25s,
    background-color 0.25s,
    transform 0.25s var(--ease);
}
.booker__slots button span {
  font-size: 0.76rem;
  font-weight: 450;
  color: var(--ok);
}
.booker__slots button:hover {
  border-color: var(--accent-line);
}
.booker__slots button[data-taken] {
  background: var(--bg-2);
  color: var(--muted);
}
.booker__slots button[data-taken] span {
  color: var(--muted);
}
.booker__slots button.is-mine {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.booker__slots button.is-mine span {
  color: var(--on-accent);
}
.booker__slots button.is-shake {
  animation: shake 0.45s var(--ease);
}
.booker__status {
  min-height: 2.6em;
  margin-top: 12px;
  padding: 0 2px;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--muted);
}
.booker__status.is-ok {
  color: var(--ok);
}
.booker__status.is-warn {
  color: var(--warn);
}
@keyframes shake {
  20% { transform: translateX(-5px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__list {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}
.marquee__list li {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 1.02rem;
  font-weight: 450;
  color: var(--ink);
}
.marquee__list .ico {
  color: var(--accent-text);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Konvergenz-Szene ---------- */
.converge {
  position: relative;
  padding-block: clamp(40px, 5vw, 80px);
}
.converge__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  min-height: calc(100dvh - var(--nav-h) * 2);
}
.converge__copy .lead {
  margin-top: 28px;
}
.converge__stage {
  --row: 58px;
  position: relative;
  height: calc(var(--row) * 8);
}
.chip {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--i, 0) * var(--row));
  width: min(400px, 100%);
  height: calc(var(--row) - 8px);
  margin-inline: auto;
  display: grid;
  will-change: transform;
}
.chip__chaos,
.chip__order {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: var(--r-md);
}
.chip__chaos {
  justify-self: center;
  width: max-content;
  max-width: 100%;
  padding: 0 16px;
  font-size: 0.95rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.chip__chaos--note {
  font-weight: 550;
  background: color-mix(in srgb, var(--surface) 70%, var(--bg-2));
  border-radius: 4px;
  box-shadow:
    0 1px 0 var(--line),
    0 18px 30px -18px rgb(15 23 42 / 0.4);
}
.chip__chaos--note::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 46px;
  height: 14px;
  margin-left: -23px;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  transform: rotate(-3deg);
}
.chip__chaos--mail .ico,
.chip__chaos--file .ico {
  color: var(--muted);
}
.chip__chaos--file {
  font-family: var(--mono);
  font-size: 0.84rem;
}
.chip__chaos--paper {
  font-style: italic;
  border-style: dashed;
  border-color: var(--line-strong);
  border-radius: 2px;
}
.chip__order {
  padding: 0 16px;
  border: 1px solid var(--accent-line);
  background: var(--surface);
  box-shadow: var(--shadow);
  opacity: 0;
}
.chip__order .ico {
  color: var(--accent-text);
}
.chip__order b {
  color: var(--ink);
  font-weight: 550;
}
.chip__order small {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Module ---------- */
.modules {
  padding-block: var(--section);
  background: var(--bg-2);
  border-radius: clamp(28px, 4vw, 48px);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.modules__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px 48px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.modules__head .h2,
.modules__head .lead {
  grid-column: 1;
}
.modules__head .seg {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}
.seg {
  position: relative;
  display: inline-flex;
  justify-self: start;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  background: var(--surface);
  isolation: isolate;
}
.seg__btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--pill);
  background: none;
  font-weight: 500;
  color: var(--text);
  transition: color 0.35s var(--ease);
}
.seg__btn span {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  transition: color 0.35s;
}
.seg__btn.is-active,
.seg__btn.is-active span {
  color: var(--on-accent);
}
.seg__thumb {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: 42px;
  width: var(--tw, 120px);
  border-radius: var(--pill);
  background: var(--accent);
  transform: translateX(var(--tx, 4px));
  transition:
    transform 0.55s var(--ease),
    width 0.55s var(--ease);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.tile {
  --d: 0ms;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 228px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition:
    opacity 0.6s var(--ease) var(--d),
    filter 0.6s var(--ease) var(--d),
    transform 0.6s var(--ease) var(--d),
    border-color 0.3s;
}
.tile:hover {
  border-color: var(--accent-line);
}
.tile__ico {
  width: 26px;
  height: 26px;
  margin-bottom: auto;
  color: var(--accent-text);
}
.tile h3 {
  margin-top: 28px;
  font-size: 1.14rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.tile p {
  font-size: 0.93rem;
  line-height: 1.5;
  color: var(--muted);
}
.tile--wide {
  grid-column: span 2;
}
.tile--wide h3 {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  letter-spacing: -0.035em;
}
.tile--wide p {
  max-width: 46ch;
  font-size: 1rem;
}
.tile--violet {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
  color: #ece6fd;
}
.tile--violet h3,
.tile--violet .tile__ico {
  color: #fbfaff;
}
.tile--violet p {
  color: #ddd2fb;
}
.tile--violet::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 260px;
  height: 260px;
  background: url("flow-mark.svg") center / contain no-repeat;
  opacity: 0.14;
  transform: rotate(-12deg);
}
.tile--lavender {
  background:
    linear-gradient(var(--accent-soft), var(--accent-soft)) padding-box,
    linear-gradient(140deg, var(--accent-line), transparent) border-box;
  background-image:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 0);
  background-size: 18px 18px;
  background-color: var(--accent-soft);
}
.modules[data-pkg="essential"] .tile[data-pkg="complete"] {
  opacity: 0.38;
  filter: grayscale(1);
  transform: scale(0.97);
}
.modules[data-pkg="essential"] .tile[data-pkg="complete"]::before {
  content: "Komplett";
  position: absolute;
  top: 20px;
  right: 20px;
  height: 22px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
}

.included {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
  gap: 32px;
}
.included__title {
  font-weight: 550;
  color: var(--ink);
}
.included__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 40px;
}
.included__list li {
  display: flex;
  gap: 14px;
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--muted);
}
.included__list .ico {
  margin-top: 2px;
  color: var(--accent-text);
}
.included__list b {
  display: block;
  color: var(--ink);
  font-weight: 550;
}

/* ---------- Story / Momente ---------- */
.story {
  padding-block: var(--section);
}
.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 7vw, 120px);
}
.story__sticky {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: grid;
  gap: 28px;
}
.story__nav {
  display: grid;
  gap: 2px;
  margin-top: 12px;
  border-left: 1px solid var(--line-strong);
}
.story__nav a {
  position: relative;
  display: block;
  padding: 10px 0 10px 22px;
  font-size: 1.05rem;
  color: var(--muted);
  transition: color 0.35s;
}
.story__nav a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.5s var(--ease);
}
.story__nav a.is-active {
  color: var(--ink);
}
.story__nav a.is-active::before {
  transform: scaleY(1);
}
.story__panels {
  display: grid;
  gap: clamp(96px, 12vw, 160px);
}
.moment {
  scroll-margin-top: calc(var(--nav-h) + 40px);
}
.moment h3 {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem);
}
.moment > p {
  margin-top: 14px;
  max-width: 50ch;
  color: var(--text);
}
.demo {
  margin-top: 32px;
  padding: clamp(18px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.demo__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 550;
  color: var(--ink);
}
.demo__bar > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.demo__bar .ico {
  color: var(--accent-text);
}
.demo__hint {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 450;
  color: var(--muted);
}
.demo__status {
  min-height: 1.6em;
  margin-top: 18px;
  font-size: 0.94rem;
  color: var(--muted);
}
.demo__status.is-ok {
  color: var(--ok);
}
.demo__status.is-warn {
  color: var(--warn);
}
.demo__actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.planner {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.planner__day {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-height: 132px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--bg);
  text-align: left;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.3s var(--ease);
}
.planner__day:hover {
  border-color: var(--accent-line);
}
.planner__d {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.planner__ev {
  width: 100%;
  padding: 6px 8px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.82rem;
  font-weight: 550;
  overflow-wrap: anywhere;
}
.planner__ev--empty {
  background: none;
  color: var(--muted);
  font-weight: 450;
  padding-inline: 0;
}
.planner__day.is-new .planner__ev {
  background: var(--accent);
  color: var(--on-accent);
  padding-inline: 8px;
}
.planner__day.is-warn {
  border-color: color-mix(in srgb, var(--warn) 50%, transparent);
  background: var(--warn-soft);
}
.planner__day.is-warn .planner__ev {
  background: var(--warn);
  color: var(--warn-soft);
  padding-inline: 8px;
}
.planner__day.is-shake {
  animation: shake 0.45s var(--ease);
}

.ticket__title {
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--ink);
}
.ticket__no {
  transition: color 0.3s;
}
.ticket__no.is-set {
  color: var(--accent-text);
}
.ticket__flow {
  position: relative;
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding-left: 4px;
}
.ticket__flow::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: var(--line-strong);
}
.ticket__flow li {
  position: relative;
  display: grid;
  grid-template-columns: 14px auto;
  column-gap: 16px;
  align-items: baseline;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.ticket__flow li.is-done {
  opacity: 1;
}
.ticket__dot {
  grid-row: span 2;
  align-self: start;
  width: 13px;
  height: 13px;
  margin-top: 5px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  transition:
    background-color 0.4s,
    border-color 0.4s,
    transform 0.5s var(--ease);
}
.ticket__flow li.is-done .ticket__dot {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.ticket__flow b {
  color: var(--ink);
  font-weight: 550;
}
.ticket__flow small {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.88rem;
}

.info__title {
  font-size: 1.15rem;
  font-weight: 550;
  color: var(--ink);
}
.info__body {
  margin-top: 8px;
  color: var(--text);
}
.info__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.info__count {
  color: var(--muted);
  font-size: 0.94rem;
}
.info__count b {
  display: inline-block;
  min-width: 2ch;
  font-family: var(--mono);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--ink);
}
[data-info-btn].is-done {
  background: var(--ok-soft);
  color: var(--ok);
  box-shadow: none;
}

/* ---------- Preise ---------- */
.pricing {
  padding-block: var(--section);
}
.pricing__head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.pricing__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 16px;
  align-items: start;
}
.calc {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.calc fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.calc label,
.calc legend {
  font-weight: 550;
  color: var(--ink);
}
.calc legend {
  margin-bottom: 10px;
  padding: 0;
}
.calc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.calc__staff {
  font-family: var(--mono);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
}
.calc__help {
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--muted);
}
.calc input[type="range"] {
  --p: 30%;
  width: 100%;
  height: 28px;
  margin-top: 14px;
  background: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.calc input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--accent) var(--p), var(--line-strong) var(--p));
}
.calc input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: var(--pill);
  background: var(--line-strong);
}
.calc input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: var(--pill);
  background: var(--accent);
}
.calc input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin-top: -10px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  background: var(--surface);
  box-shadow: 0 4px 14px -4px rgb(109 40 217 / 0.6);
  transition: transform 0.25s var(--ease);
}
.calc input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 6px solid var(--accent);
  background: var(--surface);
}
.calc input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
.calc__split {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px 32px;
}
.seg--sm {
  display: flex;
  flex-wrap: wrap;
}
.seg__opt {
  position: relative;
  cursor: pointer;
}
.seg__opt input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.seg__opt span {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 16px;
  border-radius: var(--pill);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
.seg__opt input:checked + span {
  background: var(--accent);
  color: var(--on-accent);
}
.seg__opt input:focus-visible + span {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
}
.calc__result {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.calc__tier {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--muted);
}
.calc__tier span:first-child {
  color: var(--accent-text);
  font-weight: 500;
}
.calc__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-top: 10px;
}
.calc__amount {
  font-size: clamp(3.2rem, 2.2rem + 3.6vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__per {
  color: var(--muted);
}
.calc__was {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--muted);
}
.calc__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.calc__facts dt {
  font-size: 0.82rem;
  color: var(--muted);
}
.calc__facts dd {
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.calc__facts dd[data-saving].is-pos {
  color: var(--ok);
}
.calc__note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--muted);
}

.tiers {
  display: grid;
  gap: 16px;
}
.tiers__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}
.tiers__table th,
.tiers__table td {
  padding: 16px 18px;
  text-align: left;
  font-weight: 450;
}
.tiers__table thead th {
  font-size: 0.82rem;
  font-family: var(--mono);
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.tiers__table td {
  font-family: var(--mono);
  font-size: 0.98rem;
  color: var(--text);
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition:
    color 0.3s,
    opacity 0.3s;
}
.tiers__table thead th[data-col] {
  text-align: right;
}
.tiers__table tbody th b {
  display: inline-block;
  min-width: 2.2ch;
  margin-right: 10px;
  color: var(--ink);
  font-weight: 600;
}
.tiers__table tbody th small {
  color: var(--muted);
  font-size: 0.86rem;
}
.tiers__table tbody tr {
  cursor: pointer;
  transition: background-color 0.35s var(--ease);
}
.tiers__table tbody tr:hover {
  background: color-mix(in srgb, var(--accent-soft) 60%, transparent);
}
.tiers__table tbody tr.is-active {
  background: var(--accent-soft);
}
.tiers__table tbody tr.is-active td.is-col {
  color: var(--accent-text);
  font-weight: 600;
}
.tiers__table td:not(.is-col) {
  opacity: 0.6;
}
.tiers__foot {
  font-size: 0.86rem;
  color: var(--muted);
  padding-inline: 4px;
}
.covers {
  padding: 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.covers__title {
  font-weight: 550;
  color: var(--ink);
  margin-bottom: 14px;
}
.covers ul {
  display: grid;
  gap: 10px;
}
.covers li {
  display: flex;
  gap: 12px;
  font-size: 0.93rem;
  line-height: 1.45;
}
.covers .ico {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--ok);
}

.pilot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 16px;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 140% at 100% 100%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    var(--accent-soft);
  border: 1px solid var(--accent-line);
}
.pilot__mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--on-accent);
  align-self: start;
}
.pilot__mark .ico {
  width: 26px;
  height: 26px;
}
.pilot h3 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem);
}
.pilot__copy p {
  margin-top: 10px;
  max-width: 68ch;
}
.pilot__small {
  font-size: 0.88rem;
  color: var(--muted);
}
.terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 48px;
  border-top: 1px solid var(--line-strong);
}
.terms li {
  padding: 24px 24px 0 0;
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.5;
}
.terms li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.terms b {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-weight: 550;
  font-size: 1.02rem;
}
.pricing__legal {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--muted);
}
.pricing__legal a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Datenschutz ---------- */
.privacy {
  padding-inline: 0;
}
.privacy__panel {
  position: relative;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
  background:
    radial-gradient(50% 60% at 85% 10%, rgb(124 58 237 / 0.35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgb(109 40 217 / 0.22), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--deep-2));
  color: var(--deep-text);
  padding-block: var(--section);
  clip-path: inset(0 round 0);
  will-change: clip-path;
}
.privacy__title {
  max-width: 20ch;
  font-size: clamp(2.3rem, 1.2rem + 4vw, 5rem);
  letter-spacing: -0.045em;
  color: #f4f2fb;
}
.privacy__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 80px);
}
.privacy__lead {
  font-size: var(--fs-lead);
  color: #c9c6dc;
  max-width: 42ch;
}
.privacy__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
}
.privacy__list li {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: #e9e6f5;
  line-height: 1.45;
}
.privacy__list .ico {
  width: 22px;
  height: 22px;
  color: #b79cf7;
}
.privacy__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 56px;
}
.privacy__link {
  color: #c9c6dc;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.3);
  text-underline-offset: 4px;
  transition: color 0.25s;
}
.privacy__link:hover {
  color: #fff;
}
.privacy :focus-visible {
  outline-color: #c4b5fd;
}

/* ---------- Ablauf ---------- */
.steps {
  padding-block: var(--section);
}
.steps__title {
  max-width: 22ch;
}
.steps__rail {
  position: relative;
  height: 1px;
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--line-strong);
}
.steps__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.step {
  position: relative;
  padding-top: 40px;
}
.step__node {
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--accent);
  transition:
    background-color 0.4s,
    transform 0.5s var(--ease);
}
.step.is-lit .step__node {
  background: var(--accent);
  transform: scale(1.25);
}
.step h3 {
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}
.step p {
  margin-top: 10px;
  max-width: 30ch;
  color: var(--muted);
}

/* ---------- Produktfamilie ---------- */
.family {
  padding-block: 0 var(--section);
}
.family__lead {
  margin-top: 24px;
}
.family__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  gap: 12px;
  margin-top: clamp(48px, 6vw, 72px);
}
.product {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 24px;
  align-items: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition:
    border-color 0.3s,
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.product:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
}
.product h3 {
  margin-top: 8px;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
}
.product__body p:not(.product__meta) {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}
.product__go {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--accent-text);
}
.product__go .ico {
  transition: transform 0.45s var(--ease);
}
.product:hover .product__go .ico {
  transform: translateX(4px);
}
.product--main {
  grid-row: span 3;
  grid-template-columns: 1fr;
  align-content: space-between;
  min-height: 420px;
  padding: clamp(28px, 3.6vw, 48px);
  background:
    radial-gradient(70% 70% at 100% 0%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    var(--surface);
}
.product--main .product__icon {
  width: 88px;
  height: 88px;
  border-radius: 0;
}
.product--main h3 {
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem);
  letter-spacing: -0.045em;
}
.product--main .product__body p:not(.product__meta) {
  max-width: 42ch;
  font-size: 1.04rem;
}
.product--main .product__go {
  grid-column: 1;
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: var(--section);
  border-top: 1px solid var(--line);
}
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.faq__aside {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
  display: grid;
  gap: 24px;
}
.faq__list {
  border-top: 1px solid var(--line-strong);
}
.qa {
  border-bottom: 1px solid var(--line-strong);
}
.qa summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-size: clamp(1.08rem, 1rem + 0.3vw, 1.25rem);
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa__icon {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition:
    background-color 0.35s,
    border-color 0.35s,
    transform 0.5s var(--ease);
}
.qa__icon::before,
.qa__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 1.5px;
  margin: -0.75px 0 0 -5.5px;
  background: var(--ink);
  transition:
    transform 0.5s var(--ease),
    background-color 0.35s;
}
.qa__icon::after {
  transform: rotate(90deg);
}
.qa[open] .qa__icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(180deg);
}
.qa[open] .qa__icon::before,
.qa[open] .qa__icon::after {
  background: var(--on-accent);
}
.qa[open] .qa__icon::after {
  transform: rotate(0deg);
}
.qa summary:hover .qa__icon {
  border-color: var(--accent-text);
}
.qa__a {
  overflow: hidden;
}
.qa__a p {
  padding-bottom: 28px;
  max-width: 64ch;
  color: var(--text);
}

/* ---------- Abschluss ---------- */
.final {
  position: relative;
  padding-block: var(--section);
  text-align: center;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  inset: 34% 6% 0;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
}
.final__inner {
  display: grid;
  justify-items: center;
}
.final__mark {
  width: 72px;
  height: 72px;
  margin-bottom: 40px;
}
.final__title {
  font-size: clamp(3rem, 1.4rem + 6.4vw, 8rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  padding-bottom: 0.06em;
}
.final__sub {
  margin-top: 32px;
  max-width: 52ch;
  font-size: var(--fs-lead);
}
.final__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px 32px;
  margin-top: 48px;
}
.final__mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: border-color 0.3s;
}
.final__mail:hover {
  border-color: var(--ink);
}

/* ---------- Footer ---------- */
.foot {
  border-top: 1px solid var(--line);
  padding-top: 72px;
  font-size: 0.94rem;
}
.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.foot__brand p {
  margin-top: 18px;
  max-width: 38ch;
  color: var(--muted);
}
.foot__col {
  display: grid;
  align-content: start;
  gap: 10px;
}
.foot__h {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.foot__col a {
  color: var(--text);
  transition: color 0.2s;
}
.foot__col a:hover {
  color: var(--accent-text);
}
.foot__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  padding-block: 28px;
  background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 2 * var(--gutter)) 1px no-repeat;
  color: var(--muted);
  font-size: 0.86rem;
}

/* ==========================================================================
   Einblendungen (nur mit JS und ohne reduzierte Bewegung)
   ========================================================================== */
.js:not(.reduce-motion) [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease) var(--rd, 0ms),
    transform 1.1s var(--ease) var(--rd, 0ms);
}
.js:not(.reduce-motion) [data-reveal].is-in {
  opacity: 1;
  transform: none;
}
.js:not(.reduce-motion) [data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}
.js:not(.reduce-motion) [data-split] .w > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease) calc(var(--wi, 0) * 45ms);
}
.js:not(.reduce-motion) [data-split].is-in .w > span {
  transform: none;
}

/* Hero-Auftakt */
.js:not(.reduce-motion) .hero .mask > span {
  transform: translateY(108%);
  animation: rise 1.25s var(--ease) forwards;
}
.js:not(.reduce-motion) .hero .mask:nth-child(2) > span {
  animation-delay: 0.1s;
}
.js:not(.reduce-motion) .hero__eyebrow,
.js:not(.reduce-motion) .hero__sub,
.js:not(.reduce-motion) .hero__cta {
  opacity: 0;
  animation: fade-up 1.1s var(--ease) forwards;
}
.js:not(.reduce-motion) .hero__sub {
  animation-delay: 0.35s;
}
.js:not(.reduce-motion) .hero__cta {
  animation-delay: 0.48s;
}
.js:not(.reduce-motion) .hero__photo {
  clip-path: inset(18% 12% 18% 12% round var(--r-lg));
  animation: unveil 1.6s var(--ease) 0.1s forwards;
}
.js:not(.reduce-motion) .hero__photo img {
  scale: 1.18;
  animation: settle 2.2s var(--ease) 0.1s forwards;
}
.js:not(.reduce-motion) .booker {
  opacity: 0;
  translate: 0 40px;
  animation: pop 1.2s var(--ease) 0.75s forwards;
}
@keyframes rise {
  to { transform: none; }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes unveil {
  to { clip-path: inset(0 0 0 0 round var(--r-lg)); }
}
@keyframes settle {
  to { scale: 1; }
}
@keyframes pop {
  to { opacity: 1; translate: 0 0; }
}

/* Reduzierte Bewegung: alles statisch, Endzustand sichtbar */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee__track {
    animation: none;
    width: auto;
  }
  .marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 14px;
  }
  .marquee__list[aria-hidden="true"] {
    display: none;
  }
  .marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
.reduce-motion .chip__chaos {
  display: none;
}
.reduce-motion .chip__order {
  opacity: 1;
}

@media (prefers-reduced-transparency: reduce) {
  .booker,
  .nav.is-scrolled {
    background: var(--surface);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* ==========================================================================
   Responsiv
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__link {
    padding: 0 9px;
  }
  .nav__sep {
    margin: 0 4px;
  }
  .pricing__grid {
    grid-template-columns: 1fr;
  }
  .tiers {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }
  .tiers__foot {
    grid-column: 1;
  }
  .covers {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 960px) {
  .burger {
    display: block;
  }
  .nav__menu {
    position: fixed;
    inset: var(--nav-h) 0 auto;
    height: calc(100dvh - var(--nav-h));
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.35s var(--ease),
      transform 0.45s var(--ease),
      visibility 0s 0.45s;
  }
  .nav.is-open {
    background: var(--bg);
  }
  .nav.is-open .nav__menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 0.35s var(--ease),
      transform 0.45s var(--ease);
  }
  .nav__link {
    height: 56px;
    padding: 0 4px;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--ink);
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .nav__link:hover {
    background: none;
  }
  .nav__login {
    justify-content: flex-start;
  }
  .nav__sep {
    display: none;
  }
  .nav__cta {
    margin: 24px 0 0;
    height: 54px;
    font-size: 1.02rem;
  }
  .drop__panel {
    position: static;
    width: auto;
    padding: 4px 0 12px;
    border: 0;
    box-shadow: none;
    background: none;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .drop.is-open .drop__panel {
    display: block;
  }
  .drop__btn {
    width: 100%;
  }

  .hero {
    min-height: 0;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__visual {
    max-width: 560px;
  }
  .hero__photo {
    aspect-ratio: 4 / 3.4;
  }
  .booker {
    left: auto;
    right: 16px;
  }
  .converge__grid,
  .story__grid,
  .faq__grid,
  .privacy__grid {
    grid-template-columns: 1fr;
  }
  .converge__grid {
    min-height: 0;
  }
  .story__sticky,
  .faq__aside {
    position: static;
  }
  .story__nav {
    display: none;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .included {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .modules__head {
    grid-template-columns: 1fr;
  }
  .modules__head .seg {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
  }
  .steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 48px;
  }
  .steps__rail {
    display: none;
  }
  .step {
    padding-top: 24px;
    border-top: 1px solid var(--line-strong);
  }
  .step__node {
    display: none;
  }
  .family__grid {
    grid-template-columns: 1fr;
  }
  .product--main {
    grid-row: auto;
    min-height: 0;
    gap: 28px;
  }
  .foot__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .foot__brand {
    grid-column: 1 / -1;
  }
  .pilot {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .pilot__cta {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1rem;
  }
  .hero {
    padding-top: calc(var(--nav-h) + 28px);
  }
  .hero__cta .btn {
    flex: 1 1 auto;
  }
  .hero__visual {
    padding-bottom: 0;
  }
  .booker {
    position: relative;
    left: auto;
    right: auto;
    width: auto;
    margin: -64px 12px 0;
  }
  .converge__stage {
    --row: 52px;
  }
  .chip__chaos {
    font-size: 0.86rem;
    padding: 0 12px;
  }
  .chip__order small {
    display: none;
  }
  .modules {
    margin-inline: 0;
    border-radius: 28px;
  }
  .bento {
    grid-template-columns: 1fr;
  }
  .tile--wide {
    grid-column: auto;
  }
  .tile {
    min-height: 0;
  }
  .tile h3 {
    margin-top: 18px;
  }
  .modules[data-pkg="essential"] .tile[data-pkg="complete"] {
    transform: none;
  }
  .included__list {
    grid-template-columns: 1fr;
  }
  .planner {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .planner__day {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 10px 12px;
    gap: 16px;
  }
  .planner__ev {
    width: auto;
  }
  .calc__split {
    grid-template-columns: 1fr;
  }
  .calc__facts {
    grid-template-columns: 1fr 1fr;
  }
  .tiers {
    grid-template-columns: 1fr;
  }
  .covers {
    grid-column: auto;
    grid-row: auto;
  }
  .tiers__table th,
  .tiers__table td {
    padding: 14px 12px;
  }
  .tiers__table tbody th small {
    display: block;
    font-size: 0.78rem;
  }
  .pilot {
    grid-template-columns: 1fr;
  }
  .pilot__cta {
    grid-column: auto;
  }
  .terms {
    grid-template-columns: 1fr;
  }
  .terms li,
  .terms li + li {
    padding: 20px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }
  .privacy__list {
    grid-template-columns: 1fr;
  }
  .steps__list {
    grid-template-columns: 1fr;
  }
  .product {
    grid-template-columns: 1fr;
  }
  .product__go {
    grid-column: 1;
  }
  .foot__grid {
    grid-template-columns: 1fr 1fr;
  }
  .final__cta .btn {
    width: 100%;
  }
}

.btn:disabled {
  cursor: default;
  opacity: 0.75;
}

/* ==========================================================================
   Unterseiten
   Formsystem wie oben: Flächen --r-lg, Eingabefelder und Zeilen --r-md,
   Buttons und Tags als Pille.
   ========================================================================== */

/* ---------- Seiten-Hero ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vw, 88px));
  padding-bottom: clamp(56px, 7vw, 104px);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  z-index: -1;
  background:
    radial-gradient(55% 60% at 85% 10%, color-mix(in srgb, var(--accent) 11%, transparent), transparent 70%),
    radial-gradient(40% 50% at 5% 0%, color-mix(in srgb, var(--accent) 6%, transparent), transparent 70%);
}
.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.page-hero__title {
  font-size: clamp(2.4rem, 1.3rem + 3.2vw, 4.4rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  max-width: 16ch;
}
.page-hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-text);
}
.page-hero--doc .page-hero__title {
  max-width: 20ch;
}
.page-hero__sub {
  margin-top: 26px;
  max-width: 50ch;
  font-size: var(--fs-lead);
}
.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 26px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
}
.crumbs a {
  transition: color 0.2s;
}
.crumbs a:hover {
  color: var(--accent-text);
}
.crumbs .crumbs__sep {
  opacity: 0.5;
}
.crumbs .tag {
  margin-left: 6px;
}

/* Kennzahlen-Karte (Flow) */
.statcard {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgb(255 255 255 / 0.14);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.statcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(80% 80% at 100% 0%, #8b5cf6, transparent 60%),
    linear-gradient(150deg, #6d28d9, #3b1785);
}
.statcard__mark {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px;
  background: rgb(15 6 40 / 0.18);
  color: #f4f0ff;
}
.statcard__mark img {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 20px rgb(20 0 60 / 0.4));
}
.statcard__mark strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.statcard__mark small {
  color: #d9ccfb;
}
.stat {
  padding: 26px 28px 28px;
  background: rgb(15 6 40 / 0.18);
  color: #ddd2fb;
}
.stat b {
  display: block;
  font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #fbfaff;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Produktbild (Play, Connect) */
.prodvis {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 50% 45%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 26%, transparent) 1px, transparent 0) 0 0 / 22px 22px,
    var(--accent-soft);
  border: 1px solid var(--accent-line);
  box-shadow: var(--shadow-lg);
}
.prodvis img {
  width: min(46%, 220px);
  height: auto;
  filter: drop-shadow(0 30px 40px rgb(46 16 101 / 0.35));
}
.prodvis__chips {
  position: absolute;
  inset: auto 20px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.prodvis__chips span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--pill);
  border: 1px solid var(--accent-line);
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Allgemeine Abschnitte ---------- */
.section {
  padding-block: var(--section);
}
.section--tint {
  background: var(--bg-2);
  border-radius: clamp(28px, 4vw, 48px);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.section__head {
  display: grid;
  gap: 22px;
  margin-bottom: clamp(44px, 5vw, 64px);
}
.checks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.checks li {
  display: flex;
  gap: 14px;
  line-height: 1.5;
}
.checks .ico {
  margin-top: 2px;
  color: var(--ok);
}
.checks b {
  color: var(--ink);
  font-weight: 550;
}

/* Rollen-Raster (2 x 2) */
.roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.role {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.role .ico {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  color: var(--accent-text);
}
.role h3 {
  margin-top: 28px;
  font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem);
  letter-spacing: -0.03em;
}
.role p {
  max-width: 46ch;
  color: var(--muted);
}
.role--violet {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
}
.role--violet h3,
.role--violet .ico {
  color: #fbfaff;
}
.role--violet p {
  color: #ddd2fb;
}
.role--dots {
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
    var(--accent-soft);
}

/* Modulgruppen (Flow) */
.groups {
  display: grid;
  gap: clamp(72px, 9vw, 120px);
}
.group {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.group__head {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  display: grid;
  gap: 14px;
}
.group__head h3 {
  font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem);
  letter-spacing: -0.04em;
}
.group__head p {
  color: var(--muted);
  max-width: 36ch;
}
.group__price {
  font-family: var(--mono);
  font-size: 0.86rem;
  color: var(--accent-text);
}
.group__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 32px;
}
.mrow {
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}
.mrow .ico {
  width: 24px;
  height: 24px;
  color: var(--accent-text);
}
.mrow h4 {
  margin: 16px 0 8px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.mrow p {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Split mit Zeitstrahl (Einrichtung) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.split__copy {
  display: grid;
  gap: 24px;
}
.split__copy--sticky {
  position: sticky;
  top: calc(var(--nav-h) + 48px);
}
.timeline {
  position: relative;
  display: grid;
  gap: 8px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 1px;
  background: var(--line-strong);
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 20px;
  padding: 14px 0;
}
.timeline__ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--accent-line);
  background: var(--surface);
  color: var(--accent-text);
}
.timeline h3 {
  margin-top: 4px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}
.timeline p {
  margin-top: 6px;
  color: var(--muted);
  max-width: 52ch;
}

/* Feature-Raster (Play) */
.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.feature {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.feature:nth-child(1),
.feature:nth-child(4) {
  grid-column: span 4;
}
.feature:nth-child(2),
.feature:nth-child(3) {
  grid-column: span 2;
}
.feature .ico {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  color: var(--accent-text);
}
.feature h3 {
  margin-top: 28px;
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem);
  letter-spacing: -0.03em;
}
.feature p {
  color: var(--muted);
  max-width: 52ch;
}

/* Liste mit Status (Connect) */
.plan {
  border-top: 1px solid var(--line-strong);
}
.plan li {
  display: grid;
  grid-template-columns: 56px minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.plan .ico {
  width: 28px;
  height: 28px;
  color: var(--accent-text);
}
.plan h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  letter-spacing: -0.025em;
}
.plan h3 .tag {
  margin-left: 10px;
  vertical-align: middle;
}
.plan p {
  color: var(--muted);
}

/* Großes Statement */
.statement {
  max-width: 32ch;
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.9rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.statement span {
  color: var(--muted);
}

/* Fahrplan (Connect) */
.steps__list--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.step .tag {
  margin-bottom: 14px;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 16px;
  align-items: start;
}
.form {
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3.4vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.form h2 {
  font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem);
  letter-spacing: -0.03em;
}
.form__intro {
  margin-top: -10px;
  color: var(--muted);
  font-size: 0.96rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-weight: 550;
  font-size: 0.95rem;
  color: var(--ink);
}
.field label small {
  font-weight: 450;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}
.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.5;
}
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 52%,
    calc(100% - 16px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
  opacity: 0.85;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}
.field [aria-invalid="true"] {
  border-color: var(--warn);
}
.field__err {
  font-size: 0.88rem;
  color: var(--warn);
}
.form__hint {
  font-size: 0.86rem;
  color: var(--muted);
}
.form__note {
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 0.92rem;
}
.form__note a {
  text-decoration: underline;
}
.form .btn {
  width: 100%;
}
.aside {
  display: grid;
  gap: 12px;
}
.tile-c {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.tile-c .ico {
  width: 24px;
  height: 24px;
  color: var(--accent-text);
}
.tile-c h2 {
  margin-top: 18px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.tile-c p {
  margin-top: 8px;
  font-size: 0.94rem;
  color: var(--muted);
}
.tile-c a.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-weight: 500;
  color: var(--accent-text);
}
.tile-c a.more .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.4s var(--ease);
}
.tile-c a.more:hover .ico {
  transform: translateX(3px);
}
.tile-c--violet {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
}
.tile-c--violet h2,
.tile-c--violet .ico {
  color: #fbfaff;
}
.tile-c--violet p {
  color: #ddd2fb;
}
.bigmail {
  display: inline-block;
  margin-top: 16px;
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fbfaff;
  border-bottom: 1px solid rgb(255 255 255 / 0.35);
}
.bigmail:hover {
  border-color: #fff;
}

/* ---------- Dokumente (Impressum, Datenschutz, Rechtliches) ---------- */
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: start;
  padding-bottom: var(--section);
}
.toc {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
}
.toc p {
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--muted);
}
.toc ol {
  display: grid;
  border-left: 1px solid var(--line-strong);
}
.toc a {
  position: relative;
  display: block;
  padding: 7px 0 7px 18px;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--muted);
  transition: color 0.3s;
}
.toc a::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.45s var(--ease);
}
.toc a:hover,
.toc a.is-active {
  color: var(--ink);
}
.toc a.is-active::before {
  transform: scaleY(1);
}
.prose {
  max-width: 72ch;
  color: var(--text);
}
.prose > section {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.prose > section + section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.prose h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 18px;
}
.prose h3 {
  margin: 28px 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}
.prose p + p,
.prose p + ul,
.prose ul + p,
.prose address + p,
.prose p + address,
.prose .table + p,
.prose p + .table,
.prose ul + .table {
  margin-top: 14px;
}
.prose ul {
  display: grid;
  gap: 8px;
}
.prose ul li {
  position: relative;
  padding-left: 22px;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-line);
  border: 1px solid var(--accent-text);
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose address {
  font-style: normal;
  line-height: 1.7;
}
.prose address strong {
  display: block;
}
.prose .muted {
  color: var(--muted);
  font-size: 0.94rem;
}
.table {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}
.table table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.table th,
.table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}
.table thead th {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.table tbody tr + tr td {
  border-top: 1px solid var(--line);
}
.table td small {
  display: block;
  color: var(--muted);
}
.stand {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--muted);
}

/* Dokument-Karten (Rechtliches) */
.doccards {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 12px;
  margin-bottom: clamp(64px, 8vw, 112px);
}
.doccard {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition:
    border-color 0.3s,
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.doccard:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.doccard .ico {
  width: 28px;
  height: 28px;
  margin-bottom: auto;
  color: var(--accent-text);
}
.doccard h2 {
  margin-top: 28px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}
.doccard p {
  color: var(--muted);
  font-size: 0.94rem;
}
.doccard:first-child {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
}
.doccard:first-child h2,
.doccard:first-child .ico {
  color: #fbfaff;
}
.doccard:first-child p {
  color: #ddd2fb;
}
.fulltext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 500;
  color: var(--accent-text) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--accent-line);
}
.fulltext:hover {
  border-color: var(--accent-text);
}
.fulltext .ico {
  width: 18px;
  height: 18px;
}

/* ---------- Unterseiten responsiv ---------- */
@media (max-width: 960px) {
  .page-hero__grid,
  .group,
  .split,
  .contact,
  .doc {
    grid-template-columns: 1fr;
  }
  .group__head,
  .split__copy--sticky,
  .toc {
    position: static;
  }
  .toc {
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: var(--surface);
  }
  .toc ol {
    border-left: 0;
  }
  .toc a {
    padding-left: 0;
  }
  .toc a::before {
    display: none;
  }
  .doccards {
    grid-template-columns: 1fr;
  }
  .steps__list--3 {
    grid-template-columns: 1fr;
  }
  .plan li {
    grid-template-columns: 40px minmax(0, 1fr);
  }
  .plan li p {
    grid-column: 2;
  }
}
@media (max-width: 767px) {
  .roles,
  .group__list,
  .form__row,
  .features {
    grid-template-columns: 1fr;
  }
  .feature,
  .feature:nth-child(n) {
    grid-column: auto;
    min-height: 0;
  }
  .role {
    min-height: 0;
  }
  .statcard__mark {
    padding: 22px;
  }
  .stat {
    padding: 20px 22px 22px;
  }
  .section--tint {
    margin-inline: 0;
    border-radius: 28px;
  }
}

/* Varianten für Feature-Kacheln (Play): nach .feature, damit sie greifen */
.feature.role--violet {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
}
.feature.role--dots {
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
    var(--accent-soft);
}
.feature.role--violet p {
  color: #ddd2fb;
}

/* Grid-Kinder dürfen schrumpfen, breite Tabellen scrollen in ihrem Rahmen */
.doc > *,
.split > *,
.group > *,
.contact > * {
  min-width: 0;
}
.page-hero__title,
.final__title,
.privacy__title {
  hyphens: manual;
}
.feature.role--violet .ico,
.feature.role--violet h3 {
  color: #fbfaff;
}

/* ==========================================================================
   Nachbau der Anwendung educis Flow (Produktseite)
   Aufbau wie in der App: Seitenleiste 16rem mit Gruppen, Kopfzeile 3.5rem,
   Inhalt mit Seitentitel. Gruppenfarben wie in nav-groups.ts.
   ========================================================================== */
:root {
  --g-violet-head: #ede9fe;
  --g-violet-ink: #4c1d95;
  --g-violet-body: #f7f5ff;
  --g-violet-on: #ddd6fe;
  --g-emerald-head: #d1fae5;
  --g-emerald-ink: #064e3b;
  --g-emerald-body: #f0fdf7;
  --g-emerald-on: #a7f3d0;
  --g-sky-head: #e0f2fe;
  --g-sky-ink: #0c4a6e;
  --g-sky-body: #f0f9ff;
  --g-sky-on: #bae6fd;
  --g-amber-head: #fef3c7;
  --g-amber-ink: #78350f;
  --g-amber-body: #fffbeb;
  --g-amber-on: #fde68a;
  --s-de-bg: #fff1f2;
  --s-de-line: #fecdd3;
  --s-de-ink: #9f1239;
  --s-en-bg: #eff6ff;
  --s-en-line: #bfdbfe;
  --s-en-ink: #1e40af;
  --app-side: #fbfbfd;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --g-violet-head: rgb(139 92 246 / 0.18);
    --g-violet-ink: #ddd6fe;
    --g-violet-body: rgb(139 92 246 / 0.06);
    --g-violet-on: rgb(139 92 246 / 0.32);
    --g-emerald-head: rgb(16 185 129 / 0.16);
    --g-emerald-ink: #a7f3d0;
    --g-emerald-body: rgb(16 185 129 / 0.05);
    --g-emerald-on: rgb(16 185 129 / 0.28);
    --g-sky-head: rgb(14 165 233 / 0.16);
    --g-sky-ink: #bae6fd;
    --g-sky-body: rgb(14 165 233 / 0.05);
    --g-sky-on: rgb(14 165 233 / 0.28);
    --g-amber-head: rgb(245 158 11 / 0.16);
    --g-amber-ink: #fde68a;
    --g-amber-body: rgb(245 158 11 / 0.05);
    --g-amber-on: rgb(245 158 11 / 0.28);
    --s-de-bg: rgb(244 63 94 / 0.14);
    --s-de-line: rgb(244 63 94 / 0.32);
    --s-de-ink: #fecdd3;
    --s-en-bg: rgb(59 130 246 / 0.14);
    --s-en-line: rgb(59 130 246 / 0.32);
    --s-en-ink: #bfdbfe;
    --app-side: #121119;
  }
}

.appdemo {
  padding-block: var(--section);
}
.app {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.app__chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
}
.app__chrome i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--line-strong);
}
.app__chrome p {
  margin-left: 14px;
  padding: 3px 14px;
  border-radius: var(--pill);
  background: var(--surface);
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--muted);
}
.app__chrome b {
  font-weight: 500;
  color: var(--ink);
}
.app__frame {
  display: grid;
  grid-template-columns: 16rem minmax(0, 1fr);
  height: 700px;
}
.app__side {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: var(--app-side);
}
.app__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  flex: none;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.app__nav {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}
.ag__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--g-head);
  color: var(--g-ink);
}
.ag__chev {
  transition: transform 0.3s var(--ease);
}
.ag__head[aria-expanded="false"] .ag__chev {
  transform: rotate(-90deg);
}
.ag__list {
  margin-top: 2px;
  padding: 4px;
  border-radius: 0 0 8px 8px;
  background: var(--g-body);
  display: grid;
  gap: 1px;
}
.ag__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  font-size: 0.86rem;
  text-align: left;
  color: color-mix(in srgb, var(--g-ink) 80%, transparent);
  transition: background-color 0.2s;
}
.ag__item .ico {
  opacity: 0.6;
}
.ag__item:hover {
  background: color-mix(in srgb, var(--g-on) 60%, transparent);
}
.ag__item[aria-current="page"] {
  background: var(--g-on);
  color: var(--g-ink);
  font-weight: 550;
}
.ag__item[aria-current="page"] .ico {
  opacity: 1;
}
.ag--violet { --g-head: var(--g-violet-head); --g-ink: var(--g-violet-ink); --g-body: var(--g-violet-body); --g-on: var(--g-violet-on); }
.ag--emerald { --g-head: var(--g-emerald-head); --g-ink: var(--g-emerald-ink); --g-body: var(--g-emerald-body); --g-on: var(--g-emerald-on); }
.ag--sky { --g-head: var(--g-sky-head); --g-ink: var(--g-sky-ink); --g-body: var(--g-sky-body); --g-on: var(--g-sky-on); }
.ag--amber { --g-head: var(--g-amber-head); --g-ink: var(--g-amber-ink); --g-body: var(--g-amber-body); --g-on: var(--g-amber-on); }

.app__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.app__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 56px;
  flex: none;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}
.app__school {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
}
.app__tools {
  display: flex;
  align-items: center;
  gap: 6px;
}
.app__bell {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--text);
}
.app__bell:hover {
  background: var(--bg-2);
}
.app__bell i {
  position: absolute;
  top: 3px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: var(--pill);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}
.app__avatar {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.74rem;
  font-weight: 600;
}
.app__content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 22px 28px 28px;
}
.app__bottom {
  display: none;
}
.view {
  animation: view-in 0.45s var(--ease);
}
@keyframes view-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.v-head {
  margin-bottom: 18px;
}
.v-head--row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.v-h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.v-sub,
.v-muted {
  font-size: 0.86rem;
  color: var(--muted);
}
.v-hint {
  margin: 0 0 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.v-status {
  min-height: 1.4em;
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--muted);
}
.v-status.is-ok { color: var(--ok); }
.v-status.is-warn { color: var(--warn); }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--accent-soft);
  color: var(--accent-text);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 550;
  white-space: nowrap;
}
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--muted { background: var(--bg-2); color: var(--muted); }
.badge--line { background: none; border: 1px solid var(--line-strong); color: var(--muted); }
.ico--xs { width: 12px; height: 12px; }
.vbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}
.vbtn--icon { width: 34px; padding: 0; }
.vbtn.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--on-accent);
}
.vfield {
  display: grid;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink);
}
.vfield select,
.vfield input {
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 450;
  font-size: 0.86rem;
}
.vfield select:disabled {
  opacity: 0.7;
}
.vfield--wide {
  grid-column: 1 / -1;
}

/* Dashboard */
.dash {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.dcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.dcard__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--accent-text);
}
.dcard__head h4 {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.dcard__body {
  flex: 1;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 8px;
}
.ditem {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 6px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
}
.ditem:hover { background: var(--bg-2); }
.ditem b {
  display: block;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--ink);
}
.ditem small {
  font-size: 0.76rem;
  color: var(--muted);
}
.dcard__all {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding: 0 14px 12px;
  border: 0;
  background: none;
  font-size: 0.76rem;
  font-weight: 550;
  color: var(--accent-text);
}

/* Buchungen */
.v-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.v-toggle {
  display: flex;
  gap: 8px;
}
.v-week {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
}
.bk {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15.5rem;
  gap: 14px;
  align-items: start;
}
.bk__grid {
  display: grid;
  grid-template-columns: 3.4rem repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.74rem;
}
.bk__th {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-weight: 550;
  color: var(--ink);
}
.bk__th.is-today { color: var(--accent-text); }
.bk__p {
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.bk__p b {
  display: block;
  color: var(--ink);
  font-weight: 550;
}
.bk__c {
  padding: 3px;
  border-bottom: 1px solid var(--line);
}
.bk__cell {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  min-height: 52px;
  padding: 5px 7px;
  border: 1px dashed var(--line-strong);
  border-radius: 7px;
  background: none;
  text-align: left;
  line-height: 1.25;
  transition: filter 0.2s, box-shadow 0.2s;
}
.bk__cell:hover { filter: brightness(0.97); }
.bk__cell.has-lesson {
  border-style: solid;
}
.bk__cell.s-de { background: var(--s-de-bg); border-color: var(--s-de-line); color: var(--s-de-ink); }
.bk__cell.s-en { background: var(--s-en-bg); border-color: var(--s-en-line); color: var(--s-en-ink); }
.bk__cell[aria-pressed="true"] {
  background: var(--accent-soft);
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--accent);
  color: var(--ink);
}
.bk__cell .sub { font-weight: 600; }
.bk__cell .meta { font-size: 0.68rem; opacity: 0.8; }
.bk__cell .free { color: var(--ok); font-weight: 550; font-size: 0.7rem; }
.bk__cell .none { color: var(--muted); font-size: 0.7rem; }
.bk__cell .mine {
  margin-top: 2px;
  padding: 0 5px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.64rem;
  font-weight: 600;
}
.bk__panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.84rem;
}
.bk__panel h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}
.bk__panel .v-muted { font-size: 0.8rem; }
.bk__list {
  display: grid;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.bk__list b {
  display: block;
  font-size: 0.78rem;
  color: var(--ink);
}
.bk__list small {
  font-size: 0.74rem;
  color: var(--muted);
}
.bk__panel .btn { width: 100%; }
.bk__empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  text-align: center;
  color: var(--muted);
}

/* Terminplaner */
.pa {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr);
  gap: 18px;
  align-items: start;
}
.pa__fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.pa__grid {
  display: grid;
  grid-template-columns: 3.6rem repeat(5, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.74rem;
}
.pa__th,
.pa__kw {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2);
  font-weight: 550;
  color: var(--ink);
}
.pa__kw {
  background: none;
  color: var(--muted);
  font-weight: 450;
}
.pa__c {
  padding: 3px;
  border-bottom: 1px solid var(--line);
}
.pa__day {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-height: 50px;
  padding: 5px 7px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  text-align: left;
  font-size: 0.72rem;
  color: var(--ink);
}
.pa__day b { font-weight: 550; }
.pa__day small { font-size: 0.66rem; line-height: 1.2; }
.pa__day.has-lesson::after {
  content: "";
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pa__day.is-other { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); color: var(--warn); }
.pa__day.is-own { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pa__day.is-own::after { background: var(--on-accent); }
.pa__day.is-hol,
.pa__day:disabled {
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 6px, transparent 6px 12px);
  color: var(--muted);
  cursor: not-allowed;
}
.pa__day:not(:disabled):hover { box-shadow: 0 0 0 2px var(--accent-line); }
.pa__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-top: 12px;
  font-size: 0.74rem;
  color: var(--muted);
}
.pa__legend li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lg {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--line-strong);
}
.lg--own { background: var(--accent); border-color: var(--accent); }
.lg--other { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 35%, transparent); }
.lg--hol { background: repeating-linear-gradient(135deg, var(--line-strong) 0 3px, transparent 3px 6px); }
.lg--dot { width: 6px; height: 6px; border: 0; border-radius: 50%; background: var(--accent); }
.pa__side {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.pa__side h4 {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.pa__side h4 + .v-muted { margin-top: -4px; font-size: 0.76rem; }
.pa__list {
  display: grid;
  gap: 6px;
  margin-bottom: 8px;
}
.pa__list button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--ink);
  text-align: left;
}
.pa__list button:hover { border-color: var(--accent-line); }
.pa__list--plain li {
  padding: 4px 0;
  font-size: 0.8rem;
  color: var(--text);
}
.pa__list--plain small { color: var(--muted); }

/* Tickets */
.tk-filters,
.tk-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.tk-form {
  padding: 14px;
  border: 1px solid var(--accent-line);
  border-radius: 10px;
  background: var(--accent-soft);
}
.tk-form__actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
}
.tk-table {
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.tk-row {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1.6fr) minmax(0, 0.9fr) 5.4rem 5.8rem minmax(0, 0.9fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  font-size: 0.8rem;
  color: var(--text);
}
.tk-row:last-child { border-bottom: 0; }
button.tk-row:hover { background: var(--bg-2); }
.tk-row--head {
  background: var(--bg-2);
  font-size: 0.74rem;
  font-weight: 550;
  color: var(--muted);
}
.tk-row .num { font-family: var(--mono); font-size: 0.74rem; color: var(--muted); }
.tk-row b { display: block; color: var(--ink); font-weight: 550; }
.tk-row small { color: var(--muted); font-size: 0.72rem; }
.tk-row.is-new { animation: flash 1.6s var(--ease); }
@keyframes flash {
  from { background: var(--accent-soft); }
  to { background: transparent; }
}
.tk-detail {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.tk-detail h4 { font-size: 1.05rem; color: var(--ink); }
.tk-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.tk-detail__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-detail ol {
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px solid var(--line);
  font-size: 0.8rem;
}

/* Infoboard */
.ib-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ib-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: var(--surface);
  font-size: 0.8rem;
  color: var(--text);
}
.ib-tab span { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.ib-tab.is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
.ib-posts { display: grid; gap: 12px; }
.ib-post {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 0.86rem;
}
.ib-post header { display: grid; gap: 4px; justify-items: start; }
.ib-post h4 { font-size: 1rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.ib-confirm {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--warn) 35%, transparent);
  border-radius: 10px;
  background: var(--warn-soft);
}
.ib-confirm p { display: flex; gap: 8px; color: var(--warn); font-size: 0.82rem; }
.ib-confirm .ico { margin-top: 2px; }
.ib-done {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
  border-radius: 10px;
  background: var(--ok-soft);
  color: var(--ok);
  font-size: 0.82rem;
  font-weight: 550;
}
.ib-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-size: 0.76rem;
  color: var(--muted);
}
.ib-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.ib-bar {
  width: 48px;
  height: 6px;
  border-radius: var(--pill);
  background: var(--bg-2);
  overflow: hidden;
}
.ib-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.6s var(--ease);
}

/* Andere Module */
.v-empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 48px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.v-empty .ico { width: 28px; height: 28px; color: var(--accent-text); }

/* Hero: Buchungsfeld */
.booker {
  display: grid;
  gap: 12px;
}
.booker fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  gap: 6px;
}
.booker legend,
.booker__label {
  margin-bottom: 4px;
  padding: 0;
  font-size: 0.8rem;
  font-weight: 550;
  color: var(--ink);
}
.res {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.res input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: inherit;
}
.res__name { font-weight: 550; color: var(--ink); }
.res__free { font-size: 0.76rem; font-weight: 550; color: var(--ok); }
.res__free--none { color: var(--muted); font-weight: 450; }
.res:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.res:has(input:disabled) { opacity: 0.55; cursor: not-allowed; background: var(--bg-2); }
.res:has(input:focus-visible) { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.booker__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
}
.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink);
}
.stepper button:hover { background: var(--bg-2); }
.stepper output {
  min-width: 2.2ch;
  font-family: var(--mono);
  font-weight: 500;
  text-align: center;
  color: var(--ink);
}
.booker__go { width: 100%; }
.booker__status { min-height: 2.4em; margin-top: 0; }

/* Mobile: Seitenleiste der App wird zur unteren Leiste wie in der App */
@media (max-width: 960px) {
  .app__frame {
    grid-template-columns: minmax(0, 1fr);
    height: 640px;
  }
  .app__side { display: none; }
  .app__bottom {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    background: var(--surface);
  }
  .app__bottom button {
    display: grid;
    justify-items: center;
    gap: 2px;
    padding: 8px 2px;
    border: 0;
    background: none;
    font-size: 0.66rem;
    font-weight: 550;
    color: var(--muted);
  }
  .app__bottom button[aria-current="page"] { color: var(--accent-text); }
  .dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk,
  .pa { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .app__content { padding: 16px 14px 20px; }
  .app__frame { height: 600px; }
  .dash { grid-template-columns: 1fr; }
  .bk__grid,
  .pa__grid { grid-template-columns: 2.6rem repeat(5, minmax(0, 1fr)); font-size: 0.66rem; }
  .bk__cell { min-height: 46px; padding: 4px; }
  .bk__cell .meta { display: none; }
  .pa__fields,
  .tk-filters,
  .tk-form { grid-template-columns: 1fr; }
  .tk-row { grid-template-columns: minmax(0, 1fr) auto; }
  .tk-row > :nth-child(3),
  .tk-row > :nth-child(4),
  .tk-row > :nth-child(6) { display: none; }
  .tk-row > :nth-child(1) { grid-column: 1 / -1; }
  .tk-row--head { display: none; }
  .app__school { font-size: 0.8rem; }
}

/* ==========================================================================
   Startseite (Unternehmen)
   ========================================================================== */
.herocard {
  position: absolute;
  left: clamp(-56px, -4vw, -16px);
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(380px, 90%);
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.5), var(--shadow-lg);
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.herocard:hover { border-color: var(--accent-line); }
.herocard img { width: 44px; height: 44px; flex: none; }
.herocard strong {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}
.herocard small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.86rem; }
.herocard > .ico { margin-left: auto; color: var(--accent-text); transition: transform 0.45s var(--ease); }
.herocard:hover > .ico { transform: translateX(4px); }
.js:not(.reduce-motion) .herocard {
  opacity: 0;
  translate: 0 40px;
  animation: pop 1.2s var(--ease) 0.75s forwards;
}

.facts {
  border-block: 1px solid var(--line);
}
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.fact {
  display: grid;
  gap: 6px;
  padding: clamp(28px, 4vw, 48px) 24px;
}
.fact + .fact { border-left: 1px solid var(--line); }
.fact b {
  font-size: clamp(2.6rem, 2rem + 2.4vw, 4.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.fact span { max-width: 24ch; color: var(--muted); font-size: 0.95rem; }

.about {
  padding-block: var(--section);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-2);
}
.about__photo img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 40% 50%;
}
.about__copy {
  display: grid;
  gap: 26px;
}
.about__list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}
.about__list li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.about__list .ico {
  width: 44px;
  height: 44px;
  padding: 11px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-text);
}
.about__list b {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-weight: 600;
}
.about__list span { color: var(--muted); }

.goals {
  padding-block: var(--section);
  background: var(--bg-2);
  border-radius: clamp(28px, 4vw, 48px);
  margin-inline: clamp(0px, 1.2vw, 16px);
}
.statement--xl {
  max-width: 26ch;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.08;
}
.goals__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(48px, 6vw, 80px);
}
.goal {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.goal:nth-child(1),
.goal:nth-child(4) { grid-column: span 4; }
.goal:nth-child(2),
.goal:nth-child(3) { grid-column: span 2; }
.goal .ico { width: 28px; height: 28px; margin-bottom: auto; color: var(--accent-text); }
.goal h3 { margin-top: 28px; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.6rem); letter-spacing: -0.03em; }
.goal p { color: var(--muted); max-width: 48ch; }
.goal--violet {
  border-color: transparent;
  background:
    radial-gradient(90% 120% at 100% 0%, #8b5cf6 0%, transparent 60%),
    linear-gradient(150deg, #6d28d9, #4c1d95);
}
.goal--violet h3,
.goal--violet .ico { color: #fbfaff; }
.goal--violet p { color: #ddd2fb; }
.goal--dots {
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--accent) 22%, transparent) 1px, transparent 0) 0 0 / 18px 18px,
    var(--accent-soft);
}

.products {
  padding-block: var(--section);
}
/* Produktkarten: deckend, ohne Überlagerung. Breit, zwei nebeneinander, breit. */
.pgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.pc {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.3s, box-shadow 0.5s var(--ease);
}
.pc:hover {
  border-color: var(--accent-line);
  box-shadow: var(--shadow-lg);
}
.pc--wide {
  grid-column: 1 / -1;
  grid-template-rows: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}
.pc--flip .pc__img { order: 2; }
.pc__img {
  position: relative;
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.pc--wide .pc__img { aspect-ratio: auto; min-height: 380px; }
.pc__img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.pc:hover .pc__img > img { transform: scale(1.03); }
.pc__mark {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 10px 30px -10px rgb(15 23 42 / 0.45);
}
.pc__mark img { width: 52px; height: 52px; border-radius: 12px; }
.pc__body {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(24px, 3.4vw, 48px);
}
.pc h3 {
  font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.8rem);
  letter-spacing: -0.045em;
}
.pc__line { font-size: var(--fs-lead); color: var(--text); }
.pc .checks { margin-top: 2px; }
.pc__cta { justify-self: start; margin-top: 8px; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__photo { aspect-ratio: 4 / 3; max-width: 640px; }
  .facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pc--wide { grid-template-columns: 1fr; }
  .pc--flip .pc__img { order: 0; }
  .pc--wide .pc__img { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .goals { margin-inline: 0; border-radius: 28px; }
  .goals__grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .goal,
  .goal:nth-child(n) { grid-column: auto; min-height: 0; }
  .herocard { position: relative; left: auto; width: auto; margin: -56px 12px 0; }
  .fact { padding: 24px 16px; }
}
@media (prefers-reduced-transparency: reduce) {
  .herocard { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Schmale Zellen im Raster: Text kürzen statt überlaufen */
.bk__cell,
.pa__day {
  overflow: hidden;
}
.bk__cell > span,
.pa__day > small {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Touch-Geräte („lite“, per Skript gesetzt): keine teuren Effekte beim Scrollen
   ========================================================================== */
.lite .grain {
  display: none;
}
.lite .nav.is-scrolled {
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.lite .booker,
.lite .herocard {
  background: var(--surface);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.lite .privacy__panel {
  clip-path: none;
  will-change: auto;
}
.lite .chip {
  will-change: auto;
}
.lite .hero__photo img {
  inset: 0;
  height: 100%;
}
.lite .about__photo img {
  inset: 0;
  height: 100%;
}

/* App-Nachbau auf schmalen Bildschirmen: wächst mit dem Inhalt statt eigener
   Scrollfläche (keine „gefangenen“ Wischgesten), untere Leiste bleibt sichtbar. */
@media (max-width: 960px) {
  .app {
    overflow: clip;
  }
  .app__frame,
  .app__frame[style] {
    height: auto;
  }
  .app__content {
    overflow: visible;
    min-height: 420px;
  }
  .app__bottom {
    position: sticky;
    bottom: 0;
    z-index: 2;
    box-shadow: 0 -8px 20px -12px rgb(15 23 42 / 0.25);
  }
}
@media (max-width: 767px) {
  .app__frame {
    height: auto;
  }
}
.pc:not(.pc--wide) .pc__body {
  align-content: start;
}
