/* Alltagshilfe OS, Produktseite. Keine externen Ressourcen. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B1220;
  --ink-soft: #111827;
  --blue: #2662D9;
  --blue-hover: #1F51B5;
  --blue-tint: #EEF3FD;
  --line: #E5E7EB;
  --surface: #F6F7F9;
  --white: #FFFFFF;
  --navy-1: #1E3F86;
  --navy-2: #0E1B3A;
  --navy-3: #0A1430;
  --green: #16A34A;
  --brand: radial-gradient(120% 90% at 0% 0%, var(--navy-1) 0%, var(--navy-2) 55%, var(--navy-3) 100%);
  --radius: 9px;
  --wrap: 1200px;
  --gutter: 32px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-soft);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: var(--blue); text-decoration: none; font-weight: 600; }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { margin: 0; color: inherit; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 16px; z-index: 10; background: var(--white); padding: 8px 12px; border-radius: var(--radius); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: var(--radius); border: 1px solid var(--blue);
  background: var(--blue); color: var(--white);
  font: 600 15px/1 "Inter", system-ui, sans-serif; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(38, 98, 217, .35);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--blue-hover); border-color: var(--blue-hover); color: var(--white); }
.btn:focus-visible, a:focus-visible { outline: 3px solid rgba(38, 98, 217, .45); outline-offset: 2px; }
.btn svg { flex: 0 0 auto; }
.btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .38); color: var(--white); box-shadow: none; }
.btn-ghost-dark:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .6); }
.btn-outline { background: var(--white); border-color: #D1D5DB; color: var(--ink-soft); box-shadow: none; }
.btn-outline:hover { background: var(--surface); border-color: #9CA3AF; color: var(--ink-soft); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }

/* Header */
.site-header { position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; font-weight: 700; font-size: 18px; letter-spacing: -.01em; }
.brand:hover { color: inherit; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a.link { color: inherit; font-weight: 500; font-size: 15px; }
.nav a.link:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

/* Hero */
.hero { background: var(--brand); color: var(--white); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 96px;
}
.hero h1 { font-size: 60px; line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.hero .lead { margin-top: 24px; font-size: 20px; line-height: 1.5; max-width: 30em; color: var(--white); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero .basis { margin-top: 28px; font-size: 15px; color: var(--white); display: flex; align-items: center; gap: 10px; }
.hero .basis svg { opacity: .9; }

/* Mockup-Bühne: alles in em, 1em = 1/60 der Bühnenbreite */
.stage { container-type: inline-size; width: 100%; }
.comp { position: relative; font-size: calc(100cqw / 60); width: 60em; height: 43em; }

.browser {
  position: absolute; left: 0; top: 0; width: 52em; height: 36em;
  background: var(--white); border-radius: 1.2em; overflow: hidden;
  box-shadow: 0 3em 8em rgba(0, 0, 0, .45), 0 0 0 .1em rgba(255, 255, 255, .08);
  color: var(--ink-soft); display: flex; flex-direction: column;
}
.browser-bar { height: 3.2em; flex: 0 0 auto; display: flex; align-items: center; gap: .6em; padding: 0 1.4em; background: #F1F3F6; border-bottom: .1em solid var(--line); }
.browser-bar i { width: .9em; height: .9em; border-radius: 50%; background: #D5D9E0; }
.browser-bar .url { margin-left: 1.4em; height: 1.8em; flex: 0 1 18em; border-radius: .5em; background: var(--white); border: .1em solid var(--line); }
.app { flex: 1; display: flex; min-height: 0; }
.app-side { width: 10.5em; flex: 0 0 auto; border-right: .1em solid var(--line); padding: 1.4em 1em; display: flex; flex-direction: column; gap: .35em; }
.app-side .logo { display: flex; align-items: center; gap: .5em; white-space: nowrap; font-weight: 700; font-size: 1.05em; margin: 0 .4em 1.1em; }
.app-side .logo svg { width: 1.8em; height: 1.8em; }
.app-side span { display: block; font-size: 1.05em; font-weight: 500; padding: .5em .7em; border-radius: .5em; }
.app-side span.on { background: var(--blue-tint); color: var(--blue); font-weight: 600; }
.app-main { flex: 1; padding: 1.6em 9.2em 1.6em 1.6em; display: flex; flex-direction: column; gap: 1.2em; min-width: 0; }
.app-head { display: flex; align-items: center; justify-content: space-between; }
.app-head b { font-size: 1.6em; font-weight: 700; letter-spacing: -.02em; }
.app-head em { font-style: normal; font-size: 1em; font-weight: 600; color: var(--white); background: var(--blue); border-radius: .5em; padding: .5em .9em; }
.chart { height: 7.2em; border: .1em solid var(--line); border-radius: .8em; padding: 1em 1.2em .8em; display: flex; align-items: flex-end; gap: .7em; }
.chart i { flex: 1; border-radius: .3em .3em 0 0; background: #C9D8F6; }
.chart i.hi { background: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9em; }
.kpis div { border: .1em solid var(--line); border-radius: .8em; padding: .8em; text-align: center; }
.kpis small { display: block; font-size: .95em; font-weight: 500; }
.kpis strong { display: block; font-size: 1.7em; font-weight: 700; letter-spacing: -.02em; margin-top: .1em; }
.table { border: .1em solid var(--line); border-radius: .8em; overflow: hidden; }
.table div { display: grid; grid-template-columns: 3.6em 1fr 1fr; align-items: center; gap: .7em; padding: 0 1em; height: 2.9em; font-size: .95em; white-space: nowrap; border-top: .1em solid var(--line); }
.table div:first-child { border-top: 0; background: var(--surface); font-weight: 600; height: 2.6em; }

.phone {
  position: absolute; width: 17.5em; height: 35.5em;
  background: var(--ink); border-radius: 3em; padding: .7em;
  box-shadow: 0 3em 7em rgba(0, 0, 0, .5), inset 0 0 0 .15em #2B3546;
}
.comp .phone { right: 0; bottom: 0; width: 16.5em; height: 33.5em; }
.phone-screen { position: relative; height: 100%; border-radius: 2.4em; overflow: hidden; background: var(--surface); color: var(--ink-soft); display: flex; flex-direction: column; }
.phone-screen::before { content: ""; position: absolute; top: .8em; left: 50%; width: 5.6em; height: 1.6em; margin-left: -2.8em; border-radius: 1em; background: var(--ink); z-index: 1; }
.phone-top { background: var(--blue); color: var(--white); padding: 3.2em 1.4em 1.1em; }
.phone-top small { display: block; font-size: .95em; font-weight: 500; }
.phone-top b { display: block; font-size: 1.7em; font-weight: 700; letter-spacing: -.02em; }
.phone-list { padding: 1em; display: flex; flex-direction: column; gap: .7em; line-height: 1.35; }
.visit { background: var(--white); border-radius: 1.1em; padding: .85em 1em; box-shadow: 0 .1em .2em rgba(0, 0, 0, .06); }
.visit .t { font-size: 1em; font-weight: 600; }
.visit .n { font-size: 1.2em; font-weight: 700; margin-top: .15em; }
.visit.next { box-shadow: 0 0 0 .2em var(--blue); }
.visit .go { margin-top: .8em; height: 2.6em; border-radius: .6em; background: var(--blue); color: var(--white); font-size: 1em; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.visit.done { display: flex; align-items: center; justify-content: space-between; }
.visit.done .ck { width: 1.9em; height: 1.9em; border-radius: 50%; background: #DCFCE7; color: var(--green); display: flex; align-items: center; justify-content: center; }
.visit.done .ck svg { width: 1.1em; height: 1.1em; }
.phone-tabs { margin-top: auto; height: 4.4em; background: var(--white); border-top: .1em solid var(--line); display: flex; justify-content: space-around; align-items: center; padding-bottom: .6em; }
.phone-tabs i { width: 1.7em; height: 1.7em; border-radius: .5em; background: #D5D9E0; }
.phone-tabs i.on { background: var(--blue); }


.ic {
  width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}

/* Abschnitte */
.section { padding: 112px 0; }
.section-head { max-width: 760px; }
.section-head h2 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.section-head p { margin-top: 16px; font-size: 19px; }

.features { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; }
.feature h3 { margin-top: 20px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin-top: 6px; font-size: 16px; }

/* Split mit Telefon */
.split { background: var(--surface); }
.split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.checks { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.checks li { display: flex; gap: 14px; align-items: center; font-size: 18px; font-weight: 600; }
.checks .dot { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; }
.solo { container-type: inline-size; width: 100%; max-width: 320px; justify-self: center; }
.solo .phone { position: relative; font-size: calc(100cqw / 17.5); box-shadow: 0 2em 4em rgba(11, 18, 32, .18), inset 0 0 0 .15em #2B3546; }
.sign { min-height: 0; padding: 1em 1.1em 1.4em; display: flex; flex-direction: column; gap: .75em; flex: 1; }
.solo .phone-top { padding-top: 3.4em; }
.solo .phone-top b { font-size: 1.45em; }
.sign .card { background: var(--white); border-radius: 1.1em; padding: 1em 1.1em; box-shadow: 0 .1em .2em rgba(0, 0, 0, .06); }
.sign .row { display: flex; justify-content: space-between; gap: 1em; font-size: 1em; padding: .25em 0; white-space: nowrap; }
.sign .row b { font-weight: 600; }
.sign .pad { position: relative; height: 6.4em; background: var(--white); border-radius: 1.1em; box-shadow: 0 .1em .2em rgba(0, 0, 0, .06); }
.sign .pad svg { position: absolute; left: 1.2em; right: 1.2em; top: 1.1em; width: calc(100% - 2.4em); height: 4.2em; }
.sign .pad::after { content: ""; position: absolute; left: 1.2em; right: 1.2em; bottom: 1.4em; border-top: .1em dashed #9CA3AF; }
.sign .label { font-size: .95em; font-weight: 600; }
.sign .go { margin-top: auto; flex: 0 0 auto; height: 2.8em; border-radius: .7em; background: var(--blue); color: var(--white); font-size: 1em; font-weight: 600; display: flex; align-items: center; justify-content: center; }

/* Schritte */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: s; }
.steps li { position: relative; padding-top: 64px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 10px;
  background: var(--blue); color: var(--white); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 60px; right: -24px; border-top: 2px solid var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.steps p { margin-top: 8px; font-size: 16px; }


/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 32px; padding-bottom: 32px; font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.site-footer nav a { color: var(--ink-soft); font-weight: 500; }
.site-footer nav a:hover { color: var(--blue); }
.site-footer .brand { font-size: 16px; }

/* Beta-Schild (nicht klickbar) */
.brand-row { display: flex; align-items: center; gap: 12px; }
.beta {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px;
  border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--blue-tint); color: var(--blue); border: 1px solid #C9D8F6; user-select: none;
}
.beta-dark { background: rgba(255, 255, 255, .1); color: var(--white); border-color: rgba(255, 255, 255, .3); }
.beta-lg { height: 28px; padding: 0 11px; font-size: 13px; margin-bottom: 22px; }

/* Demnächst */
.section-tight { padding-top: 0; }
.soon { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.soon li { border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.soon h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; flex: 1; }
.ic-soft { background: var(--surface); color: var(--ink-soft); }
.soon-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* Warteliste */
.waitlist { background: var(--brand); color: var(--white); scroll-margin-top: 0; }
.waitlist-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; padding-top: 104px; padding-bottom: 104px; }
.waitlist-intro h2 { margin-top: 20px; font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.waitlist-intro p { margin-top: 16px; font-size: 19px; max-width: 26em; }
.form-card { background: var(--white); color: var(--ink-soft); border-radius: 16px; padding: 36px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.f { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; }
.f-wide { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%; height: 42px; border: 1px solid #D1D5DB; border-radius: var(--radius); padding: 0 13px;
  font: 400 16px "Inter", system-ui, sans-serif; color: var(--ink-soft); background: var(--white);
}
.f select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.f textarea { height: auto; min-height: 96px; padding: 10px 13px; line-height: 1.5; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(38, 98, 217, .16); }
form.geprueft :invalid { border-color: #DC2626; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.haken { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: 15px; line-height: 1.5; font-weight: 400; }
.haken input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); flex: 0 0 auto; }
form.geprueft .haken input:invalid { outline: 2px solid #DC2626; outline-offset: 1px; }
.form-msg { margin-top: 18px; padding: 12px 14px; border-radius: var(--radius); background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; font-size: 15px; font-weight: 600; }
#warteliste-form .btn { margin-top: 24px; }
.btn:disabled { opacity: .7; cursor: default; }
.form-done { display: flex; align-items: center; gap: 16px; min-height: 120px; }
.form-done[hidden], form[hidden], .form-msg[hidden] { display: none; }
.form-done p { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.done-ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 50%; background: #DCFCE7; color: var(--green); display: flex; align-items: center; justify-content: center; }

/* Rechtstexte */
.legal-header { border-bottom: 1px solid var(--line); }
.legal { padding: 72px 0 112px; }
.legal .doc { max-width: 760px; }
.legal h1 { font-size: 44px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.legal h2 { margin-top: 48px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.legal h3 { margin-top: 24px; font-size: 18px; font-weight: 700; }
.legal p, .legal li { font-size: 17px; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal address { font-style: normal; margin-top: 12px; }
.legal .stand { margin-top: 56px; font-size: 15px; }

/* Responsiv */
@media (max-width: 1200px) {
  .hero h1 { font-size: 52px; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 980px) {
  :root { --gutter: 24px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 72px; gap: 56px; }
  .hero h1 { font-size: 48px; }
  .nav a.link { display: none; }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-grid { grid-template-columns: 1fr; gap: 48px; }
  .soon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .waitlist-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 80px; padding-bottom: 80px; }
  .section { padding: 88px 0; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header .wrap { height: 64px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand svg { width: 30px; height: 30px; }
  .nav-actions .btn-primary-head { display: none; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 18px; margin-top: 18px; }
  .hero .actions { margin-top: 28px; }
  .hero-grid { gap: 44px; padding-bottom: 56px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 32px; }
  .section-head p { font-size: 17px; }
  .features { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .feature { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .feature .ic { grid-row: span 2; }
  .feature h3 { margin-top: 0; font-size: 18px; }
  .feature p { margin-top: 2px; }
  .checks li { font-size: 17px; }
  .solo { max-width: 280px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .steps li { padding-top: 0; padding-left: 64px; min-height: 44px; }
  .steps li::after { display: none; }
  .soon { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .soon li { flex-direction: row; align-items: center; padding: 16px; }
  .waitlist-grid { padding-top: 64px; padding-bottom: 64px; }
  .waitlist-intro h2 { font-size: 32px; }
  .waitlist-intro p { font-size: 17px; }
  .form-card { padding: 22px 18px; }
  .fields { grid-template-columns: 1fr; }
  .beta-head-hide { display: none; }
  .legal { padding: 48px 0 72px; }
  .legal h1 { font-size: 34px; }
  .legal h2 { font-size: 20px; margin-top: 40px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
