@font-face {
  font-family: "Inter";
  src: url("inter-latin.woff2") format("woff2");
  font-display: swap;
}

:root {
  --ink: #0b1f3a;
  --blue: #1a4a8a;
  --blue-dark: #12335f;
  --blue-soft: #e8f1fb;
  --gold: #e9ae25;
  --gold-dark: #70500b;
  --gold-soft: #fff4cc;
  --green: #2f7d4a;
  --green-soft: #e8f4ec;
  --coral: #b74436;
  --coral-soft: #fbe9e6;
  --gray: #657181;
  --gray-soft: #edf0f3;
  --paper: #ffffff;
  --line: #cbd4df;
  --max: 1180px;
  --reading: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--blue);
  text-underline-offset: 0.16em;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.reading {
  width: min(100%, var(--reading));
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}

.nav-links .nav-cta {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background: var(--blue);
  color: #fff;
  border-radius: 6px;
}

.menu-toggle {
  width: 46px;
  height: 46px;
  display: none;
  margin-left: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  display: block;
  margin: 5px auto;
  background: var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  line-height: 1.18;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h1 {
  margin-bottom: 22px;
  font-size: 58px;
  font-weight: 850;
}

h2 {
  margin-bottom: 18px;
  font-size: 38px;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

h4 {
  margin-bottom: 6px;
  font-size: 18px;
}

.lead {
  max-width: 690px;
  color: #33435a;
  font-size: 21px;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--blue);
  border-radius: 6px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--blue);
  color: #fff;
}

.button.primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button.secondary:hover {
  background: var(--blue-soft);
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.hero-stage {
  position: relative;
  height: calc(100svh - 92px);
  min-height: 560px;
  max-height: 750px;
  overflow: hidden;
  background: var(--blue-soft);
  border-bottom: 1px solid var(--line);
}

.hero-stage::after {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  height: 28%;
  background: var(--gold);
  content: "";
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.hero-stage .wrap {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(650px, 62%);
  padding: 30px 0 52px;
}

.hero-copy .claim {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 17px;
  font-weight: 850;
}

.hero-board {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: max(5vw, 30px);
  width: min(38vw, 460px);
  transform: translateY(-50%) rotate(2deg);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  background: #fff;
  border: 2px solid #9eabba;
  border-radius: 6px;
  color: var(--ink);
  font-size: 34px;
  font-weight: 850;
}

.tile.correct {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.tile.present {
  background: var(--gold);
  border-color: #bd8410;
  color: #211805;
}

.tile.absent {
  background: #717b88;
  border-color: #717b88;
  color: #fff;
}

.board-note {
  max-width: 430px;
  margin: 16px 0 0 auto;
  padding: 14px 16px;
  background: #fff;
  border-left: 5px solid var(--gold);
  box-shadow: 0 12px 30px rgba(11, 31, 58, 0.12);
  color: #2d3c51;
  font-size: 14px;
}

.proof-strip {
  background: var(--ink);
  color: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.proof:last-child {
  border-right: 0;
}

.proof strong {
  color: #fff;
  font-size: 25px;
}

.proof span {
  color: #cbd6e5;
  font-size: 14px;
}

.section {
  padding: 82px 0;
}

.section.compact {
  padding: 58px 0;
}

.section.blue {
  background: var(--blue-soft);
}

.section.green {
  background: var(--green-soft);
}

.section.gold {
  background: var(--gold-soft);
}

.section.ink {
  background: var(--ink);
  color: #fff;
}

.section.ink .lead,
.section.ink .section-intro,
.section.ink p {
  color: #d7e0ed;
}

.section-head {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-intro {
  color: #405066;
  font-size: 19px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.steps,
.feature-grid,
.modes-grid,
.trust-grid {
  display: grid;
  gap: 18px;
}

.steps {
  grid-template-columns: repeat(3, 1fr);
}

.feature-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.trust-grid {
  grid-template-columns: repeat(3, 1fr);
}

.step,
.feature,
.mode,
.trust,
.fact-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.step-number,
.feature-mark,
.mode-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--blue);
  border-radius: 4px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.feature:nth-child(3n + 2) .feature-mark,
.mode:nth-child(4n + 2) .mode-mark {
  background: var(--green);
}

.feature:nth-child(3n + 3) .feature-mark,
.mode:nth-child(4n + 3) .mode-mark {
  background: var(--coral);
}

.step p,
.feature p,
.mode p,
.trust p,
.fact-card p {
  margin-bottom: 0;
  color: #47566a;
}

.mode .best-for {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.timeline {
  display: grid;
  /* Spaltenzahl folgt den Stufen (Owner 30.07.2026: die Leiter hat seit dem
     Umbau SECHS Stufen — 2/7/18/40/90/180). Ein festes repeat(5) hätte die
     sechste Stufe in eine zweite Zeile geworfen. */
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  overflow: hidden;
  border: 1px solid #5c6c82;
  border-radius: 6px;
}

.timeline div {
  padding: 18px 10px;
  border-right: 1px solid #5c6c82;
  text-align: center;
}

.timeline div:last-child {
  border-right: 0;
}

.timeline strong {
  display: block;
  color: #ffd45c;
  font-size: 27px;
}

.timeline span {
  color: #d7e0ed;
  font-size: 13px;
}

.honesty {
  padding: 25px 28px;
  background: var(--coral-soft);
  border-left: 6px solid var(--coral);
}

.honesty h3 {
  color: #762c24;
}

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

.quote-band {
  padding: 55px 0;
  background: var(--coral);
  color: #fff;
}

.quote-band blockquote {
  max-width: 880px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: 35px;
  line-height: 1.3;
}

.page-hero {
  padding: 66px 0 50px;
  background: var(--blue-soft);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 850px;
  font-size: 48px;
}

.page-hero .lead {
  margin-bottom: 0;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 0;
}

.toc a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.toc a:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
}

.prose h2 {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 3px solid var(--ink);
  font-size: 31px;
}

.prose h3 {
  margin-top: 30px;
}

.prose li + li {
  margin-top: 8px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 20px 46px 20px 0;
  position: relative;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 17px;
  right: 4px;
  content: "+";
  color: var(--blue);
  font-size: 26px;
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-answer {
  max-width: 760px;
  padding: 0 0 22px;
  color: #3e4d61;
}

.comparison-header {
  padding: 64px 0 42px;
  background: var(--ink);
  color: #fff;
}

.comparison-header h1 {
  max-width: 900px;
}

.comparison-header .lead {
  color: #d7e0ed;
}

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

.concept {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.concept-preview {
  min-height: 190px;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--blue-soft);
}

.concept:nth-child(2) .concept-preview {
  background: #fff;
  border-top: 12px solid var(--coral);
  border-bottom: 3px double var(--ink);
  font-family: Georgia, serif;
}

.concept:nth-child(3) .concept-preview {
  background: var(--gold-soft);
}

.concept-copy {
  padding: 22px;
}

.concept-copy p {
  color: #48566a;
}

.recommendation {
  padding: 22px 24px;
  background: var(--green-soft);
  border-left: 6px solid var(--green);
}

.availability {
  padding: 26px;
  background: var(--gold-soft);
  border: 1px solid #d5ae45;
  border-radius: 6px;
}

.availability strong {
  display: block;
  margin-bottom: 5px;
  font-size: 21px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
}

.form-grid {
  display: grid;
  gap: 18px;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  background: #fff;
  border: 2px solid #7d8998;
  border-radius: 4px;
}

.field textarea {
  min-height: 170px;
  resize: vertical;
}

.form-note {
  color: #526074;
  font-size: 14px;
}

.mail-button {
  justify-self: start;
  cursor: pointer;
}

.site-footer {
  padding: 54px 0 26px;
  background: var(--ink);
  color: #cbd6e5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand {
  color: #fff;
  font-size: 20px;
  font-weight: 850;
}

.site-footer h3 {
  color: #fff;
  font-size: 15px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 6px;
}

.site-footer a {
  color: #dce5f0;
  font-size: 14px;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffd45c;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid #44556b;
  font-size: 13px;
}

/* Morgenblatt */
.theme-journal {
  --blue: #254f77;
}

.theme-journal .site-header {
  border-top: 8px solid var(--coral);
}

.journal-hero {
  min-height: 640px;
  padding: 30px 0 48px;
  background: #fff;
  border-bottom: 4px double var(--ink);
}

.journal-masthead {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 10px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-family: Georgia, serif;
  font-size: 14px;
}

.journal-hero h1,
.theme-journal h2,
.theme-journal blockquote {
  font-family: Georgia, serif;
  font-weight: 700;
}

.journal-hero h1 {
  max-width: 920px;
  font-size: 70px;
}

.journal-deck {
  max-width: 860px;
  font-family: Georgia, serif;
  font-size: 24px;
  line-height: 1.5;
}

.journal-rule {
  width: 160px;
  height: 8px;
  margin: 30px 0;
  background: var(--gold);
}

.journal-columns {
  columns: 2;
  column-gap: 44px;
}

.journal-columns p:first-child::first-letter {
  float: left;
  margin: 5px 8px 0 0;
  color: var(--coral);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.8;
}

/* Setzkasten */
.typesetter-hero {
  min-height: 650px;
  padding: 48px 0;
  background: var(--gold-soft);
  border-bottom: 1px solid #d6b652;
}

.typesetter-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.typesetter-title {
  min-height: 360px;
  padding: 34px;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
}

.typesetter-title h1 {
  max-width: 760px;
  font-size: 54px;
}

.typesetter-title .lead {
  color: #d7e0ed;
}

.typesetter-icon {
  display: grid;
  place-items: center;
  padding: 32px;
  background: var(--blue);
  border-radius: 6px;
}

.typesetter-icon img {
  width: 210px;
  border-radius: 18px;
}

.typesetter-tag {
  padding: 22px 26px;
  background: var(--coral);
  border-radius: 6px;
  color: #fff;
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 700;
}

.typesetter-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid #d6b652;
  border-radius: 6px;
}

.typesetter-stats div {
  padding: 10px;
  border-right: 1px solid var(--line);
}

.typesetter-stats div:last-child {
  border-right: 0;
}

.typesetter-stats strong {
  display: block;
  font-size: 21px;
}

@media (max-width: 980px) {
  h1 {
    font-size: 48px;
  }

  .hero-copy {
    width: 58%;
  }

  .hero-board {
    right: 24px;
    width: 38vw;
  }

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

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

  .concept {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
  }

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

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 14px 28px rgba(11, 31, 58, 0.15);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
  }

  .hero-stage {
    height: auto;
    min-height: 690px;
    max-height: none;
  }

  .hero-stage .wrap {
    display: block;
  }

  .hero-copy {
    width: 100%;
    padding: 55px 0 28px;
  }

  .hero-board {
    position: relative;
    top: auto;
    right: auto;
    width: min(100%, 420px);
    margin: 0 auto;
    transform: rotate(1deg);
  }

  .hero-stage::after {
    display: none;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

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

  .proof:nth-child(2) {
    border-right: 0;
  }

  .proof:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .journal-hero h1 {
    font-size: 52px;
  }

  .journal-columns {
    columns: 1;
  }

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

  .typesetter-title {
    min-height: 0;
  }
}

@media (max-width: 580px) {
  .wrap {
    width: min(calc(100% - 28px), var(--max));
  }

  h1,
  .page-hero h1,
  .typesetter-title h1,
  .journal-hero h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .lead,
  .journal-deck {
    font-size: 19px;
  }

  .section {
    padding: 62px 0;
  }

  .feature-grid,
  .trust-grid,
  .footer-grid,
  .concept,
  .typesetter-stats {
    grid-template-columns: 1fr;
  }

  .concept {
    display: block;
  }

  .timeline {
    /* Unter 580px stapelt die Leiter untereinander. grid-auto-flow muss dazu
       ausdrücklich zurückgesetzt werden — sonst bleibt die Spaltenrichtung aus
       der Grundregel bestehen und sechs Stufen quetschen sich nebeneinander. */
    grid-auto-flow: row;
    grid-template-columns: 1fr;
  }

  .timeline div {
    border-right: 0;
    border-bottom: 1px solid #5c6c82;
  }

  .timeline div:last-child {
    border-bottom: 0;
  }

  .tile {
    font-size: 24px;
  }

  .quote-band blockquote {
    font-size: 27px;
  }

  .journal-masthead {
    display: block;
  }

  .typesetter-tag {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
