/* ===========================================================================
   KADRO v2 — premium redesign. One stylesheet, two themes (html.light / html.dark).
   Principles: big type scale, generous whitespace, ONE accent, real imagery,
   no gradient-glow slop, no emoji icons, tight alignment.
   =========================================================================== */

:root {
  --accent: #1A7DE0;
  --accent-ink: #0b5cad;
  --accent-btn: #1670CE; /* brand blue, minimally darkened for white-text AA contrast (4.9:1) on buttons only */
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.22,.61,.36,1);
  --font-head: "Archivo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  /* fluid type scale — Hormozi-scale, loud */
  --t-hero: clamp(1.9rem, 9.4vw, 7.8rem);
  --t-h2:   clamp(2.3rem, 5.2vw, 4.2rem);
  --t-h3:   clamp(1.3rem, 1.9vw, 1.6rem);
  --t-lead: clamp(1.12rem, 1.6vw, 1.45rem);
}

/* ---- Theme tokens ------------------------------------------------------- */
html.light {
  --bg: #ffffff; --bg-2: #f6f7f9; --ink: #0a0a0b; --muted: #5f6672;
  --line: #e9ebef; --card: #ffffff; --card-line: #e9ebef; --on-accent: #fff;
  --shadow: 0 30px 60px -34px rgba(12,18,32,.28);
}
html.dark {
  --bg: #0a0a0b; --bg-2: #101013; --ink: #f4f5f7; --muted: #9aa1ad;
  --line: rgba(255,255,255,.09); --card: #141417; --card-line: rgba(255,255,255,.08); --on-accent: #fff;
  --shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background .3s, color .3s;
}
h1,h2,h3,h4 { font-family: var(--font-head); font-weight: 800; line-height: .98; letter-spacing: -.04em; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 11vw, 168px) 0; }
.section.tight { padding: clamp(48px, 7vw, 96px) 0; }
.bg2 { background: var(--bg-2); }
.stack > * + * { margin-top: 1.1em; }
.eyebrow {
  font-family: var(--font-mono); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--muted); }
.lead { font-size: var(--t-lead); color: var(--muted); line-height: 1.5; max-width: 42ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.maxch { max-width: 60ch; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  --pad-y: 17px; --pad-x: 30px;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em;
  padding: var(--pad-y) var(--pad-x); border-radius: 8px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn .arr { transition: transform .2s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary { background: var(--accent-btn); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-lg { --pad-y: 21px; --pad-x: 42px; font-size: 1.05rem; }

/* ---- Header ------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; height: 74px; }
/* real Kadro logo (transparent PNG), swapped per theme */
.hdr__logo { display: inline-flex; align-items: center; }
.hdr__logo .logo { height: 40px; width: auto; display: block; }
.foot__logo { display: inline-block; margin-bottom: 16px; }
.foot__logo .logo { height: 34px; width: auto; display: block; }
html.light .logo--dark { display: none !important; }
html.dark  .logo--light { display: none !important; }
.hdr__nav { display: flex; gap: 30px; }
.hdr__nav a { font-size: .95rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.hdr__nav a:hover { color: var(--ink); }
.hdr__actions { display: flex; align-items: center; gap: 14px; }
.hdr__toggle { display: none; }

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--t-hero); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; }
.hero h1 .accent { color: var(--accent); }
.hero .lead { font-size: clamp(1.15rem, 1.7vw, 1.5rem); max-width: 30ch; margin-top: 26px; }
.hero__cta { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.hero__media { position: relative; }
.hero__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; aspect-ratio: 3/4; }
.hero__media.wide img { aspect-ratio: 3/2; }
.hero--center { text-align: center; }
.hero--center .hero__inner { max-width: 18ch; margin: 0 auto; }
.hero--center h1 { margin: 0 auto; }
.hero--center .lead { margin-inline: auto; }
.hero--center .hero__cta { justify-content: center; }

/* ---- Trust / logos ------------------------------------------------------ */
.trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 46px; }
.trust__label { width: 100%; text-align: center; font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-mono); font-weight: 700; }
.trust .logo { height: 26px; min-width: 108px; border-radius: 6px; display: grid; place-items: center; border: 1px dashed var(--line); color: var(--muted); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-head); }

/* ---- Section header ----------------------------------------------------- */
.shead { max-width: 640px; }
.shead.center { margin-inline: auto; }
.shead h2 { font-size: var(--t-h2); margin-top: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.shead .lead { margin-top: 18px; }

/* ---- Slot: real-number placeholder (honest, obviously fill-me) --------- */
.slot {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent); border-radius: 6px; padding: 0 .28em;
  font-style: normal; white-space: nowrap;
}
html.dark .slot { color: #7db8f0; }

/* ---- Big proof numbers -------------------------------------------------- */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,4vw,56px); }
.proof__n { font-family: var(--font-head); font-weight: 700; font-size: clamp(2.6rem, 5.5vw, 4.4rem); letter-spacing: -.04em; line-height: 1; }
.proof__l { color: var(--muted); margin-top: 10px; font-size: 1rem; }

/* ---- Product / showcase ------------------------------------------------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.showcase img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--card-line); }

/* ---- Steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,40px); }
.step { border-top: 2px solid var(--ink); padding-top: 20px; }
.step__n { font-family: var(--font-mono); font-weight: 700; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.step h3 { font-size: var(--t-h3); margin: 14px 0 8px; }
.step p { color: var(--muted); }

/* ---- Services list (typographic, no emoji icons) ----------------------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 44px 1fr; gap: 26px; align-items: baseline; padding: clamp(24px,3vw,38px) 0; border-bottom: 1px solid var(--line); }
.row__i { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: .95rem; }
.row__b h3 { font-size: var(--t-h3); }
.row__b p { color: var(--muted); margin-top: 8px; max-width: 54ch; }

/* ---- Founders ----------------------------------------------------------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,56px); }
.founder__img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); background: var(--bg-2); }
.founder h3 { font-size: var(--t-h3); margin-top: 20px; }
.founder__role { color: var(--accent); font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-top: 4px; }
.founder p { color: var(--muted); margin-top: 12px; }
.founder__li { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: 16px; border-radius: 9px; border: 1px solid var(--line); color: var(--muted); transition: color .2s, border-color .2s, transform .2s, background .2s; }
.founder__li:hover { color: #fff; background: var(--accent-btn); border-color: var(--accent-btn); transform: translateY(-2px); }
.founder__li svg { width: 20px; height: 20px; display: block; }

/* ---- Testimonial (single, large) --------------------------------------- */
.tquote { max-width: 820px; margin-inline: auto; text-align: center; }
.tquote blockquote { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem,2vw,1.6rem); line-height: 1.42; letter-spacing: -.01em; margin: 0; }
.tquote blockquote p { margin: 0; }
.tquote blockquote p + p { margin-top: 1em; }
.tquote figcaption { color: var(--muted); margin-top: 28px; font-size: 1rem; }
.tquote figcaption b { color: var(--ink); font-family: var(--font-head); font-weight: 700; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: inherit;
  font-family: var(--font-head); font-weight: 600; font-size: 1.16rem; padding: 26px 40px 26px 0; position: relative; display: flex; justify-content: space-between; gap: 20px; }
.faq__q .ic { color: var(--accent); transition: transform .3s var(--ease); }
.faq__i.open .faq__q .ic { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding-bottom: 26px; color: var(--muted); max-width: 62ch; }

/* ---- CTA band ----------------------------------------------------------- */
.cta { text-align: center; }
.cta h2 { font-size: var(--t-h2); max-width: 16ch; margin: 0 auto 22px; text-transform: uppercase; font-weight: 800; letter-spacing: -.03em; }

/* ---- Footer ------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; }
.foot__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot__brand img { height: 24px; margin-bottom: 16px; }
.foot__brand p { color: var(--muted); font-size: .95rem; max-width: 30ch; }
.foot h3 { font-family: var(--font-head); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot__links a { display: block; padding: 5px 0; color: var(--ink); font-size: .95rem; opacity: .8; }
.foot__links a:hover { opacity: 1; color: var(--accent); }
.foot__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ---- Theme toggle (compare pill) --------------------------------------- */
.compare { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; gap: 6px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.compare a { font-family: var(--font-head); font-weight: 600; font-size: .82rem; padding: 8px 16px; border-radius: 999px; color: var(--muted); }
.compare a.on { background: var(--accent); color: #fff; }

/* ---- Reveal ------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{transition-delay:.07s}.reveal[data-d="2"]{transition-delay:.14s}.reveal[data-d="3"]{transition-delay:.21s}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 900px) {
  .hdr__nav, .hdr__actions .btn { display: none; }
  .hero__grid, .showcase, .founders { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media img, .hero__media.wide img { aspect-ratio: 3/2; }
  .proof, .steps { grid-template-columns: 1fr; gap: 30px; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 30px 1fr; }
  .row__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- Theme toggle (in-page light/dark switch) -------------------------- */
.theme-toggle {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--card); border: 1px solid var(--card-line); border-radius: 999px;
  padding: 9px 16px 9px 12px; box-shadow: var(--shadow); cursor: pointer;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--ink);
  transition: border-color .2s, transform .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle__icon {
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--ink); box-shadow: inset -4px -3px 0 0 var(--card); transition: all .3s var(--ease);
}
html.dark .theme-toggle__icon { background: #ffd15c; box-shadow: 0 0 0 2px rgba(255,209,92,.25); }

/* ---- Legal pages (Impressum / Datenschutz) ----------------------------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .eyebrow { display: block; margin-bottom: 14px; }
.legal h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 8px; }
.legal p, .legal address { color: var(--muted); line-height: 1.7; margin-bottom: 10px; font-style: normal; }
.legal address { color: var(--ink); }
.legal p strong, .legal address strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--accent); }
.legal .back { display: inline-block; margin-top: 40px; font-family: var(--font-head); font-weight: 600; color: var(--accent); }

/* ---- Contact form ------------------------------------------------------- */
.form { max-width: 620px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; background: var(--bg-2);
  border: 1px solid var(--line); color: var(--ink); font-family: var(--font-body); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.form textarea { min-height: 130px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-body); font-weight: 400; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.form .consent input { width: auto; margin-top: 3px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .err { background: color-mix(in srgb, #e5484d 12%, transparent); color: #e5484d; border-radius: 10px; padding: 12px 15px; font-size: .9rem; margin-bottom: 18px; }
@media (max-width: 620px){ .form .row2 { grid-template-columns: 1fr; } }

/* ---- Centered page (danke / 404) --------------------------------------- */
.pagecenter { min-height: 62vh; display: flex; align-items: center; text-align: center; }
.pagecenter .wrap { width: 100%; }
.pagecenter h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 12px 0 14px; }
.pagecenter .big404 { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 15vw, 10rem); line-height: 1; color: var(--accent); letter-spacing: -.04em; }

/* ---- Hormozi-style blue band + big stats ------------------------------- */
.band-blue { background: var(--accent); color: #fff; }
.band-blue .eyebrow { color: rgba(255,255,255,.82); }
.band-blue .lead, .band-blue .muted, .band-blue p { color: rgba(255,255,255,.85); }
.band-blue h2, .band-blue h3 { color: #fff; }
.band-blue .btn-primary { background: #fff; color: var(--accent); }
.band-blue .btn-primary:hover { background: #eaf2fc; transform: translateY(-1px); }
.band-blue .btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.band-blue .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.stats-hz { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px,4vw,56px); text-align: center; }
.stats-hz > div { padding: 6px; }
.stat-hz__n { font-family: var(--font-head); font-weight: 900; font-size: clamp(3.4rem, 9vw, 6.4rem); line-height: .82; letter-spacing: -.05em; }
.stat-hz__l { margin-top: 14px; font-weight: 600; font-size: 1rem; opacity: .92; }
@media (max-width: 720px){ .stats-hz { grid-template-columns: 1fr; gap: 34px; } }

/* ---- Hero single-column + wide founder photo band ---------------------- */
.hero__inner { max-width: 100%; }
.hero-photo { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 12/5; box-shadow: var(--shadow); }
@media (max-width: 720px){ .hero-photo { aspect-ratio: 4/3; } }

/* ---- kflow: live campaign animation (CSS only, theme-aware) ------------- */
.kflow {
  position: relative; overflow: hidden; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2);
  min-height: 380px; padding: clamp(20px,3vw,34px);
  display: grid; grid-template-columns: 1fr minmax(300px, 420px); gap: 24px; align-items: center;
}
.kflow__chev {
  position: absolute; left: -40px; top: 50%; height: 130%; width: auto;
  transform: translateY(-50%); opacity: .07; pointer-events: none;
  animation: chevpulse 6s var(--ease) infinite;
}
@keyframes chevpulse { 0%,100%{opacity:.05} 50%{opacity:.11} }
.kflow__head {
  position: absolute; top: 18px; left: 22px; right: 22px;
  display: flex; justify-content: space-between; align-items: center; z-index: 3;
}
.kflow__live {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-weight: 700; font-size: .74rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.kflow__live i { width: 9px; height: 9px; border-radius: 50%; background: #21b467; animation: livepulse 1.6s ease infinite; }
@keyframes livepulse { 0%,100%{box-shadow:0 0 0 0 rgba(33,180,103,.5)} 60%{box-shadow:0 0 0 7px rgba(33,180,103,0)} }
.kflow__chip {
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .02em;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 7px 14px;
}
.kflow__lanes { position: relative; z-index: 2; display: grid; gap: 34px; padding: 26px 0 0 clamp(60px, 9vw, 130px); }
.lane { position: relative; height: 2px; background: var(--line); border-radius: 2px; }
.lane .dot {
  position: absolute; top: 50%; left: 0; width: 22px; height: 15px; margin-top: -8px;
  background: var(--accent); border-radius: 3.5px; opacity: 0;
  animation: laneflow 6.4s linear infinite;
}
.lane .dot::after { /* envelope flap */
  content: ""; position: absolute; left: 3px; right: 3px; top: 2px; height: 7px;
  border: 1.6px solid rgba(255,255,255,.85); border-bottom: 0; border-radius: 2px 2px 0 0;
  transform: perspective(20px) rotateX(28deg); transform-origin: top;
}
@keyframes laneflow {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  78% { opacity: 1; }
  92%, 100% { left: 92%; opacity: 0; }
}
.kflow__inbox {
  position: relative; z-index: 2; background: var(--card); border: 1px solid var(--card-line);
  border-radius: 12px; padding: 14px; box-shadow: var(--shadow); margin-top: 30px;
}
.kflow__inbox-head {
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding: 2px 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.rcard {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 8px; border-radius: 9px;
  opacity: 0; transform: translateY(10px);
  animation: rcardin 12s var(--ease) infinite;
}
.rcard b { display: block; font-family: var(--font-body); font-weight: 600; font-size: .88rem; line-height: 1.35; }
.rcard small { color: var(--muted); font-size: .76rem; }
.rdot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #21b467; margin-top: 5px; }
@keyframes rcardin {
  0% { opacity: 0; transform: translateY(10px); }
  6%, 88% { opacity: 1; transform: none; }
  96%, 100% { opacity: 1; }
}
@media (max-width: 860px) {
  .kflow { grid-template-columns: 1fr; min-height: 0; }
  .kflow__lanes { padding-left: 40px; padding-top: 44px; gap: 26px; }
  .kflow__chev { height: 90%; }
}
@media (prefers-reduced-motion: reduce) {
  .kflow__chev, .kflow__live i, .lane .dot, .rcard { animation: none !important; }
  .rcard { opacity: 1; transform: none; }
  .lane .dot { opacity: 1; left: 40%; }
  .lane .dot:nth-child(2) { display: none; }
}

/* ---- Headline assembly (runs once, heavy overshoot-settle) ------------- */
.hl { font-size: var(--t-hero); font-weight: 900; text-transform: uppercase; letter-spacing: -.045em; line-height: .9; }
.hl__mask { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.hl__line {
  display: block; transform: translateY(115%);
  animation: hl-up .72s cubic-bezier(.18, 1.14, .32, 1) forwards;
  animation-delay: calc(var(--i) * 90ms + 120ms);
}
@keyframes hl-up { to { transform: translateY(0); } }
.hl__line--last { animation-name: hl-up-snap; animation-duration: .78s; }
@keyframes hl-up-snap {
  0% { transform: translateY(115%); }
  74% { transform: translateY(-1.5%); }
  86% { transform: translateY(.8%); }
  100% { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hl__line { animation: none; transform: none; }
}

/* ---- Mail demo window ---------------------------------------------------- */
.mailwin {
  max-width: 720px; margin: 0 auto; border-radius: var(--radius);
  border: 1px solid var(--card-line); background: var(--card); box-shadow: var(--shadow);
  overflow: hidden;
}
.mailwin__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mailwin__dots { display: inline-flex; gap: 6px; }
.mailwin__dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.mailwin__dots i:first-child { background: #e5484d; opacity: .75; }
.mailwin__dots i:nth-child(2) { background: #f5a623; opacity: .75; }
.mailwin__dots i:nth-child(3) { background: #21b467; opacity: .75; }
.mailwin__title { font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mailwin__meta { padding: 14px 20px 0; font-size: .88rem; color: var(--muted); display: grid; gap: 5px; }
.mailwin__meta b { color: var(--ink); font-weight: 600; }
.mailwin__body { padding: 16px 20px 22px; font-size: .95rem; line-height: 1.65; min-height: 210px; }
.mailwin__body .blau { color: var(--accent); font-weight: 500; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent); vertical-align: text-bottom; margin-left: 1px; animation: caretblink 1s steps(1) infinite; }
.caret[hidden] { display: none; }
@keyframes caretblink { 50% { opacity: 0; } }
.mailwin__reply {
  display: flex; gap: 10px; align-items: flex-start; margin: 0 20px 20px;
  padding: 13px 15px; border: 1px solid var(--line); border-left: 3px solid #21b467; border-radius: 10px;
  background: var(--bg-2); opacity: 0; transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mailwin__reply.in { opacity: 1; transform: none; }
.mailwin__reply b { display: block; font-weight: 600; font-size: .92rem; }
.mailwin__reply small { color: var(--muted); font-size: .76rem; }
.mailwin__reply .rdot { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%; background: #21b467; margin-top: 6px; }
.stat-hz__n { white-space: nowrap; }

/* ---- Drafts easter egg --------------------------------------------------- */
.mailwin__draftno { margin-left: auto; font-family: var(--font-mono); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mailwin__draftno b { color: var(--accent); }
.mailwin__body--drafts { min-height: 150px; position: relative; padding-top: 20px; }
.mailwin__body--drafts .schluss { color: var(--accent); font-weight: 600; }
.verdict {
  position: absolute; bottom: 16px; right: 20px;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem; letter-spacing: .04em;
  color: #e5484d; background: color-mix(in srgb, #e5484d 10%, transparent);
  border: 1px solid color-mix(in srgb, #e5484d 30%, transparent);
  border-radius: 999px; padding: 4px 11px;
  transform: rotate(-2deg);
}
.verdict[hidden] { display: none; }
.verdict.gut { color: #21b467; background: color-mix(in srgb, #21b467 10%, transparent); border-color: color-mix(in srgb, #21b467 30%, transparent); }
