/* Werbung, die verkauft – Startseite
   Farben aus dem Kursbild (Flenski), Bauvorlage Abschnitt 5 */
:root {
  --blue: #2E66E8;
  --blue-deep: #1F4FC4;
  --night: #102A42;
  --night-2: #122E4A;
  --glow: #5FBAE4;
  --light: #ECEFF3;
  --paper: #FFFFFF;
  --ink: #2F3341;
  --mute: #5E6575;
  --line: #D5DBE3;
  --red: #C8463A;

  --f-head: "Oswald", "Arial Narrow", sans-serif;
  --f-logo: "Anton", "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;

  --wrap: 1120px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; margin: 0 0 .6em; letter-spacing: .005em; }
h2 { font-size: clamp(30px, 4.2vw, 46px); }
h3 { font-size: 24px; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 10; background: #fff; padding: 8px 12px; }

/* Logo */
.logo {
  font-family: var(--f-logo);
  font-size: 26px;
  line-height: 1;
  color: #0B0D10;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .01em;
}
.logo b {
  font-weight: 400;
  background: var(--blue);
  color: #fff;
  padding: 2px 7px 3px;
  margin-left: 2px;
}

.masthead { background: var(--light); border-bottom: 1px solid var(--line); }
.masthead .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.masthead__by { font-size: 14px; color: var(--mute); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: var(--blue);
  padding: 17px 30px;
  border-radius: 8px;
  box-shadow: 0 6px 22px rgba(46, 102, 232, .35);
  transition: background .15s, box-shadow .15s, transform .15s;
}
.btn:hover { background: var(--blue-deep); box-shadow: 0 6px 26px rgba(95, 186, 228, .55); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid var(--glow); box-shadow: none; }
.btn--ghost:hover { background: rgba(95, 186, 228, .12); }
.btn--ghost-dark { background: transparent; color: var(--night); border: 2px solid var(--blue); box-shadow: none; }
.btn--ghost-dark:hover { background: rgba(46, 102, 232, .08); }

/* Abschnitte */
.sec { padding: 88px 0; }
.sec--light { background: var(--paper); }
.sec--grey { background: var(--light); }
.sec--dark { background: var(--night); color: #E6ECF3; }
.sec--dark h2, .sec--dark h3 { color: #fff; }
.sec--tight { padding-top: 0; }
.eyebrow {
  font-family: var(--f-head);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.sec--dark .eyebrow { color: var(--glow); }
.lead-out { font-weight: 700; color: var(--night); font-size: 20px; }
.sec--dark .lead-out { color: #fff; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--night-2) 0%, var(--night) 55%, #0B1F33 100%);
  color: #E6ECF3;
  padding: 72px 0 84px;
}
.hero::before {
  /* diagonale Lichtlinie wie im Kursbild */
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  top: 62%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--glow) 30%, #fff 50%, var(--glow) 70%, transparent);
  box-shadow: 0 0 18px 4px rgba(95, 186, 228, .55);
  transform: rotate(-24deg);
  opacity: .55;
}
.hero .wrap { position: relative; display: grid; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 64px); color: #fff; margin-bottom: 22px; }
.hero__sub { font-size: 21px; color: #fff; max-width: 34em; }
.hero__eugene { font-size: 17px; color: #B9C6D6; max-width: 34em; border-left: 3px solid var(--glow); padding-left: 16px; margin: 26px 0 32px; }
.hero__visual { display: flex; justify-content: center; }
.hero__visual svg { width: 100%; max-width: 420px; height: auto; }
.gear { transform-box: fill-box; transform-origin: center; }
.gear--a { animation: spin 40s linear infinite; }
.gear--b { animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .gear--a, .gear--b { animation: none; } }

/* Problem: Kreislauf */
.loop { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 32px; }
.loop li {
  counter-increment: step;
  position: relative;
  padding: 14px 0 14px 60px;
  border-bottom: 1px solid var(--line);
}
.loop li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--blue);
  color: var(--blue);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loop li:last-child::before { background: var(--blue); color: #fff; }
.loop li:last-child::after {
  content: "↺";
  position: absolute;
  left: 9px;
  bottom: -26px;
  font-size: 20px;
  color: var(--blue);
}

/* Der Profi */
.profi { display: grid; gap: 44px; align-items: start; }
.profi__img img { width: 100%; max-width: 340px; margin: 0 auto; filter: drop-shadow(0 0 28px rgba(95, 186, 228, .35)); }
.profi__caption { text-align: center; font-size: 15px; color: #9FB0C4; margin-top: 14px; }

/* So arbeitet er */
.phases { display: grid; gap: 18px; margin: 36px 0 32px; }
.phase { background: var(--light); border-radius: 12px; padding: 22px 22px 8px; border-top: 4px solid var(--blue); }
.phase h3 { font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--night); margin-bottom: 14px; }
.phase ul { list-style: none; padding: 0; margin: 0; }
.phase li { margin-bottom: 16px; font-size: 16px; line-height: 1.55; }
.phase li b { display: block; color: var(--night); font-size: 16px; }
.phase .no { color: var(--blue); font-family: var(--f-head); margin-right: 4px; }

/* Drei Wege: Grafik */
.chart { background: #fff; color: var(--ink); border-radius: 16px; padding: 28px 26px; margin: 36px 0 40px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; margin-bottom: 22px; }
.legend span { display: flex; align-items: center; gap: 8px; }
.legend .b { width: 20px; height: 20px; font-size: 0; }
.legend .chk::after { width: 13px; height: 13px; font-size: 8px; right: -6px; top: -6px; border-width: 1px; }
.grid10 { display: grid; grid-template-columns: 190px repeat(10, 1fr); }
.chart__phases div { font-family: var(--f-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--night); border-bottom: 3px solid var(--night); padding-bottom: 4px; margin-right: 8px; }
.chart__phases div:first-child { border: 0; }
.chart__st div { font-size: 12px; line-height: 1.35; color: var(--mute); text-align: center; padding: 8px 2px 12px; }
.chart__row { align-items: center; background: var(--light); border-radius: 12px; padding: 14px 0; margin-bottom: 10px; }
.chart__name { padding-left: 16px; }
.chart__name b { display: block; font-family: var(--f-head); font-size: 20px; color: var(--night); }
.chart__name small { font-size: 13px; color: var(--mute); line-height: 1.35; display: block; }
.c { display: flex; justify-content: center; }
.b {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700; font-size: 14px; font-style: normal;
  position: relative; flex: none;
}
.du { background: #fff; color: var(--night); border: 3px solid var(--blue); }
.wir { background: var(--blue); color: #fff; }
.gem { background: linear-gradient(90deg, #fff 50%, var(--blue) 50%); color: var(--night); border: 3px solid var(--blue); }
.chk::after {
  content: "✓";
  position: absolute; right: -7px; top: -7px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--glow); color: var(--night);
  font-size: 11px; font-family: var(--f-body);
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
}
.bars { margin-top: 22px; display: grid; grid-template-columns: 190px 1fr; row-gap: 10px; align-items: center; }
.bars .lbl { font-family: var(--f-head); font-weight: 600; color: var(--night); padding-left: 16px; }
.bar { display: flex; height: 30px; border-radius: 15px; overflow: hidden; font-size: 13px; font-weight: 700; }
.bar div { display: flex; align-items: center; justify-content: center; white-space: nowrap; }
.bd { background: #fff; color: var(--night); border: 2px solid var(--blue); border-radius: 15px 0 0 15px; }
.bd--full { border-radius: 15px; }
.bw { background: var(--blue); color: #fff; }
.chart__note { font-size: 13px; color: var(--mute); margin: 16px 0 0; }

/* Drei Wege: Karten */
.packs { display: grid; gap: 22px; }
.pack { background: var(--night-2); border: 1px solid rgba(95, 186, 228, .28); border-radius: 14px; padding: 28px 26px; display: flex; flex-direction: column; }
.pack h3 { margin-bottom: 4px; }
.pack__tag { color: var(--glow); font-style: italic; margin-bottom: 16px; }
.pack p { font-size: 17px; }
.pack .btn { margin-top: auto; }
.pack__small { font-size: 14px; color: #9FB0C4; margin: 12px 0 0; }
.pack--featured { border: 2px solid var(--glow); box-shadow: 0 0 34px rgba(95, 186, 228, .18); }
.why { max-width: 760px; margin: 40px auto 0; text-align: center; color: #B9C6D6; }
.why b { color: #fff; }

/* Garantie */
.guarantee { max-width: 820px; margin: 0 auto; background: #fff; border: 3px solid var(--blue); border-radius: 16px; padding: 44px 40px; position: relative; box-shadow: 0 14px 40px rgba(16, 42, 66, .1); }
.guarantee__seal {
  position: absolute; top: -26px; left: 40px;
  background: var(--blue); color: #fff;
  font-family: var(--f-head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 15px;
  padding: 10px 18px; border-radius: 6px;
}
.guarantee h2 { margin-top: 8px; margin-bottom: 4px; }
.guarantee__scope { color: var(--mute); font-style: italic; margin-bottom: 26px; }
.guarantee ol { padding-left: 22px; margin: 0 0 1em; }
.guarantee ol li { margin-bottom: 8px; }

/* Für wen */
.fit { display: grid; gap: 26px; margin-top: 30px; }
.fit__col { border-radius: 14px; padding: 28px 26px; background: var(--night-2); }
.fit__col h3 { font-size: 22px; }
.fit__col ul { list-style: none; padding: 0; margin: 0; }
.fit__col li { padding-left: 34px; position: relative; margin-bottom: 14px; }
.fit__col li::before { position: absolute; left: 0; top: 0; font-weight: 700; font-size: 20px; line-height: 1.4; }
.fit__yes { border-top: 4px solid #3FB97B; }
.fit__yes li::before { content: "✓"; color: #3FB97B; }
.fit__no { border-top: 4px solid var(--red); }
.fit__no li::before { content: "✕"; color: #E0675C; }
.fit__after { text-align: center; margin-top: 30px; color: #B9C6D6; }

/* Mario */
.mario { display: grid; gap: 44px; align-items: start; }
.mario__img img { border-radius: 14px; width: 100%; max-width: 380px; margin: 0 auto; }
.quotes { display: grid; gap: 18px; margin-top: 48px; }
.quote { background: var(--light); border-radius: 12px; padding: 22px 24px; margin: 0; border-left: 4px solid var(--blue); }
.quote p { font-size: 17px; margin-bottom: 10px; }
.quote cite { font-style: normal; font-weight: 700; color: var(--night); font-size: 15px; }
.quote cite span { font-weight: 400; color: var(--mute); }
.more { text-align: center; margin-top: 24px; }

/* FAQ */
.faq { max-width: 820px; margin: 30px auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--f-head); font-size: 22px; font-weight: 600; color: var(--night);
  padding: 22px 44px 22px 0; position: relative;
}
.faq__q::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 30px; color: var(--blue); transition: transform .2s; }
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 14px; }
.faq__a[hidden] { display: none; }

/* Schluss */
.close { text-align: center; }
.hero.close .wrap { display: block; }
.close__ways { max-width: 900px; margin-left: auto; margin-right: auto; }
.close h2 { font-size: clamp(34px, 5vw, 56px); }
.close .narrow { margin: 0 auto; }
.close__ways { display: grid; gap: 22px; margin-top: 36px; text-align: left; }
.close__way { background: var(--night-2); border-radius: 14px; padding: 26px; border: 1px solid rgba(95, 186, 228, .28); display: flex; flex-direction: column; }
.close__way .btn { margin-top: auto; }

/* Warteliste-Popup */
.optin-lock { overflow: hidden; }
.optin {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 20, 33, .78);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.optin[hidden] { display: none; }
.optin__box {
  position: relative; width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto;
  background: #fff; border-radius: 16px; border-top: 5px solid var(--blue);
  padding: 34px 30px 26px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.optin__box h2 { font-size: 32px; color: var(--night); margin-bottom: 12px; }
.optin__box p { font-size: 16px; }
.optin__close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 32px; line-height: 1; color: var(--mute); cursor: pointer; padding: 4px 8px; }
.optin__form { display: grid; gap: 6px; margin: 18px 0 14px; }
.optin__form label { font-size: 14px; font-weight: 700; color: var(--night); margin-top: 6px; }
.optin__form input {
  font: inherit; font-size: 17px; padding: 13px 14px;
  border: 2px solid var(--line); border-radius: 8px; color: var(--ink);
}
.optin__form input:focus { outline: none; border-color: var(--blue); }
.optin__form .btn { margin-top: 12px; width: 100%; }
.optin__form .btn:disabled { opacity: .6; cursor: wait; }
.optin__error { color: var(--red); font-size: 15px; font-weight: 600; margin: 6px 0 0; }
.optin__trust { font-size: 13px !important; color: var(--mute); text-align: center; margin: 0; }

/* Unterseiten (Bestätigen, Danke) */
.page-msg { min-height: 62vh; display: flex; align-items: center; }
.page-msg .narrow { margin: 0 auto; }
.page-msg h1 { font-size: clamp(34px, 5vw, 52px); color: #fff; }

/* Footer */
.foot { background: #0B1F33; color: #8FA0B4; font-size: 14px; padding: 34px 0; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot a { color: #B9C6D6; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot .logo { color: #fff; font-size: 20px; }

/* Ab Tablet */
@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1.25fr 1fr; }
  .profi { grid-template-columns: 1.35fr 1fr; }
  .phases { grid-template-columns: repeat(2, 1fr); }
  .packs { grid-template-columns: repeat(3, 1fr); }
  .fit { grid-template-columns: 1fr 1fr; }
  .mario { grid-template-columns: 1fr 1.4fr; }
  .quotes { grid-template-columns: repeat(2, 1fr); }
  .close__ways { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .phases { grid-template-columns: repeat(4, 1fr); }
  .quotes { grid-template-columns: repeat(3, 1fr); }
}

/* Grafik auf dem Handy: Karten, Stationen als Punktreihe */
@media (max-width: 860px) {
  .chart { padding: 22px 16px; }
  .chart__phases, .chart__st { display: none; }
  .grid10 { grid-template-columns: repeat(10, 1fr); row-gap: 12px; }
  .chart__row { padding: 16px 8px; }
  .chart__name { grid-column: 1 / -1; padding-left: 4px; }
  .b { width: 28px; height: 28px; font-size: 12px; border-width: 2px; }
  .chk::after { width: 14px; height: 14px; font-size: 8px; right: -5px; top: -6px; border-width: 1px; }
  .bars { grid-template-columns: 1fr; row-gap: 4px; }
  .bars .lbl { padding-left: 0; margin-top: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .sec { padding: 64px 0; }
  .hero { padding: 48px 0 60px; }
  .hero__visual { display: none; }
  .btn { display: block; width: 100%; }
  .guarantee { padding: 40px 22px 28px; }
  .guarantee__seal { left: 22px; }
  .logo { font-size: 22px; }
  .masthead__by { display: none; }
}
