/* KnowMorrow – Landing Page & Login
   Designsprache aus dem Dashboard-Prototyp (KnowMorrow 8) übernommen. */

:root {
  --blue: #075bd7;
  --blue-2: #0c74e8;
  --blue-3: #42a5ff;
  --sky: #8ad8ff;
  --dark: #0a2d65;
  --ink: #122849;
  --text: #536784;
  --muted: #647795;
  --soft: #7184a0;
  --bg: #f3f7fd;
  --white: #fff;
  --light: #eaf2ff;
  --line: #dce6f4;
  --line-2: #eaf0f8;
  --high-bg: #ffedf0; --high: #ad344b; --high-bar: #df5270;
  --mid-bg: #fff2df;  --mid: #9a601a;  --mid-bar: #e8a24c;
  --low-bg: #e4f8f0;  --low: #14795d;  --low-bar: #18a37c;
  --radius: 19px;
  --radius-lg: 23px;
  --shadow: 0 3px 15px #163c7510;
  --shadow-lg: 0 30px 70px -30px #0a2d6540, 0 8px 24px #163c7512;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --header: 75px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
::selection { background: #075bd733; }
:focus-visible { outline: 3px solid #8eb9ff; outline-offset: 2px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-sm { width: 16px; height: 16px; }

.shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 14px;
  padding: 10px 16px; border-radius: 12px; transition: top .2s;
}
.skip:focus { top: 16px; }

/* ---------- Typo ---------- */
.eyebrow { font-size: 12px; font-weight: 850; color: var(--blue); text-transform: uppercase; letter-spacing: 1.3px; }
h1, h2, h3 { color: var(--dark); margin: 0; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 850; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
h3 { font-size: 17px; font-weight: 800; letter-spacing: -.2px; line-height: 1.35; }
p { color: var(--text); margin: 0; }
.lead { font-size: 17px; line-height: 1.65; }

/* ---------- Buttons ---------- */
.btn {
  border: 0; border-radius: 12px; padding: 12px 20px; min-height: 48px;
  font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--blue); color: #fff; transition: background .15s, transform .15s, box-shadow .15s, border-color .15s;
  white-space: nowrap;
}
.btn:hover { background: #064fbd; }
.btn:active { transform: translateY(1px); }
.btn.primary { box-shadow: 0 16px 32px -16px #075bd7; }
.btn.secondary { background: var(--light); color: var(--blue); }
.btn.secondary:hover { background: #dce9ff; }
.btn.ghost { background: #fff; color: #3d5577; border: 1px solid var(--line); }
.btn.ghost:hover { border-color: #b9d1f3; color: var(--blue); }
.btn.white { background: #fff; color: var(--blue); }
.btn.white:hover { background: #eef5ff; }
.btn.outline-light { background: transparent; color: #fff; border: 1px solid #ffffff55; }
.btn.outline-light:hover { background: #ffffff18; }
.btn.sm { min-height: 40px; padding: 8px 15px; font-size: 14px; border-radius: 11px; }
.btn.block { width: 100%; }

.pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 30px; padding: 5px 10px; font-size: 11px; font-weight: 850; white-space: nowrap; background: #edf3fb; color: #486384; }
.pill.high { background: var(--high-bg); color: var(--high); }
.pill.medium { background: var(--mid-bg); color: var(--mid); }
.pill.low { background: var(--low-bg); color: var(--low); }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.tag { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #c9ddfa; border-radius: 30px; color: var(--blue); background: #f3f8ff; font-weight: 750; padding: 6px 13px; font-size: 12px; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px #075bd71f; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }

.bar { height: 8px; background: var(--line-2); border-radius: 20px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; border-radius: 20px; background: linear-gradient(90deg, var(--blue), #4da8ff); transition: width 1s cubic-bezier(.2,.7,.2,1); }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.7px; font-size: 23px; color: var(--dark); line-height: 1.1; }
.brand svg { width: 42px; height: 42px; flex: none; }
.brand .accent { color: var(--blue-2); }
.brand small { display: block; font-size: 10px; font-weight: 650; letter-spacing: 1.3px; color: #55729a; text-transform: uppercase; margin-top: 2px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #ffffffe6; backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px #0a2d6540; }
.site-header .shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { position: relative; padding: 9px 13px; border-radius: 11px; color: #536783; font-weight: 700; font-size: 14.5px; transition: background .15s, color .15s; }
.nav a:hover { background: var(--light); color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--dark); place-items: center; }
.mobile-nav { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 76px 0 96px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(#075bd722 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 70% 30%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; z-index: -2; right: -10%; top: -20%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, #42a5ff2e, transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 850; letter-spacing: -.04em; line-height: 1.02; margin: 22px 0 22px; text-wrap: balance; }
.hero h1 .grad { background: linear-gradient(100deg, var(--blue) 0%, var(--blue-2) 45%, var(--blue-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 22px; font-size: 12.5px; color: var(--soft); display: flex; align-items: center; gap: 8px; }

/* Mockup */
.mock-wrap { position: relative; }
.mock {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 20px; overflow: hidden;
}
.mock-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.mock-title { display: flex; align-items: center; gap: 10px; font-weight: 850; color: var(--dark); font-size: 15px; letter-spacing: -.2px; }
.mock-title .eyebrow { font-size: 10px; display: block; letter-spacing: 1.2px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 16px 0; }
.mock-kpi { background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 12px; }
.mock-kpi .n { font-size: 24px; font-weight: 850; letter-spacing: -1px; color: var(--dark); line-height: 1.1; }
.mock-kpi .l { font-size: 11px; font-weight: 700; color: #617491; }
.mock-row { padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.mock-row:last-of-type { border-bottom: 0; }
.mock-row .head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.mock-row strong { display: block; font-size: 14px; color: var(--ink); line-height: 1.3; }
.mock-row small { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.mock-row .prog { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.mock-row .prog .bar { flex: 1; height: 6px; }
.mock-row .prog em { font-style: normal; font-size: 11px; font-weight: 750; color: var(--soft); min-width: 74px; text-align: right; }
.mock-safe { margin-top: 12px; background: linear-gradient(115deg, #074db8, #0c74e8 65%, #42a5ff); border-radius: 16px; padding: 14px 16px; color: #fff; }
.mock-safe .row { display: flex; justify-content: space-between; align-items: baseline; }
.mock-safe .lab { font-size: 11px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; color: #b8e0ff; }
.mock-safe .val { font-size: 22px; font-weight: 850; letter-spacing: -.5px; }
.mock-safe .bar { background: #ffffff33; height: 7px; margin-top: 8px; }
.mock-safe .bar > span { background: #fff; }
.mock-safe p { color: #dcecff; font-size: 12px; margin-top: 8px; }
.float-card {
  position: absolute; left: -36px; bottom: 36px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 250px;
  animation: float 6s ease-in-out infinite;
}
.float-card .ico { width: 38px; height: 38px; border-radius: 11px; background: var(--high-bg); color: var(--high); display: grid; place-items: center; flex: none; }
.float-card b { display: block; font-size: 13px; color: var(--dark); line-height: 1.3; }
.float-card span { font-size: 11.5px; color: var(--muted); }
.mock-caption { text-align: center; margin-top: 50px; font-size: 11px; font-weight: 750; letter-spacing: 1.2px; text-transform: uppercase; color: #8a9bb2; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ---------- Sections ---------- */
.section { padding: 104px 0; scroll-margin-top: calc(var(--header) + 8px); }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 700px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 16px; }
.split-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.split-head > p { max-width: 380px; font-size: 15px; }

/* Problem */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.stat { display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.stat:hover { border-color: #b9d1f3; transform: translateY(-2px); }
.stat .k { font-size: 12px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.stat .k .ic { color: var(--blue); }
.stat .num { font-size: clamp(42px, 4.4vw, 56px); font-weight: 850; letter-spacing: -.045em; line-height: 1; color: var(--dark); margin: 26px 0 12px; }
.stat .num small { font-size: .5em; letter-spacing: -.02em; color: var(--blue); }
.stat p { font-size: 14.5px; flex: 1; }
.stat .src { margin-top: 22px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 11.5px; font-weight: 700; color: #8a9bb2; }
.callout {
  margin-top: 28px; border-radius: var(--radius-lg); padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start;
  background: var(--light); border: 1px solid #c9ddfa;
}
.callout .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--blue); color: #fff; display: grid; place-items: center; flex: none; }
.callout p { font-size: clamp(17px, 1.7vw, 20px); color: var(--ink); line-height: 1.5; }
.callout b { color: var(--blue); }

/* Lösung – Schritte */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; counter-reset: s; list-style: none; padding: 0; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 50px; height: 2px; background: linear-gradient(90deg, #bcd6fb, var(--blue)); z-index: 0; }
.step { position: relative; z-index: 1; text-align: left; }
.step .badge {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin: 14px 0 22px;
  background: #fff; color: var(--blue); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step .badge .ic { width: 28px; height: 28px; }
.step:nth-child(4) .badge { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 16px 30px -14px #075bd7; }
.step .no { font-size: 12px; font-weight: 850; color: var(--blue); letter-spacing: 1.3px; }
.step h3 { font-size: 21px; margin: 4px 0 8px; letter-spacing: -.4px; }
.step p { font-size: 14.5px; }
.criteria { margin-top: 48px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 16px; align-items: stretch; }
.criteria .card h3 { margin-bottom: 6px; }
.crit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.crit { display: flex; gap: 11px; align-items: flex-start; background: var(--bg); border: 1px solid var(--line-2); border-radius: 14px; padding: 12px 13px; }
.crit .n { width: 26px; height: 26px; border-radius: 9px; background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 850; font-size: 13px; display: grid; place-items: center; flex: none; }
.crit b { display: block; font-size: 14px; color: var(--ink); }
.crit span { font-size: 12.5px; color: var(--muted); line-height: 1.4; display: block; }
.scale { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.scale-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); }
.scale-row .r { font-size: 13px; font-weight: 750; color: var(--muted); }
.note { font-size: 12.5px; color: var(--soft); margin-top: 14px; }

/* Funktionen */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.feature { transition: transform .2s, border-color .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); border-color: #b9d1f3; box-shadow: 0 18px 40px -24px #0a2d6550; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--light); color: var(--blue); display: grid; place-items: center; transition: background .2s, color .2s; }
.feature:hover .ico { background: var(--blue); color: #fff; }
.feature h3 { margin: 18px 0 8px; }
.feature p { font-size: 14.5px; }
.feature .where { margin-top: 16px; font-size: 11.5px; font-weight: 800; color: var(--blue); letter-spacing: .4px; display: inline-flex; align-items: center; gap: 6px; }

/* Vorgehen */
.process { display: grid; grid-template-columns: 1fr .92fr; gap: 64px; align-items: start; }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; }
.timeline li { position: relative; display: flex; gap: 20px; padding-bottom: 30px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
.timeline .m { width: 44px; height: 44px; border-radius: 14px; background: #fff; border: 1px solid var(--line); color: var(--blue); font-weight: 850; font-size: 14px; display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.timeline li.now .m { background: var(--blue); color: #fff; border-color: var(--blue); }
.timeline h3 { padding-top: 9px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline p { margin-top: 6px; font-size: 14.5px; max-width: 460px; }
.side-stack { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header) + 24px); }
.poster {
  border-radius: var(--radius-lg); padding: 28px; color: #fff; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(135deg, #0b2d65, #0864db 70%, #2f8ef5); position: relative; overflow: hidden;
}
.poster::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid #ffffff10; }
.poster .mini { font-size: 11px; letter-spacing: 1.2px; color: #a6d6ff; font-weight: 850; text-transform: uppercase; }
.poster h3 { color: #fff; font-size: 26px; line-height: 1.12; letter-spacing: -.6px; margin: 12px 0; }
.poster p { color: #d8eaff; font-size: 14.5px; max-width: 380px; }
.poster .status { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #ffffff1f; border: 1px solid #ffffff33; padding: 6px 12px; border-radius: 30px; font-size: 12px; font-weight: 800; }
.poster .status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
.hint-box .k { font-size: 12px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hint-box p { margin-top: 10px; font-size: 14.5px; }

/* CTA */
.cta { padding: 0 0 104px; }
.cta-box {
  border-radius: 28px; padding: 56px; color: #fff; display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  background: linear-gradient(115deg, #074db8, #0c74e8 65%, #42a5ff); box-shadow: 0 30px 60px -30px #075bd7; position: relative; overflow: hidden;
}
.cta-box::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(#ffffff26 1.2px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); }
.cta-box > * { position: relative; }
.cta-box .eyebrow { color: #b8e0ff; }
.cta-box h2 { color: #fff; margin-top: 10px; }
.cta-box p { color: #dcecff; margin-top: 12px; max-width: 560px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid p { font-size: 14px; margin-top: 16px; max-width: 330px; }
.foot-grid h4 { margin: 0 0 14px; font-size: 12px; font-weight: 850; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; color: var(--text); }
.foot-grid a:hover { color: var(--blue); }
.foot-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8a9bb2; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Login ---------- */
.auth-body { min-height: 100vh; display: flex; flex-direction: column; position: relative; overflow-x: hidden; }
.auth-body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background-image: radial-gradient(#075bd71f 1.2px, transparent 1.2px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
}
.auth-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 14px; color: #536783; padding: 8px 12px; border-radius: 11px; }
.back-link:hover { background: var(--light); color: var(--blue); }
.back-link .ic { transform: rotate(180deg); }
.auth-main { flex: 1; display: grid; place-items: center; padding: 24px 0 64px; }
.auth-card { width: min(440px, 100%); background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 34px; }
.auth-card .head { text-align: center; margin-bottom: 26px; }
.auth-card .head .lockico { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 17px; background: var(--light); color: var(--blue); display: grid; place-items: center; }
.auth-card h1 { font-size: 28px; font-weight: 850; letter-spacing: -.8px; }
.auth-card .head p { margin-top: 6px; font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.field .input-wrap { position: relative; }
.field input {
  width: 100%; padding: 13px 14px; border: 1px solid #d4e1f2; border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px #075bd71f; }
.field .input-wrap input { padding-right: 48px; }
.toggle-pw { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: transparent; color: var(--soft); border-radius: 9px; display: grid; place-items: center; }
.toggle-pw:hover { background: var(--light); color: var(--blue); }
.auth-error { display: none; align-items: center; gap: 9px; background: var(--high-bg); color: var(--high); border-radius: 12px; padding: 11px 13px; font-size: 13.5px; font-weight: 700; margin-bottom: 16px; }
.auth-error.show { display: flex; }
.auth-card.shake { animation: shake .4s; }
@keyframes shake { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }
.auth-meta { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; gap: 11px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.auth-meta .ic { color: var(--blue); margin-top: 1px; }
.auth-foot { text-align: center; font-size: 12px; color: #8a9bb2; padding: 0 0 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .mock-wrap { max-width: 560px; margin: 0 auto; width: 100%; }
  .float-card { left: auto; right: -12px; bottom: 36px; }
  .process { grid-template-columns: 1fr; gap: 48px; }
  .side-stack { position: static; }
  .criteria { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .nav, .header-actions .btn { display: none; }
  .burger { display: grid; }
  .mobile-nav { display: block; overflow: hidden; max-height: 0; transition: max-height .3s ease; border-top: 1px solid transparent; }
  .mobile-nav.open { max-height: 420px; border-top-color: var(--line); }
  .mobile-nav nav { display: flex; flex-direction: column; gap: 2px; padding: 12px 0 18px; }
  .mobile-nav a:not(.btn) { padding: 12px 12px; border-radius: 12px; font-weight: 750; color: #536783; }
  .mobile-nav a:not(.btn):hover { background: var(--light); color: var(--blue); }
  .mobile-nav .btn { margin-top: 10px; }
  .brand { font-size: 21px; }
  .brand svg { width: 38px; height: 38px; }
  .stats, .features { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .steps::before { display: none; }
  .cta-box { grid-template-columns: 1fr; padding: 40px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
}
@media (max-width: 620px) {
  .shell { padding: 0 16px; }
  body { font-size: 15px; }
  .brand small { display: none; }
  .hero { padding: 44px 0 72px; }
  .hero-cta .btn { width: 100%; }
  .lead { font-size: 16px; }
  .stats, .features, .steps, .crit-list { grid-template-columns: 1fr; }
  .step .badge { margin-top: 0; }
  .callout { flex-direction: column; padding: 22px; }
  .card { padding: 20px; }
  .mock { padding: 15px; }
  .mock-kpi .n { font-size: 20px; }
  .mock-row .prog em { min-width: 0; }
  .float-card { position: relative; right: auto; bottom: auto; left: auto; margin: -14px 12px 0; max-width: none; animation: none; }
  .mock-caption { margin-top: 16px; }
  .cta-box { padding: 30px 22px; border-radius: 22px; }
  .cta-actions .btn { width: 100%; }
  .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta { padding-bottom: 64px; }
  .auth-card { padding: 26px 20px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Rechtstexte (Impressum, Datenschutz) */
.legal-main { flex: 1; padding: 16px 0 64px; }
.legal-card { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); padding: 40px; }
.legal-card h1 { font-size: 32px; font-weight: 850; letter-spacing: -.8px; margin: 0 0 6px; color: var(--ink); }
.legal-card h2 { font-size: 19px; font-weight: 800; margin: 32px 0 8px; color: var(--ink); }
.legal-card h3 { font-size: 16px; font-weight: 750; margin: 20px 0 6px; color: var(--ink); }
.legal-card p, .legal-card li { color: var(--text); font-size: 15.5px; }
.legal-card ul { padding-left: 20px; }
.legal-card a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.legal-card .lead { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.legal-card address { font-style: normal; color: var(--text); }
.legal-links { display: inline-flex; gap: 14px; }
.legal-links a { color: inherit; }
.legal-links a:hover { color: var(--blue); }
@media (max-width: 640px) { .legal-card { padding: 26px 20px; border-radius: 20px; } .legal-card h1 { font-size: 26px; } }
