/* NotizenKidZ – Webseite. Keine Web-Fonts, keine Skripte, keine Anfragen an fremde Server. */
:root {
  color-scheme: light dark;
  --bg: #fffaf2;
  --surface: #ffffff;
  --surface-2: #fff1dc;
  --ink: #1b2a4a;
  --ink-2: #55607a;
  --line: #f0e2cc;
  --blue: #1e63d6;
  --blue-strong: #164fb0;
  --red: #e53935;
  --yellow: #fbc02d;
  --green: #43a047;
  --orange: #fb8c00;
  --purple: #8e24aa;
  --accent-soft: #e3edfc;
  --shadow: 0 1px 2px rgba(27, 42, 74, .06), 0 14px 36px rgba(27, 42, 74, .10);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10141c;
    --surface: #171c26;
    --surface-2: #1d2430;
    --ink: #eef1f6;
    --ink-2: #a3acbd;
    --line: #283142;
    --blue: #6ea2ff;
    --blue-strong: #8db6ff;
    --accent-soft: #19274a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-strong); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Kopfzeile */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; letter-spacing: -.01em; font-size: 18px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--ink-2); text-decoration: none; }
.nav a:hover { color: var(--ink); }
.nav .lang { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; font-size: 13px; font-weight: 650; letter-spacing: .04em; }
@media (max-width: 640px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 64px 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 650; letter-spacing: .02em;
  color: var(--blue-strong); background: var(--accent-soft);
  padding: 5px 12px; border-radius: 999px;
}
.hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.03; letter-spacing: -.035em; margin: 20px 0 18px; font-weight: 800; }
.hero h1 .c1 { color: var(--blue); } .hero h1 .c2 { color: var(--red); } .hero h1 .c3 { color: var(--green); }
.lead { font-size: clamp(18px, 2.1vw, 21px); color: var(--ink-2); max-width: 36rem; margin: 0; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 30px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  font-weight: 650; font-size: 16px; padding: 12px 20px; border-radius: 14px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button svg { width: 20px; height: 20px; }
.button small { display: block; font-size: 11px; font-weight: 500; opacity: .75; line-height: 1; margin-bottom: 2px; }
.button span { line-height: 1.1; }
.price-note { display: block; width: 100%; color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.price-note strong { color: var(--ink); }

/* Handy-Rahmen für Screenshots */
.phone {
  position: relative; z-index: 1;
  width: min(330px, 80vw); margin-inline: auto;
  background: #0d0f14; padding: 11px; border-radius: 52px;
  box-shadow: var(--shadow), 0 50px 120px -40px color-mix(in srgb, var(--blue) 55%, transparent);
}
.phone img { border-radius: 42px; width: 100%; }
.hero-shots { position: relative; display: flex; justify-content: center; }
.hero-shots .binders {
  position: absolute; top: 14%; left: calc(50% + 118px); display: grid; gap: 10px; z-index: 0;
}
.binders i { display: block; width: 54px; height: 72px; border-radius: 6px 14px 14px 6px; box-shadow: inset 9px 0 rgba(0,0,0,.18); transform: rotate(8deg); }

.tablet { max-width: 760px; margin-inline: auto; background: #0d0f14; padding: 14px; border-radius: 34px; box-shadow: var(--shadow); }
.tablet img { border-radius: 22px; }

/* Abschnitte */
section { padding: 88px 0 0; }
.section-head { max-width: 44rem; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -.025em; margin: 0 0 12px; font-weight: 780; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 19px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 750; font-size: 17px; margin-bottom: 16px;
}
.step:nth-child(2)::before { background: var(--red); }
.step:nth-child(3)::before { background: var(--green); }
.step h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--ink-2); font-size: 16px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; border-top: 5px solid var(--c, var(--blue)); }
.feature svg { width: 30px; height: 30px; color: var(--c, var(--blue)); margin-bottom: 14px; }
.feature h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15.5px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.split.reverse > :first-child { order: 2; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checks li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.checks b { color: var(--ink); }

.privacy {
  margin-top: 88px; padding: 56px; border-radius: 28px; color: #fff;
  background: linear-gradient(135deg, #1e63d6 0%, #3f51b5 55%, #8e24aa 100%);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.privacy h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 12px; }
.privacy p { margin: 0; opacity: .92; font-size: 18px; }
.privacy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.privacy li::before { content: ""; width: 22px; height: 22px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.privacy a { color: #fff; }

.pricing { text-align: center; }
.pricing .section-head { margin-inline: auto; }
.price-card {
  display: inline-block; text-align: left; margin-top: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 34px 38px; box-shadow: var(--shadow); max-width: 440px; width: 100%;
}
.price-card .amount { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-card .amount small { font-size: 18px; font-weight: 550; color: var(--ink-2); letter-spacing: 0; margin-left: 6px; }
.price-card ul { padding-left: 1.1em; color: var(--ink-2); margin: 20px 0 26px; }
.price-card li { margin: 6px 0; }
.price-card .cta { margin-top: 0; }
.price-card .button { flex: 1 1 180px; justify-content: center; }

.faq { max-width: 46rem; }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 400; font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

.site-footer { margin-top: 100px; padding: 36px 0 48px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-left: auto; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-shots .binders { display: none; }
  .steps, .features { grid-template-columns: 1fr 1fr; }
  .split, .privacy { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .privacy { padding: 36px 26px; }
}
@media (max-width: 600px) {
  .steps, .features { grid-template-columns: 1fr; }
  section { padding-top: 64px; }
}
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

/* Rechtstexte und Hilfe */
.doc { max-width: 46rem; margin: 0 auto; padding: 32px 0 40px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -.02em; margin: 0 0 4px; }
.doc h2 { font-size: 22px; margin-top: 2.4em; letter-spacing: -.01em; }
.doc h3 { font-size: 18px; margin-top: 1.8em; }
.doc .stand { color: var(--ink-2); font-size: 15px; margin-top: 0; }
.doc .box { background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--blue) 25%, transparent); border-radius: 14px; padding: 4px 20px; }
.doc table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-size: 16px; }
.doc th, .doc td { border: 1px solid var(--line); padding: .55rem .7rem; text-align: left; vertical-align: top; hyphens: auto; -webkit-hyphens: auto; }
.doc th { font-weight: 650; background: var(--surface-2); }
.doc li { margin: .35rem 0; }
.doc code { overflow-wrap: anywhere; font-size: .92em; }
.doc .toc { columns: 2; gap: 24px; padding-left: 1.1em; }
@media (max-width: 600px) { .doc .toc { columns: 1; } .doc th, .doc td { padding: .4rem; font-size: 15px; } }
.doc [id], section[id] { scroll-margin-top: 80px; }
