/* Landing-Page PMO Portfolio + Beratung.
   Schriften lokal (fonts/, siehe README.md), damit keine Anfrage an Google geht. */

/* Variable Schriften (Zeichensatz Latin): eine Datei deckt den ganzen Gewichtsbereich ab */
@font-face { font-family: 'Bricolage Grotesque'; src: url('../fonts/bricolage-grotesque.woff2') format('woff2'); font-weight: 500 700; font-display: swap; }
@font-face { font-family: 'Source Sans 3'; src: url('../fonts/source-sans-3.woff2') format('woff2'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrains-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }

:root {
  --ink: #0F1A24;
  --panel: #16242F;
  --line: #2A3B49;
  --line-strong: #3A4E5E;
  --text: #E8EEF2;
  --muted: #B9C7D2;
  --faint: #8FA3B3;
  --mint: #7FD1B9;
  --amber: #F2B84B;
  --amber-ink: #1B1405;
  --paper: #E8EEF2;
  --paper-muted: #3A4E5E;

  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', Consolas, 'Courier New', monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; }
img { max-width: 100%; }
a { color: var(--mint); }
a:hover { color: #A9E3D2; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }

/* Baender ueber die volle Breite, Inhalt mittig */
.band { padding-left: max(16px, 4vw); padding-right: max(16px, 4vw); }
.band--paper { background: var(--paper); color: var(--ink); }
.band--panel { background: var(--panel); }
.band--amber { background: var(--amber); color: var(--amber-ink); }
.wrap { max-width: 1200px; margin: 0 auto; padding-block: 88px; display: flex; flex-direction: column; gap: 36px; }
.wrap--tight { padding-block: 64px; }

.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mint); }
.eyebrow--amber { color: var(--amber); }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lead { font-size: 19px; color: var(--muted); }
.h2 { font-size: 44px; line-height: 1.08; }
.h2--small { font-size: 36px; line-height: 1.1; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; padding: 14px 22px; border-radius: 4px; font-weight: 600; font-size: 17px; }
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: #F6C766; color: var(--amber-ink); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost:hover { color: var(--text); border-color: var(--faint); }
.btn--dark { background: var(--ink); color: var(--text); }
.btn--dark:hover { background: var(--panel); color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { text-decoration: none; color: var(--text); font-family: var(--display); font-weight: 700; font-size: 20px; }
.brand span { font-weight: 500; color: var(--faint); }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { color: var(--muted); text-decoration: none; }
.nav__links a:not(.btn):hover { color: var(--text); }
.nav__links .btn { padding: 10px 18px; font-size: 16px; }

/* Hero */
.hero { padding-block: 24px 72px; gap: 48px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; max-width: 900px; }
.hero h1 { font-size: 64px; line-height: 1.02; letter-spacing: -0.02em; }
.hero .lead { font-size: 20px; max-width: 36em; }

/* App-Fenster um Screenshots */
.window { border: 1px solid var(--line); border-radius: 10px; background: var(--panel); overflow: hidden; }
.window--ink { background: var(--ink); }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--faint); }
.window__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window__dot:last-of-type { margin-right: 8px; }
.window img { display: block; width: 100%; height: auto; }

/* Probleme / Vertrauen */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.cols--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.pain { border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pain h3 { font-family: var(--body); font-size: 22px; font-weight: 600; letter-spacing: 0; }
.pain p, .fact p { color: var(--paper-muted); }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact h3 { font-family: var(--body); font-size: 19px; font-weight: 600; letter-spacing: 0; }
.fact p { font-size: 16px; }

/* Phasen-Umschalter */
.phases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.gate { width: 14px; height: 14px; transform: rotate(45deg); background: var(--amber); margin: 0 8px; }
.phase-btn { cursor: pointer; text-align: left; font: inherit; color: var(--text); background: transparent; border: 1px solid var(--line-strong); padding: 12px 16px; border-radius: 6px; min-height: 44px; }
.phase-btn:hover { border-color: var(--faint); }
.phase-btn[aria-selected="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.phase-btn small { display: block; font-family: var(--mono); font-size: 12px; }
.phase-btn strong { display: block; font-size: 17px; font-weight: 600; }
.phase-panel { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.phase-panel__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.phase-panel .window { flex: 1.6 1 480px; min-width: 0; }
.note { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.note__label { font-family: var(--mono); font-size: 12px; color: var(--faint); }
.note__label--mint { color: var(--mint); }
.note__label--amber { color: var(--amber); }
.note p { font-size: 18px; line-height: 1.45; }

/* Software */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.split .window { flex: 1.6 1 520px; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ''; position: absolute; left: 2px; top: 0.45em; width: 10px; height: 10px; transform: rotate(45deg); border: 2px solid var(--mint); }

/* Karten: Beratung, Preise */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card--accent { border: 2px solid var(--amber); padding: 23px; }
.card h3 { font-size: 24px; }
.card p { color: var(--muted); }
.card__meta { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-top: auto; }
.card--accent .card__meta { color: var(--amber); }
.price { font-family: var(--display); font-weight: 700; font-size: 36px; }
.price small { font-size: 16px; font-weight: 500; color: var(--faint); }
.badge { font-family: var(--mono); font-size: 12px; color: var(--amber-ink); background: var(--amber); padding: 3px 8px; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.card__title { font-size: 18px; font-weight: 600; }

/* Ueber mich */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.portrait { flex: 0 0 200px; height: 240px; max-width: 100%; background: var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--faint); font-size: 14px; }
.about__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.about__claim { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.35; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px 40px; }
.faq h3 { font-family: var(--body); font-size: 19px; font-weight: 600; letter-spacing: 0; margin-bottom: 6px; }
.faq p { font-size: 16px; color: var(--muted); }

/* Kontakt, Fusszeile */
.cta { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.cta__text { display: flex; flex-direction: column; gap: 8px; max-width: 640px; }
.cta h2 { font-size: 40px; line-height: 1.08; }
.cta__mail { font-weight: 600; font-size: 17px; padding: 14px 4px; user-select: all; }
.footer { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; padding-block: 28px; font-size: 14px; color: var(--faint); max-width: 1200px; margin: 0 auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { color: var(--faint); }

@media (max-width: 720px) {
  .wrap { padding-block: 64px; }
  .hero h1 { font-size: 40px; }
  .h2, .cta h2 { font-size: 32px; }
  .h2--small { font-size: 28px; }
  .nav__links { gap: 16px; }
  .gate { display: none; }
}
