/* Ein Stylesheet für zwei Webseiten.
   <html data-site="palio">      www: warme Bühne, der Hoodie, ein Agent.
   <html data-site="companion">  Subdomain: Weiß und fast Schwarz, Seide, nur Chibis.
   Die Themes stehen ganz unten. Quelle ist site/site.css, scripts/build-site-pages.mjs
   kopiert sie nach site-companion/. */

/* Selbst gehostet (OFL, Lizenzen in fonts/) — kein Google-CDN. */
@font-face {
  font-family: "Outfit Variable";
  src: url("fonts/outfit-var.woff2") format("woff2-variations"), url("fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque Variable";
  src: url("fonts/bricolage-var.woff2") format("woff2-variations"), url("fonts/bricolage-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111111;
  --mute: #6b6b6b;
  --line: rgb(0 0 0 / 0.08);
  --paper: #fafafa;
  --card: #ffffff;
  --soft: #f1f1f2;
  --radius: 999px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --font-display: "Outfit Variable", var(--font);

  /* Redesign — Toki-clean hell, Footer schwarz. Akzent nur CTA/Tarif, Cyan nur am Soft Blob. */
  --s-bg: #f4f4f5;
  --s-bg-2: #e6e6e8;
  --s-card: #ffffff;
  --s-ink: #111111;
  --s-mute: #6b6b6b;
  --s-mute-2: #9a9a9a;
  --s-line: rgb(0 0 0 / 0.08);
  --s-line-strong: rgb(0 0 0 / 0.12);
  --s-cta: #111111;
  --s-cta-fg: #ffffff;
  --s-accent: #ff4d6d;
  --s-mark: #ff4d6d;
  --s-foot-bg: #000000;
  --s-foot-fg: #f5f5f7;
  --s-foot-mute: rgb(245 245 247 / 0.6);
  --s-pop-bg: #2a2a2c;
  --s-pop-fg: #f5f5f7;
  /* Fließtext, Glas im Kopf, Hover und Schein: je Theme eigene Werte */
  --s-text: #1c1c1c;
  --s-text-2: #3d3d3d;
  --s-glass: rgb(255 255 255 / 0.72);
  --s-hover: #ececee;
  --s-cta-hover: #000000;
  --s-glow: rgb(255 77 109 / 0.24);

  --s-r-card: 24px;
  --s-r-pill: 999px;

  --s-h1: clamp(3.1rem, 10vw, 5.4rem);
  --s-h2: clamp(2rem, 5vw, 3rem);
  --s-h3: clamp(1.35rem, 2.6vw, 1.6rem);
  --s-lead: clamp(1.1rem, 2vw, 1.3rem);
  --s-track-display: -0.05em;

  --s-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --s-fast: 160ms;
  --s-flip: 240ms;
  --s-reveal: 760ms;
  --s-stagger: 100ms;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --s-fast: 0ms;
    --s-flip: 0ms;
    --s-reveal: 0ms;
    --s-stagger: 0ms;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; background: var(--s-bg); }

body {
  position: relative;
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--s-ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Seide, leise: helle Falten, Schrift bleibt lesbar, das Rot bleibt der Kontrast. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgb(255 255 255 / 0.62) 0%,
      rgb(255 255 255 / 0.42) 48%,
      rgb(255 255 255 / 0.34) 100%
    ),
    url("palio-silk.jpg") center / cover no-repeat;
  filter: grayscale(1) contrast(1.08) brightness(1.22);
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-display); }
.plan-price strong,
.event-title,
.sky-temp { font-family: var(--font-display); }
p { text-wrap: pretty; }

/* ——— Header (Ref 26 → Toki-Chrome) ——— */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  height: 4rem;
  padding: 0 1.25rem;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--s-fast) ease, border-color var(--s-fast) ease, backdrop-filter var(--s-fast) ease;
}
.top.is-stuck {
  background: var(--s-glass);
  backdrop-filter: blur(18px) saturate(1.05);
  -webkit-backdrop-filter: blur(18px) saturate(1.05);
  border-bottom-color: var(--s-line);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 750;
  letter-spacing: -0.045em;
  font-size: 1.3rem;
  text-transform: lowercase;
  justify-self: start;
}
.mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform 0.4s var(--s-ease);
}
.mark:hover img { transform: translateY(-2px) rotate(-4deg); }

.top-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
  justify-self: center;
}
.top-nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  color: var(--s-ink);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  padding: 0.5rem 0.95rem;
  border-radius: var(--s-r-pill);
  cursor: pointer;
  transition: background var(--s-fast) ease, color var(--s-fast) ease;
}
.top-nav-link:hover,
.top-nav-link[aria-expanded="true"] { background: rgb(0 0 0 / 0.05); }
.top-nav-link svg { opacity: 0.55; transition: transform var(--s-fast) ease; }
.top-nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

/* Mega-Menü (Ref 20) */
.mega { position: relative; }
.mega-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  width: min(27rem, calc(100vw - 2rem));
  padding: 0.6rem;
  display: grid;
  gap: 0.15rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.12), 0 2px 6px rgb(0 0 0 / 0.04);
  transform: translate(-50%, -6px);
  opacity: 0;
  transition: opacity var(--s-fast) ease, transform var(--s-fast) var(--s-ease);
}
.mega-panel[hidden] { display: none; }
.mega-panel.is-open { opacity: 1; transform: translate(-50%, 0); }
.mega-item {
  display: grid;
  grid-template-columns: 1.6rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  text-decoration: none;
  transition: background var(--s-fast) ease;
}
.mega-item:hover,
.mega-item:focus-visible { background: var(--s-bg-2); outline: none; }
.mega-item svg {
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--s-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mega-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.mega-item em {
  display: block;
  margin-top: 0.15rem;
  font-style: normal;
  color: var(--s-mute);
  font-size: 0.92rem;
  line-height: 1.4;
}

.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.top-install-short { display: none; }

.top-auth {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

/* ——— Buttons ——— */
.top-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--s-r-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--s-fast) var(--s-ease), background var(--s-fast) ease,
    border-color var(--s-fast) ease, opacity var(--s-fast) ease;
}
.top-cta,
.btn-main { background: var(--s-cta); color: var(--s-cta-fg); }
.btn-main:hover,
.top-cta:hover { transform: translateY(-1px); background: var(--s-cta-hover); }
.btn-ghost {
  background: var(--s-card);
  border-color: var(--s-line-strong);
  color: var(--s-ink);
}
.btn-ghost:hover { border-color: rgb(0 0 0 / 0.22); transform: translateY(-1px); }
.btn-xl {
  min-height: 3.4rem;
  padding: 0.9rem 1.8rem;
  font-size: 1.08rem;
  border-radius: 16px;
}
.btn.is-busy { opacity: 0.55; pointer-events: none; }
.top-cta { min-height: 2.5rem; padding: 0.45rem 1.15rem; font-size: 0.95rem; }
.top-cta--ghost {
  background: var(--s-card);
  color: var(--s-ink);
  border-color: var(--s-line-strong);
}
.top-cta--ghost:hover { background: var(--s-card); border-color: rgb(0 0 0 / 0.22); }

/* Account-Popover dunkel (Ref 09) */
.top-account { position: relative; }
.top-account-btn {
  appearance: none;
  border: 1px solid var(--s-line-strong);
  background: var(--s-card);
  border-radius: var(--s-r-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.2rem 0.75rem 0.2rem 0.25rem;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--s-ink);
  cursor: pointer;
}
.top-account-btn img,
.top-account-fallback {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  object-fit: cover;
}
.top-account-fallback {
  display: grid;
  place-items: center;
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 700;
}
.top-account-name {
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-account-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 13.5rem;
  padding: 0.4rem;
  border-radius: 16px;
  background: var(--s-pop-bg);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: 0 24px 50px rgb(0 0 0 / 0.3);
  display: grid;
  gap: 0.1rem;
  z-index: 45;
  color: var(--s-pop-fg);
}
.top-account-menu[hidden] { display: none; }
.top-account-who {
  margin: 0;
  padding: 0.55rem 0.75rem 0.6rem;
  font-size: 0.8rem;
  color: rgb(245 245 247 / 0.55);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
  margin-bottom: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.top-account-who em {
  font-style: normal;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  border-radius: 6px;
  background: rgb(255 255 255 / 0.1);
  font-size: 0.7rem;
}
.top-account-menu a,
.top-account-menu button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--s-pop-fg);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}
.top-account-menu a:hover,
.top-account-menu button:hover { background: rgb(255 255 255 / 0.09); }
.top-account-menu .is-danger { color: #ff8095; }

main { overflow-x: clip; }

/* ——— Hero (1.1) ——— */
.hero {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  text-align: center;
  display: grid;
  align-content: start;
  justify-items: center;
  padding: clamp(1.75rem, 6vh, 3.5rem) 0 3rem;
}
.hero-mark {
  position: relative;
  width: clamp(84px, 13vw, 124px);
  aspect-ratio: 128 / 118;
  margin: 0 auto 1.6rem;
  animation: blob-in 0.9s var(--s-ease) both, blob-bob 5.5s ease-in-out 1s infinite;
}
.hero-mark-img,
.hero-mark-wink {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px var(--s-glow)) drop-shadow(0 6px 10px rgb(0 0 0 / 0.08));
}
.hero-mark-wink { opacity: 0; }
.hero-mark.is-wink .hero-mark-wink { opacity: 1; }
.hero-mark.is-wink .hero-mark-img { opacity: 0; }
.hero-mark-glow {
  position: absolute;
  inset: 18% 8% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--s-glow), transparent);
  filter: blur(14px);
}
.hero h1 {
  margin: 0;
  font-size: var(--s-h1);
  line-height: 0.98;
  letter-spacing: var(--s-track-display);
  font-weight: 800;
  max-width: 14ch;
  animation: rise 0.8s var(--s-ease) 0.08s both;
}
.lead {
  margin: 1.4rem auto 0;
  max-width: 34rem;
  color: var(--s-mute);
  font-size: var(--s-lead);
  line-height: 1.5;
  animation: rise 0.8s var(--s-ease) 0.16s both;
}
.hero .lead,
.hero-proof {
  color: var(--s-text);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 2.2rem;
  animation: rise 0.8s var(--s-ease) 0.24s both;
}
.hero-proof {
  margin: 1.5rem 0 0;
  color: var(--s-text);
  font-size: 0.98rem;
  animation: rise 0.8s var(--s-ease) 0.3s both;
}

.wedge {
  list-style: none;
  margin: clamp(2.2rem, 5vh, 3.6rem) 0 0;
  padding: 0;
  width: 100%;
  display: grid;
  gap: 0.75rem;
}
.wedge li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: center;
  gap: 0.85rem;
  text-align: left;
  padding: 1rem 1.15rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 20px;
  animation: rise 0.8s var(--s-ease) calc(0.38s + var(--i, 0) * 0.09s) both;
}
.wedge li strong { display: block; font-size: 1.05rem; letter-spacing: -0.015em; color: var(--s-ink); }
.wedge li > span:last-child { color: var(--s-mute); font-size: 0.94rem; line-height: 1.35; }
.wedge-num {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--s-bg-2);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.wedge-num--ok { background: var(--s-ink); color: #fff; }

/* ——— Story sections (Scroll-Motion S1–S3) ——— */
.kicker {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--s-text);
}
.story {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0;
  display: grid;
  gap: 2rem;
  align-items: center;
}
.story-copy h2,
.section-title {
  margin: 0;
  font-size: var(--s-h2);
  letter-spacing: -0.045em;
  line-height: 1.04;
  font-weight: 750;
}
.story-copy > p:not(.kicker) {
  margin: 1.1rem 0 1.6rem;
  color: var(--s-text);
  font-size: var(--s-lead);
  line-height: 1.55;
  max-width: 31rem;
}
.cmd {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 100%;
  padding: 0.95rem 1.4rem;
  border-radius: 14px;
  background: var(--s-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 550;
  font-size: 1.05rem;
  line-height: 1.25;
  transition: transform var(--s-fast) var(--s-ease), background var(--s-fast) ease;
}
.cmd:hover { transform: translateY(-1px); background: var(--s-cta-hover); }
.cmd span { transition: transform var(--s-fast) var(--s-ease); }
.cmd:hover span { transform: translateX(3px); }

.story-visual {
  display: grid;
  place-items: center;
  min-height: 22rem;
}

.story-visual--stack {
  position: relative;
  width: min(100%, 34rem);
  min-height: 26rem;
  place-items: stretch;
}

.story-clip {
  width: min(100%, 34rem);
  border-radius: 1.5rem;
  overflow: hidden;
  background: #f3f4f6;
  box-shadow: 0 18px 40px rgb(15 23 42 / 0.08);
}

.story-clip--scene {
  width: 100%;
  align-self: end;
  margin-top: auto;
}

.story-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #eef1f5;
}

.story-stage,
.story-clip--scene {
  position: relative;
  background: #1a1014;
}

.story-stage {
  width: min(100%, 34rem);
  aspect-ratio: 16 / 10;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: 0 28px 60px rgb(40 8 16 / 0.22);
}

.story-clip--scene {
  aspect-ratio: 16 / 10;
}

.story-stage-silk {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-stage-blob {
  position: absolute;
  z-index: 1;
  right: 2%;
  bottom: -8%;
  width: min(48%, 13.5rem);
  height: auto;
  filter: drop-shadow(0 18px 22px rgb(0 0 0 / 0.38));
}

.story-float {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  width: min(17.5rem, 70%);
  margin: 0;
}

.story-visual--stack .approve {
  position: absolute;
  z-index: 2;
  top: 0.4rem;
  left: 50%;
  width: min(100%, 22rem);
  transform: translateX(-50%);
  pointer-events: none;
}

.story-visual--stack .approve-blob {
  display: none;
}

/* Chat-Mock (Termine) */
.chat-mock {
  width: min(100%, 27rem);
  display: grid;
  gap: 0.7rem;
}
.bubble {
  margin: 0;
  padding: 0.85rem 1.05rem;
  border-radius: 20px;
  font-size: 0.98rem;
  line-height: 1.45;
  max-width: 88%;
}
.bubble--you {
  justify-self: end;
  background: var(--s-ink);
  color: #fff;
  border-bottom-right-radius: 8px;
}
.bubble--pal {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: var(--s-card);
  border: 1px solid var(--s-line);
}
.bubble--pal img { flex: 0 0 auto; width: 22px; height: 22px; object-fit: contain; }
.event-card {
  padding: 1.05rem 1.2rem 1.1rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 20px;
  box-shadow: 0 22px 50px rgb(0 0 0 / 0.07);
}
.event-kicker {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--s-mute);
}
.event-kicker svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.event-title { margin: 0.4rem 0 0; font-size: 1.35rem; font-weight: 700; letter-spacing: -0.03em; }
.event-meta {
  margin: 0.4rem 0 0;
  display: flex;
  gap: 0.75rem;
  color: var(--s-mute);
  font-size: 0.95rem;
}
.event-meta span + span { padding-left: 0.75rem; border-left: 1px solid var(--s-line-strong); }
.event-remind {
  margin: 0.8rem 0 0;
  display: inline-flex;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--s-bg-2);
  font-size: 0.82rem;
  font-weight: 600;
}
.day-stack {
  display: grid;
  gap: 0.8rem;
  width: min(100%, 24rem);
}
.input-mock {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.6rem 0.55rem 0.75rem;
  background: var(--s-card);
  border: 1px solid var(--s-line-strong);
  border-radius: 22px;
}
.input-plus {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--s-line-strong);
  color: var(--s-mute);
}
.input-text { color: var(--s-mute-2); font-size: 0.98rem; }
.input-mic {
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--s-bg-2);
}
.input-mic svg { fill: none; stroke: var(--s-ink); stroke-width: 1.7; stroke-linecap: round; }

/* S1 Freigabe (Hero-Motion) */
.approve {
  position: relative;
  width: min(100%, 29rem);
  padding-bottom: 2.4rem;
}
.approve-card {
  position: relative;
  padding: 1.15rem 1.2rem 1.2rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.1);
  transform: translateY(36px) scale(0.97);
  opacity: 0;
  transition: transform 0.85s var(--s-ease), opacity 0.6s ease;
}
.approve.is-in .approve-card { transform: none; opacity: 1; }
.approve-head {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.approve-head img { width: 22px; height: 22px; object-fit: contain; }
.approve-mail {
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: var(--s-bg-2);
}
.approve-meta { margin: 0; color: var(--s-mute); font-size: 0.85rem; }
.approve-body { margin: 0.55rem 0 0; font-size: 0.97rem; line-height: 1.5; }
.approve-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.95rem;
  transition: opacity 0.3s ease;
}
.approve-btn {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1.05rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
}
.approve-btn--ghost { border: 1px solid var(--s-line-strong); color: var(--s-mute); }
.approve-btn--go { background: var(--s-ink); color: #fff; }
.approve.is-tap .approve-btn--go { animation: tap 0.5s var(--s-ease); }
.approve-done {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.4rem;
  border-radius: 999px;
  background: #e9f8ef;
  color: #137a3b;
  font-weight: 650;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s var(--s-ease);
}
.approve-done svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.approve.is-sent .approve-actions { opacity: 0; }
.approve.is-sent .approve-done { opacity: 1; transform: none; }
.approve-blob {
  position: absolute;
  right: -0.5rem;
  bottom: -0.4rem;
  width: clamp(72px, 11vw, 96px);
  height: auto;
  filter: drop-shadow(0 14px 20px var(--s-glow));
  opacity: 0;
  transform: translateY(18px) scale(0.9);
  transition: opacity 0.5s ease 0.35s, transform 0.7s var(--s-ease) 0.35s;
}
.approve.is-sent .approve-blob { opacity: 1; transform: none; }

/* S2 Gedächtnis */
.memory {
  position: relative;
  width: min(100%, 30rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: center;
}
.memory-blob {
  width: clamp(84px, 12vw, 120px);
  height: auto;
  animation: blob-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 16px 24px var(--s-glow));
}
.memory-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.memory-cards li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 16px;
  box-shadow: 0 14px 34px rgb(0 0 0 / 0.07);
  font-weight: 600;
  font-size: 0.98rem;
}
.memory-cards li:nth-child(1) { rotate: -2deg; }
.memory-cards li:nth-child(2) { rotate: 1.5deg; margin-left: -0.8rem; }
.memory-cards li:nth-child(3) { rotate: -1deg; margin-left: 0.6rem; }
.memory-cards em {
  display: block;
  font-style: normal;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--s-mute);
  margin-bottom: 0.1rem;
}
.memory-ico {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--s-bg-2);
  font-size: 0.95rem;
}

/* S3 Sync */
.sync {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
}
.sync-panel {
  padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 32px;
  background: var(--s-bg-2);
  border: 1px solid var(--s-line);
  text-align: center;
}
.sync-panel h2 {
  margin: 0;
  font-size: var(--s-h2);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.sync-panel > p {
  margin: 1rem auto 2.4rem;
  max-width: 34rem;
  color: var(--s-mute);
  font-size: var(--s-lead);
  line-height: 1.55;
}
.sync-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 52rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}
.sync-grid li {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  padding: 1.4rem 0.9rem 1.25rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 22px;
}
.sync-grid strong { font-size: 1rem; letter-spacing: -0.01em; }
.sync-grid em { font-style: normal; color: var(--s-mute); font-size: 0.85rem; line-height: 1.35; }
.sync-ico {
  width: 3.6rem;
  height: 3.6rem;
  margin-bottom: 0.4rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.06);
}
.sync-ico svg { fill: none; stroke: var(--s-ink); stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.sync-ico--gcal {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.04em;
  color: #1a73e8;
}
.sync-ico--gmail svg { fill: #ea4335; stroke: none; }

/* Wetter-Teaser */
.sky-mock {
  width: min(100%, 27rem);
  min-height: 19rem;
  padding: 1.6rem 1.4rem;
  border-radius: 28px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(120% 80% at 70% 0%, rgb(255 255 255 / 0.22), transparent 60%),
    linear-gradient(180deg, #5d6b7c 0%, #7b8796 55%, #95a0ad 100%);
  box-shadow: 0 30px 70px rgb(30 40 55 / 0.22);
}
.sky-place { margin: 0; font-weight: 600; font-size: 1.05rem; }
.sky-temp {
  margin: 0.2rem 0 0;
  font-size: 3.6rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.sky-sub { margin: 0.5rem 0 0; opacity: 0.85; font-size: 0.92rem; }
.sky-tiles {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.sky-tiles span {
  padding: 0.9rem 0.8rem;
  border-radius: 16px;
  background: rgb(255 255 255 / 0.16);
  border: 1px solid rgb(255 255 255 / 0.18);
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: left;
}

/* ——— Plans (1.4) ——— */
.plans,
.devices,
.faq {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0 1.25rem;
}
.section-title { text-align: center; }
.section-lead {
  margin: 1rem auto 2.6rem;
  max-width: 34rem;
  text-align: center;
  color: var(--s-text);
  font-size: var(--s-lead);
  line-height: 1.5;
}
.allrounder-head {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0 0;
}
.allrounder-head .section-lead { margin-bottom: 0; }
.plans-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.plans-code { margin: 0; color: var(--s-mute); font-size: 0.9rem; }
.plans-code strong { color: var(--s-ink); font-weight: 600; }

.plan-grid {
  display: grid;
  gap: 1rem;
}
.plan-card {
  text-align: left;
  background: var(--s-card);
  border: 1px solid var(--s-line-strong);
  border-radius: var(--s-r-card);
  padding: 2rem 1.75rem 1.9rem;
}
.plan-card h3 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  letter-spacing: -0.04em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
}
.plan-price strong {
  font-size: clamp(3rem, 8vw, 4rem);
  letter-spacing: -0.05em;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.plan-price > span { color: var(--s-mute); font-size: 1rem; font-weight: 500; }
.plan-year {
  margin: 0.45rem 0 0;
  min-height: 1.4em;
  color: var(--s-mute);
  font-size: 0.95rem;
}
.plan-year b { color: var(--s-ink); font-weight: 600; }
.plan-cta {
  width: 100%;
  min-height: 3.2rem;
  margin-top: 1.3rem;
  font-size: 1.02rem;
}
.plan-state {
  margin: 0.7rem 0 0;
  text-align: center;
  color: var(--s-mute);
  font-size: 0.88rem;
  min-height: 1.3em;
}
.plan-state.is-accent { color: var(--s-accent); font-weight: 600; }
.plan-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--s-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.plan-card ul {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--s-line);
  display: grid;
  gap: 0.85rem;
}
.plan-card li {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.98rem;
  line-height: 1.45;
}
.plan-card li > span:first-child {
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--s-ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
}
.plan-card--how { background: var(--s-bg-2); border-color: var(--s-line); }
.plan-steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
  counter-reset: step;
}
.plan-steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.2rem 0.85rem;
  counter-increment: step;
}
.plan-steps li::before {
  content: counter(step);
  grid-row: span 2;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--s-card);
  border: 1px solid var(--s-line-strong);
  font-weight: 700;
  font-size: 0.9rem;
}
.plan-steps strong { font-size: 1.02rem; }
.plan-steps span { color: var(--s-mute); font-size: 0.95rem; line-height: 1.45; }

/* ——— Devices (1.7) ——— */
.device-grid {
  display: grid;
  gap: 0.9rem;
}
.device-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-card);
}
.device-card h3 { margin: 0; font-size: 1.4rem; letter-spacing: -0.03em; }
.device-card p { margin: 0; color: var(--s-mute); line-height: 1.5; }
.device-cta { margin-top: 0.9rem; justify-self: start; }
.device-badge {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--s-ink);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 650;
  display: none;
}
.device-card.is-current { border-color: var(--s-ink); }
.device-card.is-current .device-badge { display: inline-flex; }

/* ——— FAQ (1.6) ——— */
.faq { width: min(780px, calc(100% - 2rem)); }
.faq .section-title { margin-bottom: 2.4rem; }
.faq details { padding: 0.15rem 0; }
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  list-style: none;
  padding: 1.05rem 1.1rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background var(--s-fast) ease;
}
.faq summary:hover,
.faq details[open] summary { background: var(--s-hover); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.6px solid var(--s-ink);
  border-bottom: 1.6px solid var(--s-ink);
  transform: rotate(45deg) translateY(-2px);
  flex: 0 0 auto;
  transition: transform var(--s-fast) var(--s-ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p {
  margin: 0;
  padding: 0.85rem 1.1rem 1rem;
  color: var(--s-mute);
  font-size: 1.02rem;
  line-height: 1.6;
}
.faq details[open] p { animation: rise 0.35s var(--s-ease) both; }
.faq details a { color: var(--s-ink); }

/* ——— Close ——— */
.close {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.75rem 0 4.5rem;
  text-align: center;
  display: grid;
  justify-items: center;
}
.close-blob {
  width: 88px;
  height: auto;
  margin-bottom: 1.4rem;
  animation: blob-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 14px 22px var(--s-glow));
}
.close h2 {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.close .hero-cta { animation: none; }
.founder {
  margin: 2.2rem 0 0;
  color: var(--s-mute);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ——— Sticky CTA (Toki „Loslegen“-Pill) ——— */
.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 35;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.3rem;
  padding: 0 1.6rem 0 1rem;
  border-radius: 16px;
  background: var(--s-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.02rem;
  box-shadow: 0 18px 40px rgb(0 0 0 / 0.25);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s var(--s-ease), opacity 0.3s ease;
}
.sticky-cta img { width: 22px; height: 22px; object-fit: contain; }
.sticky-cta.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ——— Footer (1.14) ——— */
.foot {
  background: var(--s-foot-bg);
  color: var(--s-foot-fg);
  padding: 4rem clamp(1.25rem, 5vw, 3rem) calc(2.5rem + env(safe-area-inset-bottom));
}
.foot-grid {
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 1.5rem;
}
.foot-col { display: grid; align-content: start; gap: 0.7rem; }
.foot-col h2 {
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s-foot-fg);
}
.foot-col a {
  color: var(--s-foot-mute);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--s-fast) ease;
}
.foot-col a:hover { color: var(--s-foot-fg); }
.foot-base {
  width: min(1040px, 100%);
  margin: 3.5rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--s-foot-mute);
  font-size: 0.85rem;
}
.foot-base p { margin: 0; }
.mark--foot { color: var(--s-foot-fg); font-size: 1.15rem; }
.mark--foot img { width: 22px; height: 22px; }

/* ——— Legal-Seiten ——— */
.legal-wrap {
  width: min(760px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}
.legal h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
.legal h2 {
  margin: 2.2rem 0 0.6rem;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.legal h3 { margin: 1.6rem 0 0.4rem; font-size: 1.05rem; }
.legal p,
.legal li {
  color: var(--s-text-2);
  font-size: 1rem;
  line-height: 1.65;
}
.legal a { color: var(--s-ink); }
.legal ul,
.legal ol { padding-left: 1.2rem; }

/* ——— Reveal-Motion ——— */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--s-reveal) var(--s-ease), transform var(--s-reveal) var(--s-ease);
  transition-delay: calc(var(--i, 0) * var(--s-stagger));
}
[data-reveal].is-in { opacity: 1; transform: none; }
.memory-cards li[data-reveal] { transform: translateY(26px) rotate(0deg); }
.memory-cards li[data-reveal].is-in { transform: none; }

/* ——— iOS-Sheet ——— */
.ios-sheet[hidden] { display: none !important; }
.ios-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: end center;
}
.ios-sheet-dim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(0 0 0 / 0.4);
}
.ios-sheet-card {
  position: relative;
  width: min(100%, 26rem);
  padding: 1.5rem 1.35rem calc(1.5rem + env(safe-area-inset-bottom));
  background: var(--s-card);
  border-radius: 24px 24px 0 0;
  animation: sheet-up 0.3s var(--s-ease) both;
}
.ios-kicker {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--s-mute);
}
.ios-sheet-card h2 { margin: 0.35rem 0 0.8rem; letter-spacing: -0.03em; }
.ios-sheet-card ol {
  margin: 0 0 1.2rem;
  padding-left: 1.2rem;
  color: var(--s-mute);
  line-height: 1.55;
}

/* ——— Keyframes ——— */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes blob-in {
  from { opacity: 0; transform: translateY(18px) scale(0.86); }
  to { opacity: 1; transform: none; }
}
@keyframes blob-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -6px; }
}
@keyframes tap {
  0% { transform: scale(1); }
  40% { transform: scale(0.92); }
  100% { transform: scale(1); }
}
@keyframes sheet-up {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  [data-reveal],
  .approve-card,
  .approve-blob { opacity: 1 !important; transform: none !important; }
  .story-visual--stack .approve { transform: translateX(-50%) !important; }
  .story-video { visibility: visible; }
}

/* ——— Breakpoints ——— */
.mega-item--more { display: none; }

@media (max-width: 899px) {
  .top {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.4rem;
    padding: 0 0.75rem;
  }
  .mark { min-width: max-content; }
  .top-nav { display: flex; order: 0; justify-self: end; }
  .top-actions { gap: 0.35rem; }
  .top .top-cta { min-height: 2.2rem; padding: 0.35rem 0.7rem; font-size: 0.85rem; }
  .top-nav > a.top-nav-link { display: none; }
  .mega-toggle { padding: 0.5rem 0.75rem; }
  .mega { position: static; }
  .mega-panel {
    position: fixed;
    top: 4.4rem;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
    max-height: calc(100dvh - 5.5rem);
    overflow-y: auto;
    transform: translateY(-6px);
  }
  .mega-panel.is-open { transform: none; }
  .mega-item--more {
    display: grid;
  }
  .mega-all + .mega-item--more {
    margin-top: 0.3rem;
    border-top: 1px solid var(--s-line);
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }
  .mega--desk { display: none; }
}

@media (max-width: 720px) {
  .top-account-name { display: none; }
  .top-auth .top-cta--ghost { display: none; }
  .top-install-long { display: none; }
  .top-install-short { display: inline; }
  .plans-bar { align-items: flex-start; }
}

@media (min-width: 760px) {
  .wedge { grid-template-columns: repeat(3, 1fr); }
  .sync-grid { grid-template-columns: repeat(4, 1fr); }
  .plan-grid { grid-template-columns: 1.25fr 1fr; align-items: stretch; }
  .device-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .foot-grid { width: min(1160px, 100%); grid-template-columns: repeat(6, 1fr); }
  .foot-base { width: min(1160px, 100%); }
}

@media (min-width: 900px) {
  .top {
    grid-template-columns: 1fr auto 1fr;
    height: 4.25rem;
    padding: 0 2rem;
  }
  .top-nav { display: flex; }
  .story {
    grid-template-columns: 1fr 1fr;
    gap: 3.25rem;
    padding: 3.5rem 0;
  }
  .story:not(:has(.story-visual)) {
    grid-template-columns: minmax(0, 40rem);
  }
  .story--flip .story-visual { order: -1; }
  .chat-mock,
  .approve { width: min(100%, 33rem); }
  .memory { width: min(100%, 34rem); }
  .story-clip { width: min(100%, 36rem); }
  .story-visual--stack { width: min(100%, 36rem); min-height: 28rem; }
  .story-visual--stack .approve { width: min(100%, 24rem); }
  .sky-mock { width: min(100%, 31rem); min-height: 23rem; padding: 2rem 1.6rem; }
  .bubble,
  .approve-body { font-size: 1.05rem; }
  .event-title { font-size: 1.55rem; }
  .lead { max-width: 38rem; }
}

/* ——— Startseite: erster Bildschirm ——— */
.hero-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.4rem;
  color: var(--s-ink);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border-bottom: 1px solid var(--s-line-strong);
  padding-bottom: 0.15rem;
  transition: border-color var(--s-fast) ease;
  animation: rise 0.8s var(--s-ease) 0.62s both;
}
.hero-more:hover { border-color: var(--s-ink); }
.hero-more span { transition: transform var(--s-fast) var(--s-ease); }
.hero-more:hover span { transform: translateX(3px); }

/* ——— Header: Menü-Ergänzungen ——— */
.mega-all,
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background var(--s-fast) ease;
}
.mega-all { margin-top: 0.2rem; border-top: 1px solid var(--s-line); border-radius: 0 0 12px 12px; }
.mega-link { font-weight: 500; }
.mega-all:hover,
.mega-link:hover,
.mega-all:focus-visible,
.mega-link:focus-visible { background: var(--s-bg-2); outline: none; }
.mega-label {
  margin: 0.55rem 0 0;
  padding: 0.55rem 0.9rem 0.2rem;
  border-top: 1px solid var(--s-line);
  color: var(--s-mute);
  font-size: 0.8rem;
  font-weight: 600;
}
.mega-item[aria-current="page"],
.mega-link[aria-current="page"] { background: var(--s-bg-2); }
.top-nav-link[aria-current="page"] { background: rgb(0 0 0 / 0.05); }

/* ——— Unterseiten ——— */
.sub { padding-bottom: 1rem; }
.sub-hero {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.2rem 0 2.6rem;
  text-align: center;
  display: grid;
  justify-items: center;
}
.sub-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  max-width: 16ch;
  animation: rise 0.8s var(--s-ease) 0.04s both;
}
.sub-hero .lead { margin-top: 1.2rem; }
.sub-hero .lead a { color: var(--s-ink); }
.sub-hero--hub { padding-bottom: 1.4rem; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.4rem;
  color: var(--s-mute-2);
  font-size: 0.88rem;
}
.crumbs a { color: var(--s-mute); text-decoration: none; }
.crumbs a:hover { color: var(--s-ink); }
.crumbs [aria-current] { color: var(--s-ink); font-weight: 600; }

.sub-visual {
  width: min(1040px, calc(100% - 2rem));
  margin: 0.6rem auto 0;
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1rem, 4vw, 3rem);
  display: grid;
  place-items: center;
  min-height: 22rem;
  background: var(--s-bg-2);
  border-radius: var(--s-r-card);
}
.sub-visual .chat-mock,
.sub-visual .approve { width: min(100%, 32rem); }

.article {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 1rem;
  display: grid;
  gap: 2rem;
}
.toc {
  display: none;
  align-self: start;
  position: sticky;
  top: 6rem;
  gap: 0.2rem;
}
.toc p { margin: 0 0 0.5rem; color: var(--s-mute); font-size: 0.82rem; font-weight: 600; }
.toc a {
  padding: 0.4rem 0.75rem;
  margin-left: -0.75rem;
  border-radius: 10px;
  color: var(--s-mute);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background var(--s-fast) ease, color var(--s-fast) ease;
}
.toc a:hover { background: var(--s-bg-2); color: var(--s-ink); }
.prose { max-width: 44rem; min-width: 0; }
.prose h2 {
  margin: 3.4rem 0 1rem;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  scroll-margin-top: 6rem;
}
.prose h2:first-child { margin-top: 0; }
.prose > p {
  margin: 0 0 1rem;
  color: var(--s-text-2);
  font-size: 1.08rem;
  line-height: 1.65;
}
.prose a { color: var(--s-ink); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 1.25rem 1.3rem 1.25rem 4rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: 20px;
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.2rem;
  top: 1.15rem;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--s-bg-2);
  font-weight: 700;
  font-size: 0.88rem;
}
.steps strong { display: block; font-size: 1.08rem; letter-spacing: -0.015em; }
.steps p { margin: 0.35rem 0 0; color: var(--s-mute); line-height: 1.55; }
.say,
.prose .say {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--s-line);
  border-radius: 14px 14px 14px 4px;
  background: var(--s-bg-2);
  color: var(--s-ink);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.96rem;
  line-height: 1.35;
  transition: border-color var(--s-fast) ease, transform var(--s-fast) var(--s-ease);
}
.say:hover { border-color: var(--s-line-strong); transform: translateY(-1px); }
.moments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}
.moments li {
  position: relative;
  padding: 0.95rem 1.1rem 0.95rem 2.7rem;
  background: var(--s-bg-2);
  border-radius: 16px;
  line-height: 1.5;
}
.moments li::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.45rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--s-ink);
}
.faq--inline { width: auto; margin: 0 0 0 -1.1rem; padding: 0; }

.close--sub { padding: 3.5rem 0 3rem; }
.close--sub h2 { font-size: clamp(2rem, 5vw, 3rem); }

.more {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}
.more .section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 1.8rem; }
.more--hub { padding-top: 1rem; }
.cards { display: grid; gap: 0.85rem; }
.card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  min-height: 10rem;
  padding: 1.4rem 1.4rem 3rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-card);
  text-decoration: none;
  transition: border-color var(--s-fast) ease, transform var(--s-fast) var(--s-ease), box-shadow var(--s-fast) ease;
}
.card:hover {
  border-color: var(--s-line-strong);
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgb(0 0 0 / 0.07);
}
.card-ico {
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.6rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--s-bg-2);
}
.card-ico svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--s-ink);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card strong { font-size: 1.15rem; letter-spacing: -0.02em; }
.card em { font-style: normal; color: var(--s-mute); line-height: 1.45; font-size: 0.96rem; }
.card-go {
  position: absolute;
  left: 1.4rem;
  bottom: 1.1rem;
  font-weight: 600;
  transition: transform var(--s-fast) var(--s-ease);
}
.card:hover .card-go { transform: translateX(4px); }

.scenarios {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  display: grid;
  gap: 1rem;
  scroll-margin-top: 5rem;
}
.scenario {
  padding: 1.6rem 1.5rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-card);
}
.scenario h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.scenario-before,
.scenario-after {
  margin: 0 0 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  line-height: 1.5;
}
.scenario-before { background: var(--s-bg-2); color: var(--s-mute); }
.scenario-after { background: var(--s-bg-2); color: var(--s-ink); }
.scenario-before span,
.scenario-after span {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--s-mute);
}
.scenario-after span { color: var(--s-ink); }

.sub-section {
  width: min(1040px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.75rem 0 0.75rem;
  scroll-margin-top: 4rem;
}
.sub-section .section-title { margin-bottom: 1rem; }
.sub-section .section-lead { margin-bottom: 2rem; }
.sub-section > .section-title:only-of-type { margin-bottom: 2rem; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-card);
  background: var(--s-card);
}
.compare {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.45;
}
.compare th,
.compare td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--s-line);
}
.compare tr:last-child > * { border-bottom: 0; }
.compare thead th {
  background: var(--s-bg-2);
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--s-mute);
}
.compare thead th:nth-child(2) { color: var(--s-ink); }
.compare tbody th { font-weight: 600; width: 30%; }
.compare td.is-yes::before,
.compare td.is-no::before {
  display: inline-grid;
  place-items: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  vertical-align: 0.08em;
}
.compare td.is-yes::before { content: "✓"; background: var(--s-ink); color: #fff; }
.compare td.is-no::before { content: "–"; background: var(--s-bg-2); color: var(--s-mute); }
.compare--map { min-width: 0; }
.compare--map td a { font-weight: 600; color: var(--s-ink); }
.compare-note { margin: 1rem 0 0; color: var(--s-mute); font-size: 0.88rem; line-height: 1.5; }
.compare-note a { color: var(--s-ink); }
.when-other {
  padding: 1.8rem 1.6rem;
  background: var(--s-bg-2);
  border-radius: var(--s-r-card);
}
.when-other h2 { margin: 0 0 0.7rem; font-size: clamp(1.4rem, 3vw, 1.8rem); letter-spacing: -0.035em; }
.when-other p { margin: 0; color: var(--s-text-2); font-size: 1.05rem; line-height: 1.6; max-width: 44rem; }
.why-grid { display: grid; gap: 0.85rem; margin-top: 2rem; }
.why {
  padding: 1.5rem 1.4rem;
  background: var(--s-card);
  border: 1px solid var(--s-line);
  border-radius: var(--s-r-card);
}
.why h3 { margin: 1rem 0 0.4rem; font-size: 1.2rem; letter-spacing: -0.02em; }
.why p { margin: 0; color: var(--s-mute); line-height: 1.55; }

.plans--sub { padding-top: 1rem; }
.plans--sub .plans-code { margin-top: 1.6rem; }

.news {
  width: min(820px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2rem;
}
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
  display: grid;
  gap: 0.4rem 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--s-line);
}
.news-item time { color: var(--s-mute); font-size: 0.9rem; font-weight: 600; padding-top: 0.35rem; }
.news-item h2 { margin: 0 0 0.5rem; font-size: clamp(1.4rem, 3vw, 1.75rem); letter-spacing: -0.035em; line-height: 1.15; }
.news-item p { margin: 0; color: var(--s-text-2); line-height: 1.6; font-size: 1.03rem; }
.news-item a { color: var(--s-ink); }

.contact {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 5rem;
}
.contact-main {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.6rem 1.5rem;
  background: var(--s-bg-2);
  border-radius: var(--s-r-card);
}
.contact-main img { width: 72px; height: auto; flex: 0 0 auto; filter: drop-shadow(0 10px 18px var(--s-glow)); }
.contact-main .kicker { margin-bottom: 0.3rem; }
.contact-mail {
  font-family: var(--font-display);
  font-size: clamp(1rem, 4.1vw, 1.7rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--s-ink);
  text-decoration: none;
  overflow-wrap: anywhere;
  white-space: nowrap;
  border-bottom: 1px solid var(--s-line-strong);
}
.contact-mail:hover { border-color: var(--s-ink); }
.contact-title { margin: 3.2rem 0 0.4rem; font-size: clamp(1.6rem, 4vw, 2.2rem); letter-spacing: -0.04em; }
.contact-lead { margin: 0 0 1.4rem; color: var(--s-mute); line-height: 1.5; }
.card--topic { min-height: 0; padding-bottom: 1.4rem; padding-right: 3rem; }
.card--topic .card-go { left: auto; right: 1.3rem; bottom: auto; top: 1.4rem; }
.contact-foot { margin: 2rem 0 0; color: var(--s-mute); font-size: 0.95rem; line-height: 1.55; }
.contact-foot a { color: var(--s-ink); }

.faq--group { padding: 2.2rem 0 0.5rem; }
.faq-group-title {
  margin: 0 0 0.8rem 1.1rem;
  font-size: clamp(1.4rem, 3vw, 1.7rem);
  letter-spacing: -0.035em;
}

/* ——— Gratis-Tool ——— */
.tool {
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.tool-panel {
  padding: 1.5rem 1.4rem;
  background: var(--s-card);
  border: 1px solid var(--s-line-strong);
  border-radius: var(--s-r-card);
}
.tool-label { display: block; margin: 0 0 0.7rem; font-size: 0.88rem; font-weight: 650; color: var(--s-mute); }
.tool-input {
  width: 100%;
  min-height: 6.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--s-line-strong);
  border-radius: 16px;
  background: var(--s-bg);
  color: var(--s-ink);
  font: inherit;
  font-size: 1.12rem;
  line-height: 1.45;
  resize: vertical;
}
.tool-input:focus,
.tool-field input:focus { outline: 2px solid var(--s-ink); outline-offset: 1px; }
.tool-chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.9rem 0 1.1rem; }
.tool-chip {
  appearance: none;
  min-height: 2.75rem;
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--s-line);
  border-radius: 999px;
  background: var(--s-bg-2);
  color: var(--s-ink);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--s-fast) ease, background var(--s-fast) ease;
}
.tool-chip:hover { border-color: var(--s-line-strong); background: var(--s-card); }
.tool-go { width: 100%; min-height: 3.2rem; }
.tool-status { margin: 0.8rem 0 0; min-height: 1.4em; color: var(--s-mute); font-size: 0.95rem; line-height: 1.45; }
.tool-status.is-warn { color: var(--s-ink); font-weight: 600; }
.tool-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  animation: rise 0.35s var(--s-ease) both;
}
.tool-preview[hidden] { display: none; }
.tool-preview .tool-label { grid-column: 1 / -1; margin-bottom: 0; }
.tool-preview .tool-label:not(:first-child) { margin-top: 0.6rem; }
.tool-field { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; color: var(--s-mute); }
.tool-field--wide { grid-column: 1 / -1; }
.tool-field input {
  min-height: 3rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--s-line-strong);
  border-radius: 12px;
  background: var(--s-bg);
  color: var(--s-ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
}
.tool-field.is-unsure input { border-color: var(--s-accent); background: #fff5f7; }
.tool-hint { grid-column: 1 / -1; margin: 0; color: var(--s-mute); font-size: 0.92rem; line-height: 1.5; }
.tool-hint:empty { display: none; }
.tool-out { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tool-out .btn { flex: 1 1 14rem; min-height: 3.1rem; }
.article--tool { padding-top: 4rem; }

@media (min-width: 760px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .more .cards { grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr)); }
  .more--hub .cards { grid-template-columns: repeat(3, 1fr); }
  .cards--topics { grid-template-columns: repeat(2, 1fr); }
  .scenarios { grid-template-columns: repeat(3, 1fr); }
  .scenario { display: flex; flex-direction: column; }
  .scenario .say { margin-top: auto; align-self: flex-start; }
  .scenario-after { margin-bottom: 1.2rem; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .news-item { grid-template-columns: 10rem 1fr; }
  .tool-panel { padding: 1.8rem 1.8rem; }
  .tool-preview { grid-template-columns: 2fr 1fr 1fr; }
  .tool-preview .tool-field:nth-of-type(2) { grid-column: 1; }
}

@media (min-width: 1000px) {
  .article { grid-template-columns: 13rem 1fr; gap: 4rem; }
  .toc { display: grid; }
  .sub-hero { padding-top: 4.5rem; }
}

@media (max-width: 759px) {
  .compare th,
  .compare td { padding: 0.85rem 0.9rem; }
  .compare--map tbody th { width: 60%; }
  .faq--inline { margin-left: -0.6rem; }
  .faq--inline summary { padding-left: 0.6rem; padding-right: 0.6rem; }
  .tool-chip:nth-child(n + 4) { display: none; }
  .contact-main { gap: 0.9rem; padding: 1.3rem 1.1rem; }
  .contact-main img { width: 52px; }
}


/* ══════════ Palio x chibis ══════════
   Look der chibis-Seite (cheebee.xyz): Papier, Tinte, eine Kartenfarbe pro chibi, Mono-Etiketten.
   Keine neue Schrift — Mono kommt vom System. */
:root {
  --c-paper: #f3f3f1;
  --c-ink: #0c0c0e;
  --c-lulu: #b86b7a;
  --c-lulu-deep: #8f4757;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

/* Hero: Pille + LuLu schaut hinter dem Blob hervor */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0.3rem 0.9rem 0.3rem 0.35rem;
  border: 1px solid var(--s-line-strong);
  border-radius: var(--s-r-pill);
  background: var(--s-card);
  color: var(--s-ink);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  animation: rise 0.8s var(--s-ease) 0.02s both;
  transition: border-color var(--s-fast) ease, transform var(--s-fast) var(--s-ease);
}
.hero-pill span,
.top-nav-link--new span {
  padding: 0.16rem 0.55rem;
  border-radius: var(--s-r-pill);
  background: var(--s-accent);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
}
.hero-pill i { font-style: normal; transition: transform var(--s-fast) var(--s-ease); }
a.hero-pill:hover { border-color: rgb(0 0 0 / 0.24); transform: translateY(-1px); }
a.hero-pill:hover i { transform: translateX(3px); }
.hero-pill--static { padding-right: 0.9rem; }
.top-nav-link--new span { padding: 0.1rem 0.42rem; font-size: 0.66rem; }

.hero-mark-img,
.hero-mark-wink { z-index: 1; }
.hero-mark-chibi {
  position: absolute;
  z-index: 0;
  right: -58%;
  bottom: -3%;
  width: 92%;
  height: auto;
  rotate: 8deg;
  transform-origin: 20% 100%;
  filter: drop-shadow(0 10px 16px rgb(0 0 0 / 0.14));
  animation: chibi-peek 0.9s var(--s-ease) 0.75s both;
}
@keyframes chibi-peek {
  from { opacity: 0; transform: translate(-45%, 8%) scale(0.82); }
  to { opacity: 1; transform: none; }
}

/* Abschnitt auf der Startseite */
.chibis {
  width: min(1120px, calc(100% - 2rem));
  margin: 2rem auto;
  scroll-margin-top: 5rem;
}
.chibis-panel {
  position: relative;
  display: grid;
    gap: 2.5rem;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  border-radius: 32px;
  background:
    radial-gradient(60% 46% at 88% 0%, rgb(184 107 122 / 0.3), transparent 70%),
    var(--c-ink);
  color: var(--c-paper);
  overflow: hidden;
}
.chibis-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(243 243 241 / 0.7);
}
.chibis-kicker span {
  padding: 0.16rem 0.5rem;
  border-radius: var(--s-r-pill);
  background: var(--s-accent);
  color: #fff;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.chibis-copy h2 {
  margin: 0;
  font-size: var(--s-h2);
  letter-spacing: -0.045em;
  line-height: 1.04;
  font-weight: 750;
}
.chibis-copy > p:not(.chibis-kicker):not(.chibis-fine) {
  margin: 1.1rem 0 1.6rem;
  max-width: 31rem;
  color: rgb(243 243 241 / 0.72);
  font-size: var(--s-lead);
  line-height: 1.55;
}
.chibis-copy p a { color: var(--c-paper); text-underline-offset: 3px; }
.chibis-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-paper { background: var(--c-paper); color: var(--c-ink); }
.btn-paper:hover { background: #fff; transform: translateY(-1px); }
.btn-paper span { transition: transform var(--s-fast) var(--s-ease); }
.btn-paper:hover span { transform: translateX(3px); }
.btn-line { background: transparent; border-color: rgb(243 243 241 / 0.28); color: var(--c-paper); }
.btn-line:hover { border-color: rgb(243 243 241 / 0.6); transform: translateY(-1px); }
.chibis-fine {
  margin: 1.3rem 0 0;
  color: rgb(243 243 241 / 0.55);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Karte im chibis-Look + freie Plätze */
.chibis-shelf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.25rem;
  gap: 0.85rem;
  width: min(100%, 27rem);
  justify-self: center;
}
.chibi-card {
  display: grid;
  align-content: start;
  border-radius: 24px;
  background: var(--c-paper);
  color: var(--c-ink);
  text-align: left;
  overflow: hidden;
  box-shadow: 0 30px 70px rgb(0 0 0 / 0.45);
}
.chibi-card-art {
  display: grid;
  place-items: end center;
  aspect-ratio: 4 / 3;
  padding-top: 0.8rem;
  background:
    radial-gradient(70% 60% at 50% 20%, rgb(255 255 255 / 0.28), transparent 70%),
    linear-gradient(165deg, #cb8795 0%, var(--c-lulu) 55%, #a25868 100%);
  overflow: hidden;
}
.chibi-card-art img {
  width: 72%;
  height: auto;
  margin-bottom: -7%;
  filter: drop-shadow(0 12px 18px rgb(0 0 0 / 0.28));
}
.chibi-card-body { display: grid; padding: 1.1rem 1.25rem 1.3rem; }
.chibi-card-by {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(12 12 14 / 0.55);
}
.chibi-card h3 {
  margin: 0.2rem 0 0;
  font-size: 2.1rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
.chibi-card-domain { margin: 0.45rem 0 0; color: var(--c-lulu-deep); font-size: 0.85rem; font-weight: 650; }
.chibi-card-line { margin: 0.3rem 0 0; color: rgb(12 12 14 / 0.74); font-size: 1rem; line-height: 1.4; }
.chibi-card-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.85rem 0 0;
  padding: 0;
}
.chibi-card-tags li {
  padding: 0.24rem 0.6rem;
  border: 1px solid rgb(12 12 14 / 0.14);
  border-radius: var(--s-r-pill);
  font-size: 0.76rem;
  font-weight: 600;
}
.chibi-slots { display: grid; gap: 0.85rem; }
.chibi-slot {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.55rem;
  padding: 0.5rem;
  border: 1.5px dashed rgb(243 243 241 / 0.22);
  border-radius: 20px;
  color: rgb(243 243 241 / 0.5);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}
.chibi-slot i {
  width: 2.1rem;
  height: 2.1rem;
  border: 1.5px dashed rgb(243 243 241 / 0.26);
  border-radius: 50%;
}

/* So sieht es in Palio aus + Türen */
.chibis-how { display: grid; gap: 1rem; }
.rail-mock {
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  min-height: 15.5rem;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 20px;
  background: #373737;
  color: #ebebeb;
  text-align: left;
  overflow: hidden;
}
.rail-mock p { margin: 0; }
.rail-mock-side {
  display: grid;
  align-content: start;
  gap: 0.15rem;
  padding: 0.7rem 0.55rem;
  background: #262626;
}
.rail-mock-row {
  display: grid;
  grid-template-columns: 2.1rem minmax(0, 1fr);
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid transparent;
  border-radius: 14px;
}
.rail-mock-row.is-on { background: #2e2e2e; border-color: rgb(255 77 109 / 0.28); }
.rail-mock-row img { width: 2.1rem; height: auto; }
.rail-mock-row img.rail-mock-face {
  height: 2.1rem;
  border-radius: 50%;
  background: #262626;
  object-fit: cover;
  object-position: center 12%;
  box-shadow: 0 0 0 1.5px var(--c-lulu);
}
.rail-mock-row span { min-width: 0; }
.rail-mock-row strong { display: block; color: #fff; font-size: 0.82rem; font-weight: 650; }
.rail-mock-row em {
  display: block;
  overflow: hidden;
  color: rgb(235 235 235 / 0.55);
  font-size: 0.68rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rail-mock-nav { padding: 0.36rem 0.6rem; color: rgb(235 235 235 / 0.55); font-size: 0.78rem; }
.rail-mock-row + .rail-mock-nav { margin-top: 0.5rem; }
.rail-mock-chat { display: grid; align-content: end; gap: 0.7rem; padding: 1rem; }
.rail-mock-you { justify-self: end; max-width: 88%; color: #fff; font-size: 0.9rem; line-height: 1.4; text-align: right; }
.rail-mock-say {
  justify-self: start;
  max-width: 92%;
  padding: 0.7rem 0.95rem;
  border-radius: 18px;
  background: #1f1f1f;
  color: #f5f5f5;
  font-size: 0.9rem;
  line-height: 1.4;
}
.rail-mock-input {
  margin-top: 0.3rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--s-r-pill);
  background: #444;
  color: rgb(235 235 235 / 0.5);
  font-size: 0.85rem;
}

.doors {
  display: grid;
  align-content: space-between;
  gap: 1.1rem;
  padding: 1.4rem 1.3rem;
  border: 1px solid rgb(243 243 241 / 0.12);
  border-radius: 20px;
  background: rgb(243 243 241 / 0.04);
}
.doors-title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(243 243 241 / 0.6);
}
.doors-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
.door { display: grid; justify-items: center; align-content: start; gap: 0.15rem; text-align: center; }
.door i {
  display: grid;
  place-items: center;
  width: min(100%, 5.25rem);
  aspect-ratio: 5 / 7;
  margin-bottom: 0.45rem;
  border: 1.5px solid rgb(243 243 241 / 0.36);
  border-radius: 999px 999px 10px 10px;
}
.door--on i { background: var(--c-paper); border-color: var(--c-paper); }
.door--on i img { width: 56%; height: auto; }
.door--ghost { opacity: 0.6; }
.door--ghost i { border-style: dashed; border-color: rgb(243 243 241 / 0.3); }
.door strong {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.door--ghost strong { text-transform: none; letter-spacing: 0.04em; }
.door em { color: rgb(243 243 241 / 0.55); font-size: 0.76rem; font-style: normal; line-height: 1.3; }
.doors-note { margin: 0; color: rgb(243 243 241 / 0.62); font-size: 0.88rem; line-height: 1.5; }

/* Unterseite */
.sub-hero .hero-pill { margin-bottom: 1.1rem; }
.sub-visual--chibi { padding: 0; background: var(--c-ink); overflow: hidden; }
.chibi-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 26rem;
  padding: clamp(1.5rem, 5vw, 3.5rem) 1rem;
}
.chibi-stage-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.chibi-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(12 12 14 / 0.1), rgb(12 12 14 / 0.5));
}
.chibi-stage .chibi-card { position: relative; z-index: 1; width: min(100%, 21rem); }
.rules { list-style: none; display: grid; gap: 0.7rem; margin: 0; padding: 0; }
.rules li {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--s-line);
  border-radius: 20px;
  background: var(--s-card);
}
.rules strong { display: block; font-size: 1.06rem; letter-spacing: -0.015em; }
.rules p { margin: 0.35rem 0 0; color: var(--s-mute); line-height: 1.55; }
.prose > p.prose-out { margin: 2.6rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--s-line); }

@media (min-width: 760px) {
  .rules { grid-template-columns: 1fr 1fr; }
  .chibis-how { grid-template-columns: 1.3fr 1fr; }
}

@media (min-width: 900px) {
  .chibis-panel { grid-template-columns: 1fr 1fr; gap: 3.5rem 4rem; align-items: center; }
  .chibis-how { grid-column: 1 / -1; }
  .chibis-shelf { justify-self: end; }
}

/* Fuß hat jetzt sieben Spalten */
@media (min-width: 1000px) {
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1240px) {
  .foot-grid { width: min(1280px, 100%); grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .foot-base { width: min(1280px, 100%); }
}

@media (max-width: 520px) {
  .chibis-shelf { grid-template-columns: 1fr; }
  .chibi-slots { grid-template-columns: 1fr 1fr; }
  .chibi-slot { grid-auto-flow: column; justify-content: center; padding: 0.7rem 0.5rem; }
  .rail-mock { grid-template-columns: 8.2rem minmax(0, 1fr); }
  .rail-mock-row { grid-template-columns: 1.7rem minmax(0, 1fr); gap: 0.4rem; padding: 0.4rem 0.35rem; }
  .rail-mock-row img { width: 1.7rem; }
  .rail-mock-row img.rail-mock-face { height: 1.7rem; }
  .rail-mock-chat { padding: 0.75rem; }
  .hero-mark-chibi { right: -50%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-mark-chibi { opacity: 1 !important; transform: none !important; }
}

/* ══════════ Team: Kacheln wie auf cheebee.xyz ══════════ */
.team-wrap { display: grid; gap: 0.85rem; width: 100%; min-width: 0; }
.team-rule {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding-top: 0.6rem;
  border-top: 1px solid rgb(243 243 241 / 0.24);
  color: rgb(243 243 241 / 0.62);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.25rem, 1fr));
  gap: 0.7rem;
}
.team-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 0.72;
  padding: 0.5rem;
  overflow: hidden;
  border: 3px solid color-mix(in srgb, var(--tile) 62%, #000);
  border-radius: 14px;
  background: var(--tile);
  color: #111;
  text-decoration: none;
  transition: transform var(--s-fast) var(--s-ease);
}
.team-tile:hover { transform: translateY(-3px); }
.team-kicker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  color: rgb(255 255 255 / 0.85);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.team-tile--blob .team-kicker { color: rgb(8 40 60 / 0.72); }
.team-badge {
  position: absolute;
  right: 0.45rem;
  bottom: 2.7rem;
  z-index: 3;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.94);
  color: #111;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 10px -4px rgb(0 0 0 / 0.4);
}
.team-art {
  position: absolute;
  inset: 1.3rem 0 0;
  display: grid;
  place-items: end center;
}
.team-art img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
}
.team-tile--blob .team-art { inset: 1.6rem 0.8rem 3.1rem; place-items: center; }
.team-tile--blob .team-art img {
  object-position: center;
  filter: drop-shadow(0 10px 12px rgb(0 0 0 / 0.25));
}
.team-tile--house .team-art { inset: 1.6rem 0.8rem 3.1rem; place-items: center; }
.team-tile--house .team-art img {
  object-position: center;
  filter: drop-shadow(0 10px 12px rgb(0 0 0 / 0.25));
}
.team-name {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  background: #f6f6f3;
  color: #111;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.5);
}
.team-tile--open {
  justify-content: space-between;
  border: 1.5px dashed rgb(243 243 241 / 0.3);
  background: transparent;
  color: rgb(243 243 241 / 0.55);
}
.team-tile--open:hover { border-color: rgb(243 243 241 / 0.6); color: var(--c-paper); }
.team-plus { color: var(--c-paper); font-size: 1.1rem; font-weight: 700; line-height: 1; }
.team-slot {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.chibi-stage--team .team-wrap {
  position: relative;
  z-index: 1;
  width: min(100%, 44rem);
  padding: 1.1rem 1.2rem 1.25rem;
  border-radius: 24px;
  background: rgb(12 12 14 / 0.62);
  backdrop-filter: blur(10px);
}
.chibi-card-inline { width: min(100%, 21rem); margin: 0.5rem 0 1.4rem; }

.plan-card--chibi {
  background:
    radial-gradient(70% 50% at 100% 0%, rgb(184 107 122 / 0.22), transparent 70%),
    var(--s-card);
}
.plan-grid--three .plan-price strong { white-space: nowrap; }
@media (min-width: 1000px) {
  .plan-grid.plan-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.maintenance-bar {
  margin: 0;
  padding: 0.7rem 1.25rem;
  background: #111;
  color: #fff;
  text-align: center;
  font-weight: 650;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════════
   Gemeinsame Bausteine für beide Webseiten
   ══════════════════════════════════════════════════════════════ */
:root { --top-h: 4rem; }
@media (min-width: 900px) {
  :root { --top-h: 4.25rem; }
}

/* Wortmarke mit leisem Zusatz („palio companion“) */
.mark i { font-style: normal; font-weight: 500; opacity: 0.6; }

/* Kopf ohne Menü in der Mitte bleibt auf dem Handy eine Zeile */
.top-nav--plain { gap: 0.1rem; }

/* Link zur anderen Webseite */
.cross {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--s-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--s-line-strong);
  padding-bottom: 0.15rem;
  transition: border-color var(--s-fast) ease;
}
.cross:hover { border-color: var(--s-ink); }
.cross span { transition: transform var(--s-fast) var(--s-ease); }
.cross:hover span { transform: translateX(3px); }
.close .cross { margin-top: 1.6rem; }

/* Kachelreihe „Wobei hilft das“ auf der Startseite */
.uses {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.25rem 0 1rem;
}
.uses .section-lead { margin-bottom: 2rem; }
@media (min-width: 760px) {
  .uses .cards { grid-template-columns: repeat(3, 1fr); }
}

/* Zwei Tarife nebeneinander, gleich breit */
@media (min-width: 760px) {
  .plan-grid--two { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* Überschriften brechen gleichmäßig um, kein einzelnes Wort in der letzten Zeile */
.section-title,
.close h2,
.sub-hero h1,
.moved h1 { text-wrap: balance; }

/* Vergleichstabelle am Handy: alle drei Spalten passen auf den Schirm, nichts versteckt sich rechts */
@media (max-width: 600px) {
  .compare:not(.compare--map) { min-width: 0; table-layout: fixed; font-size: 0.86rem; line-height: 1.4; }
  .compare:not(.compare--map) th,
  .compare:not(.compare--map) td { padding: 0.75rem 0.6rem; overflow-wrap: anywhere; hyphens: auto; }
  .compare:not(.compare--map) tbody th { width: 34%; }
  .compare td.is-yes::before,
  .compare td.is-no::before { width: 1.05rem; height: 1.05rem; margin-right: 0.3rem; }
}

/* Am Handy steckt das ganze Menü hinter einem Knopf, dann heißt er auch so */
.mega-word--phone { display: none; }
@media (max-width: 899px) {
  .mega-word { display: none; }
  .mega-word--phone { display: inline; }
}

/* Fuß: Spalten richten sich nach ihrer Anzahl */
@media (min-width: 1000px) {
  .foot-grid { grid-template-columns: repeat(var(--foot-cols, 4), minmax(0, 1fr)); }
}
@media (min-width: 1240px) {
  .foot-grid { width: min(1160px, 100%); grid-template-columns: repeat(var(--foot-cols, 4), minmax(0, 1fr)); }
  .foot-base { width: min(1160px, 100%); }
}
.foot-note { margin: 0; color: var(--s-foot-mute); font-size: 0.9rem; line-height: 1.5; }
.foot-col a.foot-cross { color: var(--s-foot-fg); font-weight: 600; }

/* Umzugsseite (alte Adresse → neue Adresse) */
.moved {
  width: min(640px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0 6rem;
  min-height: calc(100dvh - var(--top-h) - 19rem);
  text-align: center;
  display: grid;
  align-content: center;
  justify-items: center;
}
.moved h1 { margin: 0; font-size: clamp(2.2rem, 6vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.05; }
.moved p { margin: 1rem 0 1.8rem; color: var(--s-text); font-size: var(--s-lead); line-height: 1.5; }

/* ══════════════════════════════════════════════════════════════
   Theme: Palio (www) — warme Bühne, der Hoodie, ein Agent
   ══════════════════════════════════════════════════════════════ */
:root[data-site="palio"] {
  --ink: #1c1916;
  --mute: #645b53;
  --line: rgb(28 25 22 / 0.1);
  --paper: #fffaf5;
  --card: #fffaf5;
  --soft: #efe4d9;

  --s-bg: #f4ebe3;
  --s-bg-2: #ebdfd3;
  --s-card: #fffaf5;
  --s-ink: #1c1916;
  --s-mute: #645b53;
  --s-mute-2: #94897f;
  --s-line: rgb(28 25 22 / 0.1);
  --s-line-strong: rgb(28 25 22 / 0.18);
  --s-cta: #1a1614;
  --s-cta-fg: #fffaf5;
  --s-cta-hover: #000000;
  --s-accent: #3f7de8;
  --s-mark: #3f7de8;
  --s-foot-bg: #1c1916;
  --s-foot-fg: #fffaf5;
  --s-foot-mute: rgb(255 250 245 / 0.62);
  --s-pop-bg: #2a2420;
  --s-pop-fg: #fffaf5;
  --s-text: #2b2520;
  --s-text-2: #453d36;
  --s-glass: rgb(255 250 245 / 0.86);
  --s-hover: #ebdfd3;
  --s-glow: rgb(63 125 232 / 0.26);

  --orb-a: #ffb48f;
  --orb-b: #9ec4ff;
  --orb-c: #e4c6ff;
  --orb-d: #ffe08a;
}

/* Hintergrund: warmes Papier mit vier leisen Lichtflecken. Das Foto steht nur im Hero,
   damit Text beim Scrollen nie auf einem Bild liegt. */
[data-site="palio"] body::before {
  background:
    radial-gradient(60% 42% at 10% 0%, color-mix(in srgb, var(--orb-a) 36%, transparent), transparent 70%),
    radial-gradient(50% 40% at 94% 8%, color-mix(in srgb, var(--orb-b) 32%, transparent), transparent 72%),
    radial-gradient(60% 46% at 82% 100%, color-mix(in srgb, var(--orb-d) 26%, transparent), transparent 68%),
    radial-gradient(70% 50% at 16% 100%, color-mix(in srgb, var(--orb-c) 26%, transparent), transparent 62%),
    var(--s-bg);
  filter: none;
}

[data-site="palio"] .mark img { width: 26px; height: 34px; }
[data-site="palio"] .mark--foot img { width: 20px; height: 28px; }
[data-site="palio"] .btn-ghost,
[data-site="palio"] .top-cta--ghost { background: var(--s-card); }
[data-site="palio"] .bubble--pal img,
[data-site="palio"] .approve-head img { width: 20px; height: 26px; }
[data-site="palio"] .sticky-cta img { width: 20px; height: 26px; }
[data-site="palio"] .wedge-num--ok,
[data-site="palio"] .plan-card li > span:first-child { background: var(--s-accent); }
[data-site="palio"] .hero-pill span { background: var(--s-ink); }

/* Hero: Bühnenfoto hinter dem Kopf, links der Satz, rechts der Hoodie */
.phero {
  position: relative;
  isolation: isolate;
  margin-top: calc(var(--top-h) * -1);
  padding: calc(var(--top-h) + clamp(1.5rem, 5vh, 3.25rem)) 0 clamp(2.5rem, 6vh, 4rem);
}
.phero-stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--s-bg);
}
.phero-stage::before {
  content: "";
  position: absolute;
  inset: -4%;
  background: url("haus-stage.jpg") center 38% / cover no-repeat;
  opacity: 0.62;
  filter: saturate(1.2) contrast(1.04);
}
.phero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 12% 4%, color-mix(in srgb, var(--orb-a) 62%, transparent), transparent 70%),
    radial-gradient(50% 45% at 92% 8%, color-mix(in srgb, var(--orb-b) 50%, transparent), transparent 72%),
    linear-gradient(180deg, rgb(244 235 227 / 0.42) 0%, rgb(244 235 227 / 0.56) 52%, var(--s-bg) 100%);
}
.phero-in {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
.phero-copy { min-width: 0; display: grid; justify-items: center; }
.phero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 11.5vw, 6.2rem);
  line-height: 0.94;
  letter-spacing: -0.052em;
  font-weight: 800;
  animation: rise 0.8s var(--s-ease) 0.08s both;
}
.phero .lead { max-width: 35rem; color: var(--s-text); }
.phero .hero-proof { color: var(--s-text); }
.phero-pal {
  position: relative;
  order: -1;
  width: min(12.5rem, 52vw);
  animation: blob-in 0.9s var(--s-ease) both, blob-bob 5.5s ease-in-out 1s infinite;
}
.phero-pal img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 30px rgb(28 25 22 / 0.24));
}
.phero-glow {
  position: absolute;
  inset: 16% -4% -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(158 196 255 / 0.75), transparent);
  filter: blur(22px);
}
.phero .wedge {
  width: min(1120px, calc(100% - 2rem));
  margin: clamp(2rem, 5vh, 3.25rem) auto 0;
}
.phero .wedge li { box-shadow: 0 14px 34px rgb(28 25 22 / 0.06); }
.phero-more { display: flex; justify-content: center; }

@media (min-width: 900px) {
  .phero-in {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    justify-items: start;
    gap: 2rem;
    text-align: left;
    min-height: min(34rem, calc(100dvh - var(--top-h) - 15rem));
  }
  .phero-copy { justify-items: start; }
  .phero .lead { margin-left: 0; }
  .phero .hero-cta { justify-content: flex-start; }
  .phero-pal { order: 0; justify-self: center; width: min(24rem, 32vw); }
}

/* Jede Geschichte bekommt einen Lichtfleck hinter ihrem Bild */
[data-site="palio"] .story { isolation: isolate; }
[data-site="palio"] .story-visual { position: relative; }
[data-site="palio"] .story-visual::before {
  content: "";
  position: absolute;
  inset: 4% 2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--orb, var(--orb-a)), transparent 74%);
  opacity: 0.55;
  filter: blur(28px);
}
[data-site="palio"] .memory-blob { width: clamp(72px, 10vw, 104px); }
[data-site="palio"] .approve-blob { width: clamp(60px, 9vw, 84px); filter: drop-shadow(0 14px 18px rgb(28 25 22 / 0.2)); }
[data-site="palio"] .sync-panel {
  background:
    radial-gradient(50% 60% at 0% 0%, color-mix(in srgb, var(--orb-a) 34%, transparent), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, color-mix(in srgb, var(--orb-b) 30%, transparent), transparent 70%),
    var(--s-card);
}
[data-site="palio"] .sync-grid li { background: #fffdfb; }
/* Wetter: derselbe Himmel wie auf der Bühne */
[data-site="palio"] .sky-mock {
  background:
    linear-gradient(180deg, rgb(28 25 22 / 0.18) 0%, rgb(28 25 22 / 0.5) 100%),
    url("haus-stage.jpg") center 30% / cover no-repeat;
  box-shadow: 0 30px 70px rgb(28 25 22 / 0.22);
}
[data-site="palio"] .sky-tiles span { background: rgb(255 250 245 / 0.18); border-color: rgb(255 250 245 / 0.24); }
[data-site="palio"] .close-blob { width: 104px; filter: drop-shadow(0 16px 20px rgb(28 25 22 / 0.2)); }
[data-site="palio"] .contact-main img { width: 60px; filter: drop-shadow(0 10px 14px rgb(28 25 22 / 0.18)); }
[data-site="palio"] .sub-visual {
  background:
    radial-gradient(50% 70% at 0% 0%, color-mix(in srgb, var(--orb-a) 30%, transparent), transparent 70%),
    radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, var(--orb-b) 28%, transparent), transparent 70%),
    var(--s-bg-2);
}
[data-site="palio"] .card,
[data-site="palio"] .scenario,
[data-site="palio"] .why,
[data-site="palio"] .plan-card,
[data-site="palio"] .device-card,
[data-site="palio"] .tool-panel { box-shadow: 0 10px 30px rgb(28 25 22 / 0.04); }
[data-site="palio"] .plan-card--main { border-color: var(--s-ink); }
[data-site="palio"] .tool-input,
[data-site="palio"] .tool-field input { background: #fffdfb; }

/* ══════════════════════════════════════════════════════════════
   Theme: Companion — derselbe blau-schwarze Stoff wie in der App
   ══════════════════════════════════════════════════════════════ */
:root[data-site="companion"] {
  --ink: #f4f4f2;
  --mute: rgb(244 244 242 / 0.72);
  --line: rgb(255 255 255 / 0.14);
  --paper: #0c1018;
  --soft: rgb(8 12 20 / 0.72);

  --s-bg: #070b12;
  --s-bg-2: rgb(7 11 18 / 0.72);
  --s-card: rgb(8 12 20 / 0.62);
  --s-ink: #f4f4f2;
  --s-mute: rgb(244 244 242 / 0.72);
  --s-mute-2: rgb(244 244 242 / 0.5);
  --s-line: rgb(255 255 255 / 0.14);
  --s-line-strong: rgb(255 255 255 / 0.28);
  --s-cta: #f4f4f2;
  --s-cta-fg: #111318;
  --s-cta-hover: #ffffff;
  --s-accent: #f4f4f2;
  --s-mark: #f4f4f2;
  --s-foot-bg: rgb(4 8 14 / 0.82);
  --s-foot-fg: #f4f4f2;
  --s-foot-mute: rgb(244 244 242 / 0.62);
  --s-pop-bg: #121820;
  --s-pop-fg: #f4f4f2;
  --s-text: #f4f4f2;
  --s-text-2: rgb(244 244 242 / 0.78);
  --s-glass: rgb(7 11 18 / 0.62);
  --s-hover: rgb(255 255 255 / 0.08);
  --s-glow: rgb(0 0 0 / 0.4);
  --c-ink: #f4f4f2;
  --c-paper: #0c1018;
}

/* Dieselbe Seide wie in der App: das rote Bild, nach Blau-Schwarz gezogen. */
[data-site="companion"] body::before {
  background: #070b12 url("palio-silk.jpg") center / cover no-repeat;
  filter: hue-rotate(205deg) saturate(1.15) brightness(0.5) contrast(1.12);
}
[data-site="companion"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: #1a4560;
  mix-blend-mode: color;
  opacity: 0.34;
}
[data-site="companion"] main { position: relative; isolation: isolate; }
[data-site="companion"] main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgb(4 8 16 / 0.2), rgb(4 8 16 / 0.45));
}
[data-site="companion"] .is-home main::before {
  background: linear-gradient(
    180deg,
    rgb(4 8 16 / 0.12) 0,
    rgb(4 8 16 / 0.28) 36rem,
    rgb(4 8 16 / 0.5) 100%
  );
}

[data-site="companion"] .hero { position: relative; isolation: isolate; padding-bottom: 2rem; }
[data-site="companion"] .hero::before { content: none; }
/* Die Seite stoppt am Rand. Die Leiste bleibt durchscheinend, oben und beim Scrollen gleich. */
html[data-site="companion"] {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}
html[data-site="companion"] body {
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
}
[data-site="companion"] .top,
[data-site="companion"] .top.is-stuck {
  background: rgb(7 11 18 / 0.32);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  border-bottom-color: rgb(255 255 255 / 0.08);
}
[data-site="companion"] .top-nav-link:hover,
[data-site="companion"] .top-nav-link[aria-expanded="true"] { background: rgb(255 255 255 / 0.08); }
[data-site="companion"] .btn-ghost:hover { border-color: rgb(255 255 255 / 0.45); }
/* Helle Flächen, die noch weiße Schrift erwarten: auf dem dunklen Theme wird die Schrift dunkel. */
[data-site="companion"] .hero-pill span,
[data-site="companion"] .chibis-kicker span,
[data-site="companion"] .plan-card li > span:first-child,
[data-site="companion"] .cmd,
[data-site="companion"] .bubble--you,
[data-site="companion"] .device-badge,
[data-site="companion"] .sticky-cta {
  background: #111318;
  color: #f4f4f2;
}
[data-site="companion"] .wedge-num {
  background: rgb(255 255 255 / 0.12);
  color: #f4f4f2;
}
[data-site="companion"] .wedge-num--ok {
  background: #f4f4f2;
  color: #111318;
}
[data-site="companion"] .chibi-card-by { color: rgb(244 244 242 / 0.55); }
[data-site="companion"] .chibi-card-line { color: rgb(244 244 242 / 0.84); }
[data-site="companion"] .chibi-card-domain { color: #e7b7c0; }
[data-site="companion"] .chibi-card-tags li {
  border-color: rgb(255 255 255 / 0.18);
  color: #f4f4f2;
}
[data-site="companion"] .is-home .hero h1 {
  max-width: 16ch;
  font-size: clamp(2.05rem, 3.6vw, 2.9rem);
}
[data-site="companion"] .hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.85rem;
  color: #f4f4f2;
  font-weight: 750;
  letter-spacing: -0.045em;
  font-size: 1.7rem;
  line-height: 1;
  text-transform: lowercase;
}
[data-site="companion"] .hero-brand img { width: 44px; height: 44px; }
[data-site="companion"] .chibi-look {
  justify-self: start;
  margin: 1.15rem 0 0;
  padding: 0.42rem 0.75rem;
  border: 1px solid rgb(255 255 255 / 0.38);
  border-radius: 14px;
  background: rgb(244 244 242 / 0.16);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  box-shadow: 0 14px 28px rgb(0 0 0 / 0.38), inset 0 1px 0 rgb(255 255 255 / 0.48);
  color: #f4f4f2;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.3;
}
[data-site="companion"] .chibi-show {
  margin-top: 0.45rem;
  justify-self: start;
  color: var(--s-mute);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
[data-site="companion"] .close-blob {
  filter: grayscale(1) contrast(1.15) drop-shadow(0 16px 22px rgb(0 0 0 / 0.4));
}
[data-site="companion"] .is-home .hero h1,
[data-site="companion"] .close h2 {
  color: #f4f4f2;
}
[data-site="companion"] .hero .lead { max-width: 33rem; color: var(--s-text); }
[data-site="companion"] .hero .hero-proof { color: var(--s-text-2); }
[data-site="companion"] .chibis { margin-top: 1rem; }
/* Erster Blick am großen Bildschirm: die Chibis stehen unten im Fenster, nicht erst nach dem Scrollen. */
@media (min-width: 900px) and (min-height: 700px) {
  [data-site="companion"] .is-home .hero {
    padding-top: 2.7rem;
    padding-bottom: 0.2rem;
  }
  [data-site="companion"] .is-home .hero-pill { margin-bottom: 0.55rem; }
  [data-site="companion"] .is-home .hero h1 { font-size: clamp(2.05rem, 3.4vw, 2.85rem); }
  [data-site="companion"] .is-home .lead { margin-top: 0.7rem; }
  [data-site="companion"] .is-home .hero-cta { margin-top: 1.05rem; }
  [data-site="companion"] .is-home .hero-proof { margin-top: 0.7rem; }
  [data-site="companion"] .is-home .wedge { margin-top: 0.95rem; }
  [data-site="companion"] .is-home .wedge li { padding: 0.7rem 0.95rem; }
  [data-site="companion"] .is-home .chibis { margin-top: 0.55rem; }
  [data-site="companion"] .is-home .chibis-panel {
    align-items: start;
    gap: 1.1rem 2.2rem;
    padding: 1.15rem 1.5rem 1rem;
  }
  [data-site="companion"] .is-home .chibis-kicker { margin-bottom: 0.35rem; }
  [data-site="companion"] .is-home .chibis-copy h2 { font-size: clamp(1.85rem, 2.6vw, 2.45rem); }
  [data-site="companion"] .is-home .chibis-copy > p:not(.chibis-kicker):not(.chibis-fine) {
    margin: 0.6rem 0 0.85rem;
  }
}
/* Workspace-Bild: drei Chibis in einer Reihe, der freie Platz als Leiste darunter */
[data-site="companion"] .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 521px) {
  [data-site="companion"] .team { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-site="companion"] .team-tile--open {
    grid-column: 1 / -1;
    aspect-ratio: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.8rem;
    padding: 0.95rem 1.1rem;
  }
}
[data-site="companion"] .team-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-cta { white-space: nowrap; }
[data-site="companion"] .team-kicker { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / 0.45); }
[data-site="companion"] .chibi-card-by { color: var(--s-mute); }
[data-site="companion"] .chibis-panel {
  background: rgb(8 12 20 / 0.55);
  color: #f4f4f2;
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.28);
  backdrop-filter: blur(18px) saturate(1.2);
}
[data-site="companion"] .chibis-kicker { color: rgb(244 244 242 / 0.62); }
[data-site="companion"] .chibis-copy > p:not(.chibis-kicker):not(.chibis-fine),
[data-site="companion"] .chibis-fine { color: rgb(244 244 242 / 0.78); }
[data-site="companion"] .chibis-copy p a { color: #f4f4f2; }
[data-site="companion"] .team-rule {
  border-top-color: rgb(255 255 255 / 0.16);
  color: rgb(244 244 242 / 0.62);
}
[data-site="companion"] .team-tile--open {
  border-color: rgb(255 255 255 / 0.28);
  color: rgb(244 244 242 / 0.72);
}
[data-site="companion"] .team-tile--open:hover { border-color: #f4f4f2; color: #f4f4f2; }
[data-site="companion"] .btn-paper { background: #f4f4f2; color: #111318; }
[data-site="companion"] .btn-paper:hover { background: #fff; }
[data-site="companion"] .btn-line { color: #f4f4f2; border-color: rgb(255 255 255 / 0.4); }
[data-site="companion"] .btn-line:hover { border-color: #f4f4f2; color: #f4f4f2; }
[data-site="companion"] .team-plus { color: #f4f4f2; }
[data-site="companion"] .chibi-grid .chibi-card-domain { color: color-mix(in srgb, var(--tile) 42%, #fff); }
[data-site="companion"] .team-plus { color: #f4f4f2; }
[data-site="companion"] .wedge li,
[data-site="companion"] .steps li,
[data-site="companion"] .rules li,
[data-site="companion"] .plan-card,
[data-site="companion"] .own,
[data-site="companion"] .faq details {
  backdrop-filter: blur(16px);
}
[data-site="companion"] .wedge li,
[data-site="companion"] .steps li,
[data-site="companion"] .rules li { box-shadow: 0 10px 30px rgb(0 0 0 / 0.05); }

/* Abschnitt mit Überschrift in der Mitte */
.band {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3.5rem 0 0.5rem;
  scroll-margin-top: 4.5rem;
}
.band--narrow { width: min(780px, calc(100% - 2rem)); }
.band .section-lead { margin-bottom: 2.2rem; }
.band > .section-title:last-of-type:not(:has(+ .section-lead)) { margin-bottom: 2.2rem; }

/* Eigener Chibi: Text links, Ablage-Feld rechts */
.own {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.6rem, 5vw, 3.5rem);
  border: 1px solid var(--s-line);
  border-radius: 32px;
  background: var(--s-card);
  box-shadow: 0 24px 60px rgb(0 0 0 / 0.06);
}
.own h2 {
  margin: 0;
  font-size: var(--s-h2);
  letter-spacing: -0.045em;
  line-height: 1.04;
  font-weight: 750;
}
.own-copy > p:not(.kicker) { margin: 1rem 0 0; color: var(--s-text); font-size: 1.08rem; line-height: 1.55; max-width: 32rem; }
.own-copy .btn { margin-top: 1.6rem; }
.drop-mock {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.7rem;
  min-height: 17rem;
  padding: 1.5rem;
  border: 2px dashed var(--s-line-strong);
  border-radius: 24px;
  background: var(--s-bg-2);
  text-align: center;
}
.drop-file {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--s-line-strong);
  border-radius: 14px;
  background: var(--s-card);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 14px 30px rgb(0 0 0 / 0.1);
  rotate: -3deg;
  animation: blob-bob 5s ease-in-out infinite;
}
.drop-file svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop-mock strong { margin-top: 0.6rem; font-size: 1.1rem; letter-spacing: -0.015em; }
.drop-mock em { font-style: normal; color: var(--s-mute); font-size: 0.92rem; line-height: 1.4; max-width: 18rem; }
@media (min-width: 900px) {
  .own { grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; }
}

/* Die Chibis: eine Karte je Figur, die Farbe kommt von der Figur */
.chibi-grid { display: grid; gap: 1rem; }
.chibi-grid .chibi-card {
  --tile: var(--c-lulu);
  border: 1px solid var(--s-line);
  box-shadow: 0 18px 44px rgb(0 0 0 / 0.08);
  scroll-margin-top: 5.5rem;
  background: var(--s-card);
}
.chibi-grid .chibi-card-art {
  background:
    radial-gradient(70% 60% at 50% 20%, rgb(255 255 255 / 0.28), transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--tile) 78%, #fff) 0%, var(--tile) 55%, color-mix(in srgb, var(--tile) 80%, #000) 100%);
}
.chibi-card-art--photo { padding-top: 0; }
.chibi-grid .chibi-card-art--photo { aspect-ratio: 3 / 4; }
.chibi-grid .chibi-card-art--photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
  filter: none;
}
.chibi-grid .chibi-card-domain { color: color-mix(in srgb, var(--tile) 62%, #000); }
.chibi-grid .chibi-card-body { align-content: start; height: 100%; }
.chibi-card-text { margin: 0.7rem 0 0; color: var(--s-mute); font-size: 0.96rem; line-height: 1.5; }
.chibi-card-go { margin-top: 1.1rem; justify-self: start; }
.chibi-grid .chibi-card { grid-template-rows: auto 1fr; }
@media (min-width: 760px) {
  .chibi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.band-foot { margin: 1.6rem 0 0; text-align: center; color: var(--s-mute); font-size: 0.98rem; line-height: 1.5; }
.band-foot a { color: var(--s-ink); font-weight: 600; }

/* Fragen stehen im Companion auf weißen Karten, nicht direkt auf der Seide */
[data-site="companion"] .faq details {
  margin-bottom: 0.5rem;
  padding: 0;
  border: 1px solid var(--s-line);
  border-radius: 16px;
  background: var(--s-card);
}
[data-site="companion"] .faq summary { border-radius: 15px; }
[data-site="companion"] .faq details[open] summary { border-radius: 15px 15px 0 0; }
[data-site="companion"] .legal-wrap,
[data-site="companion"] .contact {
  margin-top: 2rem;
  margin-bottom: 3rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  border: 1px solid var(--s-line);
  border-radius: 28px;
  background: var(--s-card);
}
[data-site="companion"] .sub-hero { padding-bottom: 0.6rem; }

/* Kleine Helfer der Startseiten */
.story-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sync-more { margin: 2rem 0 0; }
.sync-panel > p.sync-more { margin: 2rem auto 0; font-size: 1rem; }
.faq-more { margin: 1.4rem 0 0 1.1rem; }
