/* BabySteps – Webseite (Datenschutz, Nutzungsbedingungen, Support) */
:root {
  --bg: #fafcff;
  --card: #ffffff;
  --navy: #1e3553;
  --text: #32475f;
  --muted: #6f7f95;
  --line: #e3e8ef;
  --blue: #4ba7e4;
  --blue-soft: #eef7fe;
  --pink: #ee6098;
  --pink-soft: #fdf0f5;
  --radius: 16px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

a { color: #1f7fc0; text-underline-offset: 2px; }
a:hover { color: var(--pink); }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
header.top {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
.brand img { height: 34px; width: auto; display: block; }
.lang a {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--navy);
}
.lang a:hover { border-color: var(--blue); }

nav.pages {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
nav.pages .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14.5px;
}
nav.pages a { text-decoration: none; color: var(--muted); }
nav.pages a.active { color: var(--navy); font-weight: 600; }
nav.pages a:hover { color: var(--pink); }

/* Inhalt */
main { padding: 28px 0 48px; }

h1 {
  color: var(--navy);
  font-size: 30px;
  line-height: 1.25;
  margin: 0 0 6px;
  font-weight: 650;
}
.stand { color: var(--muted); font-size: 14px; margin: 0 0 24px; }

h2 {
  color: var(--navy);
  font-size: 21px;
  margin: 36px 0 10px;
  padding-top: 8px;
  font-weight: 620;
  scroll-margin-top: 80px;
}
h3 {
  color: var(--navy);
  font-size: 17px;
  margin: 22px 0 6px;
  font-weight: 600;
}
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin: 4px 0; }

.box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
}
.box.blue { background: var(--blue-soft); border-color: #d5eafa; }
.box.pink { background: var(--pink-soft); border-color: #f8d6e4; }
.box > :last-child { margin-bottom: 0; }

.toc ol { columns: 2; column-gap: 28px; margin: 0; }
.toc li { break-inside: avoid; }
.toc a { text-decoration: none; }

table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 15px;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th { background: #f3f7fb; color: var(--navy); font-weight: 600; }
tr:last-child td { border-bottom: 0; }
.tablewrap { overflow-x: auto; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 20px 0;
}
.cards a {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  text-decoration: none;
  color: var(--text);
}
.cards a:hover { border-color: var(--blue); }
.cards strong { display: block; color: var(--navy); margin-bottom: 2px; }
.cards span { font-size: 14.5px; color: var(--muted); }

.hero { text-align: center; padding: 18px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.hero p { max-width: 560px; margin: 10px auto 0; }

.steps li { margin: 8px 0; }

footer {
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}
footer .wrap { padding-top: 18px; padding-bottom: 24px; }
footer a { color: var(--muted); }

@media (max-width: 600px) {
  h1 { font-size: 25px; }
  h2 { font-size: 19px; }
  .toc ol { columns: 1; }
  .brand img { height: 28px; }
  th, td { padding: 8px 9px; }
}

/* ===== Startseite (Landing) ===== */
body.landing { background: #fff; }
body.landing main { padding: 0; }
.wide { max-width: 1080px; margin: 0 auto; padding: 0 22px; }

header.top .wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}
header.top nav.main { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: 15px; }
header.top nav.main a { color: var(--navy); text-decoration: none; }
header.top nav.main a:hover { color: var(--pink); }

.btn {
  display: inline-block;
  font-weight: 620;
  font-size: 16px;
  color: #fff;
  background: var(--pink);
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(238, 96, 152, .28);
}
.btn:hover { color: #fff; background: #e04888; }
.btn.ghost {
  color: var(--navy);
  background: #fff;
  border: 1.5px solid var(--line);
  box-shadow: none;
}
.btn.ghost:hover { color: var(--pink); border-color: var(--pink); background: #fff; }

.hero2 {
  background:
    radial-gradient(900px 420px at 85% -10%, #dff0fc 0%, rgba(223, 240, 252, 0) 70%),
    radial-gradient(700px 380px at 5% 10%, #fde4ee 0%, rgba(253, 228, 238, 0) 70%),
    #fff;
  overflow: hidden;
}
.hero2 .wide {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 24px;
  padding-top: 56px;
  padding-bottom: 0;
}
.hero2 .eyebrow {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #1f7fc0;
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 5px 13px;
  margin-bottom: 16px;
}
.hero2 h1 {
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -.02em;
  margin: 0 0 16px;
}
.hero2 h1 em { font-style: normal; color: var(--pink); }
.hero2 .lead { font-size: 19px; line-height: 1.55; max-width: 520px; margin-bottom: 26px; }
.hero2 .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero2 .small { font-size: 14px; color: var(--muted); margin: 0 0 40px; }
.hero2 .shots { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.hero2 .shots img { display: block; height: auto; }
.hero2 .shots .front {
  width: 62%;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 24px 40px rgba(30, 53, 83, .28));
}
.hero2 .shots .back {
  width: 52%;
  margin-right: -12%;
  margin-bottom: 36px;
  z-index: 1;
  filter: drop-shadow(0 18px 30px rgba(30, 53, 83, .2));
}

section.block { padding: 72px 0; }
section.block.tint { background: var(--blue-soft); }
section.block.rose { background: var(--pink-soft); }
section.block h2 {
  text-align: center;
  font-size: 34px;
  letter-spacing: -.01em;
  margin: 0 0 10px;
  padding: 0;
}
section.block .sub { text-align: center; max-width: 640px; margin: 0 auto 40px; font-size: 18px; color: var(--muted); }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px 22px;
}
.feature .ico {
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 24px;
  background: var(--blue-soft);
  margin-bottom: 14px;
}
.feature:nth-child(even) .ico { background: var(--pink-soft); }
.feature h3 { margin: 0 0 6px; font-size: 18px; }
.feature p { margin: 0; font-size: 15.5px; color: var(--text); }

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 22px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery figure { margin: 0; flex: 0 0 auto; width: 270px; scroll-snap-align: center; }
.gallery img { width: 100%; height: auto; display: block; border-radius: 26px; box-shadow: 0 14px 34px rgba(30, 53, 83, .18); }
.gallery figcaption { text-align: center; font-size: 15px; color: var(--muted); margin-top: 12px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split h2 { text-align: left; }
.split ul { list-style: none; padding: 0; margin: 14px 0 0; }
.split li { padding-left: 30px; position: relative; margin: 10px 0; }
.split li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--pink); color: #fff;
  font-size: 13px; font-weight: 700;
  display: grid; place-items: center;
}
.split .pic { text-align: center; }
.split .pic img { width: 74%; height: auto; filter: drop-shadow(0 22px 34px rgba(30, 53, 83, .25)); }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.plan {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 28px 26px;
}
.plan.pro { border-color: var(--pink); box-shadow: 0 16px 40px rgba(238, 96, 152, .16); }
.plan h3 { margin: 0 0 4px; font-size: 22px; }
.plan .tag { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding-left: 24px; position: relative; margin: 8px 0; font-size: 15.5px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--pink); font-weight: 700; }

.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 880px; margin: 0 auto; }
.langs span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 15px;
  color: var(--navy);
}

section.faq .wrap { max-width: 760px; }
section.faq h2 { text-align: center; }
details.q {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 20px;
  margin: 10px 0;
}
details.q summary { cursor: pointer; font-weight: 620; color: var(--navy); padding: 14px 0; }
details.q[open] summary { padding-bottom: 6px; }
details.q p { margin-bottom: 14px; }

.cta-band { text-align: center; }
.cta-band .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

footer.big { background: var(--navy); color: #c9d6e6; border: 0; }
footer.big .wide { padding-top: 38px; padding-bottom: 34px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 40px; }
footer.big a { color: #e8f0fa; text-decoration: none; }
footer.big a:hover { color: #fff; text-decoration: underline; }
footer.big .links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer.big .copy { width: 100%; font-size: 14px; color: #93a6bd; }

@media (max-width: 900px) {
  .hero2 .wide { grid-template-columns: 1fr; padding-top: 38px; }
  .hero2 h1 { font-size: 38px; }
  .hero2 .shots { max-width: 460px; margin: 0 auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split h2 { text-align: center; }
}
@media (max-width: 600px) {
  section.block { padding: 52px 0; }
  section.block h2 { font-size: 27px; }
  .features, .plans { grid-template-columns: 1fr; }
  header.top nav.main a.opt { display: none; }
  .gallery figure { width: 230px; }
}

/* Kontaktformular */
form.kontakt { display: grid; gap: 14px; margin: 18px 0; }
form.kontakt label { display: grid; gap: 6px; font-weight: 600; color: var(--navy); font-size: 15px; }
form.kontakt .optional { font-weight: 400; color: var(--muted); }
form.kontakt input[type=text],
form.kontakt input[type=email],
form.kontakt textarea {
  font: inherit;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 13px;
  width: 100%;
}
form.kontakt textarea { min-height: 170px; resize: vertical; }
form.kontakt input:focus, form.kontakt textarea:focus {
  outline: 2px solid #bfe0f7;
  border-color: var(--blue);
}
form.kontakt .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.kontakt button {
  justify-self: start;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
}
form.kontakt button:hover { background: #3a95d2; }
.hinweis { font-size: 14px; color: var(--muted); }
section.block .split h2 { text-align: left; }
.split .pic img { width: 56%; }
.split .pic img.buch { width: 100%; }
footer.big .wide > div:first-child { line-height: 1.5; }
footer.big .fi { background: #fff; padding: 2px; }
@media (max-width: 900px) { section.block .split h2 { text-align: center; } .split > div { text-align: center; } .split ul { display: inline-block; text-align: left; } }
@media (max-width: 600px) {
  header.top nav.main > a { display: none; }
  header.top .wide { min-height: 56px; }
  .hero2 .actions .btn { width: 100%; text-align: center; }
}

/* Store-Knöpfe (offizielle Abzeichen von Apple und Google) */
/* Das Google-Bild hat eingebauten Rand: Das sichtbare Abzeichen ist etwa
   67 % der Bildhöhe. Darum ist es höher, und beide Knöpfe sitzen in
   gleich hohen Kästen, mittig, mit Abstand. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 22px 0 8px; }
.cta-band .stores { justify-content: center; margin-bottom: 18px; }
.stores a { display: flex; align-items: center; justify-content: center; height: 56px; line-height: 0; }
.stores img { display: block; width: auto; }
.stores a:first-child img { height: 56px; }
.stores a:last-child img { height: 83px; margin: 0 -14px; }
.getapp .wide { min-height: 80vh; align-content: center; }
.getapp .appicon { border-radius: 22px; margin-bottom: 14px; }
@media (max-width: 600px) {
  .stores a { height: 50px; }
  .stores a:first-child img { height: 50px; }
  .stores a:last-child img { height: 74px; margin: 0 -12px; }
}
