/* Umgangszeit – Landingpage
   Statisch, kein Build. Maße folgen dem Design-Export (Claude Design, 05.09.2026). */

/* ---------- Schrift ---------- */
/* Manrope ist eine variable Schrift: eine Datei deckt 400 und 500 ab. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben und Maße ---------- */
:root {
  --indigo: #4A4F8C;
  --indigo-dark: #3E4277;
  --ink: #23264A;
  --ink-soft: #5C5F75;
  --amber: #E0A33A;
  --amber-ink: #633806;
  --amber-soft: #F7E6C6;
  --bg: #F6F4F0;
  --card: #FFFFFF;
  --line: #E4E1DA;
  --line-strong: #D9D6CF;
  --green: #256B43;
  --green-soft: #E3F1E8;
  --red: #B3402F;
  --red-soft: #F8E4E0;
  --indigo-soft: #ECEDF6;
  --phone-shell: #1E2140;

  --pad-x: clamp(24px, 5.6vw, 72px);
  --sec-y: clamp(56px, 7vw, 96px);
  --focus: 0 0 0 4px rgba(224, 163, 58, .75);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { margin: 0; font-weight: 500; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }

a { color: var(--indigo); }
a:hover { color: var(--indigo-dark); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

img { display: block; max-width: 100%; }

.wrap { padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* Buttons */
.btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  padding: 16px 28px;
  border-radius: 12px;
  transition: background .2s, color .2s, box-shadow .2s;
}
.btn-primary { background: var(--indigo); color: #fff; }
.btn-primary:hover { background: var(--indigo-dark); color: #fff; }
.btn-primary:focus-visible { outline: none; box-shadow: var(--focus); }

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
  padding: 14px 28px;
}
.btn-outline:hover { background: #fff; color: var(--indigo); }
.btn-outline:focus-visible { outline: none; box-shadow: var(--focus); }

/* ---------- Header ---------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(20px, 2.2vw, 28px) var(--pad-x);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--indigo);
  text-decoration: none;
}
.brand-mark {
  width: 12px;
  height: 12px;
  background: var(--indigo);
  border-radius: 3px;
  display: block;
}
.nav-link {
  font-size: 15px;
  color: var(--indigo);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s;
}
.nav-link:hover { background: #ECEAE4; }
.nav-link:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(224, 163, 58, .75); }

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(16px, 2.8vw, 36px) var(--pad-x) 0;
}
.hero h1 {
  max-width: 880px;
  font-size: clamp(26px, 4vw, 51px);
  line-height: 1.1;
  letter-spacing: -.02em;
}
.hero-sub {
  margin-top: clamp(20px, 2.5vw, 32px);
  max-width: 640px;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
}
.hero-cta {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 400px;
}
.hero-cta .btn { width: 100%; max-width: 280px; }
.hero-note { font-size: 15px; color: var(--ink-soft); }

.hero-phone {
  margin-top: clamp(40px, 4.5vw, 64px);
  width: 300px;
  max-width: 100%;
  height: 318px;
  overflow: hidden;
  border-radius: 44px 44px 0 0;
}

/* ---------- Kennst du das? + Illustration ---------- */
.kennst {
  padding: var(--sec-y) 0 clamp(32px, 4vw, 56px);
}
.kennst-text {
  position: relative;
  z-index: 1;
  max-width: calc(560px + 2 * var(--pad-x));
  margin: 0 auto;
  padding: 0 var(--pad-x);
  text-align: center;
}
.kennst h2 {
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: -.015em;
}
.kennst p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
  margin-top: 16px;
}
.kennst h2 + p { margin-top: 24px; }
.kennst .bridge { margin-top: 40px; color: var(--ink-soft); }

.illu {
  position: relative;
  margin: clamp(-76px, -16px - 4.2vw, -40px) 0 0;
  height: clamp(160px, 20vw, 320px);
  overflow: hidden;
}
.illu img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  object-position: center 55%;
}
.illu::before,
.illu::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
}
.illu::before {
  top: 0;
  height: 18%;
  background: linear-gradient(to bottom, var(--bg), rgba(246, 244, 240, 0));
}
.illu::after {
  bottom: 0;
  height: 40%;
  background: linear-gradient(to top, var(--bg) 20%, rgba(246, 244, 240, 0));
}

/* ---------- Nutzenpunkte ---------- */
.nutzen {
  padding: 0 var(--pad-x) var(--sec-y);
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  align-items: start;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 32px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card h2 { font-size: 22px; letter-spacing: -.01em; }
.card p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.card-phone {
  margin-top: auto;
  padding-top: 14px;
  align-self: center;
  width: 240px;
  height: 300px;
  overflow: hidden;
  border-radius: 35px 35px 0 0;
}
.card-phone .phone {
  transform: scale(.8);
  transform-origin: top left;
}

/* ---------- Vertrauensblock ---------- */
.vertrauen {
  background: var(--indigo);
  color: #fff;
  padding: var(--sec-y) var(--pad-x);
}
.vertrauen-inner {
  max-width: 1136px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.vertrauen h2 {
  color: #fff;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.vertrauen ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
}
.vertrauen li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.vertrauen li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 9px;
  background: var(--amber);
  border-radius: 50%;
}
.vertrauen .btn { align-self: flex-start; margin-top: 8px; }
.vertrauen-body { display: flex; flex-direction: column; gap: 24px; }

/* ---------- Wer baut das ---------- */
.wer { padding: var(--sec-y) var(--pad-x); }
.wer-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.wer-photo {
  flex: none;
  width: 220px;
  height: 250px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  overflow: hidden;
}
.wer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.wer-text { flex: 1; min-width: 260px; }
.wer h2 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.wer p {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.6;
}

/* ---------- FAQ ---------- */
.faq { padding: 0 var(--pad-x) var(--sec-y); }
.faq-inner { max-width: 720px; margin: 0 auto; }
.faq h2 {
  margin-bottom: 24px;
  font-size: clamp(26px, 2.6vw, 32px);
  letter-spacing: -.015em;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary:hover { background: #FAF9F6; }
.faq summary:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px rgba(224, 163, 58, .75);
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  color: var(--indigo);
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  padding: 0 24px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Formularkarte ---------- */
.formular { padding: 0 var(--pad-x) var(--sec-y); }
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(28px, 3.5vw, 40px);
}
.form-card h2 { font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -.015em; }
.form-card .intro {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.form-embed { margin-top: 20px; }
.form-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- Fußzeile ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page { padding: clamp(24px, 3vw, 48px) var(--pad-x) var(--sec-y); }
.page-inner { max-width: 720px; margin: 0 auto; }
.page h1 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.page h2 {
  margin-top: 40px;
  font-size: clamp(20px, 1.8vw, 24px);
  letter-spacing: -.01em;
}
.page p, .page li { margin-top: 12px; font-size: 17px; line-height: 1.6; }
.page ul { margin: 0; padding-left: 22px; }
.page .placeholder {
  color: var(--amber-ink);
  background: var(--amber-soft);
  border-radius: 6px;
  padding: 1px 6px;
}
.page .note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- Handy-Mockup (nur HTML/CSS) ---------- */
.phone {
  width: 300px;
  height: 620px;
  background: var(--phone-shell);
  border-radius: 44px;
  padding: 10px;
  box-shadow: 0 30px 60px -24px rgba(30, 33, 64, .4);
  color: var(--ink);
  text-align: left;
  font-weight: 400;
}
.screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 14px 20px 0;
  line-height: 1.3;
}
.statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  flex: none;
}
.statusbar-icons { display: flex; gap: 4px; align-items: center; }
.statusbar-icons .bat {
  width: 14px;
  height: 8px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  display: block;
}
.statusbar-icons .dot {
  width: 6px;
  height: 6px;
  background: var(--ink);
  border-radius: 50%;
  display: block;
}

.s-head {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber-soft);
  object-fit: cover;
  flex: none;
}
.kid-name {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--indigo);
}
.count-badge {
  margin-left: auto;
  background: var(--amber-soft);
  border-radius: 12px;
  padding: 8px 12px;
  text-align: center;
  color: var(--amber-ink);
}
.count-badge b { display: block; font-size: 20px; line-height: 1; font-weight: 500; }
.count-badge small { display: block; font-size: 10px; margin-top: 3px; }

.s-title {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.s-title small { font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.s-sub { margin-top: 4px; font-size: 12px; color: var(--ink-soft); }

.next {
  margin-top: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.next .label { font-size: 12px; color: var(--ink-soft); }
.next .big {
  margin-top: 6px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -.02em;
}
.next .when { margin-top: 8px; font-size: 12px; line-height: 1.5; }

.kpis {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
}
.kpi {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
}
.kpi .label { font-size: 10px; color: var(--ink-soft); }
.kpi b { display: block; font-size: 13px; font-weight: 500; margin-top: 3px; }

.list-label { margin-top: 16px; font-size: 12px; color: var(--ink-soft); }
.rows { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.s-title + .rows, .s-sub + .rows { margin-top: 14px; }
.row {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.row .d { font-size: 12px; font-weight: 500; }
.row .m { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.tag {
  flex: none;
  font-size: 11px;
  font-weight: 500;
  border-radius: 6px;
  padding: 3px 7px;
}
.tag-ok { color: var(--green); background: var(--green-soft); }
.tag-no { color: var(--red); background: var(--red-soft); }
.tag-plan { color: var(--indigo); background: var(--indigo-soft); }

.thumb {
  flex: none;
  display: block;
  width: 36px;
  height: 44px;
  background: var(--bg);
  border-radius: 6px;
}
.row-beleg { justify-content: flex-start; }
.row-beleg .grow { flex: 1; }

.confirm {
  background: var(--card);
  border: 1.5px solid var(--amber);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.confirm-top { display: flex; gap: 12px; align-items: center; }
.confirm .thumb { width: 48px; height: 60px; border: 1px solid var(--line); }
.confirm .d { font-size: 14px; font-weight: 500; }
.confirm .q { font-size: 12px; color: var(--amber-ink); margin-top: 4px; font-weight: 500; }
.confirm .m { font-size: 11px; color: var(--ink-soft); margin-top: 2px; }
.confirm-actions { display: flex; gap: 8px; }
.confirm-actions span {
  flex: 1;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
}
.confirm-actions .yes { background: var(--indigo); color: #fff; }
.confirm-actions .alt { border: 1px solid var(--line-strong); color: var(--ink); }

.memo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
}
.memo .d { font-size: 11px; color: var(--ink-soft); }
.memo p { font-size: 13px; line-height: 1.5; margin-top: 6px; }
.memos { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }

.spacer { flex: 1; }

.s-btn {
  background: var(--indigo);
  color: #fff;
  border-radius: 12px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.tabbar {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  margin: 14px -20px 0;
  padding: 10px 24px 22px;
  font-size: 10px;
  color: var(--ink-soft);
}
.screen-start .tabbar { margin-top: 0; }
.tabbar .on { color: var(--indigo); font-weight: 500; }

/* ---------- Mobil ---------- */
@media (max-width: 719px) {
  .wer-inner { display: block; }
  .wer-photo {
    float: left;
    width: 104px;
    height: 120px;
    margin: 4px 16px 4px 0;
    border-radius: 12px;
  }
  .wer-text { min-width: 0; }
  .wer-text::after { content: ""; display: block; clear: both; }
  .illu {
    margin-top: 24px;
    height: 160px;
  }
  .illu img { max-height: 160px; }
  .kennst .bridge { margin-top: 32px; }
  .vertrauen .btn { align-self: flex-start; }
}

@media (min-width: 720px) {
  .hero h1 { white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- Rechtstexte ---------- */
.legal h3 { margin-top: 24px; font-size: 18px; }
.legal ul.index { padding-left: 0; list-style: none; columns: 2; column-gap: 32px; }
.legal ul.index li { margin-top: 6px; font-size: 16px; break-inside: avoid; }
.legal ul.index a { text-decoration: none; }
.legal ul.index a:hover { text-decoration: underline; }
.legal .m-elements li, .legal .glossary li { margin-top: 10px; font-size: 16px; }
.legal .seal { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
@media (max-width: 719px) { .legal ul.index { columns: 1; } }
