/*
 * Vorab-Seite bis zur öffentlichen Beta (W-00), Unterseiten der Funktionen
 * (W-00.1 bis W-00.6) und die Anmeldung zur Liste (W-00b).
 * Baut auf site.css auf: Container, Hero, Telefon- und Tablet-Rahmen, FAQ.
 */

:root {
  --brand-soft: #FFE7DC;
}

.title--light {
  color: #fff;
}

.kicker--light {
  color: var(--brand-light);
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.section__lead {
  margin-top: 14px;
  max-width: 820px;
}

.section__socke {
  width: 150px;
  flex-shrink: 0;
}

.section__socke--small {
  width: 120px;
}

.fine-print {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: var(--radius-s);
  background: var(--brand);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.checklist.checklist--small {
  gap: 10px;
  margin-top: 14px;
}

.checklist--small li {
  font-size: 15px;
}

.checklist--small li::before {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 13px;
}

.more-link {
  margin-top: 18px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
}

.more-link::after {
  content: " →";
}

.more-link:hover {
  color: var(--brand-ink);
}

.site-nav a[aria-current] {
  color: var(--brand);
}

/* Sprungziele nicht unter der festen Kopfzeile verstecken */
section[id] {
  scroll-margin-top: 84px;
}

/* ---------- Status und Hero ---------- */

/* Das Anmeldeformular darf die Textspalte nicht breiter machen als vorgesehen */
.hero__text {
  min-width: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 800;
}

.status__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.22);
}

.sticker {
  position: absolute;
  left: 300px;
  top: 540px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-3deg);
}

/* ---------- Anmeldung ---------- */

.signup {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.signup__label {
  font-size: 16px;
  font-weight: 800;
}

.signup__row {
  display: flex;
  gap: 10px;
}

.signup__field {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
}

.signup__field::placeholder {
  color: var(--muted);
}

.signup__field:focus-visible {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.signup__field[aria-invalid] {
  border-color: var(--brand);
  background: #fff;
}

.signup .button {
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.signup__error {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-ink);
}

.signup__note {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--muted);
}

.signup__note a {
  color: inherit;
}

.signup__title {
  font-size: 22px;
  font-weight: 800;
}

.signup__text {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.signup--done {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}

.signup--done img {
  flex-shrink: 0;
}

.signup--done .signup__note {
  margin-top: 8px;
}

.signup--confirmed {
  border-color: var(--ok);
  background: #F3FBF7;
}

.signup__resend-form {
  display: inline;
}

.signup__resend {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.signup--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.signup--dark .signup__label,
.signup--dark .signup__title {
  color: #fff;
}

.signup--dark .signup__text {
  color: #E4E6EB;
}

.signup--dark .signup__field {
  border-color: #fff;
  background: #fff;
}

.signup--dark .signup__note {
  color: #C9CCD4;
}

.signup--dark .signup__error {
  color: var(--brand-light);
}

.signup--dark.signup--confirmed {
  border-color: var(--ok);
  background: rgba(23, 160, 107, 0.16);
}

/* ---------- ADHS ---------- */

.adhd {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg);
}

.card__context {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.card__title {
  margin-top: 6px;
  font-size: 21px;
  font-weight: 800;
}

.card p {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Fahrplan ---------- */

.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.stage {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--surface);
}

.stage::before {
  content: "";
  display: block;
  height: 6px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: var(--line);
}

.stage--now {
  border: 2px solid var(--brand);
}

.stage--now::before {
  background: linear-gradient(90deg, var(--brand) 55%, var(--line) 55%);
}

.stage__flag {
  position: absolute;
  top: -14px;
  left: 26px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.stage__when {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
}

.stage--now .stage__when {
  color: var(--brand);
}

.stage__title {
  margin-top: 4px;
  font-size: 24px;
  font-weight: 800;
}

.stage__text {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

/* ---------- Funktionen ---------- */

.toc {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.toc__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-decoration: none;
}

.toc__item:hover {
  background: var(--brand-soft);
}

.toc__number {
  font-size: 13px;
  color: var(--brand);
}

.chapters {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 56px;
}

.chapter {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 64px;
  padding: 48px 56px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--bg);
  scroll-margin-top: 100px;
}

.chapter--flip {
  grid-template-columns: 440px 1fr;
}

.chapter--flip .chapter__text {
  order: 2;
}

.chapter--wide {
  grid-template-columns: 1fr 600px;
}

.chapter--flip.chapter--wide {
  grid-template-columns: 600px 1fr;
}

.chapter__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.chapter__title {
  margin-top: 4px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.12;
}

.chapter__lead {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.chapter .checklist {
  margin-top: 18px;
  gap: 12px;
}

.chapter .checklist li {
  font-size: 16px;
}

/* Telefon im Ausschnitt: oben ein Stück Hintergrund, unten abgeschnitten */
.chapter__screen {
  display: flex;
  justify-content: center;
  height: 460px;
  padding-top: 36px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--surface);
}

.chapter__screen .phone {
  box-shadow: none;
}

.chapter__screen .phone img {
  height: auto;
}

/* Wochenplan ab „Meine Woche“ (40 px von 393 px) */
.chapter__screen--wochenplan img {
  margin-top: -10.2%;
}

.chapter__screen--tablet {
  display: block;
  height: auto;
  padding: 0;
  overflow: visible;
  background: transparent;
}

.subhead {
  margin-top: 72px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.topics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.topic {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  background: var(--bg);
  scroll-margin-top: 100px;
}

.topic__title {
  font-size: 21px;
  font-weight: 800;
}

.later {
  display: grid;
  grid-template-columns: 420px 1fr;
  align-items: center;
  gap: 56px;
  margin-top: 40px;
  padding: 44px 48px;
  border-radius: 32px;
  background: var(--ink);
  color: #fff;
}

.later__title {
  margin-top: 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.later__text {
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #C9CCD4;
}

.later__ideas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.later__idea {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- Abschluss ---------- */

.cta {
  padding-block: 72px;
  border-top: 6px solid var(--brand);
  background: var(--ink);
}

.cta__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 56px;
}

.cta__socke {
  justify-self: center;
  width: 190px;
}

.cta__lead {
  max-width: 620px;
  margin: 12px 0 24px;
  font-size: 18px;
  font-weight: 600;
  color: #C9CCD4;
}

/* ---------- Unterseiten ---------- */

.feature-hero {
  display: grid;
  grid-template-columns: 1fr 520px;
  align-items: center;
  gap: 48px;
  padding-block: 56px 64px;
}

.feature-hero__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.crumb {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.crumb a {
  text-decoration: none;
}

.crumb a:hover {
  color: var(--brand);
}

.crumb span[aria-hidden] {
  margin-inline: 6px;
}

.feature-hero__title {
  font-size: clamp(38px, 5vw, 54px);
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1.05;
}

.feature-hero__chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.chip-plain {
  padding: 7px 14px;
  border-radius: 999px;
  background: #ECE8DF;
  font-size: 14px;
  font-weight: 700;
}

.feature-hero__screen {
  display: flex;
  justify-content: center;
  height: 470px;
  padding-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
}

.feature-hero__screen .phone {
  box-shadow: none;
}

.feature-hero__screen--tablet {
  display: block;
  height: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
}

.examples {
  display: flex;
  flex-direction: column;
  gap: 56px;
  margin-top: 40px;
}

.example {
  display: grid;
  grid-template-columns: 560px 1fr;
  align-items: start;
  gap: 56px;
}

.example--flip {
  grid-template-columns: 1fr 560px;
}

.example--flip .example__image {
  order: 2;
}

.example__image {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
}

.example__image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.example__ai {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(21, 23, 28, 0.6);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.example__family {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.family-badge {
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.family-badge--one_home {
  background: #E3EEFF;
  color: #1F4FA8;
}

.family-badge--two_homes {
  background: #F1E6FF;
  color: #5B2AA8;
}

.example__who {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.example__title {
  margin-top: 14px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.12;
}

.example__label {
  margin-top: 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--brand);
}

.example__text {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

.example__steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.example__steps li {
  display: flex;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  counter-increment: step;
}

.example__steps li::before {
  content: counter(step);
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.example__result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--ok-soft);
  font-size: 16px;
  font-weight: 700;
  color: var(--ok-ink);
}

.example__result img {
  flex-shrink: 0;
}

.feature-more {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why {
  padding: 40px 44px;
  border-radius: 32px;
  background: var(--brand-soft);
}

.why__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.why__title {
  margin-top: 2px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.6px;
}

.why__points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.why__point {
  padding: 20px 22px;
  border-radius: 20px;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.why__point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
  color: var(--ink);
}

.why__everyone {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-ink);
}

.why__everyone strong {
  color: var(--ink);
}

.details {
  padding: 36px 44px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
}

.details__title {
  font-size: 26px;
  font-weight: 800;
}

.details .checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 40px;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pager__card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  text-decoration: none;
}

.pager__card:hover {
  border-color: var(--brand);
}

.pager__card span {
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

.pager__card strong {
  font-size: 19px;
  font-weight: 800;
}

.pager__card--next {
  text-align: right;
}

/* Abmelden von der Liste */
.legal__action {
  margin-top: 24px;
}

/* ---------- Schmale Bildschirme ---------- */

@media (max-width: 1100px) {
  .toc {
    grid-template-columns: repeat(4, 1fr);
  }

  .chapter,
  .chapter--flip,
  .chapter--wide,
  .chapter--flip.chapter--wide {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chapter--flip .chapter__text {
    order: 0;
  }

  .chapter__screen {
    height: 400px;
  }

  .chapter__screen--tablet {
    height: auto;
  }

  .later,
  .example,
  .example--flip {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .example--flip .example__image {
    order: 0;
  }

  .feature-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sticker {
    display: none;
  }

  .signup__row {
    flex-direction: column;
  }

  .signup {
    padding: 20px;
  }

  .section__socke {
    display: none;
  }

  .cards,
  .roadmap,
  .topics,
  .why__points,
  .details .checklist,
  .pager {
    grid-template-columns: 1fr;
  }

  .roadmap {
    gap: 28px;
  }

  .toc {
    display: flex;
    gap: 8px;
    margin-inline: -20px;
    padding-inline: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .toc__item {
    flex-shrink: 0;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    white-space: nowrap;
  }

  .chapters {
    margin-top: 32px;
    gap: 16px;
  }

  .chapter {
    padding: 24px 22px;
    border-radius: 24px;
  }

  .chapter__title {
    font-size: 26px;
  }

  .chapter__lead,
  .chapter .checklist li {
    font-size: 15px;
  }

  .chapter__screen {
    height: 330px;
  }

  .later {
    padding: 26px 22px;
  }

  .later__title {
    font-size: 24px;
  }

  .cta {
    padding-block: 48px;
  }

  .cta__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta__socke {
    justify-self: start;
    width: 110px;
  }

  .feature-hero {
    padding-block: 32px 48px;
  }

  .feature-hero__screen {
    height: 400px;
  }

  .examples {
    gap: 40px;
  }

  .example__image img {
    height: 250px;
  }

  .example__title {
    font-size: 25px;
  }

  .example__text,
  .example__steps li,
  .example__result {
    font-size: 15px;
  }

  .why,
  .details {
    padding: 24px 22px;
  }

  .why__title {
    font-size: 24px;
  }

  .pager__card--next {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .status {
    font-size: 12px;
  }
}
