/* JoinWorks — Site theme (aligned with ui/theme.py: Create-green first, warm orange secondary) */
:root {
  --bg: #12121e;
  --bg-soft: #1a1a2e;
  --fg: #f1f5f9;
  --muted: #c5cec8;
  --accent: #128a3e;
  --accent-hover: #0f6f33;
  --accent-bright: #4ade80;
  --accent-warm: #c2540d;
  --accent-warm-hover: #d9660f;
  --card: #1e1e30;
  --input: #252538;
  --line: #3a3a5a;
  --line-strong: #5a5a78;
  --hero: linear-gradient(155deg, #12121e 0%, #15261c 42%, #1a1a2e 100%);
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1080px;
  --strip-card-w: 198px;
  --strip-card-gap: 1.5rem;
  --strip-row-w: calc(3 * var(--strip-card-w) + 2 * var(--strip-card-gap));
  --strip-font: 1rem;
  --strip-lh: 1.52;
  --strip-title-size: 1.06rem;
  --strip-card-h: 14.25rem;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
}
a { color: var(--accent-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Menü + Freinutzungs-Streifen bleiben zusammen oben kleben */
.site-chrome {
  position: sticky;
  top: 0;
  z-index: 10;
}
.top {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(18, 18, 30, 0.94);
  backdrop-filter: blur(10px);
}
.free-use-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  width: 100%;
  margin: 0;
  padding: 0.62rem clamp(0.85rem, 2.5vw, 1.35rem);
  /* Fläche = Create-Grün (#128a3e); #4ade80 nur als Text-Akzent (Eyebrow) — als Hintergrund zu hell */
  background: var(--accent);
  border-bottom: 1px solid var(--accent-hover);
  text-align: center;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(0.84rem, 1.5vw, 0.98rem);
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.free-use-banner p {
  margin: 0;
  max-width: min(78rem, 100%);
  margin-inline: auto;
}
.launch-highlight-badge {
  display: inline-block;
  width: fit-content;
  margin: 0;
  padding: 0.32rem 0.82rem;
  background: #e86a1a;
  border: 1px solid #c95612;
  border-radius: 999px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(0.68rem, 1.05vw, 0.8rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .free-use-banner {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    padding: 0.55rem 0.85rem;
    gap: 0.36rem;
  }
  .launch-highlight-badge {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    padding: 0.28rem 0.78rem;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--fg);
  font-size: 1.2rem;
}
.brand-mark {
  width: 1.65rem;
  height: 1.65rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}
.brand:hover { text-decoration: none; color: var(--accent-bright); }
nav { display: flex; gap: 0.95rem; flex: 1; flex-wrap: wrap; }
nav a { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
nav a:hover { color: var(--fg); text-decoration: none; }
.lang { display: flex; gap: 0.25rem; }
.lang-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
}
.lang-btn.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Centered content shell (post-gate pages) */
.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.75rem);
}
.page {
  padding: 2.5rem clamp(1rem, 3vw, 1.75rem) 3.5rem;
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.page > * { margin-left: auto; margin-right: auto; }
.page .lead { margin-left: auto; margin-right: auto; }
.page-left { text-align: left; }
.page-left > .lead { margin-left: 0; }

.hero {
  min-height: 72vh;
  padding: 5rem clamp(1rem, 3vw, 1.75rem) 4.25rem;
  background: var(--hero);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero .shell,
.hero-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo {
  display: block;
  width: auto;
  height: clamp(4.5rem, 14vw, 7rem);
  max-width: min(14rem, 72vw);
  object-fit: contain;
  margin: 0 auto 1.5rem;
  border-radius: 1.05rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-bright);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
}
.hero h1,
.page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  line-height: 1.15;
  margin: 0.75rem 0 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.hero h1 { max-width: 18ch; }
.lead {
  color: var(--muted);
  max-width: 48ch;
  font-size: 1.06rem;
  margin: 0;
}
.hero .lead {
  max-width: 54ch;
  font-size: 1.08rem;
  line-height: 1.95;
  letter-spacing: 0.012em;
}
.hero .cta {
  margin-top: 1.85rem;
}
.cta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
  justify-content: center;
}
.btn {
  display: inline-block;
  padding: 0.72rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.98rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.btn:hover { text-decoration: none; }
.btn.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn.primary:hover { background: var(--accent-hover); }
.btn.ghost {
  border-color: var(--line-strong);
  color: var(--fg);
  background: transparent;
}
.btn.ghost:hover { border-color: var(--accent-bright); color: var(--accent-bright); }
.btn.warm {
  background: var(--accent-warm);
  color: #fff;
  border-color: var(--accent-warm);
}
.btn.warm:hover { background: var(--accent-warm-hover); }
.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.section {
  padding: 4rem clamp(1rem, 3vw, 1.75rem);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.9rem;
}
.section .lead { margin-bottom: 2rem; }

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--strip-card-gap);
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--strip-row-w);
  list-style: none;
  text-align: left;
  align-items: stretch;
}
.features article,
.card,
.band,
.video-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.features article {
  width: var(--strip-card-w);
  flex: 0 0 var(--strip-card-w);
  max-width: 100%;
  height: var(--strip-card-h);
  padding: 0.78rem 0.72rem 0.72rem;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.features article h3,
.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
  color: var(--fg);
}
.features article h3 {
  font-size: var(--strip-title-size);
  margin: 0 0 0.5rem;
  line-height: 1.28;
}
.features article p,
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.features article > p {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  padding-right: 0.2rem;
  overflow-y: auto;
  overflow-x: hidden;
  font-size: var(--strip-font);
  line-height: var(--strip-lh);
  scrollbar-color: var(--accent) var(--input);
  scrollbar-width: thin;
}
.features article > p::-webkit-scrollbar { width: 5px; }
.features article > p::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.band {
  margin-top: 1rem;
  text-align: left;
}
.band.center { text-align: center; }
.band h2 { margin-top: 0; }

.highlight-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--strip-card-gap);
  margin: 0.25rem auto 0;
  text-align: left;
  align-items: stretch;
  width: 100%;
  max-width: var(--strip-row-w);
}
.highlight-strip article {
  width: var(--strip-card-w);
  flex: 0 0 var(--strip-card-w);
  max-width: 100%;
  border-left: 3px solid var(--accent);
  background: linear-gradient(135deg, #1a2e24 0%, var(--card) 55%);
  padding: 0.78rem 0.72rem 0.72rem 0.82rem;
  height: var(--strip-card-h);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.highlight-strip article h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: var(--strip-title-size);
  line-height: 1.28;
  color: var(--fg);
  flex: 0 0 auto;
}
.highlight-strip article > p,
.highlight-strip .highlight-scroll {
  margin: 0;
  color: var(--muted);
  font-size: var(--strip-font);
  line-height: var(--strip-lh);
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.2rem;
  scrollbar-color: var(--accent) var(--input);
  scrollbar-width: thin;
}
.highlight-strip article > p::-webkit-scrollbar,
.highlight-scroll::-webkit-scrollbar { width: 5px; }
.highlight-strip article > p::-webkit-scrollbar-thumb,
.highlight-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

@media (max-width: 720px) {
  .features {
    gap: 1rem;
    max-width: 100%;
    padding: 0 0.2rem;
  }
  .features article {
    flex: 1 1 100%;
    width: 100%;
  }

  .highlight-strip {
    gap: 1rem;
    max-width: 100%;
    padding: 0 0.2rem;
  }
  .highlight-strip article {
    flex: 1 1 100%;
    width: 100%;
  }
}
.section-center .lead,
.section-center .cta {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-center .cta { justify-content: center; }

.download-smartscreen-block {
  width: 100%;
  max-width: min(52rem, 100%);
  margin: 1.35rem auto 0;
  text-align: center;
}
.download-smartscreen-hint {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: clamp(0.84rem, 1.25vw, 0.96rem);
  line-height: 1.5;
  font-weight: 600;
}
.download-smartscreen-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}
.download-smartscreen-shots figure {
  margin: 0;
}
.download-smartscreen-shots img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
@media (max-width: 760px) {
  .download-smartscreen-shots {
    grid-template-columns: 1fr;
  }
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  text-align: left;
}
.video-card .video-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(18, 138, 62, 0.25), rgba(30, 30, 48, 0.9)),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(74, 222, 128, 0.06) 8px,
      rgba(74, 222, 128, 0.06) 16px
    );
  border: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-bright);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
  overflow: hidden;
}
.video-card .video-slot-player {
  padding: 0;
  border-style: solid;
  border-color: var(--line);
  background: #0a0a12;
  color: inherit;
  font-weight: inherit;
}
.video-card .video-slot-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0a0a12;
}
.video-card .video-slot-soon {
  flex-direction: column;
  gap: 0.85rem;
}
.video-soon-label {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  color: var(--accent-bright);
  font-weight: 700;
}
.video-play-btn {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.75rem;
  height: 4.75rem;
  border: none;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.video-play-btn:hover:not(:disabled) {
  background: var(--accent-hover);
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 8px 26px rgba(18, 138, 62, 0.45);
}
.video-play-btn:disabled {
  cursor: default;
  opacity: 0.92;
}
.video-play-tri {
  display: block;
  width: 0;
  height: 0;
  margin-left: 0.28rem;
  border-style: solid;
  border-width: 0.72rem 0 0.72rem 1.2rem;
  border-color: transparent transparent transparent #ffffff;
}
.video-slot-player.is-playing .video-play-btn {
  display: none;
}
.video-card h3 { margin: 0 0 0.35rem; font-family: var(--font-display); font-size: 1rem; }
.video-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* Pricing — Spalten-Karten (flex columns), stabile Zeilenausrichtung */
.page-pricing {
  max-width: min(1280px, 98vw);
  width: 100%;
  box-sizing: border-box;
}
.page-pricing > h1 {
  margin-bottom: 0.35rem;
  text-align: center;
}
.period-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin: 1rem auto 0.55rem;
  justify-content: center;
}
.period-toggle button {
  min-width: 140px;
  min-height: 42px;
  border-radius: 10px;
  border: 2px solid var(--line-strong);
  background: var(--card);
  color: var(--fg);
  font-weight: 700;
  cursor: pointer;
  font: inherit;
}
.period-toggle button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.price-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0.35rem auto 1rem;
  max-width: 52ch;
}

.launch-offer {
  max-width: min(42rem, 92%);
  width: 100%;
  margin: 0.5rem auto 1.5rem;
  padding: 1.35rem 1.5rem 1.4rem;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    linear-gradient(165deg, #1a2a22 0%, var(--card) 70%);
  box-sizing: border-box;
}
.launch-offer-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.launch-offer h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-weight: 750;
  color: var(--fg);
}
.launch-offer-code {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.launch-offer-code code {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--accent);
  border: 1px solid var(--accent-hover);
}
.launch-offer-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--muted);
}

.price-scroll {
  overflow-x: visible;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 1.15rem 0 1rem;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
.price-matrix {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: clamp(0.35rem, 0.7vw, 0.6rem);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  text-align: center;
  box-sizing: border-box;
}
.price-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}
.price-col.feature-col {
  flex: 1.25 1 0;
  min-width: 0;
  max-width: 13.5rem;
}
.price-col.plan-col {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  border-radius: var(--radius);
  background: var(--card);
  position: relative;
  /* inset shadow = sichtbarer Rahmen ohne Layout-Verschiebung vs. feature-col */
  box-shadow: inset 0 0 0 2px var(--line);
}
.price-col.plan-col.recommended {
  box-shadow:
    inset 0 0 0 2px var(--accent),
    0 0 0 1px rgba(18, 138, 62, 0.35);
}
.price-col.plan-col.plan-max {
  box-shadow:
    inset 0 0 0 2px #1a6fb5,
    0 0 0 1px rgba(26, 111, 181, 0.35);
}
.badge-rec,
.badge-max {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}
.badge-rec {
  background: var(--accent);
}
.badge-max {
  background: #1a6fb5;
}
.plan-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  flex-shrink: 0;
  height: 11rem;
  min-height: 11rem;
  max-height: 11rem;
  box-sizing: border-box;
  padding: 0.45rem 0.45rem 0.45rem;
  gap: 0;
  position: relative;
  overflow: visible;
}
.plan-head.feature-head {
  align-items: flex-start;
  justify-content: flex-end;
  padding-bottom: 0.35rem;
  text-align: left;
}
.plan-head.feature-head strong {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.9rem;
}
.plan-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  margin: 0;
  line-height: 1.25;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  overflow-wrap: break-word;
  hyphens: manual;
}
.plan-name-multiline {
  align-items: flex-start;
  min-height: 2.5em;
}
.plan-price {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 800;
  color: var(--accent-bright);
  margin: 0.05rem 0 0.04rem;
}
.plan-price .per { font-size: 0.78rem; font-weight: 600; color: var(--muted); }
.plan-per {
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0 0 0.04rem;
  line-height: 1.2;
}
.plan-tokens {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0 0 0.08rem;
  line-height: 1.25;
  overflow-wrap: break-word;
}
.plan-year-note {
  font-size: 0.75rem;
  color: var(--muted);
  min-height: 1em;
  margin: 0;
  line-height: 1.2;
}
.matrix-row-label,
.matrix-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 3.85rem;
  padding: 0.4rem clamp(0.28rem, 0.55vw, 0.55rem);
  margin: 0.28rem clamp(0.2rem, 0.4vw, 0.4rem);
  border-radius: 8px;
  background: var(--input);
  border: 1px solid var(--line);
  font-size: clamp(0.78rem, 0.95vw, 0.86rem);
  line-height: 1.35;
  box-sizing: border-box;
}
.feature-col .matrix-row-label {
  margin: 0.28rem 0.15rem 0.28rem 0;
}
.matrix-row-label {
  justify-content: flex-start;
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  white-space: normal;
  overflow-wrap: break-word;
  hyphens: manual;
  word-break: normal;
}
.matrix-row-label.matrix-row-seats,
.matrix-cell.matrix-row-seats {
  min-height: 4.75rem;
  align-items: center;
  line-height: 1.35;
  white-space: normal;
  overflow: visible;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}
.matrix-cell {
  font-size: 1.15rem;
  line-height: 1;
}
.matrix-cell.yes { color: var(--accent-bright); font-weight: 800; }
.matrix-cell.no { color: var(--line-strong); }
.plan-choose-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 auto;
  min-height: 3.5rem;
  padding: 0.35rem 0.55rem 0.85rem;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
}
.plan-choose {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: 2.75rem;
  margin: 0;
}
.topup-band {
  margin-top: 1.75rem;
  text-align: left;
}
.topup-band ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
}
.topup-hint {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 40rem;
}
.token-rule-band {
  margin: 1.25rem auto 1.5rem;
  max-width: 40rem;
  text-align: left;
  padding: 1.1rem 1.25rem 1.2rem;
  border-radius: 14px;
  border: 1px solid #128a3e;
  background: linear-gradient(180deg, #1a2a22 0%, #1e1e30 55%, #1e1e30 100%);
}
.token-rule-band h2 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: #4ade80;
}
.token-rule-lead {
  margin: 0 0 0.55rem;
  color: var(--fg, #f1f5f9);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.4;
}
.token-rule-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.5;
}
.token-rule-list li + li {
  margin-top: 0.28rem;
}

/* Plan → App booking notice (pricing CTAs) */
.jw-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.jw-modal[hidden] {
  display: none !important;
}
.jw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 18, 0.72);
  backdrop-filter: blur(6px);
}
.jw-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 26.5rem);
  padding: 1.45rem 1.5rem 1.35rem;
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--line));
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 55%),
    linear-gradient(165deg, #1a2a22 0%, var(--card) 70%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.jw-modal-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-bright);
}
.jw-modal-panel h2 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.4rem);
  font-weight: 750;
  color: var(--fg);
  line-height: 1.25;
}
.jw-modal-body {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--muted);
}
.jw-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}
.jw-modal-actions .btn {
  min-width: 9.5rem;
  cursor: pointer;
}
.jw-modal-secondary {
  margin: 1rem 0 0;
  font-size: 0.88rem;
}
.jw-modal-secondary a {
  color: var(--muted);
  font-weight: 600;
}
.jw-modal-secondary a:hover {
  color: var(--accent-bright);
}
body.jw-modal-open {
  overflow: hidden;
}

/* Support form */
.support-form {
  max-width: 520px;
  margin: 1.5rem auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.support-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.support-form input,
.support-form textarea {
  background: var(--input);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  font: inherit;
  width: 100%;
}
.support-form textarea { min-height: 140px; resize: vertical; }
.form-status {
  font-size: 0.92rem;
  min-height: 1.3em;
}
.form-status.ok { color: var(--accent-bright); }
.form-status.err { color: #f87171; }

.legal-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}
.legal-links a {
  display: block;
  text-align: center;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
}
.legal-links a:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
  text-decoration: none;
}

.handbook-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem auto 0;
  max-width: 560px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.handbook-list a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  font-weight: 650;
}
.handbook-list a:hover {
  border-color: var(--accent);
  color: var(--accent-bright);
  text-decoration: none;
}
.handbook-list span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem clamp(1rem, 3vw, 1.75rem) 2.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  max-width: var(--max);
  margin: 0 auto;
}
footer p { margin: 0.25rem 0; }
footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0.65rem;
  line-height: 1.55;
  margin-top: 0.55rem;
}
footer .footer-legal a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
footer .footer-legal a:hover {
  color: var(--text);
  text-decoration: underline;
}
footer .footer-legal .sep {
  color: var(--line);
  user-select: none;
}

@media (max-width: 720px) {
  .top { flex-wrap: wrap; }
  .hero { min-height: auto; padding-top: 2.5rem; }
  .hero-logo {
    height: clamp(4.25rem, 22vw, 5.5rem);
    margin-bottom: 0.95rem;
    border-radius: 0.9rem;
  }
  /* Pricing bleibt ohne Horizontal-Scroll: Spalten schrumpfen mit */
  .page-pricing { max-width: 100%; padding-left: 0.65rem; padding-right: 0.65rem; }
  .price-matrix { min-width: 0; gap: 0.28rem; }
  .price-col.feature-col { max-width: 7.5rem; }
  .plan-head {
    height: 10rem;
    min-height: 10rem;
    max-height: 10rem;
    padding: 0.4rem 0.25rem 0.4rem;
  }
  .matrix-row-label,
  .matrix-cell { min-height: 3.4rem; margin: 0.2rem 0.12rem; padding: 0.3rem 0.2rem; }
  .feature-col .matrix-row-label { margin: 0.2rem 0.12rem 0.2rem 0; }
  .badge-rec,
  .badge-max { font-size: 0.62rem; padding: 0.15rem 0.4rem; }
}

/* Coming-Soon + Login */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--hero);
}
.coming-soon .soon-hero {
  flex: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 4rem 1.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}
.coming-soon .soon-hero .lead { margin-left: auto; margin-right: auto; }
.coming-soon .soon-hero .cta { justify-content: center; }
.coming-soon footer {
  text-align: center;
  border-top: 1px solid var(--line);
  background: transparent;
  max-width: none;
}
.coming-soon .soon-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0.3rem 0 1rem;
}

.notify-form {
  width: 100%;
  margin: 1.6rem 0 0.5rem;
  padding: 1.15rem 1.1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}
.notify-title {
  margin: 0;
  font-weight: 700;
  color: var(--fg);
  font-size: 1rem;
}
.notify-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}
.notify-form input[type="email"] {
  background: var(--input);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font: inherit;
  width: 100%;
}
.notify-consent {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.65rem !important;
  font-weight: 500 !important;
  line-height: 1.45;
}
.notify-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.soon-access {
  margin-top: 1.4rem;
}

.login-page {
  min-height: 100vh;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 3rem 1.4rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  text-align: center;
  box-sizing: border-box;
}
.login-page .lead { margin-left: auto; margin-right: auto; }
.login-page .cta { justify-content: center; }
.gate-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
  width: 100%;
  text-align: left;
}
.gate-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.gate-form input {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}
.gate-error { color: #f87171; font-size: 0.9rem; text-align: left; }
.legal-md {
  /* Fallback, falls Markdown-Renderer fehlt */
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.1rem 1.2rem;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--fg);
  text-align: left;
}
.legal-doc { text-align: left; }
.legal-prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 1.25rem 0;
}

/* Handbuch-Kapitel — lesbare Prosa (kein Monospace-Rohtext) */
.hb-chapter { max-width: 760px; }
.hb-back { margin: 0 0 1.25rem; }
.hb-back a { color: var(--accent-bright); font-weight: 700; }
.hb-prose {
  text-align: left;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem 1.75rem;
}
.hb-prose h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 1rem;
  color: var(--fg);
}
.hb-prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 1.6rem 0 0.65rem;
  color: var(--accent-bright);
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.35rem;
}
.hb-prose h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.45rem;
  color: var(--fg);
}
.hb-prose p { margin: 0 0 0.85rem; color: var(--fg); }
.hb-prose ul,
.hb-prose ol {
  margin: 0 0 1rem 1.25rem;
  padding: 0;
  color: var(--fg);
}
.hb-prose li { margin: 0.35rem 0; }
.hb-prose strong { color: #fff; }
.hb-prose code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.9em;
  background: var(--input);
  padding: 0.1em 0.35em;
  border-radius: 4px;
  color: var(--accent-warm);
}
.hb-code {
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  margin: 0 0 1rem;
}
.hb-code code {
  background: none;
  padding: 0;
  color: var(--fg);
  font-size: 0.88rem;
}
.hb-table-wrap {
  overflow-x: auto;
  margin: 0 0 1.15rem;
}
.hb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hb-table th,
.hb-table td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}
.hb-table th {
  background: #24352c;
  color: #fff;
  font-weight: 700;
}
.hb-table td { color: var(--fg); }
.hb-table tr:nth-child(even) td { background: rgba(255, 255, 255, 0.03); }

button.btn { cursor: pointer; font: inherit; }
