/* AbiPlanBW – Website
   Farben aus dem Logo: Dunkelblau #1E3A8A, Blau #3B82F6, Hellblau #EFF6FF, Bernstein #F59E0B
   Keine externen Schriften (Datenschutz): Systemschriften, Handschrift per Systemschrift. */

:root {
  --navy: #1E3A8A;
  --blue: #3B82F6;
  --sky: #EFF6FF;
  --sky-line: #BFDBFE;
  --amber: #F59E0B;
  --pen: #D9480F;          /* Filzstift für Pfeile und Notizen */
  --ink: #1F2937;
  --muted: #5A6B85;
  --paper: #FFFDF7;
  --bg: #F8FAFC;
  --line: #E2E8F0;
  --ok: #15803D;
  --warn: #EA580C;
  --bad: #DC2626;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .08);
  --hand: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Neue", "Comic Sans MS", cursive;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--navy); }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.section { padding: 88px 0; }
.section--white { background: #fff; }
.section--sky { background: var(--sky); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.h2-sub { display: block; font-size: 1.1rem; line-height: 1.6; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 8px; }
.kicker {
  display: inline-block;
  font-family: var(--hand);
  color: var(--pen);
  font-size: 1.1rem;
  transform: rotate(-2deg);
  margin-bottom: 6px;
}
.hand { font-family: var(--hand); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Kopfleiste ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 1.35rem; color: var(--navy); }
.brand img { width: 38px; height: 38px; }
.brand span { color: var(--blue); }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-size: .98rem; }
.nav a:hover { color: var(--blue); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 12px 20px;
  font: 600 1rem var(--sans); cursor: pointer; text-decoration: none;
  background: var(--navy); color: #fff;
  transition: transform .15s, background .15s;
}
.btn:hover { background: var(--blue); color: #fff; transform: translateY(-1px); }
.btn--amber { background: var(--amber); color: #3B2300; }
.btn--amber:hover { background: #FBBF24; color: #3B2300; }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid var(--sky-line); }
.btn--ghost:hover { background: var(--sky); color: var(--navy); }
.nav .btn { padding: 8px 16px; font-size: .95rem; color: #fff; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 400px at 85% 10%, rgba(59, 130, 246, .14), transparent 70%),
    radial-gradient(600px 300px at 10% 90%, rgba(245, 158, 11, .12), transparent 70%),
    linear-gradient(#fff, var(--bg));
  overflow: hidden;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #FEF3C7; color: #92400E;
  border: 1px solid #FCD34D; border-radius: 999px;
  padding: 6px 14px; font-weight: 600; font-size: .92rem; margin-bottom: 20px;
}
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, .25); } }
/* „Erscheint in Kürze!“ als handschriftlicher, eingekreister Vermerk */
.launch {
  position: relative; display: inline-block; margin: 0 0 22px 4px; padding: 14px 40px 16px;
  font-family: var(--hand); font-size: 1.4rem; color: var(--pen); line-height: 1.2;
  transform: rotate(-3deg);
}
.launch svg { position: absolute; left: -14px; top: -8px; width: calc(100% + 28px); height: calc(100% + 16px); overflow: visible; }
.launch path {
  fill: none; stroke: var(--pen); stroke-width: 2.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: kringel 1.1s ease-out .4s forwards;
}
@keyframes kringel { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .launch path { animation: none; stroke-dashoffset: 0; } }
.hero h1 em { font-style: normal; color: var(--blue); position: relative; white-space: nowrap; }
.hero h1 em svg { position: absolute; left: -2%; bottom: -14px; width: 104%; height: 18px; overflow: visible; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.lead strong { color: var(--ink); }

.signup { margin-top: 28px; max-width: 520px; position: relative; }
.signup-row { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 12px; border: 1.5px solid var(--sky-line); box-shadow: var(--shadow); }
.signup-row input[type=email] { flex: 1; min-width: 0; border: 0; padding: 10px 12px; font: inherit; background: transparent; }
.signup-row input[type=email]:focus { outline: none; }
.signup-row:focus-within { border-color: var(--blue); }
.consent { display: flex; gap: 8px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.consent input { margin-top: 3px; flex: none; }

/* Papierstapel im Hero */
.stack { position: relative; height: 430px; }
.sheet {
  position: absolute; width: 300px; background: #fff; border-radius: 6px;
  box-shadow: var(--shadow); padding: 18px; font-size: 12px; line-height: 1.4;
  border: 1px solid var(--line);
}
.sheet h4 { margin: 0 0 8px; font-size: 13px; color: var(--navy); }
.sheet .bar { height: 7px; border-radius: 4px; background: var(--line); margin: 6px 0; }
.sheet .bar.b { background: var(--sky-line); }
.sheet .bar.a { background: #FDE68A; }
.sheet--1 { top: 10px; left: 30px; transform: rotate(-7deg); }
.sheet--2 { top: 60px; left: 150px; transform: rotate(4deg); background: #FEF9C3; }
.sheet--3 { top: 150px; left: 60px; transform: rotate(-1.5deg); z-index: 2; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 11px; }
.sheet td, .sheet th { border-bottom: 1px solid var(--line); padding: 3px 4px; text-align: left; }
.sheet th { color: var(--muted); font-weight: 600; }
.stamp {
  position: absolute; right: 10px; bottom: 34px; z-index: 3;
  font-family: var(--hand); color: var(--pen); font-size: 1.25rem; line-height: 1.2;
  transform: rotate(-8deg); text-align: center;
  border: 2.5px solid var(--pen); border-radius: 12px; padding: 8px 14px; background: rgba(255, 255, 255, .85);
}

/* ---------- Leiste „ersetzt WinProsa“ ---------- */
.switch {
  background: var(--navy); color: #fff; padding: 34px 0;
}
.switch .wrap { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.switch p { margin: 0; font-size: 1.15rem; max-width: 46em; }
.switch strong { color: #FCD34D; }
.switch .hand { font-size: 1.4rem; color: #FCD34D; transform: rotate(-2deg); }

/* ---------- Funktionskacheln ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; position: relative; transition: transform .2s, box-shadow .2s;
}
.feature:hover { transform: translateY(-3px) rotate(-.3deg); box-shadow: var(--shadow); }
.feature .ico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--navy); margin-bottom: 14px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
.feature .tag {
  position: absolute; top: 18px; right: 18px; font-family: var(--hand); font-size: .9rem; color: var(--pen); transform: rotate(4deg);
}
.feature--wide { grid-column: span 2; background: linear-gradient(135deg, var(--navy), #2747A8); color: #fff; border: 0; }
.feature--wide h3 { color: #fff; }
.feature--wide p { color: #DBEAFE; }
.feature--wide .ico { background: rgba(255, 255, 255, .14); color: #FCD34D; }

/* ---------- Bühne mit handgemalten Pfeilen ---------- */
.anno-stage { position: relative; display: grid; gap: 28px; align-items: start; }
.anno-stage--both { grid-template-columns: 210px minmax(0, 1fr) 200px; }
.anno-stage--right { grid-template-columns: minmax(0, 1fr) 230px; }
.anno-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 5; }
.anno-svg path { fill: none; stroke: var(--pen); stroke-linecap: round; stroke-linejoin: round; }
.anno-svg .main { stroke-width: 2.6; }
.anno-svg .sketch { stroke-width: 1.1; opacity: .45; }
.anno-svg .head { stroke-width: 2.6; }
.anno-svg.animate path { transition: stroke-dashoffset 1s ease-out; }
.anno-svg.animate .head { transition: opacity .3s ease-out 0.9s; }
.anno-col { position: relative; }
.anno {
  font-family: var(--hand); color: var(--pen); font-size: 1.02rem; line-height: 1.3;
  position: absolute; left: 0; right: 0; transform: rotate(var(--rot, -2deg));
}
.anno b { color: var(--ink); font-weight: 700; }
.anno-col--right .anno { text-align: left; }
.anno-col--left .anno { text-align: right; }

/* ---------- App-Fenster (Nachbau) ---------- */
.win {
  background: #fff; border-radius: 12px; border: 1px solid #CBD5E1;
  box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 24px 48px rgba(15, 23, 42, .14);
  overflow: hidden; font-size: 14px;
}
.win-title { display: flex; align-items: center; gap: 10px; padding: 9px 14px; background: #F1F5F9; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.win-title img { width: 18px; height: 18px; }
.win-title .dots { margin-left: auto; letter-spacing: 8px; color: #94A3B8; }
.win-tabs { display: flex; gap: 2px; padding: 0 12px; background: #F8FAFC; border-bottom: 1px solid var(--line); overflow: hidden; }
.win-tabs span { padding: 9px 14px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.win-tabs span.on { color: var(--navy); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); background: #fff; }

/* Druck-Dialog */
.print { display: grid; grid-template-columns: 290px 1fr; min-height: 520px; }
.print-list { border-right: 1px solid var(--line); padding: 12px 10px; background: #FBFDFF; }
.print-list .grp { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: #64748B; font-weight: 700; margin: 12px 8px 4px; }
.print-list .grp:first-child { margin-top: 2px; }
.print-list .item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 7px; font-size: 13.5px; }
.print-list .item::before { content: ""; width: 14px; height: 17px; flex: none; border: 1.5px solid #94A3B8; border-radius: 2px; background: linear-gradient(#94A3B8, #94A3B8) 3px 4px / 6px 1.5px no-repeat, linear-gradient(#94A3B8, #94A3B8) 3px 8px / 6px 1.5px no-repeat; }
.print-list .item.quer::before { width: 17px; height: 14px; }
.print-list .item.on { background: var(--navy); color: #fff; }
.print-list .item.on::before { border-color: #fff; background: linear-gradient(#fff, #fff) 3px 4px / 6px 1.5px no-repeat, linear-gradient(#fff, #fff) 3px 8px / 6px 1.5px no-repeat; }
.print-list .item .neu { margin-left: auto; font-size: 10.5px; font-weight: 700; background: #FEF3C7; color: #92400E; border-radius: 99px; padding: 1px 7px; }
.print-list .info { margin: 14px 6px 0; padding: 10px; border-radius: 8px; background: var(--sky); font-size: 12.5px; color: var(--muted); min-height: 66px; }
.print-main { display: flex; flex-direction: column; background: #E2E8F0; }
.print-bar { display: flex; gap: 8px; padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--line); align-items: center; }
.print-bar .mini { font: 600 12.5px var(--sans); border: 1px solid #CBD5E1; background: #fff; border-radius: 6px; padding: 6px 10px; color: var(--ink); }
.print-bar .mini.primary { background: var(--navy); border-color: var(--navy); color: #fff; }
.print-bar .zoom { font-size: 12px; color: var(--muted); }
.print-preview { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 28px 22px; }
.print-preview .mini { font: 600 12.5px var(--sans); border: 1px solid #CBD5E1; background: #fff; border-radius: 6px; padding: 6px 10px; align-self: flex-end; margin-top: auto; }
.page {
  background: #fff; width: 100%; max-width: 520px; aspect-ratio: 1.414 / 1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .18); padding: 18px 20px; font-size: 10px; display: flex; flex-direction: column;
  transition: opacity .2s;
}
.page.hoch { aspect-ratio: 1 / 1.414; max-width: 330px; }
.page.gelb { background: #FEF9C3; }
.page .ph { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--navy); padding-bottom: 4px; margin-bottom: 8px; }
.page .ph b { color: var(--navy); font-size: 12px; }
.page .ph span { color: var(--muted); }
.page table { width: 100%; border-collapse: collapse; }
.page th { background: var(--sky); color: var(--navy); text-align: left; font-weight: 600; }
.page th, .page td { padding: 3px 4px; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 110px; }
.page .pf { margin-top: auto; display: flex; justify-content: space-between; color: #94A3B8; font-size: 9px; padding-top: 6px; }
.page .lines div { border-bottom: 1px solid #CBD5E1; height: 15px; }
.page .lines label { display: block; color: var(--muted); margin-top: 8px; }
.page .big { font-size: 22px; color: var(--navy); font-weight: 700; margin: 6px 0 2px; }

/* Planungsbrett */
.board-wrap { display: grid; grid-template-columns: 64px repeat(3, 1fr); gap: 6px; padding: 14px; background: #F1F5F9; }
.board-head { font-size: 12px; font-weight: 700; color: var(--navy); text-align: center; padding: 6px 0; background: #fff; border-radius: 6px; }
.board-head small { display: block; font-weight: 500; color: var(--muted); }
.board-time { font-size: 12px; color: var(--muted); padding-top: 10px; text-align: right; padding-right: 6px; }
.card {
  background: #fff; border: 1px solid #CBD5E1; border-left: 4px solid var(--blue); border-radius: 7px;
  padding: 7px 9px; font-size: 12px; line-height: 1.35; min-height: 76px; position: relative; cursor: grab;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .t { color: var(--muted); font-size: 11px; display: flex; gap: 6px; align-items: center; }
.card .q { background: #FDE68A; color: #78350F; border-radius: 4px; padding: 0 5px; font-weight: 700; }
.card .n { font-weight: 700; font-size: 14px; color: var(--ink); }
.card .k { color: var(--muted); font-size: 11px; }
.card.fach-d { border-left-color: #8B5CF6; }
.card.fach-m { border-left-color: var(--blue); }
.card.fach-e { border-left-color: #10B981; }
.card.fach-g { border-left-color: #F59E0B; }
.card.bad { background: #FEF2F2; border-color: #FCA5A5; border-left-color: var(--bad); }
.card.bad .flag { color: var(--bad); font-weight: 700; font-size: 11px; }
.card.warn { background: #FFF7ED; border-color: #FDBA74; border-left-color: var(--warn); }
.card.warn .flag { color: var(--warn); font-weight: 700; font-size: 11px; }
.card.empty { background: transparent; border: 1.5px dashed #CBD5E1; min-height: 76px; cursor: default; }
.card.empty:hover { transform: none; box-shadow: none; }
.board-foot { display: flex; gap: 18px; flex-wrap: wrap; padding: 10px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.board-foot i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* ---------- Ablauf ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding-top: 52px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; font: 700 1.3rem var(--hand); color: var(--pen);
  border: 2.5px solid var(--pen); transform: rotate(-6deg);
}
.step p { color: var(--muted); font-size: .97rem; }

/* ---------- Vorteile ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why div { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.why h3 { display: flex; align-items: center; gap: 10px; }
.why h3::before { content: "✓"; color: var(--ok); font-weight: 800; }
.why p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 16px; color: var(--muted); }

/* ---------- Formulare ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.card-box { background: #fff; border-radius: 18px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 11px 13px; border-radius: 10px; border: 1.5px solid #CBD5E1; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.field textarea { min-height: 150px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: var(--navy); font-weight: 700; }
.req-hint { font-size: .85rem; color: var(--muted); margin: -6px 0 16px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.note { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-weight: 600; display: none; }
.note.show { display: block; }
.note.ok { background: #DCFCE7; color: #14532D; border: 1px solid #86EFAC; }
.note.err { background: #FEE2E2; color: #7F1D1D; border: 1px solid #FCA5A5; }
.contact-side ul { padding-left: 0; list-style: none; }
.contact-side li { padding: 6px 0 6px 30px; position: relative; }
.contact-side li::before { content: "→"; position: absolute; left: 0; color: var(--pen); font-family: var(--hand); font-size: 1.1rem; top: 3px; }

/* ---------- CTA-Band ---------- */
.cta { background: linear-gradient(135deg, var(--navy), #2747A8); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: #DBEAFE; }
.cta .signup-row { border-color: transparent; }
.cta .consent { color: #BFDBFE; }
.cta .consent a { color: #fff; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(245, 158, 11, .25); }

/* ---------- Fußzeile ---------- */
.footer { background: #0F1E4A; color: #CBD5E1; padding: 48px 0 28px; margin-top: 0; font-size: .95rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer a { color: #E2E8F0; text-decoration: none; }
.footer a:hover { color: #FCD34D; }
.footer h4 { color: #fff; margin: 0 0 10px; font-size: 1rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 6px; }
.footer .brand { color: #fff; }
.footer .copy { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; font-size: .85rem; color: #94A3B8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Rechtstexte ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 56px 0 80px; }
.legal h1 { font-size: 2.2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4em; }
.legal .todo { background: #FEF3C7; border: 1px dashed #F59E0B; padding: 1px 6px; border-radius: 4px; }
.legal address { font-style: normal; }

/* ---------- Einblenden beim Scrollen ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .anno-svg.animate path { transition: none; }
  .badge::before { animation: none; }
}

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 1100px) {
  .anno-stage--both, .anno-stage--right { grid-template-columns: 1fr; }
  .anno-svg { display: none; }
  .anno-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; order: 2; }
  .anno-col .anno { position: static; text-align: left !important; transform: none; padding-left: 26px; }
  .anno-col .anno::before { content: "↗"; position: absolute; margin-left: -24px; }
  .anno-col .anno { position: relative; left: auto !important; top: auto !important; width: auto !important; }
  #hero-stage .anno-col { height: auto !important; margin-top: 4px; }
  .anno-stage > .win { order: 1; }
}
@media (max-width: 960px) {
  .hero .wrap, .contact, .cta { grid-template-columns: 1fr; }
  .stack { height: 380px; max-width: 460px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr 1fr; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .print { grid-template-columns: 1fr; }
  .print-list { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 16px 18px; border-bottom: 1px solid var(--line); gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 8px 0; }
  .menu-toggle { display: block; }
  .nav.nav--simple { display: flex; position: static; flex-direction: row; padding: 0; border: 0; background: none; gap: 16px; }
  .feature--wide { grid-column: auto; }
  .steps, .why, .row2 { grid-template-columns: 1fr; }
  .cta { padding: 30px 22px; }
  .signup-row { flex-direction: column; }
  .footer .wrap { grid-template-columns: 1fr; }
  .board-wrap { grid-template-columns: 44px repeat(3, minmax(92px, 1fr)); overflow-x: auto; }
  .stack { height: 340px; }
  .sheet { width: 240px; }
  .sheet--2 { left: 90px; }
  .sheet--3 { left: 20px; }
  .hero h1 em { white-space: normal; }
}
