/* Manrope (SIL OFL 1.1), self-hosted so visitors load nothing from third parties. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/manrope-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Command Mail · Richtung "Morgenlicht"
   Tiefe und Milchglas, nah an der App: Verlaufsnetz, schwebende Glasebenen,
   Blau und Violett aus dem Flow-08-Logo als Akzente. Eine Schrift (Manrope), drei Schattenebenen. */

@view-transition { navigation: auto; }

@property --p   { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --day { syntax: '<number>'; inherits: true; initial-value: 0; }

:root {
  /* Farben */
  --ink: #172033;
  --ink-2: #2e3850;
  --muted: #4e5a72;
  --faint: #63708a;
  --brand: #2862bd;
  --success: #236343;
  --success-soft: #e3f1e8;
  --brand-deep: #23477f;
  --brand-soft: #e8f0f9;
  --brand-tint: #f2f6fa;
  --amber: #9a520f;
  --amber-soft: #f6e6d3;
  --risk: #b3261e;
  --risk-soft: #f8dedb;
  --violet: #526b98;
  --violet-soft: #edf2f8;
  --sky-ink: #1f4f7a;
  --sky-soft: #dbe8f5;

  /* Verlaufsnetz */
  --mesh-brand: #dbe3fa;
  --mesh-mist: #f8fafc;
  --mesh-peach: #f7e3d3;
  --mesh-sky: #dbe6f4;
  --mesh-lav: #eaf0f7;

  /* Glas */
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.74);
  --glass-solid: rgba(255, 255, 255, 0.9);
  --glass-line: rgba(255, 255, 255, 0.78);
  --hair: rgba(23, 32, 51, 0.09);
  --hair-2: rgba(23, 32, 51, 0.14);
  --inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.35);

  /* Schattenebenen: nah, schwebend, fern */
  --shadow-1: 0 1px 2px rgba(34, 46, 82, 0.06), 0 4px 12px rgba(34, 46, 82, 0.06);
  --shadow-2: 0 2px 4px rgba(34, 46, 82, 0.05), 0 12px 32px rgba(34, 46, 82, 0.1), 0 32px 64px -24px rgba(34, 46, 82, 0.16);
  --shadow-3: 0 4px 8px rgba(34, 46, 82, 0.05), 0 24px 60px rgba(34, 46, 82, 0.14), 0 60px 120px -40px rgba(34, 46, 82, 0.28);

  /* Radien */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Typo */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  --t-display: clamp(2.45rem, 1.1rem + 4.4vw, 4.7rem);
  --t-h2: clamp(2rem, 1.1rem + 3.2vw, 3.6rem);
  --t-h3: clamp(1.12rem, 1rem + 0.35vw, 1.3rem);
  --t-lead: clamp(1.08rem, 0.98rem + 0.45vw, 1.32rem);

  --gutter: max(1rem, 4vw);
  --maxw: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  background: var(--mesh-mist);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  background: var(--mesh-mist);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  font-feature-settings: 'ss01', 'cv11';
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand-deep); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -0.03em; line-height: 1.08; color: var(--ink); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
code, kbd, pre { font-family: var(--mono); font-size: 0.9em; }
ul { margin: 0; padding: 0; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translateY(0); color: #fff; }

/* ---------- Himmel: Verlaufsnetz mit wandernden Farbflächen ---------- */

body { position: relative; isolation: isolate; }
.sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(60vw 45vw at 92% 32%, rgba(219, 233, 244, 0.55), transparent 70%),
    radial-gradient(65vw 50vw at 8% 75%, rgba(226, 235, 242, 0.5), transparent 70%),
    #f8fafc;
}
.sky__blob {
  position: absolute;
  width: 70vw; height: 70vw;
  border-radius: 50%;
  opacity: 0.25;
  will-change: transform;
}
.page-home .sky__blob { display: none; }
.sky__blob--a { top: -30vw; left: -22vw; background: radial-gradient(closest-side, rgba(222, 216, 249, 0.85), transparent); animation: drift-a 38s ease-in-out infinite alternate; }
.sky__blob--b { top: -18vw; right: -28vw; background: radial-gradient(closest-side, rgba(200, 218, 242, 0.85), transparent); animation: drift-b 44s ease-in-out infinite alternate; }
.sky__blob--c { top: 20vw; left: 18vw; background: radial-gradient(closest-side, rgba(214, 206, 248, 0.9), transparent); animation: drift-c 52s ease-in-out infinite alternate; }
.sky__grain {
  position: absolute; inset: 0;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 0 0.5  0 0 0 .5 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
@keyframes drift-a { to { transform: translate3d(14vw, 10vw, 0) scale(1.1); } }
@keyframes drift-b { to { transform: translate3d(-12vw, 14vw, 0) scale(0.92); } }
@keyframes drift-c { to { transform: translate3d(-16vw, -8vw, 0) scale(1.08); } }

/* ---------- Bausteine ---------- */

.container { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(880px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.glass {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46));
  border: 1px solid var(--glass-line);
  box-shadow: var(--inner-light), var(--shadow-2);
  border-radius: var(--r-lg);
}
.glass--blur {
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
}
.glass--solid { background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.eyebrow::before {
  content: '';
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(52, 85, 219, 0.16);
}
.eyebrow--amber { color: var(--amber); }
.eyebrow--amber::before { background: var(--amber); box-shadow: 0 0 0 4px rgba(154, 82, 15, 0.14); }

.lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); font-weight: 500; }

.btn {
  --bh: 3.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: var(--bh);
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #3874cc, var(--brand) 55%, var(--brand-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(35, 55, 128, 0.25), 0 10px 24px -8px rgba(40, 63, 158, 0.6);
}
.btn--primary:hover { color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(35, 55, 128, 0.25), 0 16px 32px -10px rgba(40, 63, 158, 0.7); }
.btn--glass {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.66);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--inner-light), var(--shadow-1);
}
.btn--glass:hover { color: var(--ink); background: rgba(255, 255, 255, 0.86); }
.btn--sm { --bh: 2.5rem; padding: 0 1rem; font-size: 0.92rem; }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }

.g-icon { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: #fff; padding: 2px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--ink-2);
  white-space: nowrap;
}
.chip--brand { background: var(--brand-soft); border-color: transparent; color: var(--brand-deep); }
/* Existing composer demo uses this class for a confirmed send attempt. */
.chip--sage { background: var(--success-soft); border-color: transparent; color: var(--success); }
.chip--amber { background: var(--amber-soft); border-color: transparent; color: var(--amber); }
.chip--risk { background: var(--risk-soft); border-color: transparent; color: var(--risk); }
.chip--violet { background: var(--violet-soft); border-color: transparent; color: var(--violet); }
.chip--sky { background: var(--sky-soft); border-color: transparent; color: var(--sky-ink); }
.chip--dot::before { content: ''; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }

.code {
  position: relative;
  margin: 0;
  padding: 1.05rem 1.2rem;
  padding-right: 6.4rem;
  border-radius: var(--r-sm);
  background: rgba(248, 250, 255, 0.9);
  border: 1px solid var(--hair);
  box-shadow: inset 0 1px 0 #fff;
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code--block { padding-right: 1.2rem; }
.code .c-k { color: var(--brand-deep); font-weight: 700; }
.code .c-s { color: #7a4a12; }
.code .c-m { color: #63708a; }
.code .c-n { color: #1f4f7a; }
.code-wrap { position: relative; }
.copy-btn {
  position: absolute;
  top: 0.55rem; right: 0.55rem;
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.copy-btn:hover { background: var(--brand-tint); }
.copy-btn[data-done] { background: var(--brand); color: #fff; border-color: var(--brand); }
.copy-btn svg { width: 0.9rem; height: 0.9rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0.9rem;
  z-index: 50;
  margin: 0.9rem auto 0;
  width: min(1180px, 100% - 2 * var(--gutter));
  view-transition-name: site-header;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--inner-light), 0 8px 30px rgba(34, 46, 82, 0.1);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  backdrop-filter: blur(20px) saturate(1.6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  view-transition-name: brand;
}
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 2.1rem; height: 2.1rem;
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 1px 2px rgba(34, 46, 82, 0.14), inset 0 0 0 1px rgba(23, 32, 51, 0.06);
  padding: 0.18rem;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0 auto;
  list-style: none;
}
.nav__links a {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 650;
  font-size: 0.94rem;
  text-decoration: none;
  transition: background-color 0.2s;
}
.nav__links a:hover { background: rgba(255, 255, 255, 0.7); color: var(--ink); }
.nav__links a[aria-current='page'] { background: rgba(255, 255, 255, 0.9); color: var(--ink); box-shadow: var(--shadow-1); }
.nav__cta { flex: none; }
.nav__toggle {
  display: none;
  margin-left: auto;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 1.05rem; height: 2px; border-radius: 2px; background: var(--ink); position: relative; transition: transform 0.25s var(--ease), opacity 0.2s;
}
.nav__toggle span::before, .nav__toggle span::after { content: ''; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded='true'] span { background: transparent; }
.nav__toggle[aria-expanded='true'] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span::after { transform: translateY(-6px) rotate(-45deg); }
.nav__panel { display: contents; }

@media (max-width: 860px) {
  .nav { flex-wrap: wrap; border-radius: 28px; padding: 0.45rem 0.45rem 0.45rem 0.8rem; }
  .nav__toggle { display: inline-flex; }
  .nav__panel { display: none; width: 100%; flex-direction: column; gap: 0.6rem; padding: 0.4rem 0.35rem 0.5rem; }
  .nav__panel.is-open { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; margin: 0; }
  .nav__links a { padding: 0.8rem 1rem; font-size: 1.05rem; }
  .nav__cta { width: 100%; }
  html:not(.js) .nav__panel { display: flex; }
  html:not(.js) .nav__toggle { display: none; }
}

/* ---------- Abschnitte ---------- */

section { position: relative; }
.section { padding-block: clamp(4.5rem, 3rem + 7vw, 9rem); }
.section-head { max-width: 46rem; display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2 { font-size: var(--t-h2); }
.section-head .lead { max-width: 38rem; }
.accent { color: var(--brand); }
.accent-grad {
  background: linear-gradient(100deg, var(--brand-deep) 0%, #536fe0 45%, #7386cc 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

/* ---------- Hero ---------- */

.hero { padding-top: clamp(2.5rem, 1rem + 5vw, 5.5rem); overflow-x: clip; }
.hero__copy { display: grid; justify-items: center; text-align: center; gap: 1.5rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 0.4rem 0.95rem 0.4rem 0.45rem;
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 650; color: var(--ink-2);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--inner-light), var(--shadow-1);
  text-decoration: none;
}
.hero__badge strong { white-space: nowrap; padding: 0.18rem 0.6rem; border-radius: 999px; background: var(--brand); color: #fff; font-size: 0.78rem; letter-spacing: 0.02em; }
.hero h1 { font-size: var(--t-display); max-width: 100%; letter-spacing: -0.045em; line-height: 1.0; font-weight: 780; }
.hero h1 .line { display: block; }
.hero .lead { max-width: 43rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 0.4rem; }
.hero__note { font-size: 0.88rem; color: var(--muted); display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__note svg { width: 1rem; height: 1rem; color: var(--brand); flex: none; }

/* Bühne mit 3D-Neigung */
.hero__stage {
  position: relative;
  margin: clamp(3rem, 2rem + 4vw, 5.5rem) auto 0;
  width: min(1180px, 100% - 2 * var(--gutter));
  container-type: inline-size;
  --mx: 0; --my: 0;
  --tilt: 24deg;
}
.stage { position: relative; margin: 0; aspect-ratio: 1180 / 700; perspective: 2200px; perspective-origin: 50% 0%; }
.stage__tilt {
  position: absolute; inset: 0;
  transform-origin: 50% 0%;
  transform:
    rotateX(calc((1 - var(--p)) * var(--tilt) + var(--my) * -2.4deg))
    rotateY(calc(var(--mx) * 3deg))
    translateY(calc((1 - var(--p)) * 2.5%))
    scale(calc(0.9 + var(--p) * 0.1));
  will-change: transform;
}
.stage__glow {
  position: absolute; left: 8%; right: 8%; top: 18%; bottom: -6%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52, 85, 219, 0.28), transparent);
  filter: blur(40px);
  transform: translateY(calc((1 - var(--p)) * 40px));
  z-index: -1;
}

/* Nachgebaute App: alle Maße in em, Schriftgröße folgt der Bühnenbreite */
.app {
  position: absolute; inset: 0;
  font-size: calc(100cqw / 73.75);
  display: grid;
  grid-template-columns: 15.5em 25em 1fr;
  gap: 0.55em;
  padding: 0.55em;
  border-radius: 1.6em;
  background: linear-gradient(155deg, rgba(237, 242, 253, 0.9), rgba(244, 238, 230, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--inner-light), var(--shadow-3);
  overflow: hidden;
  line-height: 1.35;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
}
.app__side { padding: 0.9em 0.7em; display: flex; flex-direction: column; gap: 0.25em; }
.app__select { display: flex; justify-content: space-between; align-items: center; padding: 0.6em 0.8em; border-radius: 0.7em; background: rgba(255, 255, 255, 0.55); border: 1px solid rgba(255, 255, 255, 0.8); font-size: 0.85em; }
.app__write { margin: 0.8em 0 1em; padding: 0.7em; border-radius: 0.7em; text-align: center; color: #fff; font-weight: 700; font-size: 0.9em; background: linear-gradient(180deg, #899ce1, #7287da); box-shadow: 0 0.3em 0.8em -0.3em rgba(40, 63, 158, 0.5); }
.app__label { font-size: 0.72em; color: var(--faint); margin: 0.8em 0.4em 0.3em; }
.app__item { display: flex; align-items: center; gap: 0.65em; padding: 0.5em 0.6em; border-radius: 0.6em; font-size: 0.86em; color: var(--ink-2); }
.app__item svg { width: 1.05em; height: 1.05em; opacity: 0.7; flex: none; }
.app__item b { margin-left: auto; font-weight: 600; font-size: 0.9em; color: var(--muted); }
.app__item--on { background: rgba(255, 255, 255, 0.85); box-shadow: 0 0.1em 0.4em rgba(34, 46, 82, 0.08); color: var(--ink); font-weight: 700; }
.app__item--sub { padding-left: 1.9em; font-size: 0.8em; }
.app__user { margin-top: auto; display: flex; gap: 0.6em; align-items: center; font-size: 0.8em; padding: 0.4em; }
.app__user span:first-child { width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.8); font-weight: 700; font-size: 0.85em; }

.app__list { border-radius: 1.1em; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); padding: 0.8em 0.8em 0; overflow: hidden; }
.app__search { display: flex; gap: 0.5em; align-items: center; }
.app__search div:first-child { flex: 1; padding: 0.55em 0.8em; border-radius: 0.7em; background: rgba(23, 32, 51, 0.04); font-size: 0.82em; color: var(--faint); display: flex; justify-content: space-between; }
.app__search kbd { font-family: var(--font); font-size: 0.85em; padding: 0 0.4em; border-radius: 0.3em; background: #fff; color: var(--muted); }
.app__tabs { display: flex; gap: 1.1em; margin: 0.9em 0.2em 0.5em; font-size: 0.82em; color: var(--muted); border-bottom: 1px solid var(--hair); padding-bottom: 0.55em; white-space: nowrap; overflow: hidden; }
.app__tabs span:first-child { color: var(--ink); font-weight: 700; }
.app__tabs em { font-style: normal; padding: 0 0.4em; border-radius: 0.5em; background: var(--brand-soft); color: var(--brand-deep); font-size: 0.9em; }
.app__row { display: grid; grid-template-columns: 2.2em 1fr auto; gap: 0.2em 0.7em; padding: 0.75em 0.4em; border-bottom: 1px solid rgba(23, 32, 51, 0.06); }
.app__row--on { background: rgba(228, 234, 252, 0.55); border-radius: 0.8em; border-color: transparent; }
.app__av { grid-row: span 3; width: 2.2em; height: 2.2em; border-radius: 50%; display: grid; place-items: center; font-size: 0.72em; font-weight: 800; color: var(--brand-deep); background: #eef1fc; }
.app__av--b { background: #f3e7d7; color: #8a5a1c; }
.app__av--c { background: #f6dfdc; color: var(--risk); }
.app__av--d { background: #e5e7f3; color: #4a4a8a; }
.app__from { font-weight: 800; font-size: 0.86em; }
.app__time { font-size: 0.72em; color: var(--faint); }
.app__subj { grid-column: 2 / 4; font-size: 0.82em; }
.app__tags { grid-column: 2 / 4; display: flex; gap: 0.35em; flex-wrap: wrap; }
.app__tags span { font-size: 0.66em; font-weight: 700; padding: 0.15em 0.55em; border-radius: 0.5em; background: rgba(23, 32, 51, 0.05); color: var(--ink-2); }
.app__tags .t-brand { background: var(--brand-soft); color: var(--brand-deep); }
.app__tags .t-amber { background: var(--amber-soft); color: var(--amber); }
.app__tags .t-risk { background: var(--risk-soft); color: var(--risk); }
.app__tags .t-sky { background: var(--sky-soft); color: var(--sky-ink); }

.app__today { border-radius: 1.1em; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); padding: 1.6em 2em; overflow: hidden; }
.app__date { font-size: 0.72em; color: var(--faint); }
.app__h { font-size: 1.55em; font-weight: 800; letter-spacing: -0.03em; margin: 0.1em 0 0.9em; display: flex; justify-content: space-between; align-items: baseline; }
.app__h small { font-size: 0.42em; font-weight: 600; color: var(--brand-deep); text-decoration: underline; text-underline-offset: 0.2em; }
.app__group { font-size: 0.7em; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); display: flex; align-items: center; gap: 0.6em; margin: 1.1em 0 0.6em; }
.app__group::before { content: ''; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--brand); }
.app__group--amber::before { background: #e07b2a; }
.app__group--violet::before { background: #6c63d9; }
.app__task { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding: 0.55em 0; border-bottom: 1px solid rgba(23, 32, 51, 0.05); }
.app__task div { min-width: 0; }
.app__task strong { display: block; font-size: 0.84em; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__task span { display: block; font-size: 0.72em; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__btn { flex: none; font-size: 0.72em; font-weight: 700; padding: 0.35em 0.8em; border-radius: 0.6em; background: #fff; border: 1px solid var(--hair-2); }
.app__btn--brand, .app__task .app__btn--brand { background: #2862bd; color: #fff; border-color: transparent; }
.app__due { display: grid; grid-template-columns: 9em 1fr; gap: 1em; padding: 0.45em 0; font-size: 0.8em; }
.app__due b { color: #b4521a; font-weight: 700; font-size: 0.95em; }
.app__due span { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Schwebende Glaskarten */
.float {
  position: absolute;
  z-index: 3;
  transform:
    translate3d(
      calc(var(--mx) * var(--d, 1) * 18px + (1 - var(--p)) * var(--fx, 0px)),
      calc(var(--my) * var(--d, 1) * 12px + (1 - var(--p)) * var(--fy, 0px)),
      0)
    rotate(calc((1 - var(--p)) * var(--fr, 0deg)));
  will-change: transform;
}
.float__bob { animation: bob 7s ease-in-out infinite; }
.float--risk .float__bob { animation-delay: -2s; }
.float--brief .float__bob { animation-delay: -4.5s; animation-duration: 8s; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.card-f {
  border-radius: 22px;
  padding: 1rem 1.1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.64));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), var(--shadow-3);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: left;
}
.card-f__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.55rem; }
.card-f__k { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.card-f__t { font-weight: 800; font-size: 0.95rem; letter-spacing: -0.015em; }
.card-f p { color: var(--muted); font-size: 0.82rem; }

.float--risk { left: -2.5%; top: 34%; width: min(300px, 27cqw); --d: 1.4; --fx: -40px; --fy: 50px; --fr: -5deg; }
.float--draft { right: -2.5%; top: 52%; width: min(330px, 30cqw); --d: 1.9; --fx: 50px; --fy: 70px; --fr: 4deg; }
.float--brief { right: 5%; top: -5%; width: min(330px, 29cqw); --d: 1.1; --fx: 30px; --fy: -30px; --fr: 3deg; }

.meter { display: grid; gap: 0.45rem; margin-top: 0.4rem; }
.meter__row { display: grid; grid-template-columns: 4.8rem 1fr 2.6rem; align-items: center; gap: 0.55rem; font-size: 0.78rem; font-weight: 700; }
.meter__bar { height: 0.42rem; border-radius: 99px; background: rgba(23, 32, 51, 0.08); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #e08a73, var(--risk)); transform-origin: left; }
.meter__row--mid .meter__bar i { background: linear-gradient(90deg, #e9b26b, #c0661b); }
.meter__row--low .meter__bar i { background: linear-gradient(90deg, #c3cdef, #899ce1); }
.meter__row span:last-child { text-align: right; font-variant-numeric: tabular-nums; }

.draft-lines { margin: 0.5rem 0 0.75rem; padding: 0.7rem 0.8rem; border-radius: 14px; background: rgba(255, 255, 255, 0.8); border: 1px solid var(--hair); font-size: 0.82rem; color: var(--ink-2); line-height: 1.5; }
.card-f__actions { display: flex; gap: 0.45rem; align-items: center; }
.mini-btn { font-size: 0.76rem; font-weight: 750; padding: 0.38rem 0.8rem; border-radius: 999px; background: #fff; border: 1px solid var(--hair-2); color: var(--ink-2); }
.mini-btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.brief-stats { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 0.4rem; margin-top: 0.35rem; }
.brief-stats div { padding: 0.5rem 0.55rem; border-radius: 12px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.9); }
.brief-stats b { display: block; font-size: 1.25rem; letter-spacing: -0.03em; line-height: 1.1; }
.brief-stats span { display: block; font-size: 0.68rem; font-weight: 700; color: var(--muted); line-height: 1.25; hyphens: auto; }

@media (max-width: 760px) {
  .hero__stage { --tilt: 16deg; }
  .stage { aspect-ratio: 390 / 640; }
  .app { font-size: calc(100cqw / 25); grid-template-columns: 1fr; border-radius: 1.3em; inset: 10% 3% 20% 3%; }
  .app__side, .app__today { display: none; }
  .float--brief { left: 0; right: auto; top: 0; width: 88cqw; --fx: 0px; --fy: -10px; --fr: -2deg; }
  .float--risk { left: auto; right: 0; top: 44%; width: 62cqw; --fx: 0px; --fy: 20px; --fr: 3deg; }
  .float--draft { left: 0; right: auto; top: auto; bottom: 0; width: 84cqw; --fx: 0px; --fy: 20px; --fr: -2deg; }
  .card-f { padding: 0.75rem 0.85rem; font-size: 0.8rem; border-radius: 18px; }
  .card-f__t { font-size: 0.86rem; }
  .meter__row { grid-template-columns: 4.2rem 1fr 2.4rem; font-size: 0.72rem; }
  .hero__badge { font-size: 0.82rem; }
}

/* ---------- Funktionen: Bento aus Glas ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.tile { grid-column: span 4; padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; min-height: 19rem; position: relative; overflow: hidden; }
.tile--wide { grid-column: span 8; }
.tile--half { grid-column: span 6; }
.tile h3 { font-size: var(--t-h3); }
.tile p { color: var(--muted); font-size: 0.98rem; }
.tile__num { font-size: 0.78rem; font-weight: 800; color: var(--faint); letter-spacing: 0.06em; }
.tile__visual { margin-top: auto; padding-top: 1rem; }
@media (max-width: 1020px) {
  .tile, .tile--wide, .tile--half { grid-column: span 6; }
}
@media (max-width: 680px) {
  .bento { gap: 0.85rem; }
  .tile, .tile--wide, .tile--half { grid-column: 1 / -1; min-height: 0; padding: 1.35rem; }
}

/* Einzelne Visuals */
.merge { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.2rem; }
.merge__addrs { display: grid; gap: 0.5rem; }
.merge__addrs span { font-size: 0.8rem; font-weight: 700; padding: 0.4rem 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-1); white-space: nowrap; }
.merge svg { width: 100%; height: 7.5rem; overflow: visible; }
.merge svg path { fill: none; stroke: url(#flow); stroke-width: 2; stroke-linecap: round; }
.merge svg .flow-dot { fill: var(--brand); }
.merge__inbox { display: grid; place-items: center; gap: 0.2rem; text-align: center; padding: 0.9rem 1rem; border-radius: 18px; background: var(--brand); color: #fff; box-shadow: 0 12px 30px -10px rgba(40, 63, 158, 0.6); font-weight: 800; font-size: 0.85rem; }
.merge__inbox svg { width: 1.5rem; height: 1.5rem; }
@media (max-width: 520px) {
  .merge { grid-template-columns: 1fr; gap: 0.7rem; justify-items: start; }
  .merge svg { display: none; }
  .merge__inbox { justify-self: stretch; }
}

.cats { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.cats .chip { font-size: 0.78rem; }
.cats--tabs { gap: 0.3rem; padding: 0.3rem; border-radius: 999px; background: rgba(23, 32, 51, 0.04); width: fit-content; max-width: 100%; margin-bottom: 0.7rem; flex-wrap: wrap; }
.cats--tabs span { font-size: 0.78rem; font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px; color: var(--muted); }
.cats--tabs span:first-child { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }

.risk-demo { display: grid; gap: 0.7rem; padding: 1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); }
.risk-demo__subj { font-weight: 800; font-size: 0.9rem; }
.risk-demo__from { font-size: 0.78rem; color: var(--muted); }
.risk-demo .meter__row { grid-template-columns: 4.6rem 1fr 2.8rem; }
.risk-demo__note { display: flex; gap: 0.45rem; align-items: center; font-size: 0.78rem; font-weight: 700; color: var(--brand-deep); }
.risk-demo__note svg { width: 0.95rem; height: 0.95rem; }

.log { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.45rem; }
.log__row { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.6rem 0.8rem; border-radius: 14px; background: rgba(255, 255, 255, 0.75); border: 1px solid rgba(255, 255, 255, 0.95); font-size: 0.84rem; }
.log__row div { min-width: 0; }
.log__row strong { display: block; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.log__row span { font-size: 0.74rem; color: var(--muted); }
.log__undo { flex: none; font-size: 0.76rem; font-weight: 750; padding: 0.3rem 0.7rem; border-radius: 999px; border: 1px solid var(--hair-2); background: #fff; cursor: pointer; }
.log__undo:hover { background: var(--brand-tint); }
.log__row.is-undone { opacity: 0.6; }
.log__row.is-undone strong { text-decoration: line-through; }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.opts span { font-size: 0.8rem; font-weight: 700; padding: 0.55rem 0.7rem; border-radius: 12px; background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.95); }
.opts span:first-child { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-deep); }

.extras { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; justify-content: center; }
.extras .chip { padding: 0.5rem 0.95rem; font-size: 0.86rem; box-shadow: var(--shadow-1); white-space: normal; }
.extras svg { width: 1rem; height: 1rem; color: var(--brand); }

/* ---------- Echte Oberfläche ---------- */

.viewer { padding: clamp(0.6rem, 0.4rem + 1vw, 1rem); border-radius: var(--r-xl); }
.viewer__tabs { display: flex; gap: 0.35rem; padding: 0.35rem; margin: 0 auto 1rem; width: fit-content; max-width: 100%; border-radius: 999px; background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--inner-light); overflow-x: auto; }
.viewer__tab { border: 0; background: transparent; padding: 0.55rem 1rem; border-radius: 999px; font-weight: 700; font-size: 0.92rem; color: var(--muted); cursor: pointer; white-space: nowrap; }
.viewer__tab[aria-selected='true'] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.viewer__frame { position: relative; border-radius: calc(var(--r-xl) - 0.6rem); overflow: hidden; aspect-ratio: 1600 / 1000; background: #f3f5fc; box-shadow: 0 0 0 1px var(--hair); }
.viewer__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transition: opacity 0.5s var(--ease), transform 0.8s var(--ease); transform: scale(1.015); }
.viewer__frame img.is-on { opacity: 1; transform: none; }
html:not(.js) .viewer__frame img:first-child { opacity: 1; }
.viewer__cap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; padding: 1rem 0.6rem 0.3rem; font-size: 0.9rem; color: var(--muted); }
.viewer__cap strong { color: var(--ink); }

/* ---------- Morgen: Tageszeit-Verlauf ---------- */

.morning {
  --dawn-a: #eaf0f5; --dawn-b: #f6d9c6;
  --day-a: #dde9f5;  --day-b: #edf1fc;
  position: relative;
  overflow: clip;
  border-radius: var(--r-xl);
  margin-inline: auto;
  width: min(1320px, 100% - 2 * var(--gutter));
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.1rem, 0.5rem + 4vw, 5rem);
  background:
    radial-gradient(60% 70% at 78% calc(110% - var(--day) * 70%), rgba(255, 236, 200, calc(0.45 + var(--day) * 0.35)), transparent 70%),
    linear-gradient(180deg,
      color-mix(in oklab, var(--dawn-a) calc((1 - var(--day)) * 100%), var(--day-a)),
      color-mix(in oklab, var(--dawn-b) calc((1 - var(--day)) * 100%), var(--day-b)));
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--inner-light), var(--shadow-2);
  animation: daybreak linear both;
  animation-timeline: view();
  animation-range: entry 10% cover 55%;
}
@keyframes daybreak { from { --day: 0; } to { --day: 1; } }
.morning__sun {
  position: absolute;
  right: 12%;
  top: calc(78% - var(--day) * 58%);
  width: clamp(7rem, 5rem + 8vw, 13rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 38%, #fff9ec, #ffd9a8 55%, rgba(255, 196, 140, 0.0) 72%);
  opacity: calc(0.55 + var(--day) * 0.45);
  pointer-events: none;
}
.morning__horizon { position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35)); pointer-events: none; }
.morning__grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.morning__copy { display: grid; gap: 1.2rem; }
.morning__copy h2 { font-size: var(--t-h2); }
.morning__time { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: 0.9rem; color: var(--ink-2); }
.morning__time svg { width: 1.1rem; height: 1.1rem; color: #b06a1c; }
.morning__points { list-style: none; display: grid; gap: 0.6rem; margin-top: 0.4rem; }
.morning__points li { display: flex; gap: 0.7rem; align-items: baseline; color: var(--ink-2); }
.morning__points li::before { content: ''; flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand); transform: translateY(-0.1rem); }

.brief { padding: clamp(1.1rem, 0.8rem + 1.4vw, 2rem); border-radius: var(--r-lg); }
.brief__meta { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.brief__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; margin: 0.2rem 0 0.2rem; }
.brief__sum { color: var(--muted); font-size: 0.92rem; }
.brief__group { margin-top: 1.2rem; }
.brief__gh { display: flex; align-items: center; gap: 0.55rem; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.5rem; }
.brief__gh b { color: var(--muted); }
.brief__item { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.8rem; align-items: center; padding: 0.7rem 0.85rem; border-radius: 14px; background: rgba(255, 255, 255, 0.82); border: 1px solid rgba(255, 255, 255, 0.95); margin-bottom: 0.4rem; box-shadow: 0 1px 2px rgba(34, 46, 82, 0.05); }
.brief__item .chip { grid-row: span 2; font-size: 0.72rem; padding: 0.2rem 0.55rem; }
.brief__item strong { font-size: 0.9rem; font-weight: 750; line-height: 1.35; }
.brief__item span { font-size: 0.78rem; color: var(--muted); }
.brief__more { margin-top: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; flex-wrap: wrap; font-size: 0.84rem; color: var(--muted); }
.week-toggle { border: 1px solid var(--hair-2); background: #fff; border-radius: 999px; padding: 0.5rem 0.95rem; font-weight: 750; font-size: 0.85rem; cursor: pointer; }
.week-toggle:hover { background: var(--brand-tint); }
html.js .brief__week { display: none; }
html:not(.js) .week-toggle { display: none; }
.brief.is-week .brief__week { display: block; }

@media (max-width: 900px) {
  .morning__grid { grid-template-columns: minmax(0, 1fr); }
  .morning__sun { right: -10%; }
}

/* ---------- Composer ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.split__copy { display: grid; gap: 1.2rem; }
.split__copy h2 { font-size: var(--t-h2); }
.checks { list-style: none; display: grid; gap: 0.8rem; margin-top: 0.6rem; }
.checks li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 0.7rem; align-items: start; color: var(--ink-2); }
.checks svg { width: 1.6rem; height: 1.6rem; padding: 0.3rem; border-radius: 50%; background: var(--brand-soft); color: var(--brand-deep); }
@media (max-width: 900px) { .split { grid-template-columns: minmax(0, 1fr); } }

.composer { padding: 1.2rem; border-radius: var(--r-lg); position: relative; }
.composer__head { display: flex; align-items: center; gap: 0.75rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--hair); }
.composer__icon { width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); flex: none; }
.composer__icon svg { width: 1.2rem; height: 1.2rem; }
.composer__head strong { display: block; font-size: 1rem; }
.composer__head span { font-size: 0.82rem; color: var(--muted); }
.composer__head .chip { margin-left: auto; }
.composer__q { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; margin: 1rem 0 0.6rem; font-weight: 800; font-size: 0.95rem; }
.composer__q small { font-weight: 600; font-size: 0.78rem; color: var(--muted); }
.composer__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.opt {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1.5px solid rgba(23, 32, 51, 0.1);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, transform 0.2s var(--ease);
}
.opt:hover { border-color: rgba(52, 85, 219, 0.5); }
.opt strong { display: block; font-size: 0.9rem; }
.opt span { font-size: 0.78rem; color: var(--muted); }
.opt[aria-pressed='true'] { border-color: var(--brand); background: var(--brand-tint); }
.composer__draft { margin-top: 0.9rem; padding: 0.95rem 1rem; min-height: 6.6rem; border-radius: 14px; background: #fff; border: 1px solid var(--hair); font-size: 0.93rem; line-height: 1.55; color: var(--ink); white-space: pre-line; }
.composer__draft .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--brand); vertical-align: text-bottom; margin-left: 1px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.composer__foot { margin-top: 0.9rem; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.composer__state { font-size: 0.84rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.45rem; }
.composer__note { margin-top: 0.8rem; font-size: 0.78rem; color: var(--muted); text-align: right; }
.composer__demo { position: absolute; top: -0.8rem; left: 1.2rem; }

/* ---------- Schritte ---------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: step; position: relative; }
.steps::before {
  content: '';
  position: absolute;
  left: 8%; right: 8%; top: 3.2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(52, 85, 219, 0.35), rgba(52, 85, 219, 0.35), transparent);
}
.step { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; position: relative; }
.step__n { width: 3.2rem; height: 3.2rem; border-radius: 16px; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; color: #fff; background: linear-gradient(160deg, #607ade, var(--brand-deep)); box-shadow: 0 10px 24px -8px rgba(40, 63, 158, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.step h3 { font-size: 1.35rem; }
.step p { color: var(--muted); font-size: 0.97rem; }
.step .code-wrap { margin-top: auto; }
.step .code { font-size: 0.78rem; padding: 0.8rem 0.9rem; padding-right: 0.9rem; }
.step .copy-btn { position: static; margin-top: 0.5rem; }
.fwd { margin-top: auto; display: grid; gap: 0.45rem; }
.fwd div { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding: 0.55rem 0.75rem; border-radius: 12px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--hair); font-size: 0.8rem; font-weight: 700; min-width: 0; }
.fwd div span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fwd div span:last-child { flex: none; color: var(--brand-deep); font-size: 0.74rem; }
.clients { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.consent { margin-top: auto; padding: 0.9rem; border-radius: 16px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--hair); display: grid; gap: 0.5rem; font-size: 0.82rem; }
.consent__row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.consent__row code { font-size: 0.78rem; font-weight: 600; }
.toggle { width: 2.1rem; height: 1.2rem; border-radius: 99px; background: var(--brand); position: relative; flex: none; }
.toggle::after { content: ''; position: absolute; top: 0.15rem; right: 0.15rem; width: 0.9rem; height: 0.9rem; border-radius: 50%; background: #fff; }
.toggle--off { background: rgba(23, 32, 51, 0.18); }
.toggle--off::after { right: auto; left: 0.15rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps::before { left: 2.6rem; right: auto; top: 3rem; bottom: 3rem; width: 2px; height: auto; background: linear-gradient(180deg, transparent, rgba(52, 85, 219, 0.35), transparent); }
}

/* ---------- Sicherheit: Glasringe ---------- */

.secure { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.rings { position: relative; width: min(100%, 560px); aspect-ratio: 1; margin-inline: auto; isolation: isolate; }
.ring {
  position: absolute;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.18) 60%);
  box-shadow: var(--inner-light), 0 20px 50px -20px rgba(34, 46, 82, 0.25);
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease), transform 0.6s var(--ease);
}
.ring span {
  margin-top: clamp(0.6rem, 2.2%, 1.1rem);
  height: fit-content;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: clamp(0.72rem, 0.66rem + 0.25vw, 0.86rem);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
  white-space: nowrap;
  position: relative;
  z-index: 3;
}
.ring--4 { inset: 0; background: radial-gradient(circle at 50% 0%, rgba(255, 240, 226, 0.75), rgba(247, 226, 208, 0.25) 62%); }
.ring--3 { inset: 12%; background: radial-gradient(circle at 50% 0%, rgba(236, 243, 252, 0.8), rgba(210, 225, 245, 0.3) 62%); }
.ring--2 { inset: 24%; background: radial-gradient(circle at 50% 0%, rgba(242, 245, 255, 0.85), rgba(210, 218, 247, 0.4) 62%); }
.rings__orbit { position: absolute; inset: 6%; border-radius: 50%; animation: orbit 18s linear infinite; pointer-events: none; z-index: 1; transform: rotate(140deg); }
.rings__orbit::before { content: ''; position: absolute; left: 50%; top: -0.55rem; width: 1.1rem; height: 1.1rem; margin-left: -0.55rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #acbbed 60%, var(--brand)); box-shadow: 0 0 0 5px rgba(52, 85, 219, 0.14), 0 6px 14px rgba(40, 63, 158, 0.4); }
.rings__orbit--b { inset: 18%; animation-duration: 26s; animation-direction: reverse; transform: rotate(-120deg); }
.rings__orbit--b::before { background: radial-gradient(circle at 35% 35%, #fff, #e9b26b 60%, #c0661b); box-shadow: 0 0 0 5px rgba(192, 102, 27, 0.14), 0 6px 14px rgba(154, 82, 15, 0.35); }
@keyframes orbit { from { transform: rotate(140deg); } to { transform: rotate(500deg); } }
.ring--1 {
  inset: 36%;
  align-items: center;
  background: radial-gradient(circle at 50% 30%, #6881df, var(--brand-deep));
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px -12px rgba(40, 63, 158, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.ring--1 span { margin: 0; background: transparent; box-shadow: none; color: #fff; text-align: center; white-space: normal; font-size: clamp(0.8rem, 0.7rem + 0.4vw, 1rem); line-height: 1.2; }
.ring.is-hot { box-shadow: var(--inner-light), 0 0 0 3px rgba(52, 85, 219, 0.45), 0 20px 50px -20px rgba(34, 46, 82, 0.3); background-color: rgba(228, 234, 252, 0.4); }
.ring--1.is-hot { transform: scale(1.04); }
.rings__pulse { position: absolute; inset: 36%; border-radius: 50%; border: 2px solid rgba(52, 85, 219, 0.4); animation: pulse 3.6s ease-out infinite; pointer-events: none; }
@keyframes pulse { from { transform: scale(1); opacity: 0.8; } to { transform: scale(2.7); opacity: 0; } }

.guards { list-style: none; display: grid; gap: 0.6rem; }
.guard {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.2rem 0.9rem;
  padding: 0.95rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: background-color 0.25s, box-shadow 0.25s, transform 0.3s var(--ease);
}
.guard[tabindex]:hover, .guard[tabindex]:focus-visible, .guard.is-hot { background: rgba(255, 255, 255, 0.88); box-shadow: var(--shadow-2); transform: translateX(4px); }
.guard__i { grid-row: span 2; width: 2.4rem; height: 2.4rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); }
.guard__i svg { width: 1.2rem; height: 1.2rem; }
.guard strong { font-size: 1rem; }
.guard p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.guard code { font-size: 0.82em; padding: 0.05rem 0.35rem; border-radius: 6px; background: rgba(23, 32, 51, 0.06); }
.more-guards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 0.8rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); }
.more-guards div { padding: 1.1rem 1.2rem; border-radius: var(--r-md); }
.more-guards strong { display: block; font-size: 0.98rem; margin-bottom: 0.25rem; }
.more-guards p { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 960px) { .secure { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preise ---------- */

.early {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem 2rem;
  align-items: center;
  padding: clamp(1.3rem, 1rem + 1.5vw, 2rem) clamp(1.3rem, 1rem + 2vw, 2.4rem);
  border-radius: var(--r-lg);
  margin-bottom: 1.1rem;
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(255, 244, 226, 0.9), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6));
}
.early__big { font-size: clamp(3rem, 2rem + 4vw, 5rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.9; color: var(--brand-deep); }
.early h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.7rem); }
.early p { color: var(--muted); }
@media (max-width: 760px) { .early { grid-template-columns: 1fr; } }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.plan { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.9rem; position: relative; }
.plan h3 { font-size: 1.15rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.35rem; flex-wrap: wrap; }
.plan__price b { font-size: clamp(2.3rem, 2rem + 1vw, 2.9rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.plan__price b.is-text { font-size: clamp(1.7rem, 1.5rem + 0.6vw, 2.05rem); letter-spacing: -0.035em; }
.plan__price span { color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.plan ul { list-style: none; display: grid; gap: 0.55rem; font-size: 0.93rem; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.55rem; }
.plan li svg { width: 1.1rem; height: 1.1rem; color: var(--brand); margin-top: 0.2rem; }
.plan li.is-planned { color: var(--muted); }
.plan li.is-planned svg { color: var(--faint); }
.plan--pro { background: linear-gradient(165deg, rgba(255, 255, 255, 0.92), rgba(240, 242, 253, 0.8)); box-shadow: var(--inner-light), 0 0 0 1.5px rgba(52, 85, 219, 0.45), var(--shadow-3); }
.plan__tag { position: absolute; top: 1.3rem; right: 1.3rem; }
.prelim { display: grid; justify-items: center; gap: 0.35rem; margin-top: 1.6rem; font-size: 0.9rem; color: var(--muted); text-align: center; }
.prelim strong { color: var(--amber); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 0.65rem; }
.faq details { border-radius: var(--r-md); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--inner-light), var(--shadow-1); transition: background-color 0.3s; }
.faq details[open] { background: rgba(255, 255, 255, 0.85); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 750; font-size: 1.04rem; border-radius: var(--r-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(23, 32, 51, 0.05) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317231c' stroke-width='2' stroke-linecap='round'><path d='M12 6v12M6 12h12'/></svg>") center / 0.95rem no-repeat; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--muted); max-width: 60rem; }
.faq code { font-size: 0.86em; padding: 0.05rem 0.35rem; border-radius: 6px; background: rgba(23, 32, 51, 0.06); color: var(--ink); }

/* ---------- Abschluss und Footer ---------- */

.final { text-align: center; padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.2rem, 1rem + 3vw, 4rem); border-radius: var(--r-xl); display: grid; justify-items: center; gap: 1.3rem; position: relative; overflow: hidden; }
.final h2 { font-size: var(--t-h2); max-width: 18ch; }
.final::before { content: ''; position: absolute; inset: -40% -10% auto; height: 120%; background: radial-gradient(closest-side, rgba(255, 226, 190, 0.55), transparent); pointer-events: none; }
.final > * { position: relative; }

.site-footer { padding: 4rem 0 2.5rem; margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--r-lg); }
.footer__grid p { color: var(--muted); font-size: 0.92rem; margin-top: 0.8rem; max-width: 22rem; }
.footer__h { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 0.8rem; }
.footer__grid ul { list-style: none; display: grid; gap: 0.45rem; }
.footer__grid a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.footer__grid a:hover { color: var(--brand-deep); text-decoration: underline; }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.3rem; padding-inline: 0.4rem; font-size: 0.86rem; color: var(--muted); }
.footer__base a { color: var(--muted); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 420px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Einblendungen ---------- */

html.js [data-reveal] { opacity: 0; transform: translateY(26px) scale(0.985); transition: opacity 0.9s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Scroll-getriebenes Aufrichten: CSS, wo unterstützt; sonst setzt JS --p */
@supports (animation-timeline: scroll()) {
  .hero__stage {
    animation: stage-rise linear both;
    animation-timeline: scroll(root);
    animation-range: 0 70vh;
  }
}
@keyframes stage-rise { from { --p: 0; } to { --p: 1; } }

/* ---------- Unterseiten ---------- */

.page-hero { padding-top: clamp(3.5rem, 2rem + 5vw, 6.5rem); padding-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.page-hero h1 { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 4.8rem); letter-spacing: -0.045em; line-height: 1.02; max-width: 16ch; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.page-hero__copy { display: grid; gap: 1.3rem; }
@media (max-width: 960px) { .page-hero__grid { grid-template-columns: minmax(0, 1fr); } }

.url-pill { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.5rem 0.5rem 1.1rem; border-radius: 999px; width: fit-content; max-width: 100%; }
.url-pill code { font-size: clamp(0.88rem, 0.8rem + 0.4vw, 1.05rem); font-weight: 600; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.url-pill .copy-btn { position: static; flex: none; }
.url-pill__dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #3fae72; box-shadow: 0 0 0 4px rgba(63, 174, 114, 0.18); flex: none; }

.llms { padding: 0; overflow: hidden; border-radius: var(--r-lg); }
.llms__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; border-bottom: 1px solid var(--hair); background: rgba(255, 255, 255, 0.6); font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.llms__bar i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(23, 32, 51, 0.12); }
.llms__bar span { margin-left: 0.5rem; font-family: var(--mono); font-weight: 600; }
.llms pre { margin: 0; padding: 1.2rem 1.3rem 1.4rem; font-family: var(--mono); font-size: 0.84rem; line-height: 1.7; white-space: pre-wrap; word-break: break-word; color: var(--ink); background: rgba(251, 252, 255, 0.85); }
.llms .h { color: var(--brand-deep); font-weight: 800; }
.llms .q { color: var(--muted); }
.llms .u { color: var(--sky-ink); }

.table-wrap { overflow-x: auto; border-radius: var(--r-md); }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.95rem; }
.tbl th { text-align: left; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.9rem 1.1rem; border-bottom: 1px solid var(--hair-2); }
.tbl td { padding: 1rem 1.1rem; border-bottom: 1px solid var(--hair); vertical-align: top; color: var(--ink-2); }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td:first-child { white-space: nowrap; }
.tbl code { font-size: 0.88em; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 8px; background: var(--brand-soft); color: var(--brand-deep); }
@media (max-width: 640px) {
  .tbl--stack thead { display: none; }
  .tbl--stack tr { display: grid; padding: 0.85rem 1rem; border-bottom: 1px solid var(--hair); }
  .tbl--stack tr:last-child { border-bottom: 0; }
  .tbl--stack td { padding: 0.15rem 0; border: 0; }
  .tbl--stack td:first-child { margin-bottom: 0.3rem; white-space: normal; }
}

.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 860px) { .cards-2 { grid-template-columns: 1fr; } }
.panel { padding: clamp(1.3rem, 1rem + 1vw, 2rem); display: grid; gap: 1rem; align-content: start; }
.panel h3 { font-size: 1.25rem; }
.panel p { color: var(--muted); }

/* Autonomie-Stufen */
.levels { padding: clamp(1rem, 0.8rem + 1vw, 1.6rem); border-radius: var(--r-lg); }
.levels__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; padding: 0.4rem; border-radius: 999px; background: rgba(23, 32, 51, 0.05); }
.levels__btn { position: relative; z-index: 1; border: 0; background: transparent; padding: 0.75rem 0.5rem; border-radius: 999px; font-family: var(--mono); font-weight: 700; font-size: 0.95rem; color: var(--muted); cursor: pointer; transition: color 0.3s; }
.levels__btn[aria-selected='true'] { color: #fff; }
.levels__thumb { position: absolute; z-index: 0; top: 0.4rem; bottom: 0.4rem; left: 0.4rem; width: calc((100% - 0.8rem - 1.2rem) / 4); border-radius: 999px; background: linear-gradient(160deg, #607ade, var(--brand-deep)); box-shadow: 0 8px 20px -8px rgba(40, 63, 158, 0.7); transform: translateX(calc(var(--i, 0) * (100% + 0.4rem))); transition: transform 0.5s var(--ease); }
.levels__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; margin-top: 1.3rem; align-items: start; }
.levels__body h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.levels__body p { color: var(--muted); }
.levels__panel[hidden] { display: none; }
@media (max-width: 760px) { .levels__body { grid-template-columns: 1fr; } .levels__btn { font-size: 0.8rem; padding: 0.7rem 0.2rem; } }

/* Arbeitsschleife */
.loop { list-style: none; display: grid; gap: 0.6rem; counter-reset: loop; position: relative; }
.loop::before { content: ''; position: absolute; left: 1.45rem; top: 1.5rem; bottom: 1.5rem; width: 2px; background: linear-gradient(180deg, rgba(52, 85, 219, 0.5), rgba(52, 85, 219, 0.08)); }
.loop li { counter-increment: loop; position: relative; display: grid; grid-template-columns: 2.9rem 1fr; gap: 1rem; align-items: start; padding: 0.95rem 1.1rem 0.95rem 0; }
.loop li::before { content: counter(loop, decimal-leading-zero); width: 2.9rem; height: 2.9rem; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem; color: var(--brand-deep); background: linear-gradient(160deg, #fff, var(--brand-tint)); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-1); position: relative; z-index: 1; }
.loop code { font-weight: 800; font-size: 0.92rem; color: var(--ink); }
.loop p { color: var(--muted); font-size: 0.95rem; margin-top: 0.15rem; }
.loop__body { padding: 0.85rem 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--inner-light); }

.limits { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 0.8rem; }
.limits li { display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.8rem; padding: 1.1rem; border-radius: var(--r-md); }
.limits svg { width: 2.2rem; height: 2.2rem; padding: 0.5rem; border-radius: 12px; background: var(--risk-soft); color: var(--risk); }
.limits p { font-size: 0.95rem; color: var(--ink-2); }
.limits code { font-size: 0.86em; padding: 0.05rem 0.35rem; border-radius: 6px; background: rgba(23, 32, 51, 0.06); }

/* ---------- Doku ---------- */

.docs { display: grid; grid-template-columns: 17rem minmax(0, 1fr) 14rem; gap: clamp(1.5rem, 1rem + 2vw, 3rem); width: min(1360px, 100% - 2 * var(--gutter)); margin: 2rem auto 0; align-items: start; }
.docs__side { position: sticky; top: 6.2rem; max-height: calc(100vh - 7.2rem); overflow: auto; padding: 1rem; border-radius: var(--r-lg); }
.search { position: relative; margin-bottom: 1rem; }
.search input { width: 100%; padding: 0.7rem 3.2rem 0.7rem 2.4rem; border-radius: 14px; border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.85); font: inherit; font-size: 0.93rem; color: var(--ink); }
.search input::placeholder { color: var(--faint); }
.search input:focus-visible { outline: 3px solid var(--brand); outline-offset: 1px; }
.search svg { position: absolute; left: 0.8rem; top: 50%; width: 1rem; height: 1rem; transform: translateY(-50%); color: var(--faint); }
.search kbd { position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%); font-family: var(--font); font-size: 0.74rem; font-weight: 700; padding: 0.15rem 0.45rem; border-radius: 7px; background: rgba(23, 32, 51, 0.06); color: var(--muted); }
.docnav { display: grid; gap: 1rem; }
.docnav__h { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.35rem 0.6rem; }
.docnav ul { list-style: none; display: grid; gap: 0.1rem; }
.docnav a { display: block; padding: 0.42rem 0.6rem; border-radius: 10px; font-size: 0.92rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.docnav a:hover { background: rgba(255, 255, 255, 0.8); }
.docnav a.is-active { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-1); }
.docnav a.is-hidden, .docnav__group.is-hidden { display: none; }
.docnav mark { background: var(--amber-soft); color: inherit; border-radius: 4px; padding: 0 0.1rem; }
.docnav__empty { font-size: 0.88rem; color: var(--muted); padding: 0.4rem 0.6rem; }
.docs__main { min-width: 0; }
.doc-sec { padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); border-radius: var(--r-lg); margin-bottom: 1.2rem; display: grid; gap: 1rem; scroll-margin-top: 6.5rem; }
.doc-sec h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.2rem); display: flex; align-items: center; gap: 0.7rem; }
.doc-sec h2 .num { font-size: 0.8rem; font-weight: 800; color: var(--brand-deep); padding: 0.25rem 0.55rem; border-radius: 8px; background: var(--brand-soft); letter-spacing: 0; }
.doc-sec h3 { font-size: 1.1rem; margin-top: 0.6rem; }
.doc-sec p, .doc-sec li { color: var(--ink-2); }
.doc-sec ol, .doc-sec ul.list { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.doc-sec :not(pre) > code { font-size: 0.86em; padding: 0.08rem 0.4rem; border-radius: 7px; background: rgba(23, 32, 51, 0.06); color: var(--ink); }
.callout { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.8rem; padding: 0.95rem 1.1rem; border-radius: 16px; background: var(--brand-tint); border: 1px solid rgba(52, 85, 219, 0.2); font-size: 0.95rem; color: var(--ink-2); }
.callout svg { width: 1.4rem; height: 1.4rem; color: var(--brand-deep); }
.callout--amber { background: #fbf1e5; border-color: rgba(154, 82, 15, 0.2); }
.callout--amber svg { color: var(--amber); }
.client-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.client--wide { grid-column: 1 / -1; }
@media (max-width: 700px) { .client-grid { grid-template-columns: minmax(0, 1fr); } }
.client { padding: 1.1rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-1); display: grid; gap: 0.5rem; align-content: start; min-width: 0; }
.client h3 { margin: 0; font-size: 1.02rem; }
.client p { font-size: 0.9rem; color: var(--muted); }
.client .code { font-size: 0.8rem; padding: 0.8rem 0.9rem; }
.docs__toc { position: sticky; top: 6.2rem; font-size: 0.86rem; }
.docs__toc p { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.6rem; }
.docs__toc ul { list-style: none; display: grid; gap: 0.1rem; border-left: 2px solid var(--hair); }
.docs__toc a { display: block; padding: 0.3rem 0.8rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; }
.docs__toc a:hover { color: var(--ink); }
.docs__toc a.is-active { color: var(--brand-deep); border-left-color: var(--brand); }
.docs__mobile-toggle { display: none; }
@media (max-width: 1260px) {
  .docs { grid-template-columns: 16rem minmax(0, 1fr); }
  .docs__toc { display: none; }
}
@media (max-width: 900px) {
  .docs { grid-template-columns: minmax(0, 1fr); margin-top: 1.2rem; }
  .docs__side { position: static; max-height: none; }
  .docs__mobile-toggle { display: flex; width: 100%; justify-content: space-between; align-items: center; border: 0; background: transparent; font-weight: 800; font-size: 1rem; padding: 0.2rem 0.3rem 0.7rem; cursor: pointer; }
  .docs__mobile-toggle svg { width: 1.1rem; height: 1.1rem; transition: transform 0.3s; }
  .docs__mobile-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }
  html.js .docnav.is-collapsed { display: none; }
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .sky__blob, .float__bob, .rings__pulse, .rings__orbit { animation: none !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .hero__stage { animation: none !important; --p: 0.72; }
  .morning { animation: none !important; --day: 1; }
  .composer__draft .caret { display: none; }
}

/* Inline-Code in Fließtext */
.panel code, .split__copy code, .hero__note code, .client p code, .levels__body p code, .lead code, .step p code {
  font-size: 0.88em;
  padding: 0.06rem 0.38rem;
  border-radius: 7px;
  background: rgba(23, 32, 51, 0.06);
  color: var(--ink);
  font-weight: 600;
}
.panel h3 code { font-size: 0.85em; }
.split__copy h2 code { background: none; padding: 0; font-weight: 700; letter-spacing: -0.02em; }

/* Arbeitsschleife als Raster auf breiten Schirmen */
.loop-head { max-width: 46rem; }
@media (min-width: 901px) {
  .loop--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.1rem; }
  .loop--grid::before { display: none; }
  .loop--grid li { padding-right: 0; }
}

/* Überlauf-Schutz: Codeblöcke scrollen in sich, Abschnitte schneiden seitlich ab */
section { overflow-x: clip; }
.code-wrap, .code, .client, .panel { min-width: 0; }
.doc-sec { grid-template-columns: minmax(0, 1fr); }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.loop { padding: 0; margin: 0; }
@media (min-width: 901px) { .loop--grid li { padding-block: 0.35rem; } }
.nowrap { white-space: nowrap; }

@media (max-width: 520px) {
  .viewer__tabs { flex-wrap: wrap; justify-content: center; border-radius: 22px; }
  .viewer__tab { padding: 0.45rem 0.75rem; font-size: 0.86rem; }
  .step .code { font-size: 0.7rem; }
  .composer { padding: 1rem; }
  .composer__opts { gap: 0.4rem; }
  .opt { padding: 0.65rem 0.7rem; }
  .brief__item { grid-template-columns: minmax(0, 1fr); }
  .brief__item .chip { grid-row: auto; width: fit-content; }
}
@media (max-width: 640px) {
  .code { padding-right: 1rem; }
  .code-wrap .copy-btn { position: static; margin-top: 0.5rem; }
  .url-pill code { font-size: 0.8rem; }
  .url-pill { padding-left: 0.85rem; gap: 0.45rem; }
  .llms pre { font-size: 0.76rem; padding: 1rem; }
}
.hero__note span code { font-size: 0.86em; }

/* Hero: gestaffelter Auftritt beim Laden */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stage-in { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
html.js .hero__copy > * { animation: rise 0.9s var(--ease) both; }
html.js .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
html.js .hero__copy > :nth-child(3) { animation-delay: 0.14s; }
html.js .hero__copy > :nth-child(4) { animation-delay: 0.22s; }
html.js .hero__copy > :nth-child(5) { animation-delay: 0.3s; }
html.js .stage { animation: stage-in 1.2s var(--ease) 0.25s both; }
@media (prefers-reduced-motion: reduce) {
  html.js .hero__copy > *, html.js .stage { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- Finale Richtung: Logo, Headless, Autonomie, Kontext ---------- */
.brand__mark { background: none; padding: 0; border-radius: 0; box-shadow: none; }

.works { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem) 0 0; }
.works__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.9rem 1.4rem; }
.works__label { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.works__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.works__list li { padding: 0.45rem 0.95rem; border-radius: 999px; background: var(--glass-strong); box-shadow: var(--shadow-1), var(--inner-light); font-weight: 700; font-size: 0.95rem; color: var(--ink-2); }
.works__list .works__any { background: transparent; box-shadow: inset 0 0 0 1px var(--hair-2); font-weight: 600; color: var(--muted); }

.term { margin: 0; padding: 0; overflow: hidden; border-radius: var(--r-lg); }
.term__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--hair); }
.term__bar i { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: var(--hair-2); }
.term__bar span { margin-left: auto; font-size: 0.8rem; font-weight: 700; color: var(--faint); }
.term__body { margin: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-size: 0.9rem; line-height: 1.65; padding: 1.2rem 1.3rem 1.4rem; white-space: pre; overflow-x: auto; }

.modes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.mode { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mode h3 { font-size: 1.35rem; }
.mode p { color: var(--muted); font-size: 0.98rem; }
.mode__n { width: 2.6rem; height: 2.6rem; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8); }
.mode__tech { margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--hair); font-size: 0.86rem !important; color: var(--faint) !important; }
.mode--auto { background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(228, 234, 252, 0.82)); box-shadow: var(--shadow-3), var(--inner-light); }
.mode--auto .mode__n { color: #fff; background: linear-gradient(160deg, #607ade, var(--brand-deep)); box-shadow: 0 10px 24px -8px rgba(40, 63, 158, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
@media (max-width: 900px) { .modes { grid-template-columns: minmax(0, 1fr); } }

.split--flip > :first-child { order: 2; }
@media (max-width: 900px) { .split--flip > :first-child { order: 0; } }
.muted-note { color: var(--faint); font-size: 0.95rem; max-width: 34rem; }

.memory { margin: 0; padding: 1.3rem; display: grid; gap: 0.8rem; border-radius: var(--r-lg); }
.memory__k { display: block; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.35rem; }
.memory__in, .memory__ctx, .memory__out { border-radius: var(--r-md); padding: 1rem 1.1rem; }
.memory__in { background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--hair); display: grid; gap: 0.2rem; }
.memory__in strong { font-size: 1.05rem; }
.memory__in > span:last-child { color: var(--muted); font-size: 0.92rem; }
.memory__ctx { background: var(--violet-soft); }
.memory__ctx .memory__k { color: var(--violet); }
.memory__ctx ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.3rem; color: var(--ink-2); font-size: 0.95rem; }
.memory__out { background: var(--brand-tint); box-shadow: inset 0 0 0 1px rgba(52, 85, 219, 0.18); display: grid; gap: 0.8rem; }
.memory__out p { margin: 0; color: var(--ink); line-height: 1.6; }
.memory__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.memory__note { font-size: 0.8rem; color: var(--faint); }


/* ---------- Morgen: Sonnenaufgang ---------- */
.morning__sun {
  right: 10%;
  top: calc(82% - var(--day) * 62%);
  width: clamp(8rem, 5rem + 9vw, 15rem);
  background: none;
  opacity: 1;
  --warm: color-mix(in oklab, #ff8f5a calc((1 - var(--day)) * 100%), #ffcf86);
}
.sun__core {
  position: absolute; inset: 20%; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fffdf7 0%, #fff0cc 32%, var(--warm) 78%, color-mix(in oklab, var(--warm) 80%, #e8744a) 100%);
  box-shadow: 0 0 36px 8px color-mix(in oklab, var(--warm) 70%, transparent), 0 0 120px 44px rgba(255, 200, 130, calc(0.18 + var(--day) * 0.22));
}
.sun__corona {
  position: absolute; inset: -35%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 232, 186, 0.8) 0%, rgba(255, 208, 146, 0.32) 34%, transparent 66%);
  animation: sun-breathe 18s ease-in-out infinite;
}
.sun__rays {
  position: absolute; inset: -110%; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 160, 0) 0deg 7deg, rgba(255, 220, 160, 0.42) 7deg 9.5deg);
  -webkit-mask: radial-gradient(circle, #000 14%, rgba(0, 0, 0, 0.35) 34%, transparent 58%);
          mask: radial-gradient(circle, #000 14%, rgba(0, 0, 0, 0.35) 34%, transparent 58%);
  opacity: calc(0.15 + var(--day) * 0.7);
  animation: sun-spin 180s linear infinite;
}
.sun__rays--b {
  background: repeating-conic-gradient(from 4deg, rgba(255, 238, 205, 0) 0deg 11deg, rgba(255, 238, 205, 0.35) 11deg 13deg);
  animation-duration: 240s; animation-direction: reverse;
}
@keyframes sun-spin { to { rotate: 360deg; } }
@keyframes sun-breathe { 0%, 100% { scale: 1; opacity: 0.85; } 50% { scale: 1.08; opacity: 1; } }

.morning__beams {
  position: absolute; inset: 0; pointer-events: none;
  background: conic-gradient(from 205deg at 80% calc(82% - var(--day) * 62% + 7%),
    transparent 0deg, rgba(255, 228, 182, 0.4) 6deg, transparent 13deg,
    transparent 22deg, rgba(255, 228, 182, 0.28) 28deg, transparent 36deg,
    transparent 48deg, rgba(255, 228, 182, 0.22) 53deg, transparent 60deg,
    transparent 360deg);
  filter: blur(8px);
  opacity: calc(var(--day) * 0.85);
  mix-blend-mode: screen;
}

.cloud {
  position: absolute; pointer-events: none;
  height: 2.6rem; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 #fff, 0 14px 30px -14px rgba(122, 88, 56, 0.35);
  animation: cloud-drift 52s ease-in-out infinite alternate;
}
.cloud::before, .cloud::after { content: ''; position: absolute; border-radius: 50%; background: inherit; box-shadow: inset 0 1px 0 #fff; }
.cloud::before { width: 42%; aspect-ratio: 1; left: 16%; bottom: 40%; }
.cloud::after { width: 30%; aspect-ratio: 1; left: 48%; bottom: 30%; }
.cloud--a { width: clamp(7rem, 5rem + 5vw, 11rem); right: 3%; top: 26%; }
.cloud--b { width: clamp(5rem, 4rem + 3vw, 8rem); right: 27%; top: 46%; height: 2rem; animation-duration: 68s; animation-delay: -12s; opacity: 0.85; }
.cloud--c { width: clamp(4rem, 3rem + 2vw, 6rem); right: 18%; top: 12%; height: 1.6rem; animation-duration: 84s; animation-delay: -20s; opacity: 0.7; }
@keyframes cloud-drift { from { translate: 0 0; } to { translate: -3.5rem 0.3rem; } }

.morning__horizon { height: 32%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.7)); }
.morning__horizon::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent 20%, rgba(255, 198, 140, 0.95) 78%, transparent);
  box-shadow: 0 0 28px 8px rgba(255, 206, 150, 0.4);
  opacity: calc(1 - var(--day) * 0.7);
}
.morning__clock {
  margin-left: 0.3rem; padding: 0.15rem 0.55rem; border-radius: 999px;
  font-variant-numeric: tabular-nums; font-weight: 800; font-size: 0.82rem; color: #8a4a12;
  background: rgba(255, 255, 255, 0.6); box-shadow: inset 0 0 0 1px rgba(176, 106, 28, 0.2);
}
.morning__grid { z-index: 1; }
@media (max-width: 900px) { .morning__sun { right: -6%; top: calc(40% - var(--day) * 34%); } .cloud--b { display: none; } }
@media (prefers-reduced-motion: reduce) { .sun__rays, .sun__corona, .cloud { animation: none !important; } }


/* Sonne: Weg hinter der Milchglaskarte, Aufgang über deren Ecke */
.morning__sun { right: 11%; top: calc(88% - var(--day) * 80%); width: clamp(10rem, 6rem + 11vw, 18rem); }
.morning__beams {
  background: conic-gradient(from 205deg at 79% calc(88% - var(--day) * 80% + 16%),
    transparent 0deg, rgba(255, 228, 182, 0.4) 6deg, transparent 13deg,
    transparent 22deg, rgba(255, 228, 182, 0.28) 28deg, transparent 36deg,
    transparent 48deg, rgba(255, 228, 182, 0.22) 53deg, transparent 60deg,
    transparent 360deg);
}
.morning .brief {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.64), rgba(255, 255, 255, 0.46));
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
          backdrop-filter: blur(22px) saturate(1.35);
}
@media (min-width: 901px) {
  .morning .brief {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.16));
    -webkit-backdrop-filter: blur(6px) saturate(1.12);
    backdrop-filter: blur(6px) saturate(1.12);
  }
}
@media (max-width: 900px) { .morning__sun { right: -8%; top: calc(46% - var(--day) * 40%); width: clamp(8rem, 30vw, 11rem); } }


/* ---------- Preise: Abrechnung und Stufen ---------- */
.billing { display: flex; justify-content: center; margin: -0.5rem 0 1.6rem; }
.billing__switch { display: inline-flex; gap: 0.25rem; padding: 0.3rem; border-radius: 999px; background: var(--glass-strong); box-shadow: var(--shadow-1), var(--inner-light); }
.billing__btn { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: 0.92rem; color: var(--muted); padding: 0.55rem 1.1rem; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; }
.billing__btn[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-1); }
.billing__btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.billing__save { font-size: 0.74rem; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); padding: 0.15rem 0.5rem; border-radius: 999px; }
.plan__cta { margin-top: auto; justify-content: center; }
.plan--free { background: linear-gradient(165deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.5)); }
.plan__price b { transition: opacity 0.2s var(--ease); }
@media (max-width: 480px) { .billing__btn { padding: 0.5rem 0.8rem; font-size: 0.86rem; } .billing__save { display: none; } }


/* Command Mail · Morgenlicht V4
   Baut auf style.css auf (Farben, Glas, Sonne, Kopfzeile, Doku).
   Zwei Stimmen: Mensch in Manrope, Agent in Monospace auf dunklem Glas.
   Bedeutungsfarben: Blau = Command Mail, Violett = Agentenarbeit,
   Bernstein = offene Entscheidung, Grün = bestätigt oder erfolgreich. */

[hidden] { display: none !important; }

:root {
  --ink-deep: #131b30;
  --line: rgba(23, 32, 51, 0.11);
  --line-2: rgba(23, 32, 51, 0.18);
  --sec: clamp(4.5rem, 2.4rem + 6vw, 8rem);
  --t-hero: clamp(2.55rem, 1rem + 4.35vw, 5.15rem);
  --t-h2x: clamp(2rem, 1.15rem + 2.75vw, 3.45rem);
  --term-bg: linear-gradient(165deg, rgba(23, 29, 52, 0.97), rgba(37, 45, 77, 0.95));
  --term-ink: #ebeffa;
  --term-dim: #bfc8df;
  --term-tool: #bbaaff;
  --term-out: #f2d7a4;
}

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Kopfzeile: Anmelden getrennt vom kostenlosen Start ---------- */
/* Der Übergangsname macht ein Element zur Backdrop-Root. Am Header würde das
   Glas der Navigation den Seiteninhalt nicht mehr sehen; daher am Glas selbst. */
.site-header { view-transition-name: none; }
.nav {
  view-transition-name: site-header;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.67), rgba(255, 255, 255, 0.46));
  -webkit-backdrop-filter: blur(18px) saturate(1.5) brightness(1.14);
  backdrop-filter: blur(18px) saturate(1.5) brightness(1.14);
}
.nav > .brand, .site-footer .brand { min-height: 44px; }
.nav__links a, .nav__login { color: var(--ink); }
.nav__login {
  flex: none;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
}
.nav__login:hover { background: rgba(255, 255, 255, 0.75); color: var(--ink); }
.nav__links a[aria-current='page'] { box-shadow: var(--shadow-1); }
.language-switch { display: flex; flex: none; order: 2; align-items: center; padding: 3px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.3); }
.language-switch a { display: grid; place-items: center; min-width: 34px; min-height: 36px; padding: 0 5px; border-radius: 999px; font-size: 0.75rem; font-weight: 750; text-decoration: none; color: var(--muted); transition: background-color 300ms ease; }
.language-switch a:hover { background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.language-switch a[aria-current='true'] { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow-1); }
@media (max-width: 860px) {
  .nav { gap: 0.4rem; }
  .language-switch { margin-left: auto; }
  .nav__toggle { order: 3; margin-left: auto; }
  .nav__panel { order: 4; }
  .nav__login { width: 100%; padding: 0.85rem 1rem; font-size: 1.05rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-2); text-align: center; }
  .nav__cta { --bh: 3.1rem; font-size: 1rem; }
}
@media (max-width: 420px) {
  .nav .brand { font-size: 0.9rem; gap: 0.35rem; }
  .nav .brand__mark { width: 1.8rem; height: 1.8rem; }
}
@media (min-width: 861px) and (max-width: 1080px) {
  .nav__links a { padding-inline: 0.6rem; font-size: 0.86rem; }
  .nav__login { padding-inline: 0.6rem; font-size: 0.86rem; }
}

/* ---------- Grundbausteine ---------- */
.btn--lg { --bh: 3.4rem; padding: 0 1.55rem; font-size: 1.04rem; }
.btn--quiet {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line-2);
}
.btn--quiet:hover { color: var(--ink); background: rgba(255, 255, 255, 0.85); }
.btn--light {
  color: var(--ink-deep);
  background: linear-gradient(180deg, #ffffff, #f1f4ff);
  box-shadow: inset 0 1px 0 #fff, 0 12px 30px -10px rgba(0, 0, 0, 0.55);
}
.btn--light:hover { color: var(--ink-deep); }
.btn--light:focus-visible { outline-color: #fff; }

.kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.1rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-deep);
}
.kicker > span:first-child {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 7px;
  color: var(--brand-deep);
  background: rgba(52, 85, 219, 0.12);
}
.kicker--warm { color: #8a4a12; }
.kicker--warm > span:first-child { color: #8a4a12; background: rgba(176, 106, 28, 0.14); }
.kicker--on-dark { color: #d6def4; }
.kicker--on-dark > span:first-child { color: #ebf0ff; background: rgba(255, 255, 255, 0.12); }

.shead { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 1.8rem + 2.4vw, 4.25rem); max-width: 50rem; }
.shead .kicker { margin: 0; }
.shead h2 { font-size: var(--t-h2x); letter-spacing: -0.042em; line-height: 1.04; max-width: 19ch; }
.shead__lead { font-size: var(--t-lead); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.shead--split { max-width: none; }
@media (min-width: 1000px) {
  .shead--split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: end; gap: 2rem clamp(2.5rem, 5vw, 6rem); }
  .shead--split > div { display: grid; gap: 1.1rem; }
  .shead--split .shead__lead { font-size: 1.08rem; padding-bottom: 0.45rem; }
}

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.76rem; font-weight: 750; line-height: 1.3;
  white-space: nowrap;
  background: rgba(23, 32, 51, 0.06); color: var(--ink-2);
}
.tag--brand { background: var(--brand-soft); color: var(--brand-deep); }
.tag--amber { background: var(--amber-soft); color: #8a4708; }
.tag--dot::before { content: ''; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: currentColor; }
.pill { display: inline-flex; align-items: center; padding: 0.42rem 0.85rem; border-radius: 999px; font-size: 0.8rem; font-weight: 750; background: #fff; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; }
.pill--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.av { flex: none; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.78rem; font-weight: 800; color: #8a5a1c; background: #f3e7d7; }
.hl { border-radius: 5px; padding: 0.05em 0.2em; box-decoration-break: clone; -webkit-box-decoration-break: clone; color: inherit; }
.hl--open { background: #f8e3c6; box-shadow: inset 0 -2px 0 rgba(154, 82, 15, 0.45); }
.hl--ok { background: var(--success-soft); box-shadow: inset 0 -2px 0 var(--success); }

/* ---------- Einstieg: ein ruhiger Himmel, ein sichtbares Ergebnis ---------- */
.home-hero { position: relative; isolation: isolate; width: min(1360px, calc(100% - 2rem)); margin: 1rem auto 0; padding: clamp(1.8rem, 3vw, 3rem) 1.2rem 1.5rem; border-radius: 36px; overflow: clip; background: #edf5fa; border: 1px solid #fff; }
.welcome-sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.welcome-sky__wash { position: absolute; inset: 0; opacity: 0; transition: opacity 2400ms cubic-bezier(0.4, 0, 0.2, 1); }
.welcome-sky__wash--morning { opacity: 1; background: radial-gradient(ellipse at 20% 82%, #ffdfaa 0, transparent 42%), radial-gradient(ellipse at 8% 18%, #fff 0, transparent 56%), linear-gradient(180deg, #e7f1fa, #f4f7fa 55%, #f9eee0); }
.welcome-sky__wash--noon { background: radial-gradient(ellipse at 50% 44%, #fff5d2 0, transparent 38%), radial-gradient(ellipse at 15% 20%, #fff 0, transparent 50%), linear-gradient(180deg, #d9edfc, #eaf4fa 53%, #f2f7f9); }
.welcome-sky__wash--evening { background: radial-gradient(ellipse at 80% 88%, #f5b78b 0, transparent 48%), radial-gradient(ellipse at 15% 15%, #f5f3ef 0, transparent 55%), linear-gradient(180deg, #cddbe9, #eee8e5 54%, #f6d6bb); }
.home-hero[data-day="noon"] .welcome-sky__wash--morning,
.home-hero[data-day="evening"] .welcome-sky__wash--morning { opacity: 0; }
.home-hero[data-day="noon"] .welcome-sky__wash--noon,
.home-hero[data-day="evening"] .welcome-sky__wash--evening { opacity: 1; }
.home-hero__copy { display: grid; justify-items: center; gap: 1rem; text-align: center; position: relative; z-index: 1; }
.home-hero__kicker { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.55rem; font-size: 0.82rem; color: var(--muted); }
.home-hero h1 { font-size: clamp(2.1rem, 1.1rem + 2.8vw, 3.75rem); font-weight: 750; line-height: 1.08; letter-spacing: -0.045em; max-width: 23ch; }
.home-hero h1 span { display: block; }
.h1-b { color: var(--brand-deep); font-weight: 550; }
.home-hero__lead { max-width: 43rem; font-size: clamp(1rem, 0.92rem + 0.35vw, 1.18rem); line-height: 1.6; color: var(--muted); }
.home-hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.25rem; }
.welcome-offer { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.3rem 0.6rem; font-size: 0.83rem; color: var(--muted); }
.welcome-offer span { white-space: nowrap; }
.welcome-offer span + span::before { content: "·"; margin-right: 0.6rem; }
.welcome-sun { --warm: #ffce88; --day: 1; position: absolute; width: clamp(11rem, 22vw, 20rem); aspect-ratio: 1; left: calc(50% - 32rem); bottom: 4%; transform: translate3d(0, 1rem, 0); filter: saturate(1) brightness(1) hue-rotate(0deg); transition: transform 2400ms cubic-bezier(0.4, 0, 0.2, 1), filter 2400ms ease; }
.welcome-sun .sun__corona, .welcome-sun .sun__rays { animation: none; }
.welcome-sun .sun__rays { opacity: 0.22; }
.welcome-cloud { position: absolute; height: auto; overflow: visible; animation: none; transition: transform 2400ms cubic-bezier(0.4, 0, 0.2, 1), opacity 2400ms ease; backdrop-filter: none; -webkit-backdrop-filter: none; filter: drop-shadow(0 6px 14px rgba(65,99,129,0.08)); }
.welcome-cloud--left { left: 3%; bottom: 20%; width: clamp(6rem, 13vw, 11rem); opacity: 0.8; }
.welcome-cloud--right { right: 4%; bottom: 10%; width: clamp(5rem, 10vw, 8rem); opacity: 0.8; }
.welcome-horizon { position: absolute; inset: auto 0 0; height: 27%; background: linear-gradient(0deg, rgba(255,255,255,0.72), transparent); }
.home-hero[data-day="noon"] .welcome-sun { transform: translate3d(22rem, -11rem, 0) scale(0.82); filter: saturate(0.65) brightness(1.08) hue-rotate(0deg); }
.home-hero[data-day="evening"] .welcome-sun { transform: translate3d(44rem, 2rem, 0) scale(1.06); filter: saturate(1.2) brightness(1) hue-rotate(-12deg); }
/* Eine echte Bogenbahn: Morgen links, Mittag oben, Abend rechts.
   Beim neuen Morgen führt die Bahn unterhalb des Horizonts weiter. */
@supports (offset-path: ellipse(30% 32% at 50% 83%)) {
  .home-hero .welcome-sun { left: 0; top: 0; right: auto; bottom: auto; offset-path: ellipse(30% 32% at 50% 83%); offset-distance: var(--sun-travel, 50%); offset-rotate: 0deg; offset-anchor: 50% 50%; transform: none !important; transition: offset-distance 2400ms cubic-bezier(0.4,0,0.2,1), filter 2400ms ease; }
}
.home-hero[data-day="noon"] .welcome-cloud--left { transform: translate3d(-1rem, -1rem, 0); opacity: 0.6; }
.home-hero[data-day="noon"] .welcome-cloud--right { transform: translate3d(2rem, -2rem, 0); }
.home-hero[data-day="evening"] .welcome-cloud--left { transform: translate3d(2rem, 0.8rem, 0); }
.home-hero[data-day="evening"] .welcome-cloud--right { transform: translate3d(-1rem, 1rem, 0); opacity: 0.6; }
.welcome-preview { width: min(36rem, 100%); margin: 1.8rem auto 0; padding: 1.1rem 1.3rem 0.85rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.94); background: rgba(255,255,255,0.57); backdrop-filter: blur(9px) brightness(1.07); -webkit-backdrop-filter: blur(9px) brightness(1.07); box-shadow: 0 2px 4px rgba(23,40,63,0.04), 0 20px 50px -18px rgba(23,40,63,0.19); position: relative; }
.welcome-windowbar { order: -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 32px; margin: -0.35rem 0 0.85rem; padding-bottom: 0.65rem; border-bottom: 1px solid rgba(46,56,80,0.10); font-size: 0.73rem; font-weight: 650; color: var(--muted); }
.welcome-windowbar__lights { display: flex; align-items: center; gap: 6px; }
.welcome-windowbar__lights i { width: 10px; height: 10px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); background: #ee6b60; }
.welcome-windowbar__lights i:nth-child(2) { background: #f4bd4f; }
.welcome-windowbar__lights i:nth-child(3) { background: #62c555; }
.welcome-preview__head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding-bottom: 0.65rem; }
.welcome-preview__head > div { display: grid; gap: 0.12rem; }
.welcome-preview__eyebrow { color: var(--muted); font-size: 0.77rem; }
.welcome-preview__head strong { font-size: 1.2rem; letter-spacing: -0.025em; }
.welcome-preview__head > svg { width: 1.7rem; height: 1.7rem; color: #ae681f; }
.welcome-preview__rows { list-style: none; }
.welcome-preview__rows li { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-top: 1px solid var(--line); }
.welcome-preview__rows li > div { display: grid; gap: 0.12rem; min-width: 0; flex: 1; }
.welcome-preview__rows strong { font-size: 0.9rem; font-weight: 700; }
.welcome-preview__rows li > div > span { font-size: 0.79rem; color: var(--muted); }
.welcome-preview__icon { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 10px; background: var(--brand-tint); color: var(--brand-deep); }
.welcome-preview__icon svg, .welcome-preview__check { width: 1.1rem; height: 1.1rem; flex: none; }
.welcome-preview__check { color: var(--success); }
.section { padding-block: var(--sec); }
.everyday__head { display: grid; justify-items: center; text-align: center; gap: 1rem; margin-bottom: 2.8rem; }
.everyday__head .kicker { margin: 0; }
.everyday__head h2 { font-size: var(--t-h2x); letter-spacing: -0.04em; }
.everyday__head > p:last-child { color: var(--muted); font-size: 1.1rem; }
.everyday__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.everyday__card { display: flex; flex-direction: column; gap: 1rem; padding: 1.35rem; border-radius: 23px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 25px -20px rgba(25,45,70,0.2); }
.everyday__card h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.025em; }
.everyday__grid { align-items:start; }
.everyday__visual { container-type:inline-size; }
.everyday__visual-label { position:absolute; left:var(--x); top:var(--y); transform:translateY(-50%); padding:1px 2px; background:#fff; color:#314d76; border-radius:3px; font-size:clamp(10px,3.3cqw,13px); line-height:1.3; font-weight:650; white-space:nowrap; }
.everyday__visual-label--archive { color:#fff; background:#2f5fae; }
.everyday__example { margin-top:auto; border-top:1px solid #e1e7ef; }
.everyday__example summary { display:flex; justify-content:space-between; align-items:center; min-height:40px; padding-top:8px; list-style:none; cursor:pointer; color:#52637b; font-size:12px; transition:color .3s ease; }
.everyday__example summary::-webkit-details-marker { display:none; }
.everyday__example summary::after { content:'+'; font-size:17px; color:#7186a3; }
.everyday__example[open] summary::after { content:'−'; }
.everyday__example summary:hover { color:#23477f; }
.everyday__example summary:focus-visible { outline:3px solid #315da2; outline-offset:2px; border-radius:4px; }
.everyday__example > p { font-size:13px; line-height:1.6; color:#52637b; margin:8px 0 0; }
.technical__links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.technical__links a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px; font-weight: 700; }
.technical__links svg { width: 1.1rem; height: 1.1rem; }
.technical__demo { border-block: 1px solid var(--line-2); }
.technical__demo > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; cursor: pointer; font-size: 1rem; font-weight: 700; }
.technical__demo > summary::-webkit-details-marker { display: none; }
.technical__demo > summary::after { content: '+'; font-size: 1.5rem; }
.technical__demo[open] > summary::after { content: '−'; }
.technical__demo .demo { padding-block: 2.5rem 1rem; }
.technical__demo .demo > .wrap { width: 100%; }
@media (max-width: 980px) { .everyday__grid { grid-template-columns: minmax(0, 1fr); max-width: 38rem; margin-inline: auto; } .everyday__card { padding: 1.5rem; } }
@media (max-width: 640px) {
  .home-hero { width: calc(100% - 1.1rem); margin-top: 0.7rem; border-radius: 27px; padding: 1.4rem 0.9rem 1rem; }
  .home-hero__copy { gap: 0.9rem; }
  .home-hero__kicker { font-size: 0.76rem; gap: 0.3rem 0.6rem; }
  .home-hero__actions { width: 100%; flex-direction: column; gap: 0.55rem; }
  .home-hero__actions .btn { --bh: 2.9rem; font-size: 0.95rem; }
  .welcome-offer { font-size: 0.76rem; flex-direction: column; gap: 0.12rem; }
  .welcome-offer span + span::before { content: none; }
  .welcome-preview { margin-top: 1.25rem; padding: 0.85rem 0.85rem 0.7rem; border-radius: 19px; }
  .welcome-preview__rows { line-height: 1.4; }
  .welcome-preview__rows li { gap: 0.55rem; }
  .welcome-preview__rows strong { font-size: 0.82rem; }
  .welcome-preview__rows li > div > span { font-size: 0.76rem; }
  .welcome-preview__rows .tag { display: none; }
  .welcome-preview__head strong { font-size: 1.08rem; }
  .welcome-sun { left: -8%; bottom: 16%; }
  .welcome-cloud--left { left: -12%; bottom: 28%; }
}
@media (prefers-reduced-motion: reduce) { .welcome-sun, .welcome-cloud { position: absolute; height: auto; overflow: visible; animation: none; } }

.mailc { padding: 0.35rem 0.6rem 0.2rem; }
.mailc__head { display: flex; align-items: center; gap: 0.7rem; }
.mailc__from { display: grid; min-width: 0; line-height: 1.3; }
.mailc__from strong { font-size: 0.95rem; }
.mailc__from span { font-size: 0.8rem; color: var(--muted); overflow-wrap: anywhere; }
.mailc__head .tag { margin-left: auto; }
.mailc__subj { margin: 0.8rem 0 0.35rem; font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; line-height: 1.25; }
.mailc__body { font-size: 0.92rem; color: var(--ink-2); line-height: 1.55; }

.draftc {
  margin-top: 0.95rem;
  padding: 0.95rem 1rem 1rem;
  border-radius: 18px;
  background: linear-gradient(170deg, rgba(249, 248, 254, 0.98), rgba(240, 245, 250, 0.95));
  border: 1px solid rgba(52, 85, 219, 0.22);
  box-shadow: 0 1px 0 #fff inset, 0 10px 26px -18px rgba(34, 46, 82, 0.45);
}
.draftc__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.6rem; }
.draftc__who { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; font-weight: 800; color: var(--violet); }
.draftc__who svg { width: 1rem; height: 1rem; }
.draftc__text { font-size: 0.92rem; line-height: 1.6; color: var(--ink); }
.draftc__actions { display: flex; justify-content: flex-end; gap: 0.45rem; margin-top: 0.8rem; flex-wrap: wrap; }
.draftc__sent { display: flex; align-items: center; gap: 0.45rem; margin-top: 0.7rem; font-size: 0.8rem; font-weight: 700; color: var(--success); }
.draftc__sent svg { width: 0.95rem; height: 0.95rem; }

.tcard {
  border-radius: 18px;
  background: var(--term-bg);
  color: var(--term-ink);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), var(--shadow-3);
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.5;
  overflow: hidden;
}
.tcard__bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); font-family: var(--font); font-size: 0.8rem; font-weight: 750; }
.tcard__bar svg { width: 1rem; height: 1rem; color: var(--term-tool); }
.tcard__bar em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--term-dim); font-size: 0.76rem; }
.tcard__lines { list-style: none; margin: 0; padding: 0.7rem 0.9rem 0.85rem; display: grid; gap: 0.32rem; }
.tcard__lines li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: baseline; color: var(--term-dim); }
.tcard__lines code { font-size: 1em; color: var(--term-tool); font-weight: 600; }
.tcard__lines span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcard__lines em { font-style: normal; color: var(--term-out); }
.tcard__lines .tl-prompt { display: block; color: #fff; font-weight: 600; padding-bottom: 0.2rem; }
.tcard__lines .tl-prompt::before { content: '› '; color: var(--term-tool); }
.tcard__lines .tl-src code { color: #cfc4f5; }
.tcard__lines .tl-done, .tcard__lines .tl-you { display: block; padding-top: 0.25rem; color: #fff; font-weight: 600; }
.tcard__lines .tl-done::before { content: '✓ '; color: var(--term-tool); }
.tcard__lines .tl-you { color: #f6dcae; }
.tcard__lines .tl-you::before { content: '● '; }

/* ---------- Ein Fall komplett ---------- */
.demo { padding-block: var(--sec); }
.legend { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; font-size: 0.86rem; font-weight: 700; color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 0.5rem; }
.legend li::before { content: ''; width: 0.8rem; height: 0.8rem; border-radius: 4px; }
.legend__cm::before { background: var(--brand); }
.legend__agent::before { background: var(--violet); }
.legend__src::before { background: #7386a8; }
.legend__you::before { background: #d08a3a; }

.demo__grid { display: grid; gap: 2rem; }
.demo__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; position: relative; }
.demo__step { position: relative; padding: 0 0 2.6rem 2.6rem; scroll-margin-top: 7rem; }
.demo__step::before { content: ''; position: absolute; left: 0.62rem; top: 0.4rem; bottom: -0.4rem; width: 2px; background: linear-gradient(180deg, rgba(52, 85, 219, 0.4), rgba(52, 85, 219, 0.12)); }
.demo__step:last-child::before { bottom: 2.6rem; }
.demo__step::after { content: ''; position: absolute; left: 0.2rem; top: 0.25rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px rgba(52, 85, 219, 0.12); }
.demo__who { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.7rem; }
.who { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: 999px; }
.who--cm { background: var(--brand-soft); color: var(--brand-deep); }
.who--agent { background: var(--violet); color: #fff; }
.who--you { background: var(--amber-soft); color: #8a4708; }
.demo__n { font-family: var(--mono); font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.demo__step h3 { font-size: clamp(1.45rem, 1.2rem + 1vw, 2.05rem); letter-spacing: -0.035em; line-height: 1.12; margin-bottom: 0.8rem; }
.demo__step p { color: var(--ink-2); max-width: 36rem; }
.demo__step p + p { margin-top: 0.7rem; }
.demo__step p code { font-size: 0.86em; padding: 0.05rem 0.38rem; border-radius: 6px; background: rgba(23, 32, 51, 0.07); }
.demo__call { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; margin-top: 1rem !important; padding: 0.5rem 0.75rem; border-radius: 10px; background: rgba(23, 32, 51, 0.05); font-family: var(--mono); font-size: 0.82rem; color: var(--muted) !important; }
.demo__call code { background: none !important; padding: 0 !important; color: var(--brand-deep); font-weight: 700; font-size: 1em !important; }
.demo__shot { margin-top: 1.2rem; }
.demo__shot .mailc { padding: 1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.86); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--inner-light), var(--shadow-1); }
.demo__shot .draftc { margin-top: 0; }

.ctx { display: grid; gap: 0.55rem; }
.ctx__item { display: grid; gap: 0.12rem; padding: 0.75rem 0.9rem; border-radius: 14px; font-size: 0.86rem; }
.ctx__k { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ctx__item strong { font-size: 0.92rem; }
.ctx__item span:last-child { color: var(--ink-2); }
.ctx__item--cm { background: #f0f3fc; box-shadow: inset 0 0 0 1px rgba(52, 85, 219, 0.22); }
.ctx__item--cm .ctx__k { color: var(--brand-deep); }
.ctx__item--src { background: #eef3f8; box-shadow: inset 0 0 0 1px rgba(112, 66, 193, 0.22); }
.ctx__item--src .ctx__k { color: var(--violet); }
.fcard { display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.95rem; border-radius: 16px; background: linear-gradient(160deg, #f4f6fd, #e9eefb); box-shadow: inset 0 0 0 1px rgba(52, 85, 219, 0.24); font-size: 0.86rem; color: var(--ink-2); }
.fcard svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--brand-deep); }
.fcard strong { display: block; color: var(--ink); font-size: 0.95rem; }

.demo__stage { display: none; }
.sw {
  border-radius: 28px;
  padding: 0.8rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), var(--shadow-3);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
}
.sw__bar { display: flex; align-items: center; gap: 0.8rem; padding: 0.2rem 0.3rem 0.8rem; border-bottom: 1px solid var(--line); }
.sw__bar img { border-radius: 7px; flex: none; }
.sw__boxes { display: flex; gap: 0.3rem; }
.sw__boxes span { font-family: var(--mono); font-size: 0.76rem; font-weight: 600; padding: 0.16rem 0.45rem; border-radius: 7px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.sw__rail { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 0.2rem; }
.sw__rail li { font-size: 0.76rem; font-weight: 750; padding: 0.24rem 0.5rem; border-radius: 999px; color: var(--faint); transition: background-color 0.35s, color 0.35s; }
.demo.s1 [data-r='1'], .demo.s2 [data-r='2'], .demo.s3 [data-r='3'], .demo.s4 [data-r='4'], .demo.s5 [data-r='5'] { color: var(--brand-deep); }
.demo[data-step='1'] [data-r='1'], .demo[data-step='2'] [data-r='2'], .demo[data-step='3'] [data-r='3'], .demo[data-step='4'] [data-r='4'], .demo[data-step='5'] [data-r='5'] { background: var(--brand); color: #fff; }
.sw__body { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 0.8rem; padding-top: 0.8rem; }
.sw__thread { display: grid; align-content: start; gap: 0.7rem; }
.sw__thread .mailc { padding: 0.95rem 1rem 1rem; border-radius: 18px; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line); }
.sw__thread .draftc { margin-top: 0; }
.sw__agent { display: grid; align-content: start; gap: 0.7rem; }
.tcard--stage .tcard__lines { min-height: 15.5rem; }

/* Zustände: sichtbar ab Schritt N; ohne JavaScript ist alles sichtbar */
.demo [data-from], .demo [data-at] { transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); }
.demo:not(.s2) [data-from='2'], .demo:not(.s5) [data-from='5'],
.demo:not(.s2) [data-at='2'], .demo:not(.s3) [data-at='3'], .demo:not(.s4) [data-at='4'], .demo:not(.s5) [data-at='5'] { opacity: 0; transform: translateY(10px); }
.demo[data-step='1'] [data-at='1'], .demo[data-step='2'] [data-at='2'], .demo[data-step='3'] [data-at='3'], .demo[data-step='4'] [data-at='4'], .demo[data-step='5'] [data-at='5'] { color: #fff; }
.demo[data-step='1'] [data-at='1'] em, .demo[data-step='2'] [data-at='2'] em, .demo[data-step='3'] [data-at='3'] em, .demo[data-step='4'] [data-at='4'] em, .demo[data-step='5'] [data-at='5'] em { color: #ffe2a8; }
.demo.s4 .sw__open, .demo.s4 .sw__pending, .demo.s4 .draftc__who--a, .demo.s4 .sw__actions { display: none; }
.demo:not(.s4) .sw__ok, .demo:not(.s4) .sw__approved, .demo:not(.s4) .draftc__who--b, .demo:not(.s4) .sw__sent { display: none; }
.demo.s4 .sw__draft { border-color: rgba(52, 85, 219, 0.45); }
.demo[data-step='3'] .sw__draft, .demo[data-step='4'] .sw__draft { box-shadow: 0 0 0 4px rgba(52, 85, 219, 0.14), 0 10px 26px -18px rgba(34, 46, 82, 0.45); }
.demo[data-step='2'] .ctx { filter: drop-shadow(0 10px 18px rgba(112, 66, 193, 0.22)); }
.demo[data-step='5'] .sw__follow { box-shadow: inset 0 0 0 1px rgba(52, 85, 219, 0.3), 0 0 0 4px rgba(52, 85, 219, 0.14); }
/* Vor Schritt 3: Platzhalter, wo der Entwurf entstehen wird */
.sw__draft { position: relative; }
.demo:not(.s3) .sw__draft { background: rgba(255, 255, 255, 0.3); border: 1.5px dashed rgba(52, 85, 219, 0.3); box-shadow: none; }
.demo:not(.s3) .sw__draft > * { visibility: hidden; }
.demo:not(.s3) .sw__draft::after { content: attr(data-wait); position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; text-align: center; font-size: 0.86rem; font-weight: 700; color: var(--muted); }

@media (min-width: 1024px) {
  .demo__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 4vw, 4.5rem); align-items: start; }
  .demo__stage { display: block; position: sticky; top: max(6.5rem, calc(50vh - 18.5rem)); }
  .demo__shot { display: none; }
  .demo__step { min-height: 64vh; padding: 3.5rem 0 3.5rem 2.6rem; display: flex; flex-direction: column; justify-content: center; }
  .demo__step:first-child { padding-top: 0; min-height: 56vh; justify-content: flex-start; }
  .demo__step:last-child { min-height: 60vh; }
  .demo__step::after { top: calc(50% - 0.5rem); transition: background-color 0.3s, box-shadow 0.3s; }
  .demo__step:first-child::after { top: 0.25rem; }
  .demo__step.is-current::after { background: var(--brand); box-shadow: 0 0 0 2px var(--brand), 0 0 0 7px rgba(52, 85, 219, 0.2); }
  .demo__step::before { top: 0; bottom: 0; }
  .demo__step:first-child::before { top: 0.6rem; }
  .demo__step:last-child::before { bottom: 50%; }
}
.demo__more {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 4rem);
  padding: 1.3rem 1.5rem;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--inner-light), var(--shadow-1);
}
.demo__more p { max-width: 52rem; color: var(--ink-2); }
.demo__more code { font-size: 0.86em; padding: 0.05rem 0.35rem; border-radius: 6px; background: rgba(23, 32, 51, 0.07); }
.demo__more a { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 750; min-height: 44px; }
.demo__more a svg { width: 1rem; height: 1rem; }

/* ---------- Morgen ---------- */
.morning { margin-block: clamp(1rem, 2vw, 2rem); }
.morning .kicker { margin-bottom: 0; }
.morning__copy .lead code { font-size: 0.86em; padding: 0.05rem 0.38rem; border-radius: 7px; background: rgba(255, 255, 255, 0.6); color: var(--ink); }
.morning__copy h2 { max-width: 14ch; letter-spacing: -0.045em; }
.morning__fine { font-size: 0.92rem; color: var(--ink-2); max-width: 30rem; }
.morning__clock { margin-left: 0; }

/* Versandwahl ist eine Erklärung, keine Änderung der Kontoeinstellungen. */
.send-choice { padding-block: 1.5rem 2rem; }
.send-choice__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.7rem 1.5rem; margin-bottom: 1.3rem; }
.send-choice__head h2 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.8rem); letter-spacing: -0.025em; }
.send-choice__head a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 32px; font-size: 0.9rem; font-weight: 700; }
.send-choice__head a svg { width: 1rem; height: 1rem; }
.send-choice__options { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; padding-block: 1.4rem; border-block: 1px solid var(--line-2); }
.send-choice__options li { display: flex; flex-direction: column; gap: 1rem; }
.send-choice__options h3 { font-size: 1rem; line-height: 1.4; letter-spacing: -0.015em; margin-bottom: 0.35rem; }
.send-choice__options p { font-size: 0.92rem; line-height: 1.6; color: var(--muted); }
.send-choice__note { margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }
@media (max-width: 760px) {
  .send-choice__options { grid-template-columns: minmax(0, 1fr); gap: 1.3rem; }
}

/* ---------- Kontrolle ---------- */
.control__details { border-block: 1px solid var(--line-2); }
.control__details > summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; list-style: none; cursor: pointer; font-weight: 750; color: var(--brand-deep); }
.control__details > summary::-webkit-details-marker { display: none; }
.control__details > summary::after { content: '+'; font-size: 1.5rem; font-weight: 500; line-height: 1; }
.control__details[open] > summary::after { content: '−'; }
.control__details > .dials { padding-block: 1rem 2rem; }
.dials { display: grid; gap: clamp(2.2rem, 1.8rem + 1.5vw, 3.2rem); }
.dial__label { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 1.2rem; }
.dial__label svg { width: 1.1rem; height: 1.1rem; color: var(--brand-deep); }
.dial__track { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.dial__track li { position: relative; display: grid; gap: 0.3rem; align-content: start; padding: 0 0 1.4rem 2.4rem; }
.dial__track li::before { content: ''; position: absolute; left: 0.5rem; top: 0.35rem; width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--c, var(--brand)); z-index: 1; }
.dial__track::before { content: ''; position: absolute; left: 0.93rem; top: 0.8rem; bottom: 1.6rem; width: 3px; border-radius: 3px; background: linear-gradient(180deg, #dbe3fa, var(--brand-deep)); }
.dial__track li:nth-child(1) { --c: #b1bfee; }
.dial__track li:nth-child(2) { --c: #788ddb; }
.dial__track li:nth-child(3) { --c: var(--brand); }
.dial__track li:nth-child(4) { --c: var(--brand-deep); }
.dial__track li:nth-child(4)::before { background: var(--brand-deep); }
.dial__track code { justify-self: start; font-size: 0.82rem; font-weight: 700; padding: 0.16rem 0.5rem; border-radius: 7px; background: var(--brand-soft); color: var(--brand-deep); }
.dial__track strong { font-size: 1.12rem; letter-spacing: -0.015em; margin-top: 0.2rem; }
.dial__track span { color: var(--muted); font-size: 0.95rem; }
@media (min-width: 900px) {
  .dial__track { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
  .dial__track::before { left: 0.5rem; right: 12%; top: 0.72rem; bottom: auto; width: auto; height: 3px; background: linear-gradient(90deg, #dbe3fa, var(--brand-deep)); }
  .dial__track li { padding: 2.4rem 0 0; }
  .dial__track li::before { left: 0; top: 0.25rem; }
}
.promises { list-style: none; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; padding: 1.6rem 0 0; display: grid; gap: 1.3rem 2rem; border-top: 1px solid var(--line-2); }
.promises li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.2rem 0.85rem; }
.promises svg { grid-row: span 2; width: 2.4rem; height: 2.4rem; padding: 0.55rem; border-radius: 12px; background: var(--brand-soft); color: var(--brand-deep); }
.promises strong { font-size: 1rem; }
.promises span { color: var(--muted); font-size: 0.94rem; }
@media (min-width: 700px) { .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1150px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Anschluss ---------- */
.flowmap { display:grid; grid-template-columns:minmax(0,.85fr) 22px minmax(0,.7fr) 22px minmax(0,1.7fr); align-items:center; gap:18px; margin-top:36px; padding:24px; border:1px solid #e0e6ef; border-radius:16px; background:rgba(255,255,255,.5); }
.flowmap__node { display:flex; align-items:center; gap:11px; min-width:0; }
.flowmap__node > svg { width:25px; height:25px; color:#6782a9; flex:none; }
.flowmap__node strong { display:block; font-size:14px; line-height:1.4; color:#25354e; }
.flowmap__node span { display:block; color:#5d6b81; font-size:12px; line-height:1.6; margin-top:3px; }
.flowmap__hub img { flex:none; width:30px; height:30px; }
.flowmap__arrow { width:20px; height:20px; color:#8b9db5; }
.flowmap__agents { min-width:0; }
.flowmap__agents h3 { font-size:12px; font-weight:600; line-height:1.4; margin:0 0 8px; color:#5d6b81; }
.agent-entry-grid { display:flex; flex-wrap:wrap; align-items:center; gap:4px 8px; }
.agent-entry { display:inline-flex; align-items:center; gap:6px; min-height:40px; padding:5px 7px; color:#26374f; text-decoration:none; border:1px solid transparent; border-radius:8px; font-size:12px; font-weight:600; transition:background .25s ease,border-color .25s ease; }
.agent-entry img { object-fit:contain; width:21px; height:21px; flex:none; }
.agent-entry:hover { background:#edf3fc; border-color:#d6e1f1; }
.agent-entry:focus-visible { outline:3px solid #315da2; outline-offset:2px; }
.agent-entry__note { font-size:11px; line-height:1.5; color:#5d6b81; margin:8px 0 0; }
@media(max-width:980px) { .flowmap { grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr); gap:16px; padding:20px; } .flowmap__arrow--agents { display:none; } .flowmap__agents { grid-column:1/-1; padding-top:14px; border-top:1px solid #e3e9f1; } }
@media(max-width:480px) { .flowmap { padding:18px 14px; gap:12px; } .flowmap__node { gap:7px; } .flowmap__node > svg { width:21px; height:21px; } .flowmap__node strong { font-size:13px; } .flowmap__hub img { width:26px; height:26px; } }
@media(prefers-reduced-motion:reduce) { .agent-entry { transition:none; } }
.truths { display: grid; gap: 1.2rem 2.2rem; margin: clamp(2.2rem, 1.8rem + 1.5vw, 3.2rem) 0 0; }
.truths div { padding-top: 0.9rem; border-top: 1px solid var(--line-2); }
.truths dt { font-weight: 800; font-size: 1rem; margin-bottom: 0.25rem; }
.truths dd { margin: 0; color: var(--muted); font-size: 0.96rem; }
@media (min-width: 800px) { .truths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.connect__links { display: flex; flex-wrap: wrap; gap: 0.4rem 1.8rem; margin-top: 1.8rem; }
.connect__links a { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; font-weight: 750; }
.connect__links svg { width: 1rem; height: 1rem; }

/* ---------- Echte App ---------- */
.real .viewer { border-radius: 16px; }
.real .viewer__frame { border-radius: 8px; background: #25262a; }
.real .viewer__frame img[src$="app-reply-graphit.jpg"] { object-fit: contain; object-position: center top; }
.real .viewer__tabs { border-radius: 12px; }
.real .viewer__tab { border-radius: 8px; }

/* ---------- Preise: vier Tarife und persönliche Einrichtung ---------- */
/* Baut auf .plans/.plan und dem Abrechnungsschalter aus style.css auf. */
.pricing .shead { margin-bottom: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); }
.pricing .billing { justify-content: flex-start; margin: 0 0 1.3rem; }
html:not(.js) .pricing .billing { display: none; }
.pricing .plans { align-items: stretch; gap: 1rem; }
.pricing .plan {
  min-width: 0; gap: 1rem;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.66));
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--inner-light), var(--shadow-1);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms ease;
}
@media (hover: hover) {
  .pricing .plan:hover { transform: translateY(-3px); border-color: rgba(40, 98, 189, 0.3); box-shadow: var(--inner-light), var(--shadow-2); }
}
.plan__head { display: grid; gap: 0.3rem; }
.pricing .plan h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.plan__for { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.pricing .plan__price { gap: 0.2rem 0.5rem; }
.pricing .plan__price b { font-size: clamp(2.3rem, 2rem + 1vw, 2.8rem); }
.pricing .plan__price b.is-text { font-size: clamp(1.5rem, 1.35rem + 0.5vw, 1.8rem); }
.pricing .plan__price span { color: var(--muted); font-size: 0.92rem; font-weight: 650; }
.plan__note { font-size: 0.86rem; line-height: 1.55; color: var(--muted); }
.plan__note strong { display: block; margin-top: 0.35rem; color: var(--ink); font-weight: 750; }
.pricing .plan ul { margin: 0; padding: 0.95rem 0 0; border-top: 1px solid var(--line); gap: 0.6rem; font-size: 0.94rem; line-height: 1.5; }
.pricing .plan li { gap: 0.55rem; }
.pricing .plan li svg { width: 1.05rem; height: 1.05rem; margin-top: 0.17rem; }
.pricing .plan__cta { display: flex; margin-top: auto; padding-top: 0.35rem; }
.pricing .plan__cta .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 0.55rem; }

/* Pro: Anthrazit der Marke mit warmem Abendlicht */
.pricing .plan--pro {
  overflow: hidden; isolation: isolate;
  color: #edf1fc;
  background: linear-gradient(160deg, #17223b 0%, #203050 58%, #29395f 100%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 70px -38px rgba(19, 27, 48, 0.8);
}
.pricing .plan--pro::after { content: ''; position: absolute; z-index: -1; right: -35%; bottom: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 128, 0.26), rgba(255, 170, 110, 0.07) 55%, transparent 72%); pointer-events: none; }
@media (hover: hover) {
  .pricing .plan--pro:hover { border-color: rgba(255, 255, 255, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 36px 80px -36px rgba(19, 27, 48, 0.9); }
}
.pricing .plan--pro h3, .pricing .plan--pro .plan__price b, .plan--pro .plan__note strong { color: #fff; }
.plan--pro .plan__for, .pricing .plan--pro .plan__price span, .plan--pro .plan__note { color: #d3dbef; }
.pricing .plan--pro ul { border-top-color: rgba(255, 255, 255, 0.14); color: #e4eaf8; }
.pricing .plan--pro li svg { color: #a9c6f2; }
.plan__badge { justify-self: start; margin-bottom: 0.15rem; padding: 0.24rem 0.62rem; border-radius: 999px; font-size: 0.74rem; font-weight: 800; letter-spacing: 0.02em; color: #3d2408; background: linear-gradient(180deg, #ffe6c2, #f6c98e); }

/* Persönliche Einrichtung als schmale Zeile unter den Karten */
.plan-setup {
  display: grid; gap: 1rem; align-items: center;
  margin-top: 1rem;
  padding: 1.2rem 1.35rem;
  border-radius: 16px;
  background: linear-gradient(100deg, rgba(255, 244, 228, 0.88), rgba(255, 255, 255, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), var(--shadow-1);
  transition: box-shadow 300ms var(--ease), border-color 300ms ease;
}
@media (hover: hover) {
  .plan-setup:hover { border-color: rgba(154, 82, 15, 0.28); box-shadow: var(--inner-light), var(--shadow-2); }
}
.plan-setup h3 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.15rem 0.7rem; font-size: 1.08rem; letter-spacing: -0.02em; }
.plan-setup h3 span { font-size: 0.95rem; font-weight: 750; letter-spacing: 0; color: var(--amber); }
.plan-setup p { margin-top: 0.3rem; max-width: 54rem; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.plan-setup .btn { justify-self: start; }
.pricing__fine { margin-top: 1.1rem; font-size: 0.86rem; color: var(--muted); }
@media (min-width: 820px) {
  .plan-setup { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; }
  .plan-setup .btn { justify-self: end; }
}

/* ---------- Fragen ---------- */
.faq-sec__grid { display: grid; gap: 2rem; }
.faq-sec__head h2 { font-size: var(--t-h2x); letter-spacing: -0.042em; line-height: 1.04; max-width: 13ch; margin-bottom: 1rem; }
.faq-sec__head p:not(.kicker) { color: var(--muted); max-width: 24rem; }
.faq details > div a { font-weight: 700; }
.faq-sec .faq { gap: 0; border-top: 2px solid var(--ink); }
.faq-sec .faq details { border-radius: 0; background: none; border: 0; border-bottom: 1px solid var(--line-2); box-shadow: none; }
.faq-sec .faq details[open] { background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0)); }
.faq-sec .faq summary { padding: 1.2rem 0.8rem; border-radius: 12px; transition: background-color 220ms ease, color 220ms ease; font-size: 1.06rem; min-height: 44px; }
.faq-sec .faq details > div { padding: 0.2rem 3rem 1.4rem 0.8rem; }
@media (hover: hover) {
  .faq-sec .faq summary:hover { background: rgba(220, 231, 243, 0.55); color: var(--brand-deep); }
  .faq-sec .faq summary:hover::after { background-color: rgba(62, 88, 123, 0.14); }
}
.faq-sec .faq summary:active { background: rgba(220, 231, 243, 0.75); }
.faq-sec .faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.faq-sec .faq summary::after { transition: transform 300ms var(--ease), background-color 220ms ease; }
@media (min-width: 1000px) {
  .faq-sec__grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .faq-sec__head { position: sticky; top: 7rem; }
}

/* ---------- Tieflot und Abschluss ---------- */
.tieflot { padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
.tieflot__inner { display: grid; gap: 0.7rem; padding-top: 1.6rem; border-top: 1px solid var(--line-2); max-width: 52rem; }
.tieflot h2 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); letter-spacing: -0.025em; }
.tieflot p { color: var(--muted); }
.closing {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center; gap: 1.4rem;
  padding: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(1.2rem, 1rem + 3vw, 4rem) clamp(2.6rem, 2rem + 3vw, 4.5rem);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 246, 232, 0.78), rgba(255, 255, 255, 0.62) 55%, rgba(240, 242, 253, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), 0 30px 70px -44px rgba(34, 46, 82, 0.35);
}
.closing__sun { position: absolute; z-index: -1; left: 50%; top: -12rem; width: min(42rem, 120%); aspect-ratio: 1.6; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 214, 160, 0.62), rgba(255, 226, 190, 0.22) 55%, transparent 75%); }
.closing__one { max-width: 44rem; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.15rem); color: var(--muted); }
.closing h2 { font-size: var(--t-h2x); letter-spacing: -0.045em; line-height: 1.04; max-width: 17ch; }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.closing__fine { font-size: 0.88rem; color: var(--muted); }

/* ---------- Fußzeile ---------- */
.site-footer { padding: 3rem 0 2.5rem; margin-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.site-footer .footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 1.5rem; padding: 2rem 0 0; border-top: 1px solid var(--line-2); background: none; border-radius: 0; box-shadow: none; }
.site-footer .footer__brand { grid-column: 1 / -1; }
.site-footer .footer__grid a:not(.brand) { display: inline-block; min-width: 44px; padding-block: 0.25rem; }
@media (min-width: 900px) { .site-footer .footer__grid { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); } .site-footer .footer__brand { grid-column: auto; } }

/* ---------- Anfrage ---------- */
.apply { padding-top: clamp(2.4rem, 1rem + 4vw, 4.5rem); }
.apply__grid { display: grid; gap: 2rem; align-items: start; }
.apply__intro { display: grid; gap: 1.2rem; justify-items: start; }
.apply__intro h1 { font-size: clamp(2.3rem, 1.5rem + 2.2vw, 3.6rem); line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.apply__intro h1 span { display: block; font-weight: 560; color: var(--brand-deep); }
.apply__intro .lead { max-width: 34rem; }
.apply__chips { display: flex; flex-wrap: wrap; gap: 0.45rem; list-style: none; margin: 0; padding: 0; }
.apply__chips li { padding: 0.38rem 0.8rem; border-radius: 999px; font-size: 0.86rem; font-weight: 700; background: rgba(255, 255, 255, 0.72); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.apply__chips li:first-child { background: var(--brand); color: #fff; box-shadow: none; }
.apply__aside { display: grid; gap: 1.6rem; }
.apply__price { display: grid; gap: 0.5rem; padding: 1.4rem 1.5rem; border-radius: var(--r-lg); color: #edf1fc; background: linear-gradient(160deg, #17223b, #29395f); box-shadow: 0 30px 60px -32px rgba(19, 27, 48, 0.7); position: relative; overflow: hidden; isolation: isolate; }
.apply__price::after { content: ''; position: absolute; z-index: -1; right: -30%; bottom: -70%; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 132, 0.4), transparent 72%); }
.apply__price p:first-child { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.apply__price strong { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.06em; line-height: 1; color: #fff; }
.apply__price span { color: #d9e1f4; font-weight: 650; }
.apply__price p { color: #cfd7ed; font-size: 0.94rem; }
.apply__price ul { list-style: none; margin: 0; padding: 0; display: grid; }
.apply__price li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.2rem 1rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.apply__price li:last-child { border-bottom: 0; }
.apply__price li strong { font-size: 1.04rem; letter-spacing: -0.01em; line-height: 1.3; }
.apply__price li span { font-size: 0.94rem; }
.apply__price .apply__price-h { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: #d6def4; }
.apply__steps { list-style: none; margin: 0; padding: 0; counter-reset: as; display: grid; border-top: 1px solid var(--line-2); }
.apply__steps li { counter-increment: as; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0.1rem 0.6rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.apply__steps li::before { content: counter(as); grid-row: span 2; width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.82rem; font-weight: 800; color: var(--brand-deep); background: var(--brand-soft); }
.apply__steps strong { font-size: 0.98rem; }
.apply__steps span { color: var(--muted); font-size: 0.92rem; }
.apply__fit h2 { font-size: 1.15rem; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.apply__fit p { color: var(--muted); font-size: 0.95rem; }
.apply__fit p + p { margin-top: 0.6rem; }
.apply__terms { font-size: 0.88rem; color: var(--muted); padding-top: 1rem; border-top: 1px solid var(--line); }

.application__form { padding: clamp(1.3rem, 3vw, 2.5rem); scroll-margin-top: 7rem; min-width: 0; border-radius: var(--r-xl); }
.application__form-head { display: grid; gap: 0.7rem; margin-bottom: 1.8rem; }
.application__form-head .kicker { margin: 0; }
.application__form-head h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.3rem); line-height: 1.1; letter-spacing: -0.035em; }
.application__form-head p:not(.kicker) { font-size: 0.9rem; color: var(--muted); }
.application__form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 1.35rem; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.35rem; }
.form-field { display: grid; align-content: start; gap: 0.45rem; min-width: 0; }
.form-field label { font-size: 0.93rem; font-weight: 750; color: var(--ink); }
.form-optional { color: var(--muted); font-size: 0.8rem; font-weight: 600; margin-left: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  box-sizing: border-box; width: 100%; min-width: 0; min-height: 50px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-2); border-radius: 14px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font: inherit; font-size: 1rem; line-height: 1.5;
  box-shadow: inset 0 1px 2px rgba(23, 32, 51, 0.04);
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;
}
.form-field select { cursor: pointer; appearance: none; -webkit-appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e3850' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.05rem; }
.form-field textarea { resize: vertical; min-height: 150px; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: var(--brand); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); background-color: #fff; }
.form-field input:user-invalid, .form-field select:user-invalid, .form-field textarea:user-invalid { border-color: var(--risk); }
.form-field input::placeholder { color: var(--faint); opacity: 1; }
.form-help { color: var(--muted); font-size: 0.84rem; line-height: 1.6; }
.form-limit { text-align: right; margin-top: -0.1rem; }
.form-trap { position: absolute; left: 0; top: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-trap input, .form-trap label { display: block; width: 1px; max-width: 1px; }
.form-consent { display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer; font-size: 0.88rem; color: var(--ink-2); line-height: 1.65; padding: 0.95rem 1rem; border-radius: 14px; background: rgba(240, 245, 250, 0.8); box-shadow: inset 0 0 0 1px rgba(52, 85, 219, 0.16); }
.form-consent input { accent-color: var(--brand); flex: none; width: 22px; height: 22px; margin: 0.15rem 0 0; }
.form-consent:has(input:focus-visible) { outline: 3px solid var(--brand); outline-offset: 3px; }
.form-privacy { display: grid; gap: 0.35rem; }
.form-submit { width: 100%; justify-content: center; min-height: 54px; font-size: 1.05rem; }
.form-submit:not(:disabled):active { transform: scale(0.98); }
.form-submit-note { text-align: center; margin-top: -0.6rem; }
fieldset:disabled { opacity: 0.72; }
fieldset:disabled .form-submit { cursor: wait; }
.form-status:empty { display: none; }
.form-status { margin-top: 1rem; font-size: 0.9rem; color: var(--brand-deep); font-weight: 650; }
.form-error, .form-notice { margin-top: 1.2rem; padding: 1rem; border-radius: var(--r-sm); background: var(--risk-soft); color: #7d241f; font-size: 0.92rem; line-height: 1.65; border: 1px solid rgba(179, 38, 30, 0.22); }
.form-notice { margin-block: 0 1.2rem; }
.application__success { display: grid; gap: 1.2rem; padding-block: 1rem 1.5rem; }
.application__success h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.035em; }
.application__success p { color: var(--muted); }
.application__success .btn { justify-self: start; }
.application__success-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.application__success-mark { display: grid; place-items: center; width: 64px; height: 64px; background: var(--success-soft); border-radius: 50%; color: var(--success); }
.application__success-mark svg { width: 30px; height: 30px; }
@media (min-width: 700px) { .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
@media (min-width: 1000px) {
  .apply__grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(2.5rem, 5vw, 5.5rem); row-gap: 0; }
  .apply__intro { grid-column: 1; }
  .apply__aside { grid-column: 1; margin-top: 2.2rem; }
  .application__form { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Unterseiten: Agenten und Doku ---------- */
.page-hero { padding-top: clamp(2.8rem, 1.5rem + 4vw, 5.5rem); }
.page-hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.9vw, 4.6rem); letter-spacing: -0.05em; line-height: 1; font-weight: 800; max-width: 15ch; }
.page-hero h1 .h1-b { display: block; }
.ways { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.ways li { display: grid; gap: 0.5rem 2rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line-2); }
.ways h3 { font-size: 1.2rem; letter-spacing: -0.02em; }
.ways .tag { justify-self: start; }
.ways p { color: var(--muted); }
.ways p code, .clients-list code, .scope-note code { font-size: 0.86em; padding: 0.06rem 0.38rem; border-radius: 7px; background: rgba(23, 32, 51, 0.06); color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .ways li { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr) auto; align-items: baseline; } .ways .tag { justify-self: end; } }
.clients-list { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line-2); }
.clients-list li { display: grid; gap: 0.4rem 2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); min-width: 0; }
.clients-list h3 { font-size: 1.05rem; }
.clients-list p { color: var(--muted); font-size: 0.96rem; }
.clients-list .code-wrap { min-width: 0; }
@media (min-width: 900px) { .clients-list li { grid-template-columns: 14rem minmax(0, 1fr); align-items: baseline; } }
.scope-note { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.guide-band { display: grid; gap: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); border-radius: var(--r-xl); background: linear-gradient(160deg, #17223b, #29395f); color: #edf1fc; }
.guide-band h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.04em; }
.guide-band p { color: #d5ddef; max-width: 52rem; }
.guide-band code { font-size: 0.88em; padding: 0.06rem 0.38rem; border-radius: 7px; background: rgba(255, 255, 255, 0.12); color: #fff; }
.guide-band a { color: #fff; font-weight: 750; }

/* Lesbare Mindestgrößen für Bestandsbausteine aus style.css */
.brief__gh, .brief__meta { font-size: 0.78rem; }
.brief__item .chip { font-size: 0.76rem; }
.client .code { font-size: 0.86rem; }
.client .code code { font-size: 1em; }
.meter__row { font-size: 0.78rem; }
.page-docs .meter__row { grid-template-columns: 4.6rem 1fr 2.8rem; }

/* Doku: ein zusammenhängender Artikel statt gestapelter Karten */
.page-docs .docs__main {
  padding: clamp(0.4rem, 0.2rem + 1vw, 1rem) clamp(1.1rem, 0.6rem + 2.4vw, 3rem);
  border-radius: var(--r-xl);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.74));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), var(--shadow-2);
}
.page-docs .doc-sec.glass { background: none; border: 0; border-radius: 0; box-shadow: none; margin: 0; padding: clamp(1.8rem, 1.3rem + 1.6vw, 2.8rem) 0; border-bottom: 1px solid var(--line); }
.page-docs .doc-sec.glass:last-child { border-bottom: 0; }
.page-docs .doc-sec h2 { letter-spacing: -0.035em; }
.page-docs .doc-sec h2 .num { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; background: rgba(52, 85, 219, 0.12); }
.page-docs .docs__side { background: linear-gradient(165deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.6)); }
.page-docs .doc-sec .kicker { margin: 0; }
.page-agents .limits { gap: 0 2.2rem; border-top: 1px solid var(--line-2); }
.page-agents .limits li.glass { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.page-docs .client-grid .client { box-shadow: inset 0 0 0 1px var(--line); background: rgba(251, 252, 255, 0.9); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  .demo [data-from], .demo [data-at], .sw__rail li, .demo__step::after { transition: none !important; }
  .form-field input, .form-field select, .form-field textarea { transition: none; }
  .form-submit:not(:disabled):active { transform: none; }
  .pricing .plan, .plan-setup { transition: none; }
  .pricing .plan:hover { transform: none; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 640px) {
  .mailc__subj { font-size: 1.02rem; }
  .mailc__body, .draftc__text { font-size: 0.9rem; }
  .draftc__actions .pill:first-child { display: none; }
  .tcard { font-size: 0.76rem; }
  .tcard__lines li { gap: 0.45rem; }
  .closing__actions .btn { flex: 1 1 100%; }
  .demo__more a { width: 100%; }
}

/* Tagesvorschau: stabile Höhe und bedienbare Punkte statt automatischer Wechsel. */
.welcome-preview { display: flex; flex-direction: column; }
.welcome-preview__slides { order: 0; display: grid; touch-action: pan-y pinch-zoom; }
.welcome-preview__slide { grid-area: 1 / 1; }
.welcome-preview__slide[hidden] { display: block !important; visibility: hidden; pointer-events: none; }
.welcome-preview__slide:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; border-radius: 8px; }
.welcome-preview__controls { order: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
.welcome-preview__times { order: 0; display: flex; justify-content: center; gap: 0.25rem; padding-block: 0.1rem 0.35rem; }
.welcome-preview__times button { display: inline-flex; gap: 0.4rem; align-items: center; justify-content: center; min-height: 44px; min-width: 5.25rem; padding: 0.3rem 0.65rem; border: 0; border-radius: 999px; color: var(--muted); background: transparent; cursor: pointer; font-size: 0.75rem; transition: background-color 180ms ease, color 180ms ease; }
.welcome-preview__dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.welcome-preview__times button[aria-selected="true"] { color: var(--brand-deep); font-weight: 800; background: rgba(214,228,243,0.72); }
.welcome-preview__times button[aria-selected="true"] .welcome-preview__dot { opacity: 1; box-shadow: 0 0 0 3px rgba(62,88,123,0.10); }
@media (hover: hover) { .welcome-preview__times button:not([aria-selected="true"]):hover { background: rgba(255,255,255,0.7); color: var(--ink); } }
html:not(.js) .welcome-preview__controls { visibility: hidden; }
.welcome-motion { order: -1; flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(46,56,80,0.14); border-radius: 50%; background: rgba(255,255,255,0.45); color: var(--ink-2); cursor: pointer; transition: background-color 180ms ease; }
.welcome-motion [data-motion-symbol] { font-size: 1rem; line-height: 1; font-weight: 750; }
.welcome-motion:disabled { cursor: default; opacity: 0.55; }
@media (hover:hover) { .welcome-motion:not(:disabled):hover { background: rgba(255,255,255,0.85); } }
.welcome-agents { width: min(38rem, 100%); min-width: 0; display: grid; justify-items: center; gap: 0.3rem; margin-block: 0.15rem; }
.welcome-agents__window { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.welcome-agents__track { display: flex; width: max-content; animation: welcome-agent-drift 48s linear infinite; animation-play-state: paused; }
.welcome-agents__track ul { display: flex; gap: 2.5rem; flex: none; list-style: none; padding: 0.2rem 2.5rem 0.2rem 0; margin: 0; }
.welcome-agents__track li { display: flex; align-items: center; gap: 0.55rem; white-space: nowrap; font-weight: 750; font-size: 1rem; letter-spacing: -0.02em; color: var(--ink-2); }
.welcome-agents__track img { display: block; width: 28px; height: 28px; object-fit: contain; flex: none; }
.welcome-agents__track img.welcome-agent--moineve { padding: 3px; border-radius: 7px; background: #263342; }
.welcome-agents__track img.welcome-agent--wide { width: 66px; }
.home-hero[data-motion="running"] .welcome-agents__track { animation-play-state: running; }
@keyframes welcome-agent-drift { to { transform: translateX(-50%); } }
@media (max-width: 360px) { .welcome-preview__controls { flex-wrap: wrap; } }
@media (max-width: 640px) {
  .home-hero[data-day="noon"] .welcome-sun { transform: translate3d(6rem, -6rem, 0) scale(0.85); }
  .home-hero[data-day="evening"] .welcome-sun { transform: translate3d(13rem, 2rem, 0); }
  .welcome-preview__times button { min-width: 4.5rem; padding-inline: 0.3rem; }
  .welcome-agents__track ul { gap: 1.8rem; padding-right: 1.8rem; }
}
@media (scripting: none) {
  .welcome-agents__track { display: block; animation: none; width: 100%; }
  .welcome-agents__track ul { flex-wrap: wrap; justify-content: center; gap: 0.65rem 1.4rem; padding-right: 0; }
  .welcome-agents__track ul[aria-hidden] { display: none; }
  .welcome-agents__window { mask-image: none; -webkit-mask-image: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero .welcome-sun, .welcome-cloud, .welcome-sky__wash { transition: none; }
  .welcome-agents__track { display: block; animation: none !important; transform: none; width: 100%; }
  .welcome-agents__track ul { flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; padding-right: 0; }
  .welcome-agents__track ul[aria-hidden] { display: none; }
  .welcome-agents__window { mask-image: none; -webkit-mask-image: none; }
}
/* Landschaft direkt hinter dem Footer; heller Schleier schützt alle Linkspalten. */
.site-footer--landscape {
  padding: 3rem 0 2.5rem;
  background: linear-gradient(180deg, #f8fafc 0%, rgba(248,250,252,0.94) 18%, rgba(248,250,252,0.82) 58%, rgba(248,250,252,0.78) 100%), url('/site/assets/morgenlandschaft.jpg') center 60% / cover no-repeat;
}
.site-footer--landscape .footer__grid { border-top: 0; padding-top: 0; }
.site-footer--landscape .footer__brand p,
.site-footer--landscape .footer__h,
.site-footer--landscape .footer__base { color: var(--ink-2); }
.site-footer--landscape .footer__base { border-top: 1px solid rgba(46,56,80,0.15); }
@media (max-width: 600px) {
  .site-footer--landscape { background-position: center, 34% center; }
}


/* ── Kaufweg 2026-10: eine Kauffrage je Abschnitt ─────────────────────────── */

/* 2 · Kennst du das? */
.pains { padding-bottom: calc(var(--sec) * 0.55); }
.pains__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.pain { display: flex; flex-direction: column; gap: 1.1rem; padding: 1.5rem 1.4rem 1.35rem; border-radius: 23px; background: rgba(255, 255, 255, 0.72); border: 1px solid var(--line); box-shadow: 0 10px 25px -20px rgba(25, 45, 70, 0.2); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), background-color 0.5s var(--ease); }
.pain__quote { font-size: 1.06rem; line-height: 1.45; font-weight: 650; letter-spacing: -0.015em; color: var(--ink-2); flex: 1; }
.pain__shift { margin: 0; padding-bottom: 0.85rem; }
.pain__shift figcaption { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-items: center; gap: 0.5rem; max-width: 26rem; margin-inline: auto; padding-inline: 0.6rem; }
.pain__before, .pain__after { display: inline-flex; align-items: baseline; gap: 0.3rem; max-width: 100%; padding: 0.42rem 0.7rem; border-radius: 10px; font-size: 0.86rem; font-weight: 650; text-align: center; }
.pain__before { color: var(--faint); border: 1px dashed var(--line-2); background: rgba(255, 255, 255, 0.6); }
.pain__after { color: var(--brand-deep); background: var(--brand-soft); box-shadow: 0 0 0 1px rgba(40, 98, 189, 0.12); }
.pain__before b, .pain__after b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.03em; }
.pain__fix { display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: 0.55rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }
.pain__fix svg { width: 1.1rem; height: 1.1rem; margin-top: 0.15rem; color: var(--success); }

/* Shared vector artwork; short HTML labels supply the page language. */
.spot, .pain__shift { border-radius: 16px; background: linear-gradient(180deg, #f6f9fd, #edf3fa); border: 1px solid var(--line); overflow: hidden; }
.spot-art { display: block; width: 100%; max-width: 26rem; height: auto; margin-inline: auto; }
.spot__art { position: relative; max-width: 26rem; margin-inline: auto; }
.spot__art .spot-art { max-width: none; }
/* Das echte Logo liegt auf der freien Kachel der Szene; Lage in Prozent der Bildfläche. */
.spot__logo { position: absolute; left: var(--x); top: var(--y); width: 20%; height: auto; }
.spot > *, .pain__shift > .spot-art { transition: transform 0.9s var(--ease); }
@media (hover: hover) {
  .pain:hover .spot-art, .everyday__card:hover .spot > *, .persona:hover .spot > *, .send-choice__options li:hover .spot > *, .start-steps li:hover .spot > * { transform: scale(1.025); }
}

/* Vertrauen: ein Mensch mit Gesicht */
.founder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); padding: clamp(1.2rem, 0.9rem + 1vw, 1.8rem); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(246, 248, 252, 0.78)); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--inner-light), var(--shadow-2); }
.founder__photo { width: 100%; max-width: 15rem; aspect-ratio: 4 / 5; height: auto; object-fit: cover; border-radius: calc(var(--r-lg) - 0.5rem); box-shadow: var(--shadow-1); }
.founder__copy { display: grid; align-content: center; gap: 0.85rem; justify-items: start; }
.founder__copy .kicker { margin: 0; }
.founder__copy h3 { font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -0.035em; max-width: 22ch; }
.founder__copy > p { color: var(--muted); line-height: 1.6; max-width: 40rem; }
.founder__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0.2rem 0 0.4rem; }
.founder__facts li { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.4rem 0.75rem; border-radius: 999px; background: rgba(255, 255, 255, 0.85); border: 1px solid var(--line); font-size: 0.84rem; font-weight: 650; color: var(--ink-2); }
.founder__facts svg { width: 1rem; height: 1rem; color: var(--brand); flex: none; }
@media (min-width: 760px) { .founder { grid-template-columns: minmax(11rem, 15rem) minmax(0, 1fr); gap: clamp(1.6rem, 1rem + 2vw, 2.8rem); } }

/* 5 · Für wen */
.audience { padding-top: calc(var(--sec) * 0.6); }
.audience__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; }
.persona { display: flex; flex-direction: column; gap: 0.85rem; padding: 1.45rem 1.4rem; border-radius: 23px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 25px -20px rgba(25, 45, 70, 0.2); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.persona .spot { margin-bottom: 0.15rem; }
.persona h3 { font-size: 1.18rem; letter-spacing: -0.025em; }
.persona__situation { color: var(--ink-2); font-weight: 600; line-height: 1.5; }
.persona__result { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 0.85rem; border-radius: 14px; background: #f6f8fb; border: 1px solid var(--line); font-size: 0.84rem; font-weight: 650; color: var(--ink-2); }
.persona__result > svg { width: 0.95rem; height: 0.95rem; color: var(--faint); }
.persona__chips { display: inline-flex; flex-wrap: wrap; gap: 0.3rem; }
.persona__chips i { font-style: normal; padding: 0.18rem 0.45rem; border-radius: 7px; border: 1px dashed var(--line-2); color: var(--faint); font-size: 0.78rem; }
.persona__benefit { margin-top: auto; padding-top: 0.85rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* 6 · In drei Schritten */
.start-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; padding: 0; margin-bottom: clamp(2rem, 1.6rem + 1.5vw, 3rem); }
.start-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.9rem; align-items: start; align-content: start; padding: 1.2rem 1.25rem; border-radius: 20px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); }
.start-steps .spot { grid-column: 1 / -1; }
.start-steps__n { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(160deg, #3a6fd0, #23477f); color: #fff; font-weight: 800; box-shadow: 0 6px 16px -8px rgba(35, 71, 127, 0.7); }
.start-steps h3 { font-size: 1.05rem; letter-spacing: -0.02em; margin-bottom: 0.25rem; }
.start-steps p { color: var(--muted); font-size: 0.92rem; line-height: 1.5; }
.start-steps__help { margin-top: 1rem; color: var(--muted); font-size: 0.95rem; }
.start-steps__help a { font-weight: 700; }

/* 7 · Preise: warum Pro */
.pro-loop { display: grid; gap: 1rem; justify-items: center; text-align: center; margin: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem) auto 0; max-width: 52rem; padding: 1.4rem 1.2rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: var(--inner-light), var(--shadow-1); }
.pro-loop__title { color: var(--muted); line-height: 1.55; max-width: 40rem; }
.pro-loop__title strong { color: var(--ink); }
.pro-loop__steps { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; counter-reset: loop; }
.pro-loop__steps li { position: relative; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.85rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.88rem; font-weight: 700; color: var(--ink-2); }
.pro-loop__steps li::before { content: ''; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--brand); opacity: 0.45; }
/* Pro-Schritte tragen die Farbe der Pro-Karte darüber. */
.pro-loop__steps li.is-pro { background: linear-gradient(160deg, #17223b, #29395f); border-color: transparent; color: #fff; }
.pro-loop__steps li.is-pro::before { background: #a9c6f2; opacity: 1; }
.pro-loop__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.2rem; font-size: 0.8rem; color: var(--faint); }
.pro-loop__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.pro-loop__key { width: 0.85rem; height: 0.85rem; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); }
.pro-loop__key--pro { background: #203050; border-color: #203050; }

@media (hover: hover) {
  .pain:hover, .persona:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(25, 45, 70, 0.35); }
  .pain:hover { background: rgba(255, 255, 255, 0.92); }
}
@media (max-width: 980px) {
  .pains__grid, .audience__grid { grid-template-columns: minmax(0, 1fr); max-width: 38rem; margin-inline: auto; }
  .start-steps { grid-template-columns: minmax(0, 1fr); max-width: 38rem; }
}
@media (prefers-reduced-motion: reduce) { .pain, .persona, .spot > *, .pain__shift > .spot-art { transition: none; } }

/* Anmeldedialog: Google vorn, alles andere eingeklappt */
html:has(dialog.signup[open]) { overflow: hidden; }
.signup { margin: auto; padding: 0; border: 0; background: transparent; width: min(26.5rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: visible; color: var(--ink); }
.signup::backdrop { background: rgba(19, 27, 48, 0.32); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.signup[open] { animation: signup-in 0.45s var(--ease) both; }
.signup[open]::backdrop { animation: signup-fade 0.45s var(--ease) both; }
@keyframes signup-in { from { opacity: 0; transform: translateY(14px) scale(0.98); } }
@keyframes signup-fade { from { opacity: 0; } }
.signup__panel { position: relative; display: grid; justify-items: center; gap: 0.9rem; padding: 2.1rem clamp(1.3rem, 1rem + 1.5vw, 2rem) 1.6rem; text-align: center; border-radius: var(--r-lg); background: linear-gradient(165deg, rgba(255, 255, 255, 0.97), rgba(246, 248, 252, 0.94)); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--inner-light), var(--shadow-3); max-height: calc(100dvh - 2rem); overflow-y: auto; }
.signup__close { position: absolute; top: 0.7rem; right: 0.7rem; }
.signup__close button { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border: 0; border-radius: 50%; background: rgba(23, 32, 51, 0.05); color: var(--muted); cursor: pointer; transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.signup__close button:hover { background: rgba(23, 32, 51, 0.1); color: var(--ink); }
.signup__mark { border-radius: 14px; box-shadow: var(--shadow-1); }
.signup h2 { font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.85rem); letter-spacing: -0.035em; line-height: 1.15; }
.signup__lead { color: var(--muted); margin-top: -0.35rem; }
.signup__google, .signup__option { display: flex; align-items: center; justify-content: center; gap: 0.65rem; width: 100%; min-height: 3.2rem; padding: 0 1.1rem; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease); }
.signup__google { margin-top: 0.3rem; background: #fff; color: var(--ink); font-size: 1.02rem; border: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(34, 46, 82, 0.08), 0 10px 26px -14px rgba(34, 46, 82, 0.35); }
.signup__google:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 1px 2px rgba(34, 46, 82, 0.08), 0 16px 32px -14px rgba(34, 46, 82, 0.45); }
.signup__more { width: 100%; }
.signup__more > summary { list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.6rem; cursor: pointer; font-size: 0.9rem; font-weight: 700; color: var(--muted); border-radius: 999px; }
.signup__more > summary::-webkit-details-marker { display: none; }
.signup__more > summary::after { content: ''; width: 0.5rem; height: 0.5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.3s var(--ease); }
.signup__more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.signup__more > summary:hover { color: var(--ink); }
.signup__options { display: grid; gap: 0.55rem; padding-top: 0.3rem; }
.signup__option { min-height: 2.9rem; background: rgba(255, 255, 255, 0.75); border: 1px solid var(--line); color: var(--ink-2); font-size: 0.95rem; }
.signup__option:hover { color: var(--ink); background: #fff; }
.signup__next { font-size: 0.88rem; color: var(--ink-2); font-weight: 600; }
.signup__legal { font-size: 0.75rem; line-height: 1.5; color: var(--faint); max-width: 22rem; }
.signup__legal a { text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .signup[open], .signup[open]::backdrop { animation: none; } }
.client-setup { scroll-margin-top:100px; }
.client-setup > h2 { font-size:clamp(24px,3vw,38px); letter-spacing:-.02em; margin-bottom:18px; }
.client-setup > p { max-width:780px; line-height:1.7; margin-bottom:24px; }
.client-setup details { padding:20px; margin:14px 0; border:1px solid #dce3ee; border-radius:14px; background:rgba(255,255,255,.85); scroll-margin-top:110px; }
.client-setup summary { cursor:pointer; font-weight:700; list-style:none; display:flex; justify-content:space-between; gap:20px; }
.client-setup summary::-webkit-details-marker { display:none; }
.client-setup summary::after { content:'+'; color:#315b94; }
.client-setup details[open] summary::after { content:'−'; }
.client-setup details > div { padding-top:18px; }
.client-setup details p { margin-bottom:16px; line-height:1.7; }
.client-setup details code { overflow-wrap:anywhere; font-size:12px; }

.plan-setup h3 .plan-setup__regular { font-size:14px; color:#647287; font-weight:500; margin-left:8px; text-decoration-thickness:1px; }
.plan-setup h3 .plan-setup__offer { display:inline-block; padding:5px 9px; border-radius:7px; background:#e4f2e9; color:#286548; font-size:13px; line-height:1.4; margin-left:8px; }
@media(max-width:640px) { .plan-setup h3 .plan-setup__offer { margin:8px 0 0; display:table; } }

/* Home navigation sits inside the hero frame, then follows the page on scroll. */
.page-home { display:grid; grid-template-columns:minmax(0,1fr); }
.page-home > .site-header { grid-area:1/1; align-self:start; margin-top:40px; top:20px; width:min(1320px,calc(100% - 80px)); }
.page-home > main { grid-area:1/1; min-width:0; }
.page-home > .site-footer { grid-area:2/1; }
.page-home .home-hero { width:min(1360px,calc(100% - 40px)); margin-top:20px; padding-top:126px; }
@media(max-width:640px) { .page-home > .site-header { margin-top:24px; top:12px; width:calc(100% - 48px); } .page-home .home-hero { width:calc(100% - 24px); margin-top:12px; padding-top:112px; } }
@media(max-width:360px) { .page-home .nav { gap:4px; padding-inline:10px; } .page-home .nav .brand { font-size:13px; gap:5px; } .page-home .nav .brand__mark { width:24px; height:24px; } .page-home .language-switch a { min-width:28px; min-height:32px; } }

.plan-setup .btn { max-width:100%; white-space:normal; }
@media(max-width:860px) { html:not(.js) .page-home .home-hero { padding-top:430px; } }
@media(max-width:360px) { .footer__grid a { overflow-wrap:anywhere; hyphens:auto; } }

/* Same glass surface, one native on-demand player. */
html:has(.intro-film[open]) { overflow: hidden; }
.intro-film { margin: auto; padding: 0; border: 0; background: transparent; width: min(72rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); color: var(--ink); }
.intro-film::backdrop { background: rgba(19, 27, 48, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.intro-film[open] { animation: signup-in 0.25s var(--ease) both; }
.intro-film__panel { padding: 0.5rem 0.75rem 0.75rem; border-radius: var(--r-lg); background: rgba(249, 251, 255, 0.94); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--inner-light), var(--shadow-3); }
.intro-film__bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; min-height: 44px; margin-bottom: 0.5rem; padding-left: 0.25rem; font-weight: 700; font-size: 0.95rem; }
.intro-film__duration { color: var(--muted); font-weight: 500; }
.intro-film__close { margin: 0; }
.intro-film__close button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(23, 32, 51, 0.06); color: var(--ink); cursor: pointer; }
.intro-film__close button:hover { background: rgba(23, 32, 51, 0.12); }
.intro-film video { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: calc(100dvh - 7rem); border-radius: max(8px, calc(var(--r-lg) - 0.75rem)); background: #172033; object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .intro-film[open] { animation: none; } }

/* Command Mail Wissen: Ergänzungen zu style.css und pilot.css der Startseite.
   Lesefreundliche Artikel ohne JavaScript: Raster, Tabellen, Quellen, CTA. */

/* Kopfzeile wie auf der Startseite: Markup und Klassen aus static/site der App (style.css,
   pilot.css). Dort öffnet site.js das Mobilmenü; die Wissensseiten laufen ohne JavaScript
   (CSP script-src 'none'), daher öffnet hier ein verstecktes Kontrollkästchen das Menü. */
@media (max-width: 860px) {
  html:not(.js) .page-wissen .nav__toggle { display: inline-flex; }
  html:not(.js) .page-wissen .nav__panel { display: none; }
  .page-wissen .nav__state:checked ~ .nav__panel { display: flex; }
  .page-wissen .nav__state:focus-visible + .nav__toggle { outline: 3px solid var(--brand); outline-offset: 3px; }
  .page-wissen .nav__state:checked + .nav__toggle span { background: transparent; }
  .page-wissen .nav__state:checked + .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
  .page-wissen .nav__state:checked + .nav__toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  /* Anmelden und Start nebeneinander unter den Links; der Startknopf nie in voller Breite. */
  .page-wissen .nav__panel { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .page-wissen .nav__links { width: 100%; }
  .page-wissen .nav__login { width: auto; flex: 1 1 auto; }
  .page-wissen .nav__cta { width: auto; flex: none; }
}

/* Sprach-Bubble unten links wie die preference-dock der Startseite (privacy.css der App).
   Ohne JavaScript: Klick öffnet über details, Hover über ::details-content. Das Cookie-Symbol
   führt zum Datenschutz, weil die Wissensseiten keine Cookies setzen. */
.preference-dock { position: fixed; z-index: 79; left: 12px; bottom: 18px; display: flex; align-items: center; padding: 2px; gap: 2px; border: 1px solid rgba(255, 255, 255, 0.85); border-radius: 18px; background: linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(231, 239, 251, 0.65)); -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5); box-shadow: 0 3px 14px rgba(25, 45, 70, 0.12); }
.privacy-reopen { position: relative; display: grid; place-items: center; flex: none; width: 28px; height: 28px; padding: 5px; border-radius: 50%; color: #315b94; }
.privacy-reopen svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.privacy-reopen:hover { background: rgba(224, 235, 251, 0.85); color: #315b94; }
.privacy-reopen:focus-visible { outline: 3px solid #315da2; outline-offset: 2px; }
.locale-choice { position: relative; display: flex; align-items: center; gap: 2px; width: 28px; overflow: hidden; transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.locale-choice[open] { width: 60px; }
.locale-choice > summary { flex: none; display: grid; place-items: center; list-style: none; width: 28px; min-height: 28px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, 0.78); color: #315b94; font-size: 11px; line-height: 1; font-weight: 700; cursor: pointer; }
.locale-choice > summary::-webkit-details-marker { display: none; }
.locale-choice > summary:focus-visible { outline: 3px solid #315da2; outline-offset: 2px; }
.locale-choice .language-switch { position: static; display: flex; flex: none; width: 30px; gap: 0; padding: 0; margin: 0; border: 0; box-shadow: none; background: none; }
.locale-choice .language-switch a { min-width: 28px; min-height: 28px; padding-inline: 4px; font-size: 11px; text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .locale-choice:hover { width: 60px; }
  .locale-choice:hover::details-content { content-visibility: visible; }
}
@media (prefers-reduced-motion: reduce) { .locale-choice { transition: none; } }

.wissen { width: min(1240px, 100% - 2 * var(--gutter)); margin: 1.4rem auto 0; }
.wissen__grid { display: grid; grid-template-columns: minmax(0, 1fr) 15.5rem; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.wissen__main { min-width: 0; }
.wissen--overview .wissen__main { max-width: 62rem; margin-inline: auto; }
.wissen__side { position: sticky; top: 6.2rem; display: grid; gap: 1.2rem; }
@media (max-width: 1000px) {
  .wissen__grid { grid-template-columns: minmax(0, 1fr); }
  .wissen__side { display: none; }
}

/* Brotkrumen */
.crumbs { margin: 0 0 1rem; font-size: 0.86rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.2rem 0.5rem; padding: 0; margin: 0; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-right: 0.5rem; color: var(--faint); }
.crumbs a { color: var(--muted); text-decoration: none; font-weight: 650; }
.crumbs a:hover { color: var(--brand-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 650; }

/* Kopf des Artikels */
.wissen-hero h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.08; max-width: 26ch; }
.wissen-answer p { font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); max-width: 46rem; }
.wissen-answer p + p { margin-top: 0.7rem; }
.wissen-meta { font-size: 0.88rem; color: var(--muted); }
.wissen-meta a { color: var(--brand-deep); font-weight: 650; }
.wissen-hero__img { width: 100%; height: auto; border-radius: var(--r-md); }

/* Lesetext */
.page-wissen .doc-sec p, .page-wissen .doc-sec li { max-width: 46rem; line-height: 1.7; }
.page-wissen .doc-sec ul { padding-left: 1.3rem; display: grid; gap: 0.45rem; }
.page-wissen .doc-sec a { color: var(--brand-deep); text-underline-offset: 0.18em; }
.page-wissen .doc-sec blockquote { margin: 0; padding: 0.8rem 1.1rem; border-left: 3px solid var(--brand); background: var(--brand-tint); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink-2); }
.page-wissen .doc-sec img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.page-wissen .doc-sec h2 a { color: inherit; text-decoration: none; }
.page-wissen .doc-sec h2 a:hover { text-decoration: underline; }
.cite { font-size: 0.72em; line-height: 0; margin-left: 0.1em; }
.cite a { text-decoration: none; font-weight: 750; color: var(--brand-deep); }
:target { scroll-margin-top: 6.5rem; }
li:target { background: var(--amber-soft); border-radius: 8px; }

/* Tabellen: lesbar, mobil seitlich scrollbar */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-1); }
.table-wrap:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; }
.table-wrap th, .table-wrap td { padding: 0.7rem 0.9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.table-wrap thead th { background: var(--brand-tint); color: var(--ink); font-weight: 800; font-size: 0.86rem; white-space: nowrap; position: sticky; top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(242, 246, 250, 0.55); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap td:first-child, .table-wrap th:first-child { font-weight: 700; color: var(--ink); position: sticky; left: 0; background: #fff; box-shadow: 1px 0 0 var(--hair); }
.table-wrap thead th:first-child { background: var(--brand-tint); }
.table-wrap tbody tr:nth-child(even) td:first-child { background: #f7f9fc; }
.align-center { text-align: center !important; }
.align-right { text-align: right !important; }

/* Inhaltsverzeichnis */
.wissen-toc ol { list-style: none; display: grid; gap: 0.1rem; border-left: 2px solid var(--hair); padding: 0; margin: 0; }
.wissen-toc a { display: block; padding: 0.3rem 0.8rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; line-height: 1.35; }
.wissen-toc a:hover { color: var(--ink); border-left-color: var(--brand); }
.wissen-toc-mobile { display: none; border-radius: var(--r-sm); border: 1px solid var(--hair-2); background: rgba(255, 255, 255, 0.7); }
.wissen-toc-mobile summary { cursor: pointer; padding: 0.7rem 1rem; font-weight: 800; }
.wissen-toc-mobile ol { margin: 0; padding: 0 1rem 0.9rem 2.2rem; display: grid; gap: 0.3rem; }
.wissen-toc-mobile a { color: var(--ink-2); font-weight: 600; }
@media (max-width: 1000px) { .wissen-toc-mobile { display: block; } }

/* Seiten-CTA */
.wissen-sidecta { padding: 1rem; border-radius: var(--r-md); display: grid; gap: 0.6rem; }
.wissen-sidecta p { font-weight: 750; font-size: 0.95rem; line-height: 1.35; }
.wissen-sidecta__link { font-size: 0.9rem; font-weight: 700; color: var(--brand-deep); }
.wissen-cta { margin: 1.2rem 0; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); border-radius: var(--r-lg); display: grid; gap: 0.8rem; }
.wissen-cta h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); letter-spacing: -0.03em; }
.wissen-cta p { color: var(--ink-2); max-width: 44rem; }
.wissen-cta__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.3rem; }
@media (max-width: 520px) { .wissen-cta__actions .btn { flex: 1 1 100%; } }

/* FAQ: immer sichtbar */
.wissen-faq { display: grid; gap: 0.9rem; }
.wissen-faq__item { padding: 1rem 1.2rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.7); border: 1px solid rgba(255, 255, 255, 0.95); box-shadow: var(--inner-light), var(--shadow-1); }
.wissen-faq__item h3 { margin: 0 0 0.35rem; font-size: 1.04rem; }
.wissen-faq__item p { color: var(--ink-2); }

/* Quellen */
.sources { padding-left: 1.6rem; display: grid; gap: 0.5rem; font-size: 0.93rem; }
.sources a { font-weight: 650; overflow-wrap: anywhere; }
.sources__meta { color: var(--muted); font-size: 0.86rem; }

/* Karten in Übersichten */
.wcards { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 0.9rem; padding: 0 !important; }
.wcard { padding: 1.1rem 1.2rem; border-radius: var(--r-md); display: grid; gap: 0.4rem; align-content: start; box-shadow: var(--shadow-1); }
.wcard h3 { margin: 0; font-size: 1.05rem; line-height: 1.3; }
.wcard h3 a { color: var(--ink); text-decoration: none; }
.wcard h3 a:hover { color: var(--brand-deep); text-decoration: underline; }
.wcard p { font-size: 0.9rem; color: var(--muted); }
.wcard__type { font-size: 0.74rem !important; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-deep) !important; }
.wissen-related { margin-top: 1.4rem; }
.wissen-related h2 { font-size: 1.3rem; margin-bottom: 0.8rem; }

@media print {
  .site-header, .sky, .wissen__side, .wissen-cta, .site-footer, .wissen-toc-mobile { display: none !important; }
  .wissen__grid { display: block; }
  .table-wrap { overflow: visible; }
}

