/* =====================================================================
   prologistik-intro — styles.css
   Ein Akzent (Amber/Safety-Yellow) auf Anthrazit/Slate. Solide BGs.
   Radien gestuft 4/8/12. Schatten nur dezent auf Palette + aktiver Station.
   ===================================================================== */

:root {
  /* Basis: Anthrazit / Slate */
  --bg:        #14171c;
  --surface:   #1b1f26;
  --surface-2: #222831;
  --line:      #2c333d;
  --line-soft: #232a33;

  /* Text */
  --text:      #e7eaef;
  --text-dim:  #9aa3b0;
  --text-mute: #6b7480;

  /* EIN Akzent: Amber / Safety-Yellow */
  --accent:        #f5b301;
  --accent-strong: #ffc534;
  --accent-ink:    #1a1407; /* Text auf Akzentflächen */

  /* Radien (gestuft) */
  --r1: 4px;
  --r2: 8px;
  --r3: 12px;

  /* Rhythmus */
  --pad: clamp(1.1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 9vw, 6.5rem);
  --maxw: 1080px;
  --maxw-narrow: 720px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
strong { font-weight: 600; color: var(--text); }
a { color: var(--accent-strong); text-underline-offset: 3px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: var(--maxw-narrow); }

.section-title {
  font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.05rem);
  margin-bottom: 1rem;
}
.section-title::before {
  content: "";
  display: block;
  width: 46px; height: 3px;
  background: var(--accent);
  border-radius: var(--r1);
  margin-bottom: .9rem;
}

.lede { font-size: 1.1em; color: var(--text); max-width: 60ch; }
.note { color: var(--text-dim); max-width: 62ch; }

/* sichtbare Platzhalter für Texte, die Ali selbst schreibt */
.placeholder {
  color: var(--text-mute);
  font-style: italic;
  border: 1px dashed var(--line);
  border-radius: var(--r2);
  padding: .55rem .8rem;
  background: var(--surface);
  display: inline-block;
}

.visually-hidden, .skip-link:not(:focus) {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Disclaimer (dauerhaft sichtbar) ---------- */
.disclaimer {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  color: var(--text-dim);
  font-size: .82rem;
  text-align: center;
  padding: .5rem var(--pad);
}
.disclaimer__dot {
  display: inline-block; width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--accent); margin-right: .5rem; vertical-align: -1px;
}

.skip-link {
  position: fixed; top: .4rem; left: .4rem; z-index: 60;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem .8rem; border-radius: var(--r1); font-weight: 600;
}

/* ---------- Reveal (sanft) ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { padding-block: clamp(3rem, 8vw, 5.5rem) var(--section-y); border-bottom: 1px solid var(--line-soft); }
.hero__eyebrow { color: var(--accent-strong); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; margin: 0 0 1rem; }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 4.2vw, 4rem); margin: 0; }
.hero__role { display: block; font-weight: 600; color: var(--text-dim); font-size: clamp(1rem, .8rem + 1.1vw, 1.4rem); margin-top: .6rem; letter-spacing: 0; }
.hero__lead { margin: 1.6rem 0 0; max-width: 56ch; }

.stats { list-style: none; display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin: 2.4rem 0 0; padding: 0; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--r3); overflow: hidden; }
.stats li { background: var(--surface); padding: 1.1rem 1.2rem; }
.stats b { display: block; font-size: 1.7rem; font-weight: 700; color: var(--accent-strong); line-height: 1; }
.stats span { display: block; color: var(--text-dim); font-size: .85rem; margin-top: .45rem; }

/* ---------- Blocks ---------- */
.block { padding-block: var(--section-y); }
.block--alt { background: var(--surface); border-block: 1px solid var(--line-soft); }

.facts { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .55rem; }
.facts li { position: relative; padding-left: 1.4rem; color: var(--text); }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--accent); border-radius: var(--r1); }
.facts code { background: var(--surface-2); padding: .05rem .35rem; border-radius: var(--r1); font-size: .9em; }

.skill-tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.6rem 0 0; padding: 0; }
.skill-tags li { background: var(--surface-2); border: 1px solid var(--line); color: var(--text-dim); font-size: .82rem; padding: .35rem .7rem; border-radius: var(--r1); }

/* ---------- WERDEGANG (statisch: kein Sticky, kein Scroll-JS, normaler Flow) ---------- */
.journey { overflow: visible; }
.journey-sub { color: var(--text-dim); font-size: 1rem; margin: .2rem 0 0; max-width: 62ch; }

/* Dezente Prozesslinie mit fünf Knoten — rein dekorativ, statisch */
.journey-line { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; position: relative; }
.journey-line::before { content: ""; position: absolute; top: 7px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.journey-node { display: flex; flex-direction: column; align-items: center; gap: .55rem; position: relative; z-index: 1; }
.journey-node__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--bg); }
.journey-node__yr { font-size: .9rem; font-weight: 700; color: var(--accent-strong); font-variant-numeric: tabular-nums; text-align: center; }
.journey-node--goal .journey-node__dot { width: 12px; height: 12px; background: var(--bg); border: 2px solid var(--accent); }
.journey-node--goal .journey-node__yr { color: var(--text-dim); }

/* Fünf Karten im normalen Content-Flow, sauberes Grid */
.journey-cards { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.journey-card { background: var(--surface); border: 1px solid var(--line-soft); border-top: 3px solid var(--accent); border-radius: var(--r2); padding: 1.05rem 1.05rem 1.2rem; }
.journey-card--goal { border-top-color: var(--line); }
.journey-card__idx { color: var(--text-mute); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.journey-card__name { font-weight: 700; font-size: 1.05rem; margin: .35rem 0 .2rem; }
.journey-card__target { color: var(--accent-strong); font-weight: 600; font-size: .82rem; font-variant-numeric: tabular-nums; }
.journey-card__body { color: var(--text-dim); font-size: .9rem; margin: .7rem 0 0; }

/* ---------- TIMELINE ---------- */
.timeline { list-style: none; margin: 1.5rem 0 0; padding: 0 0 0 1.2rem; border-left: 2px solid var(--line); display: grid; gap: 1.6rem; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.2rem - 1px); top: .35em; width: 11px; height: 11px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); transform: translateX(-50%); }
.timeline__when { color: var(--accent-strong); font-weight: 600; font-size: .82rem; letter-spacing: .04em; }
.timeline__what { font-weight: 700; margin: .15rem 0; }
.timeline__desc { color: var(--text-dim); font-size: .92rem; }

/* ---------- MAPPING TABLE ---------- */
.table-scroll { margin-top: 1.4rem; border: 1px solid var(--line-soft); border-radius: var(--r3); overflow: hidden; }
.mapping { width: 100%; border-collapse: collapse; font-size: .95rem; }
.mapping th, .mapping td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--line-soft); }
.mapping thead th { background: var(--surface-2); color: var(--text-dim); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.mapping tbody tr:last-child td { border-bottom: 0; }
.mapping td:first-child { color: var(--text); }
.mapping td:last-child { color: var(--accent-strong); font-weight: 600; }
.mapping tbody tr:nth-child(odd) td { background: var(--surface); }

/* ---------- QUOTE ---------- */
.quote { padding-block: var(--section-y); background: var(--surface-2); border-block: 1px solid var(--line-soft); }
.quote__text { margin: 0; font-size: clamp(1.3rem, 1rem + 1.8vw, 2rem); font-weight: 600; line-height: 1.35; max-width: 22ch; position: relative; }
blockquote.quote__text:not(.placeholder)::before { content: "„"; color: var(--accent); font-size: 1.4em; line-height: 0; vertical-align: -.2em; margin-right: .1em; }

/* ---------- ANSATZ / Fragen ---------- */
.questions { list-style: none; margin: 1.3rem 0 0; padding: 0; display: grid; gap: .7rem; max-width: 58ch; }
.questions li { position: relative; padding-left: 1.5rem; color: var(--text); }
.questions li::before { content: "?"; position: absolute; left: 0; top: 0; color: var(--accent-strong); font-weight: 700; }

/* ---------- CTA ---------- */
.cta { padding-block: var(--section-y); text-align: left; }
.cta__name { font-weight: 600; margin: 1.4rem 0 0; }
.btn { display: inline-block; margin-top: 1.2rem; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: .8rem 1.4rem; border-radius: var(--r2); transition: background .2s var(--ease); }
.btn:hover, .btn:focus-visible { background: var(--accent-strong); }

/* ---------- FOOT ---------- */
.foot { border-top: 1px solid var(--line-soft); padding-block: 1.6rem; color: var(--text-mute); font-size: .82rem; }

/* ---------- Focus ---------- */
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; border-radius: var(--r1); }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
/* Werdegang: ab hier passen 5 Spalten nicht mehr sauber -> Linie ausblenden,
   Karten umbrechen. Linie + Karten bleiben nur auf dem Desktop deckungsgleich. */
@media (max-width: 900px) {
  .journey-line { display: none; }
  .journey-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .journey-cards { grid-template-columns: 1fr; }
}

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

/* =====================================================================
   REDUCED MOTION — Einblenden aus, alles sofort sichtbar
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}
