@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --sage: #6B7F5E;
  --sage-logo: #6B7F5E;
  --sage-600: #5C6B50;
  --sage-700: #4A5741;
  --sand: #D4A574;
  --sand-600: #C79355;
  --sand-700: #B07E3F;
  --plum: #8B7FA8;
  --plum-700: #6E6188;
  --slate: #7A93A8;
  --success: #7A9471;

  --bg: #FAF8F5;
  --surface: #FFFDFB;
  --tint: #F1EDE5;

  --ink: #3D3D38;
  --ink-2: #5A594F;
  --muted: #7C7A70;
  --faint: #A6A69C;

  --border: rgba(61, 61, 56, 0.1);
  --border-soft: rgba(61, 61, 56, 0.06);

  /* Feste dunkle Kontrast-Fläche (Anti-Gamification-Band) -- bewusst
     unabhängig vom Hell/Dunkel-Umschalter, ein einzelner, absichtlicher
     Kontrastmoment auf der Seite. */
  --band-bg: #2A2B26;
  --band-ink: #FAF8F5;
  --band-accent: #8CA07D;
  --band-strike: rgba(193, 122, 92, 0.6);

  /* Text auf farbigen Flächen (Buttons, Chips) -- immer hell, unabhängig
     vom Hell/Dunkel-Umschalter der Seite selbst. */
  --on-accent: #FAF8F5;

  --font-display: "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sage-700);
  text-decoration-color: rgba(74, 87, 65, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: currentColor;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  row-gap: 8px;
  column-gap: 16px;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 20px 0;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}

.wordmark svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.wordmark .logo-blend {
  mix-blend-mode: multiply;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 14px;
  font-weight: 500;
}

.site-header nav a {
  color: var(--ink-2);
  text-decoration: none;
}

.site-header nav a:hover {
  color: var(--sage-700);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal main {
  max-width: 680px;
}

.landing main {
  max-width: none;
  padding: 0;
}

.legal-doc h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.3px;
  line-height: 1.2;
  margin: 40px 0 4px;
}

.legal-doc .updated {
  color: var(--faint);
  font-size: 13px;
  margin: 0 0 36px;
}

.legal-doc section {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-soft);
}

.legal-doc section:last-of-type {
  border-bottom: none;
}

.legal-doc h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 10px;
}

.legal-doc p {
  margin: 0 0 12px;
  color: var(--ink-2);
  max-width: 65ch;
}

.legal-doc p:last-child {
  margin-bottom: 0;
}

.legal-doc ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--ink-2);
  max-width: 65ch;
}

.legal-doc li {
  margin-bottom: 6px;
}

.legal-doc li:last-child {
  margin-bottom: 0;
}

.legal-doc address {
  font-style: normal;
  color: var(--ink-2);
  margin: 0 0 12px;
  line-height: 1.6;
}

footer {
  max-width: 760px;
  margin: 64px auto 0;
  padding: 24px 24px 40px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  font-size: 13px;
  color: var(--faint);
}

footer a {
  color: var(--muted);
}

footer .spacer {
  flex: 1;
}

/* ===================== Landing page ===================== */

.landing .site-header,
.landing-section > .wrap,
.landing-footer > .wrap {
  max-width: 1120px;
}

.landing .site-header {
  padding: 24px 32px 0;
}

.landing .site-header nav {
  gap: 10px 30px;
  align-items: center;
}

.landing .site-header .btn {
  margin-left: 4px;
}

.icon {
  width: 1em;
  height: 1em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  color: var(--on-accent);
  box-shadow: 0 10px 22px -8px rgba(107, 127, 94, 0.55);
}

.btn-primary:hover {
  background: var(--sage-600);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--ink);
}

.landing-section {
  padding: 72px 0;
}

.landing-section > .wrap {
  margin: 0 auto;
  padding: 0 32px;
}

.landing-section.tint {
  background: var(--surface);
}

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--faint);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.4px;
  margin: 10px 0 0;
  text-wrap: balance;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

/* Hero */

.hero {
  padding: 48px 0 76px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  flex: 1;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  background: rgba(107, 127, 94, 0.1);
  font-size: 13px;
  font-weight: 600;
  color: var(--sage-600);
}

.badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sage);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.14;
  letter-spacing: -1px;
  margin: 22px 0 0;
  text-wrap: balance;
}

.hero-copy > p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  margin: 20px 0 0;
}

.hero-copy > p strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

/* Offizielle Apple-/Google-Assets (developer.apple.com Marketing Guidelines
   bzw. play.google.com/intl/de_de/badges) -- bewusst unverändert
   eingebunden, keine eigene Nachbildung. */
.store-badge-img {
  display: block;
  width: auto;
}

.hero-note {
  font-size: 13px;
  color: var(--faint);
  margin: 16px 0 0;
}

/* Phone mock */

/* Echter Geräterahmen (freies iPhone-15-Pro-Mockup, transparenter
   Screen-Ausschnitt) statt CSS-Nachbau -- Quelle: webmobilefirst.com,
   kommerziell nutzbar ohne Zuschreibung. Der Screenshot liegt als
   eigenes, absolut positioniertes Element GENAU im transparenten
   Ausschnitt darunter, der Rahmen liegt als Bild obendrauf. */
.phone-frame {
  flex: none;
  width: 300px;
  aspect-ratio: 391 / 800;
  position: relative;
  filter: drop-shadow(0 40px 70px rgba(42, 43, 38, 0.4));
  /* Macht cqw-Einheiten unten relativ zur Rahmenbreite -- ändert sich die
     Größe (Breakpoints, künftige Anpassungen), skaliert die Statusleiste
     automatisch mit, statt bei fester px-Höhe unproportional zu wirken. */
  container-type: inline-size;
}

.phone-bezel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  display: block;
}

.phone-screen {
  position: absolute;
  left: 4.86%;
  top: 1.875%;
  width: 90.54%;
  height: 96.25%;
  /* Fest hell statt var(--bg) -- der Screenshot ist immer im Hellmodus der
     App, unabhängig vom Theme dieser Website. Im Dark Mode der Seite würde
     var(--bg) sonst einen dunklen Rand um den hellen Screenshot ziehen. */
  background: #FAF8F5;
  border-radius: 10cqw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.phone-status {
  flex: none;
  height: 12.14cqw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7.86cqw 0 8.57cqw;
}

.phone-time {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 4.64cqw;
  /* Fest dunkel statt var(--ink), siehe .phone-screen -- der Screenshot
     ist immer hell, unabhängig vom Theme dieser Website. */
  color: #3D3D38;
}

.phone-battery {
  width: 7.14cqw;
  height: 3.57cqw;
  border: 0.43cqw solid #3D3D38;
  border-radius: 0.9cqw;
  position: relative;
  opacity: 0.85;
}

.phone-battery::before {
  content: "";
  position: absolute;
  inset: 0.46cqw;
  right: 1.07cqw;
  background: #3D3D38;
  border-radius: 0.36cqw;
}

.phone-battery::after {
  content: "";
  position: absolute;
  right: -0.9cqw;
  top: 1.07cqw;
  width: 0.46cqw;
  height: 1.43cqw;
  background: #3D3D38;
  opacity: 0.85;
  border-radius: 0 1px 1px 0;
}

.phone-shot {
  flex: 1;
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Empathy chips */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.chip {
  padding: 11px 18px;
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  font-size: 15px;
  color: var(--ink-2);
}

/* Steps */

.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  background: var(--surface);
  border-radius: 24px 12px 12px 12px;
  padding: 30px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 12px rgba(61, 61, 56, 0.05);
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-tile .icon {
  font-size: 24px;
}

/* --sage/--sand-600 sind fuer Buttons/Badges getunt und bleiben dort bewusst
   unveraendert im Dark Mode -- als Icon-Vordergrundfarbe auf einer nur
   leicht getoenten dunklen Kachel wirken sie dort aber zu dunkel/matt
   (kein ausreichender Kontrast). Eigene Modifier-Klassen statt die
   globalen Tokens umzubiegen, damit Buttons/Badges unangetastet bleiben. */
.icon-tile--sage { color: var(--sage); }
.icon-tile--sand { color: var(--sand-600); }

.step-card .icon-tile {
  background: rgba(107, 127, 94, 0.12);
  color: var(--sage);
}

.step-card:nth-child(2) .icon-tile {
  background: rgba(212, 165, 116, 0.16);
  color: var(--sand-600);
}

.step-card:nth-child(3) .icon-tile {
  background: rgba(139, 127, 168, 0.16);
  color: var(--plum);
}

.step-card .step-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--faint);
  margin: 20px 0 0;
}

.step-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 5px 0 0;
}

.step-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin: 10px 0 0;
}

/* Feature split (Schritt 3 live: Familienstapel-Screenshot + Copy) */

.feature-split {
  display: flex;
  align-items: center;
  gap: 56px;
}

/* Nur wenn der Split auf anderen Inhalt im selben Abschnitt folgt (z. B.
   nach dem Schritt-Grid) -- als eigenständiger Abschnitt braucht er keine
   Trennlinie zu nichts. */
.feature-split.with-divider {
  margin-top: 56px;
  padding-top: 56px;
  border-top: 1px solid var(--border-soft);
}

.feature-split .phone-frame {
  width: 260px;
}

.feature-copy {
  flex: 1;
  min-width: 0;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.3px;
  margin: 0;
  text-wrap: balance;
}

.feature-copy > p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 14px 0 0;
}

.feature-list {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
}

.feature-list .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--plum);
}

/* Values grid */

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--bg);
  border-radius: 20px;
  padding: 26px;
  border: 1px solid var(--border-soft);
}

.value-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  margin: 16px 0 0;
}

.value-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 8px 0 0;
}

/* Anti-gamification band */

.band {
  background: var(--band-bg);
  color: var(--band-ink);
  text-align: center;
  padding: 76px 0;
}

.band .wrap {
  margin: 0 auto;
  padding: 0 32px;
}

.band .eyebrow {
  color: var(--band-accent);
}

.band .strike {
  font-size: 24px;
  color: #A6A69C;
  margin: 24px auto 0;
  max-width: 680px;
  line-height: 1.5;
  text-decoration: line-through;
  text-decoration-color: var(--band-strike);
}

.band .payoff {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: -0.4px;
  margin: 20px auto 0;
  max-width: 680px;
  line-height: 1.35;
}

/* Pricing */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: start;
}

.price-card {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid var(--border);
  position: relative;
}

.price-card.featured {
  border: 2px solid var(--sage);
  box-shadow: 0 12px 30px -14px rgba(107, 127, 94, 0.45);
}

.price-card .tag {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--sage);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: 999px;
}

.price-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin: 0;
}

.price-card .price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  margin: 10px 0 0;
}

.price-card .period {
  font-size: 13px;
  color: var(--faint);
  margin: 2px 0 0;
}

.price-card hr {
  border: none;
  height: 1px;
  background: var(--border-soft);
  margin: 16px 0;
}

.price-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.price-card li {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-2);
}

.price-card li .icon {
  color: var(--success);
  flex: none;
  margin-top: 2px;
}

.price-card .btn {
  width: 100%;
  margin-top: 20px;
  height: 44px;
}

.price-note {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin: 12px 0 0;
}

/* For professionals */

.pro-card {
  background: rgba(107, 127, 94, 0.08);
  border: 1px solid rgba(107, 127, 94, 0.16);
  border-radius: 26px;
  padding: 44px 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.pro-card .copy {
  flex: 1;
}

.pro-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -0.3px;
  margin: 10px 0 0;
}

.pro-card p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 540px;
  margin: 12px 0 0;
}

.pro-card .action {
  flex: none;
}

/* FAQ */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  color: var(--faint);
  flex: none;
}

.faq-item .icon-plus {
  display: inline;
}

.faq-item .icon-minus {
  display: none;
}

.faq-item[open] .icon-plus {
  display: none;
}

.faq-item[open] .icon-minus {
  display: inline;
}

.faq-item p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Final CTA */

.final-cta {
  text-align: center;
  padding: 88px 0;
}

.final-cta .mark {
  width: 56px;
  height: 56px;
  margin: 0 auto;
}

.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.5px;
  margin: 22px 0 0;
}

.final-cta p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 480px;
  margin: 12px auto 0;
}

.final-cta .btn {
  margin-top: 26px;
}

/* Landing footer */

.landing-footer {
  /* Setzt die generische footer{}-Regel (schmale Utility-Seiten) zurück --
     die Breite/Innenabstand steuert stattdessen .landing-footer > .wrap. */
  max-width: none;
  margin: 0;
  padding: 0;
  display: block;
  font-size: inherit;
  color: inherit;
  background: var(--tint);
  border-top: 1px solid var(--border-soft);
}

.landing-footer > .wrap {
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.landing-footer .about {
  max-width: 280px;
}

.landing-footer .about .wordmark {
  font-size: 19px;
}

.landing-footer .about p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

.landing-footer .cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.landing-footer .col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-footer .col .head {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.landing-footer .col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

.landing-footer .col a:hover {
  color: var(--sage-700);
}

.landing-footer .col a.current {
  color: var(--sage-700);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero .wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: 38px;
  }

  .phone-frame {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .step-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .feature-split {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .feature-split .phone-frame {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .feature-copy h3,
  .feature-copy > p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-list {
    align-items: center;
  }

  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pro-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 36px 28px;
  }

  .pro-card p {
    margin-left: auto;
    margin-right: auto;
  }

  .landing .site-header nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 32px;
  }

  .section-head h2 {
    font-size: 26px;
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .band .strike {
    font-size: 19px;
  }

  .band .payoff {
    font-size: 24px;
  }

  .final-cta h2 {
    font-size: 30px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #23241F;
    --surface: #2A2B26;
    --ink: #F1EFE9;
    --ink-2: #D6D3C8;
    --muted: #A6A69C;
    --faint: #7C7A70;
    --border: rgba(241, 239, 233, 0.12);
    --border-soft: rgba(241, 239, 233, 0.08);
    --sand: #E0B689;
    --sage-logo: #8CA07D;
    --sage-600: #8CA07D;
    --sage-700: #A9C29B;
    --plum: #B0A5CB;
    --plum-700: #C9C0DE;
    --tint: #26271F;
  }

  a {
    color: #A9C29B;
    text-decoration-color: rgba(169, 194, 155, 0.35);
  }

  .site-header nav a:hover {
    color: #A9C29B;
  }

  .wordmark .logo-blend {
    mix-blend-mode: normal;
  }

  .btn-secondary {
    color: var(--ink);
  }

  .btn-primary:hover {
    background: var(--sage);
    opacity: 0.9;
  }

  .icon-tile--sage {
    color: #8CA07D;
  }

  .icon-tile--sand {
    color: #E0B689;
  }
}
