/*
 * Elterngeld-Website – gleiche Farbwelt wie die App („Morgenhimmel“ mit
 * Türkis): helles Blauweiß, dunkle Tinte, Türkis als Akzent, Apricot und
 * Flieder für die beiden Elternteile und den Partnerschaftsbonus.
 * System-Schrift, keine Fremd-Ressourcen.
 */
:root {
  --bg: #f3f5fb;
  --bg-elev: #ffffff;
  --bg-sunken: #e6eaf4;
  --ink: #26243a;
  --ink-2: #5f5d78;
  --ink-3: #8c89a3;
  --line: #dde1ee;
  --accent: #1f8a8a;
  --accent-dark: #176e6e;
  --accent-soft: #d3eeee;
  --apricot: #e08a5c;
  --apricot-soft: #fbe4d6;
  --flieder: #8b6fc4;
  --flieder-soft: #e9e2f7;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }

.kicker {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ----- Kopf ----- */
header.site { padding: 22px 0; }
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 19px;
  font-weight: 700;
  text-decoration: none;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.site a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  margin-left: 22px;
}
nav.site a:hover { color: var(--accent); }

/* ----- Hero ----- */
.hero {
  text-align: center;
  padding: 48px 0 36px;
  background:
    radial-gradient(60% 55% at 50% 0%, #e4f4f4 0%, rgba(228, 244, 244, 0) 100%);
}
.hero img.icon {
  width: 132px;
  height: 132px;
  border-radius: 30px;
  box-shadow: 0 18px 44px rgba(31, 138, 138, 0.22);
}
.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  margin-top: 30px;
}
.hero h1 .tuerkis { color: var(--accent); }
.hero p.claim {
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 19px;
  color: var(--ink-2);
}
.store {
  display: inline-block;
  margin-top: 28px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  padding: 15px 30px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(31, 138, 138, 0.28);
}
.store:hover { background: var(--accent-dark); }
.hero .leise {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  color: var(--ink-3);
}

/* ----- Drei Schritte ----- */
section.schritte { padding: 56px 0 24px; }
section.schritte .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
section.schritte h2 { font-size: 30px; margin-bottom: 22px; }
ol.schritte { list-style: none; counter-reset: schritt; }
ol.schritte li {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 20px 56px;
  font-size: 16.5px;
}
ol.schritte li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
}
ol.schritte li strong { display: block; font-size: 18px; margin-bottom: 2px; }
ol.schritte li p { color: var(--ink-2); }

/* ----- Prinzip ----- */
.prinzip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
  margin-top: 40px;
}
.prinzip .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.prinzip h3 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 8px;
}
.prinzip p { font-size: 15.5px; color: var(--ink-2); }

/* ----- Funktionen ----- */
section.app { padding: 72px 0; }
section.app + section.app { border-top: 1px dashed var(--line); }
section.app .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
section.app.spiegel .wrap { direction: rtl; }
section.app.spiegel .wrap > * { direction: ltr; }
section.app h2 { font-size: 30px; margin-bottom: 14px; }
section.app p.lead { font-size: 17.5px; color: var(--ink-2); margin-bottom: 18px; }
section.app ul { list-style: none; }
section.app li {
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--line);
}
section.app li:last-child { border-bottom: none; }
section.app li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Legende für die Farben im Monatsplan */
.legende {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--ink-2);
}
.legende span::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 7px;
  vertical-align: 0;
}
.legende .a::before { background: var(--accent); }
.legende .b::before { background: var(--apricot); }
.legende .c::before { background: var(--flieder); }

/* iPhone-Rahmen: Aufnahme aus dem Simulator inkl. Statusleiste */
.phone {
  justify-self: center;
  width: min(300px, 80vw);
  border: 10px solid var(--ink);
  border-radius: 46px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 24px 60px rgba(38, 36, 58, 0.22);
}
.phone img { display: block; width: 100%; height: auto; }

/* ----- So rechnet die App ----- */
.rechnen {
  background: var(--ink);
  color: #eeeaf6;
  padding: 64px 0;
}
.rechnen .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.rechnen h2 { font-size: 30px; margin-bottom: 14px; }
.rechnen p { color: #b3afc6; font-size: 16px; margin-bottom: 12px; }
.rechnen .kicker { color: #5cc2c2; }
.rechnen .hinweis {
  background: #1f1f2b;
  border: 1px solid #34334a;
  border-radius: 18px;
  padding: 24px;
}
.rechnen .hinweis h3 { font-size: 17px; color: #f0a173; margin-bottom: 10px; }
.rechnen .hinweis p { font-size: 15px; }
.rechnen .hinweis p:last-child { margin-bottom: 0; }

/* ----- Kontakt ----- */
.kontakt { text-align: center; padding: 72px 0; }
.kontakt h2 { font-size: 28px; }
.kontakt p { max-width: 560px; margin: 14px auto 0; color: var(--ink-2); }
.kontakt a.mail {
  display: inline-block;
  margin-top: 24px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 34px;
  border-radius: 14px;
}
.kontakt .mehr-von-mir { margin-top: 22px; font-size: 14.5px; }

/* ----- Fuß ----- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  font-size: 14px;
  color: var(--ink-3);
}
footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
}
footer.site a { color: var(--ink-3); }
footer.site a:hover { color: var(--accent); }

/* ----- Rechtstexte ----- */
main.recht {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}
main.recht h1 { font-size: 34px; margin: 24px 0; }
main.recht h2 {
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 30px 0 6px;
}
main.recht p { font-size: 16px; margin-bottom: 10px; }
main.recht p.stand { color: var(--ink-3); font-size: 14px; }

/* ----- Mobile Navigation (Burger) ----- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.offen span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.offen span:nth-child(2) { opacity: 0; }
.nav-toggle.offen span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  header.site .wrap { position: relative; }
  .nav-toggle { display: flex; }
  nav.site {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: 24px;
    z-index: 30;
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(38, 36, 58, 0.16);
  }
  nav.site.offen { display: block; }
  nav.site a {
    display: block;
    margin: 0;
    padding: 13px 16px;
    font-size: 17px;
    color: var(--ink);
    border-bottom: 1px dashed var(--line);
  }
  nav.site a:last-child { border-bottom: none; }

  section.schritte .wrap,
  section.app .wrap,
  .rechnen .wrap { grid-template-columns: 1fr; }
  section.app.spiegel .wrap { direction: ltr; }
  .phone { margin-top: 8px; }
}
