/* ═══════════════════════════════════════════════════════
   TBW Projektarbeit Framework – Landing Page
   style.css | Brand Guidelines v2 | Mobile-first
   Aktualisiert: 2026-04-04 – Brand-Farben, Whitespace,
   Sticky Bar, Scroll-Animationen, keylearnings-Stil
═══════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:        #111111;
  --text:         #1d1d1f;
  --text-muted:   #6e6e73;
  --secondary:    #3a3a3c;
  --border:       #d2d2d7;
  --gray-bg:      #fafafa;
  --white:        #ffffff;
  --accent:       #2563EB;
  --accent-hover: #1D4ED8;
  --accent-tint:  #EFF6FF;
  --green:        #34c759;
  --red:          #ff3b30;
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px; /* Platz für Sticky Bottom Bar */
}

img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
s { color: var(--text-muted); }

/* ── TYPOGRAPHY ── */
h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--black);
  letter-spacing: -0.03em;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 16px;
}

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

strong { font-weight: 600; }

em.highlight { font-style: italic; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 680px; }
.container--text   { max-width: 680px; }
.container--steps  { max-width: 760px; }

.text-center { text-align: center; }

/* ── SECTIONS – deutlich mehr Whitespace ── */
.section { padding: 72px 0; }

.section--white { background: var(--white); }
.section--gray  { background: var(--gray-bg); }

.section__kicker {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.bridge {
  margin-top: 2rem;
  font-size: 17px;
  color: var(--accent);
}

.section__sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  margin-top: -0.25rem;
}

/* ── DIVIDER ── */
.section + .section {
  border-top: 1px solid var(--border);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 980px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn--large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── KICKER ── */
.kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ══════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   STICKY BOTTOM BAR
══════════════════════════════════════════ */
.sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}

.sticky-bar__price {
  font-size: 13px;
  color: var(--text-muted);
  display: none;
}

.sticky-bar__price strong {
  font-size: 20px;
  font-weight: 700;
  color: var(--black);
  margin-right: 4px;
}

.sticky-bar .btn {
  font-size: 15px;
  padding: 12px 24px;
}

/* ══════════════════════════════════════════
   SEKTION 1: HERO
══════════════════════════════════════════ */
.hero {
  background: linear-gradient(180deg, var(--accent-tint) 0%, var(--white) 100%);
  padding: 80px 24px 72px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  margin-bottom: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero__sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero .btn--primary {
  margin-bottom: 1.25rem;
}

.hero__meta {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  letter-spacing: 0.2px;
}

.hero__author-badge {
  margin-top: 16px;
  font-size: 14px;
  color: var(--secondary);
  font-style: italic;
}

/* ══════════════════════════════════════════
   SEKTION: ÜBER DEN AUTOR
══════════════════════════════════════════ */
.section--author { background: #f5f5f7; padding: 72px 0; }
.author { display: block; }
.author__label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 8px; }
.author__name { font-size: 28px; font-weight: 700; color: var(--text); margin: 0 0 4px; }
.author__credential { font-size: 15px; color: var(--accent); font-weight: 500; margin: 0 0 20px; }
.author__bio { font-size: 16px; line-height: 1.7; color: var(--secondary); margin: 0 0 12px; }
.author__bio:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════
   SEKTION 3: LÖSUNG (zweispaltig)
══════════════════════════════════════════ */
.solution {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.solution__text h2 { margin-top: 0; }

.cover-placeholder {
  background: var(--gray-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 15px;
  gap: 6px;
}

.cover-placeholder small {
  font-size: 13px;
  opacity: 0.5;
}

.solution__cover-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  display: block;
}

/* ══════════════════════════════════════════
   SEKTION 4: 9 STUFEN
══════════════════════════════════════════ */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 12px;
  border-bottom: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.15s ease;
}

.step:hover { background: var(--gray-bg); }

.step:first-child { border-top: 1px solid var(--border); }

.step__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.step__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.step__body strong {
  font-size: 15px;
  color: var(--text);
}

.step__body span {
  font-size: 14px;
  color: var(--text-muted);
}

.step__result {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  margin-top: 2px;
}

.step__time {
  font-size: 13px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 4px;
}

.steps__total {
  text-align: center;
  font-style: italic;
  color: var(--text-muted);
  font-size: 14px;
  margin: 0;
}

/* ══════════════════════════════════════════
   SEKTION 5: FÜR WEN
══════════════════════════════════════════ */
.forwhom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 2rem;
}

.forwhom__card {
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.forwhom__header {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.forwhom__header--yes {
  background: var(--white);
  color: var(--green);
  border-bottom: 1px solid var(--border);
}

.forwhom__header--no {
  background: var(--white);
  color: var(--red);
  border-bottom: 1px solid var(--border);
}

.forwhom__list {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.forwhom__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.5;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ══════════════════════════════════════════
   SEKTION 6: FEATURES
══════════════════════════════════════════ */
.features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
}

.feature:first-child { border-top: 1px solid var(--border); }

.feature__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-block {
  border-left: 3px solid var(--accent);
  background: var(--gray-bg);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  font-size: 16px;
  color: var(--text);
  font-style: italic;
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   SEKTION: NOTION TEMPLATE BONUS
══════════════════════════════════════════ */
.notion-bonus {
  background: var(--accent-tint);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.notion-bonus__icon {
  width: 56px;
  height: 56px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
}

.notion-bonus h3 {
  font-size: 22px;
  margin-bottom: 0.5rem;
}

.notion-bonus p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.notion-bonus .btn {
  font-size: 15px;
}

/* ══════════════════════════════════════════
   SEKTION 7: BEISPIEL
══════════════════════════════════════════ */
.example__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 2rem;
}

.example__item {
  text-align: center;
}

.example__img {
  width: 100%;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.example__caption {
  margin-top: 0.75rem;
  font-size: 14px;
  color: var(--text-muted, #6e6e73);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .example__grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════
   SEKTION 8: PREIS
══════════════════════════════════════════ */
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 20px;
  max-width: 440px;
  margin: 0 auto;
}

.price-card .btn--large {
  width: 100%;
  text-align: center;
  white-space: normal;
}

.anchors { margin-bottom: 1.5rem; }

.anchors p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.price {
  font-size: 56px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.price__currency {
  font-size: 28px;
  font-weight: 600;
  vertical-align: super;
}

.price__sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price__legal {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 0.75rem;
  margin-bottom: 0;
  opacity: 0.7;
  line-height: 1.5;
}

.price__note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.price__trust {
  font-size: 14px;
  color: var(--secondary);
  margin: 16px 0 8px;
}
.price__trust a {
  color: var(--accent);
  text-decoration: none;
}
.price__trust a:hover { text-decoration: underline; }

/* ── PROBLEM: DIFFERENTIATOR ── */
.problem__differentiator {
  font-style: italic;
  color: var(--text);
  font-size: 17px;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   SEKTION 9: FAQ
══════════════════════════════════════════ */
.faq { margin-top: 2rem; }

.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  padding: 18px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: color 0.15s;
}

.faq__question:hover { color: var(--accent); }

.faq__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq__item.open .faq__arrow { transform: rotate(180deg); }
.faq__item.open .faq__question { color: var(--accent); }

.faq__answer {
  padding-bottom: 18px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq__answer[hidden] { display: none; }

/* ══════════════════════════════════════════
   SEKTION 10: FINALER CTA
══════════════════════════════════════════ */
.cta-final {
  background: var(--black);
  padding: 80px 24px;
  text-align: center;
}

.cta-final h2 {
  color: var(--white);
  font-size: 28px;
  margin-bottom: 1rem;
}

.cta-final p {
  color: #86868b;
  font-size: 17px;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--black);
  border-top: 1px solid #333;
  padding: 20px 24px;
  text-align: center;
}

.footer p {
  font-size: 12px;
  color: #86868b;
  margin: 0;
}

.footer a {
  color: #86868b;
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover { color: var(--white); }

/* ══════════════════════════════════════════
   TABLET – min-width: 768px
══════════════════════════════════════════ */
@media (min-width: 768px) {

  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  h3 { font-size: 22px; }
  p  { font-size: 18px; }

  .section { padding: 100px 0; }

  .hero { padding: 120px 24px 100px; }
  .hero__sub { font-size: 19px; }

  .sticky-bar__price { display: block; }
  .sticky-bar .btn { font-size: 16px; padding: 14px 28px; }

  .solution {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }

  .solution__text { flex: 0 0 58%; }
  .solution__cover { flex: 1; }
  .cover-placeholder { min-height: 340px; }

  .forwhom {
    flex-direction: row;
    align-items: flex-start;
  }

  .forwhom__card { flex: 1; }

  .step__body {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
  }

  .step__body strong { min-width: 220px; }

  .step__num {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .price { font-size: 72px; }

  .price-card {
    padding: 40px 32px;
  }

  .price-card .btn--large {
    width: auto;
  }

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

  .notion-bonus {
    padding: 40px 40px;
  }

  .section--author { padding: 100px 0; }
}

/* ══════════════════════════════════════════
   DESKTOP – min-width: 1024px
══════════════════════════════════════════ */
@media (min-width: 1024px) {

  h1 { font-size: 64px; }
  h2 { font-size: 40px; }
  h3 { font-size: 24px; }

  .section { padding: 120px 0; }

  .hero { padding: 160px 24px 120px; }
}
