/* 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: Salbei = Command Mail, Tinte = dein Agent,
   Violett = Quellen deines Agenten, Bernstein = deine Entscheidung. */

[hidden] { display: none !important; }

:root {
  --ink-deep: #12211a;
  --line: rgba(23, 35, 28, 0.11);
  --line-2: rgba(23, 35, 28, 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(20, 34, 27, 0.97), rgba(30, 50, 39, 0.95));
  --term-ink: #e7efe9;
  --term-dim: #b4c6ba;
  --term-tool: #a8dcbc;
  --term-out: #f2d7a4;
}

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

/* ---------- Kopfzeile: Anmelden getrennt von der Bewerbung ---------- */
/* 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.86), rgba(255, 255, 255, 0.7));
  -webkit-backdrop-filter: blur(22px) saturate(1.6) brightness(1.04);
  backdrop-filter: blur(22px) saturate(1.6) brightness(1.04);
}
.nav__login {
  flex: none;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--ink-2);
  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); }
@media (max-width: 860px) {
  .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 (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, #eef4ef);
  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(--sage-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(--sage-deep);
  background: rgba(63, 110, 84, 0.12);
}
.kicker--warm { color: #8a4a12; }
.kicker--warm > span:first-child { color: #8a4a12; background: rgba(176, 106, 28, 0.14); }
.kicker--on-dark { color: #cfe3d6; }
.kicker--on-dark > span:first-child { color: #e6f1ea; 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, 35, 28, 0.06); color: var(--ink-2);
}
.tag--sage { background: var(--sage-soft); color: var(--sage-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--sage { background: var(--sage); border-color: var(--sage); 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: #dcebdf; box-shadow: inset 0 -2px 0 rgba(63, 110, 84, 0.45); }

/* ---------- Hero ---------- */
.home-hero { padding: clamp(2.2rem, 1rem + 3.4vw, 4rem) 0 clamp(1.5rem, 1rem + 2vw, 3rem); overflow-x: clip; }
.home-hero__grid { display: grid; gap: 1.6rem; }
.home-hero__copy { display: grid; gap: 1.5rem; justify-items: start; min-width: 0; }
.home-hero__kicker { font-size: 0.93rem; font-weight: 650; line-height: 1.7; color: var(--ink-2); }
.home-hero__badge { display: inline-block; margin-right: 0.45rem; padding: 0.16rem 0.6rem; border-radius: 999px; background: var(--sage); color: #fff; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; }
.home-hero h1 { font-size: var(--t-hero); line-height: 0.98; letter-spacing: -0.052em; font-weight: 800; max-width: 100%; }
.home-hero h1 span { display: block; }
.h1-b { font-weight: 560; color: var(--sage-deep); letter-spacing: -0.048em; }
.home-hero__lead { font-size: clamp(1.08rem, 0.98rem + 0.4vw, 1.27rem); line-height: 1.58; color: var(--muted); max-width: 37rem; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0.4rem 0 0; width: 100%; max-width: 37rem; border-top: 1px solid var(--line-2); }
.facts div { padding: 0.95rem 1rem 0 0; }
.facts div + div { padding-left: 1rem; border-left: 1px solid var(--line); }
.facts dt { font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; color: var(--ink); }
.facts dd { margin: 0.15rem 0 0; font-size: 0.86rem; color: var(--muted); line-height: 1.45; }
.home-hero__login { font-size: 0.93rem; color: var(--muted); }
.home-hero__login a { font-weight: 700; }

/* Bühne: echte Arbeitsfläche aus Postfach und Agent */
.home-hero__visual.hero__stage { position: relative; margin: 0; width: auto; min-width: 0; container-type: normal; }
.desk {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  padding: 3rem 0 0.6rem;
}
.desk__glow {
  position: absolute; inset: 8% 4% 0 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(63, 110, 84, 0.26), transparent 72%), radial-gradient(closest-side at 80% 20%, rgba(255, 214, 160, 0.5), transparent 70%);
  filter: blur(36px);
}
.desk .desk__mail, .desk .desk__draft {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.desk .desk__mail {
  grid-column: 1 / 10; grid-row: 1;
  position: relative; z-index: 1;
  padding: 1rem 1.15rem 1.15rem;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
  box-shadow: var(--inner-light), var(--shadow-2);
  transform: translate3d(calc(var(--mx, 0) * -5px), calc(var(--my, 0) * -4px), 0);
}
.desk__k { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.8rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.desk__k svg { width: 0.95rem; height: 0.95rem; color: var(--sage-deep); }
.desk__k span { margin-left: auto; font-family: var(--mono); letter-spacing: 0; text-transform: none; font-weight: 600; }
.desk .desk__mail { padding-bottom: 1.5rem; padding-right: 1.4rem; }
.desk .desk__mail .mailc__head { padding-right: 0; }
.desk .desk__mail .mailc__subj { margin-top: 0.75rem; }
.desk .desk__boxes {
  grid-column: 7 / 13; grid-row: 1; align-self: start; justify-self: end;
  position: relative; z-index: 4;
  margin-top: -3.6rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.35rem;
  max-width: 19rem;
  padding: 0.6rem 0.75rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), var(--shadow-2);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  transform: translate3d(calc(var(--mx, 0) * 12px), calc(var(--my, 0) * -10px), 0) rotate(2deg);
}
.desk__boxes-k { width: 100%; text-align: right; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.mb { font-family: var(--mono); font-size: 0.76rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }
.desk .desk__term {
  grid-column: 5 / 13; grid-row: 2;
  position: relative; z-index: 2;
  margin-top: -0.9rem;
  transform: translate3d(calc(var(--mx, 0) * 10px), calc(var(--my, 0) * 7px), 0);
}
.desk .desk__draft {
  grid-column: 1 / 11; grid-row: 3;
  position: relative; z-index: 3;
  margin-top: -0.55rem;
  padding: 1rem 1.1rem 1.05rem;
  background: linear-gradient(170deg, rgba(247, 251, 248, 0.97), rgba(236, 244, 239, 0.92));
  border-color: rgba(63, 110, 84, 0.25);
  box-shadow: var(--inner-light), var(--shadow-3);
  transform: translate3d(calc(var(--mx, 0) * -8px), calc(var(--my, 0) * 6px), 0);
}
.home-hero__note { margin-top: 0.2rem; text-align: right; font-size: 0.8rem; color: var(--muted); }

.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(246, 250, 247, 0.98), rgba(238, 244, 239, 0.95));
  border: 1px solid rgba(63, 110, 84, 0.22);
  box-shadow: 0 1px 0 #fff inset, 0 10px 26px -18px rgba(31, 52, 40, 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(--sage-deep); }
.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(--sage-deep); }
.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: '● '; }

@media (min-width: 1100px) {
  .home-hero { padding-top: clamp(2.2rem, 0.6rem + 2.4vw, 3.4rem); }
  .desk .desk__mail { padding-top: 0.9rem; padding-bottom: 1.35rem; }
  .desk .desk__draft { padding-top: 0.85rem; padding-bottom: 0.9rem; }
  .desk .tcard__lines { gap: 0.26rem; padding-block: 0.6rem 0.75rem; }
  .desk .draftc__actions { margin-top: 0.6rem; }
  .home-hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto auto auto auto auto 1fr;
    column-gap: clamp(2.5rem, 4vw, 4.5rem);
    row-gap: 0;
  }
  .home-hero__copy { display: contents; }
  .home-hero__kicker { grid-column: 1 / -1; margin-bottom: 1.1rem; }
  .home-hero h1 { grid-column: 1 / -1; margin-bottom: clamp(1.4rem, 2.6vh, 2.4rem); }
  .home-hero__lead { grid-column: 1; }
  .home-hero__actions { grid-column: 1; margin-top: 1.7rem; }
  .facts { grid-column: 1; margin-top: 1.9rem; }
  .home-hero__login { grid-column: 1; margin-top: 1.1rem; }
  .home-hero__visual { grid-column: 2; grid-row: 3 / 8; margin-top: -2.4rem; }
}

/* Auftritt beim Laden */
@keyframes v4-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes v4-line { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
html.js .home-hero__copy > *, html.js .home-hero__visual .desk__boxes { animation: v4-rise 0.9s var(--ease) both; }
html.js .home-hero h1 { animation-delay: 0.05s; }
html.js .home-hero__lead { animation-delay: 0.12s; }
html.js .home-hero__actions { animation-delay: 0.18s; }
html.js .facts { animation-delay: 0.24s; }
html.js .home-hero__login { animation-delay: 0.28s; }
html.js .home-hero__visual .desk__mail { animation: v4-rise 0.9s var(--ease) 0.2s both; }
html.js .home-hero__visual .desk__boxes { animation-delay: 0.9s; }
html.js .home-hero__visual .desk__term { animation: v4-rise 0.8s var(--ease) 0.45s both; }
html.js .home-hero__visual .tcard__lines li { animation: v4-line 0.5s var(--ease) both; }
html.js .home-hero__visual .tcard__lines li:nth-child(1) { animation-delay: 0.7s; }
html.js .home-hero__visual .tcard__lines li:nth-child(2) { animation-delay: 0.95s; }
html.js .home-hero__visual .tcard__lines li:nth-child(3) { animation-delay: 1.2s; }
html.js .home-hero__visual .tcard__lines li:nth-child(4) { animation-delay: 1.45s; }
html.js .home-hero__visual .tcard__lines li:nth-child(5) { animation-delay: 1.7s; }
html.js .home-hero__visual .desk__draft { animation: v4-rise 0.8s var(--ease) 1.85s both; }

/* ---------- Alltag ---------- */
.section { padding-block: var(--sec); }
.alltag { padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.alltag__grid { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); }
.alltag__head h2 { font-size: var(--t-h2x); letter-spacing: -0.042em; line-height: 1.04; max-width: 15ch; }
.chores { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--line-2); }
.chores li {
  display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); align-items: baseline; gap: 0.6rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1.12rem, 1rem + 0.55vw, 1.42rem);
  font-weight: 650; letter-spacing: -0.018em; line-height: 1.35;
  color: var(--ink-2);
}
.chores__n { font-family: var(--mono); font-size: 0.82rem; font-weight: 700; color: var(--amber); }
.alltag__turn { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.95rem); font-weight: 650; letter-spacing: -0.028em; line-height: 1.3; color: var(--muted); max-width: 34ch; }
.alltag__turn strong { color: var(--sage-deep); font-weight: 780; }
.tried { padding-top: 0.5rem; }
.tried__h { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.tried__row { display: grid; gap: 1.4rem 2rem; }
.tried__row > div { padding-top: 1rem; border-top: 2px solid var(--line-2); }
.tried__row h3 { font-size: 1.08rem; letter-spacing: -0.015em; margin-bottom: 0.4rem; }
.tried__row p { color: var(--muted); font-size: 0.97rem; }
@media (min-width: 760px) { .tried__row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .alltag__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(3rem, 6vw, 7rem); row-gap: 3.2rem; }
  .alltag__head { grid-row: 1 / 3; align-self: start; position: sticky; top: 7rem; }
  .chores { grid-column: 2; }
  .alltag__turn { grid-column: 2; }
  .tried { grid-column: 1 / -1; }
}

/* ---------- 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(--sage); }
.legend__agent::before { background: var(--ink-deep); }
.legend__src::before { background: #7b6bc0; }
.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(63, 110, 84, 0.4), rgba(63, 110, 84, 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(--sage), 0 0 0 6px rgba(63, 110, 84, 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(--sage-soft); color: var(--sage-deep); }
.who--agent { background: var(--ink-deep); color: #e7efe9; }
.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, 35, 28, 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, 35, 28, 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(--sage-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: #edf4ef; box-shadow: inset 0 0 0 1px rgba(63, 110, 84, 0.22); }
.ctx__item--cm .ctx__k { color: var(--sage-deep); }
.ctx__item--src { background: #efecf8; box-shadow: inset 0 0 0 1px rgba(91, 74, 154, 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, #f1f6f2, #e6efe9); box-shadow: inset 0 0 0 1px rgba(63, 110, 84, 0.24); font-size: 0.86rem; color: var(--ink-2); }
.fcard svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--sage-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(--sage-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(--sage); 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(63, 110, 84, 0.45); }
.demo[data-step='3'] .sw__draft, .demo[data-step='4'] .sw__draft { box-shadow: 0 0 0 4px rgba(63, 110, 84, 0.14), 0 10px 26px -18px rgba(31, 52, 40, 0.45); }
.demo[data-step='2'] .ctx { filter: drop-shadow(0 10px 18px rgba(91, 74, 154, 0.22)); }
.demo[data-step='5'] .sw__follow { box-shadow: inset 0 0 0 1px rgba(63, 110, 84, 0.3), 0 0 0 4px rgba(63, 110, 84, 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(63, 110, 84, 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(--sage); box-shadow: 0 0 0 2px var(--sage), 0 0 0 7px rgba(63, 110, 84, 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, 35, 28, 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; }

/* ---------- Was du abgeben kannst ---------- */
.ledger { border-top: 2px solid var(--ink); }
.ledger__cols { display: none; }
.ledger__rows { list-style: none; margin: 0; padding: 0; counter-reset: job; }
.ledger__rows li { counter-increment: job; display: grid; gap: 0.7rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line-2); }
.ledger__rows h3 { display: flex; gap: 0.8rem; align-items: baseline; font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.4rem); letter-spacing: -0.025em; line-height: 1.25; }
.ledger__rows h3::before { content: counter(job, decimal-leading-zero); font-family: var(--mono); font-size: 0.78rem; font-weight: 700; color: var(--faint); letter-spacing: 0; }
.ledger dl { margin: 0; display: grid; gap: 0.55rem; }
.ledger dl div { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr); gap: 0.6rem; }
.ledger dt { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.ledger dd { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.ledger dd code { font-size: 0.86em; padding: 0.05rem 0.35rem; border-radius: 6px; background: rgba(23, 35, 28, 0.07); }
@media (min-width: 900px) {
  .ledger__cols { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line-2); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
  .ledger__cols span { display: inline-flex; align-items: center; gap: 0.45rem; }
  .ledger__cols svg { width: 1rem; height: 1rem; color: var(--sage-deep); }
  .ledger__rows li { grid-template-columns: minmax(0, 1.05fr) minmax(0, 2fr); gap: 2rem; padding: 1.55rem 0; align-items: baseline; }
  .ledger dl { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
  .ledger dl div { display: block; }
  .ledger dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ledger dd { font-size: 1.02rem; }
  .ledger__rows li:hover { background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), transparent); }
}

/* ---------- 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; }

/* ---------- Kontrolle ---------- */
.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(--sage-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(--sage)); 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, #cfe0d3, var(--sage-deep)); }
.dial__track li:nth-child(1) { --c: #9fc1aa; }
.dial__track li:nth-child(2) { --c: #6f9a80; }
.dial__track li:nth-child(3) { --c: var(--sage); }
.dial__track li:nth-child(4) { --c: var(--sage-deep); }
.dial__track li:nth-child(4)::before { background: var(--sage-deep); }
.dial__track code { justify-self: start; font-size: 0.82rem; font-weight: 700; padding: 0.16rem 0.5rem; border-radius: 7px; background: var(--sage-soft); color: var(--sage-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, #cfe0d3, var(--sage-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(--sage-soft); color: var(--sage-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; gap: 0; align-items: stretch; }
.flowmap__col { padding: 1.3rem 1.4rem; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.6); border: 1px solid rgba(255, 255, 255, 0.92); box-shadow: var(--inner-light), var(--shadow-1); }
.flowmap__h { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.9rem; }
.flowmap__list { list-style: none; display: grid; gap: 0.75rem; }
.flowmap__list li { display: grid; grid-template-columns: 0.75rem minmax(0, 1fr); column-gap: 0.7rem; font-weight: 750; font-size: 1rem; line-height: 1.3; }
.flowmap__list small { grid-column: 2; font-size: 0.86rem; font-weight: 550; color: var(--muted); }
.flowmap__dot { width: 0.75rem; height: 0.75rem; margin-top: 0.3rem; border-radius: 50%; background: #d9b48a; box-shadow: 0 0 0 3px rgba(217, 180, 138, 0.25); }
.flowmap__dot--you { background: #d08a3a; box-shadow: 0 0 0 3px rgba(208, 138, 58, 0.22); }
.flowmap__dot--agent { background: var(--ink-deep); box-shadow: 0 0 0 3px rgba(18, 33, 26, 0.15); }
.flowmap__link { position: relative; display: grid; place-items: center; min-height: 4.2rem; }
.flowmap__link::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); background: repeating-linear-gradient(180deg, var(--sage) 0 7px, transparent 7px 13px); background-size: 2px 13px; animation: v4-flow-y 1.2s linear infinite; }
.flowmap__link span { position: relative; padding: 0.3rem 0.7rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-1); font-size: 0.78rem; font-weight: 800; color: var(--sage-deep); white-space: nowrap; }
@keyframes v4-flow-y { to { background-position: 0 13px; } }
@keyframes v4-flow-x { to { background-position: 13px 0; } }
.flowmap__hub { display: grid; justify-items: center; text-align: center; gap: 0.45rem; padding: 1.6rem 1.4rem; border-radius: var(--r-lg); background: linear-gradient(165deg, rgba(255, 255, 255, 0.95), rgba(229, 239, 232, 0.88)); border: 1px solid #fff; box-shadow: var(--inner-light), 0 0 0 6px rgba(63, 110, 84, 0.08), var(--shadow-3); }
.flowmap__hub img { border-radius: 15px; box-shadow: 0 10px 24px -10px rgba(47, 87, 65, 0.65); }
.flowmap__hub strong { font-size: 1.2rem; letter-spacing: -0.02em; margin-top: 0.3rem; }
.flowmap__hub span { color: var(--muted); font-size: 0.92rem; max-width: 16rem; }
@media (min-width: 1000px) {
  .flowmap { grid-template-columns: minmax(0, 1fr) minmax(5.5rem, 0.42fr) minmax(0, 0.95fr) minmax(5.5rem, 0.42fr) minmax(0, 1fr); align-items: center; }
  .flowmap__link { min-height: 0; height: 100%; }
  .flowmap__link::before { top: 50%; bottom: auto; left: 0; right: 0; width: auto; height: 2px; transform: translateY(-50%); background: repeating-linear-gradient(90deg, var(--sage) 0 7px, transparent 7px 13px); background-size: 13px 2px; animation-name: v4-flow-x; }
  .flowmap__link span { transform: translateY(-1.5rem); }
  .flowmap__link--both::after { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 0; }
}
@media (min-width: 600px) and (max-width: 999px) {
  .flowmap__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .flowmap__hub { justify-self: center; width: min(100%, 30rem); }
}
.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: 32px; }

/* ---------- Pilotangebot: Abendlicht ---------- */
.offer { padding-block: clamp(1rem, 2vw, 2rem); }
.offer__panel {
  position: relative; overflow: hidden; isolation: isolate;
  width: min(1320px, 100% - 2 * var(--gutter)); margin-inline: auto;
  border-radius: var(--r-xl);
  padding: clamp(2.6rem, 1.6rem + 4.4vw, 6rem) clamp(1.25rem, 0.5rem + 4vw, 5rem) clamp(5.5rem, 4rem + 4vw, 8rem);
  color: #e9f1eb;
  background: linear-gradient(160deg, #16261d 0%, #1d3428 55%, #24402f 100%);
  box-shadow: 0 40px 90px -40px rgba(18, 33, 26, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.offer__glow { position: absolute; z-index: -1; right: -18%; bottom: -60%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 128, 0.28), rgba(255, 170, 110, 0.08) 55%, transparent 72%); pointer-events: none; }
.offer__panel::after { content: ''; position: absolute; z-index: -1; right: 12%; bottom: -8.5rem; width: 13rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 46% 40%, #fff1d2, #ffc98a 58%, rgba(255, 170, 110, 0) 72%); opacity: 0.8; box-shadow: 0 0 90px 30px rgba(255, 186, 120, 0.18); pointer-events: none; }
.offer__grid { display: grid; gap: clamp(2rem, 1.5rem + 3vw, 5rem); }
.offer__lead { display: grid; gap: 1.2rem; justify-items: start; align-content: start; }
.offer h2 { color: #fff; font-size: var(--t-h2x); letter-spacing: -0.045em; line-height: 1.02; max-width: 12ch; }
.offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.3rem 0.9rem; margin-top: 0.6rem; }
.offer__price strong { font-size: clamp(4.4rem, 3rem + 5vw, 7.5rem); font-weight: 800; letter-spacing: -0.065em; line-height: 0.9; color: #fff; }
.offer__price span { font-size: 1.05rem; font-weight: 650; color: #d5e4da; }
.offer__later { color: #c9dccf; font-size: 1rem; margin-bottom: 0.6rem; }
.offer__body { display: grid; gap: 1.6rem; align-content: start; }
.offer__intro { font-size: clamp(1.06rem, 0.98rem + 0.35vw, 1.22rem); line-height: 1.6; color: #e9f1eb; }
.offer__steps { list-style: none; margin: 0; padding: 0; counter-reset: os; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.offer__steps li { counter-increment: os; display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: 0.15rem 0.6rem; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.offer__steps li::before { content: counter(os); grid-row: span 2; width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; color: var(--ink-deep); background: #d9ebdf; }
.offer__steps strong { color: #fff; font-size: 1.04rem; }
.offer__steps span { color: #c9dccf; font-size: 0.96rem; }
.offer__fine { font-size: 0.9rem; line-height: 1.65; color: #c2d5c8; }
.offer a:not(.btn) { color: #fff; }
@media (min-width: 1000px) { .offer__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

/* ---------- 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.2rem; border-radius: 0; font-size: 1.06rem; min-height: 44px; }
.faq-sec .faq details > div { padding: 0 3rem 1.4rem 0.2rem; }
@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(236, 244, 238, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--inner-light), 0 30px 70px -44px rgba(31, 52, 40, 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; } }

/* ---------- Bewerbung ---------- */
.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(--sage-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(--sage); 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: #e9f1eb; background: linear-gradient(160deg, #16261d, #24402f); box-shadow: 0 30px 60px -32px rgba(18, 33, 26, 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: #d5e4da; font-weight: 650; }
.apply__price p { color: #c9dccf; font-size: 0.94rem; }
.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(--sage-deep); background: var(--sage-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, 35, 28, 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='%232a3830' 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(--sage); }
.form-field input:focus-visible, .form-field select:focus-visible, .form-field textarea:focus-visible { outline: 3px solid var(--sage); outline-offset: 2px; border-color: var(--sage); 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(238, 244, 239, 0.8); box-shadow: inset 0 0 0 1px rgba(63, 110, 84, 0.16); }
.form-consent input { accent-color: var(--sage); flex: none; width: 22px; height: 22px; margin: 0.15rem 0 0; }
.form-consent:has(input:focus-visible) { outline: 3px solid var(--sage); 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(--sage-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-mark { display: grid; place-items: center; width: 64px; height: 64px; background: var(--sage-soft); border-radius: 50%; color: var(--sage-deep); }
.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, 35, 28, 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, #16261d, #24402f); color: #e9f1eb; }
.guide-band h2 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.04em; }
.guide-band p { color: #d0e0d5; 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(63, 110, 84, 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(250, 252, 250, 0.9); }

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js .home-hero__copy > *, html.js .home-hero__visual .desk__mail, html.js .home-hero__visual .desk__boxes,
  html.js .home-hero__visual .desk__term, html.js .home-hero__visual .tcard__lines li, html.js .home-hero__visual .desk__draft { animation: none !important; opacity: 1; }
  .desk .desk__mail, .desk .desk__term, .desk .desk__draft { transform: none !important; }
  .desk .desk__boxes { transform: rotate(2deg) !important; }
  .demo [data-from], .demo [data-at], .sw__rail li, .demo__step::after { transition: none !important; }
  .flowmap__link::before { animation: none !important; }
  .form-field input, .form-field select, .form-field textarea { transition: none; }
  .form-submit:not(:disabled):active { transform: none; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1099px) {
  .home-hero__visual { margin-top: 1.4rem; }
}
@media (max-width: 640px) {
  .home-hero__actions { width: 100%; }
  .home-hero__actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts div, .facts div + div { padding: 0.75rem 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .facts dd { margin: 0; text-align: right; }
  .desk { padding-top: 2.6rem; }
  .desk .desk__mail { grid-column: 1 / 13; padding: 0.9rem 0.95rem 1.4rem; }
  .desk .desk__boxes { grid-column: 4 / 13; margin-top: -2.4rem; padding: 0.45rem 0.55rem; max-width: none; }
  .desk__boxes-k { display: none; }
  .desk .desk__term { grid-column: 2 / 13; margin-top: -0.8rem; }
  .desk .desk__draft { grid-column: 1 / 13; margin-top: -0.5rem; padding: 0.85rem 0.9rem 0.95rem; }
  .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; }
  .ledger dl div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .offer__price strong { font-size: 4.6rem; }
  .closing__actions .btn { flex: 1 1 100%; }
  .demo__more a { width: 100%; }
}
@media (max-width: 400px) {
  .home-hero h1 { font-size: 2.42rem; }
}
