/* ============================================================
   PATHFINDERS BERLIN — style.css
   ------------------------------------------------------------
   FARBEN ANPASSEN: Nur die Variablen im :root-Block ändern.
   Alles andere leitet sich daraus ab.
   ============================================================ */

:root {
  /* ---- MARKENFARBEN (hier tauschen) ---- */
  --ink:        #14202B;   /* Basis dunkel: Tiefblau-Anthrazit */
  --ink-soft:   #23313E;   /* dunkel, eine Stufe heller */
  --paper:      #FFFFFF;   /* Basis hell */
  --paper-soft: #F3F5F4;   /* heller Abschnittswechsel */
  --accent:     #D08A1F;   /* Akzent: Bernstein (Pfad, CTA, Marker) */
  --accent-ink: #8A5A0F;   /* Akzent dunkel (Text auf hell, AA-Kontrast) */
  --line:       #D9DEE1;   /* Hairlines auf hell */
  --line-dark:  #33424F;   /* Hairlines auf dunkel */
  --muted:      #5A6873;   /* Sekundärtext auf hell */
  --muted-dark: #9FB0BC;   /* Sekundärtext auf dunkel */

  /* ---- TYPO ---- */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  /* ---- MASSE ---- */
  --max: 1080px;
  --pad: clamp(20px, 5vw, 48px);
  --radius: 4px;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Reset & Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  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(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
section { padding: clamp(72px, 10vw, 128px) 0; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: block;
  margin-bottom: 1.2em;
}
.dark .eyebrow { color: var(--accent); }

/* ---------- Header ---------- */
header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand .dot { color: var(--accent); }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  font-size: 0.92rem; color: var(--ink); text-decoration: none;
  font-family: var(--font-display); font-weight: 500;
}
.nav ul a:hover { color: var(--accent-ink); }
@media (max-width: 760px) { .nav ul { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  padding: 14px 28px;
  background: var(--ink); color: var(--paper);
  text-decoration: none; border-radius: var(--radius);
  transition: background 0.2s ease;
}
.btn:hover { background: var(--accent-ink); color: var(--paper); }
.dark .btn { background: var(--accent); color: var(--ink); }
.dark .btn:hover { background: var(--paper); }
.btn-outline { background: transparent; color: var(--paper); border: 1.5px solid var(--line-dark); }
.btn-outline:hover { background: var(--ink-soft); color: var(--paper); border-color: var(--accent); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 0.5rem; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(80px, 12vw, 150px); padding-bottom: 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.photo { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { max-width: 12ch; }
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 34em; color: var(--muted); margin-bottom: 2em;
}
/* Der Pfad beginnt: kurze vertikale Linie unter dem Hero */
.path-start {
  width: 2px; height: clamp(70px, 10vw, 130px);
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin: clamp(48px, 7vw, 88px) auto 0;
}

/* ---------- Manifest (dunkel) ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark p { color: var(--muted-dark); }
.dark strong, .dark h2 { color: var(--paper); }
.manifest p {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.55;
  max-width: 30em;
}
.manifest .these {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.3rem);
  color: var(--paper); line-height: 1.25;
  border-left: 3px solid var(--accent);
  padding-left: 0.8em; margin: 1.6em 0;
}
.manifest .these em { font-style: normal; color: var(--accent); }

/* ---------- Sektionsbild ---------- */
.section-photo { margin: 2.5rem 0 0; }
.section-photo img { width: 100%; border-radius: var(--radius); }
.weg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .weg-grid { grid-template-columns: 1fr; } }
.weg-grid .photo { position: sticky; top: 96px; }
@media (max-width: 900px) { .weg-grid .photo { position: static; } }

/* ---------- Timeline / Der Weg ---------- */
.timeline { position: relative; margin-top: 2.5rem; }
.timeline::before {
  content: ""; position: absolute; top: 6px; bottom: 6px; left: 7px;
  width: 2px; background: var(--accent);
}
.station {
  position: relative;
  padding: 0 0 2.4rem 44px;
}
.station:last-child { padding-bottom: 0; }
.station::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); border: 3px solid var(--accent);
}
.station .year {
  font-family: var(--font-display); font-weight: 700;
  color: var(--accent-ink); font-size: 0.95rem;
  display: block; margin-bottom: 2px;
}
.station h3 { margin-bottom: 0.25em; }
.station p { color: var(--muted); max-width: 34em; margin-bottom: 0; }

/* ---------- Säulen ---------- */
.soft { background: var(--paper-soft); }
.cols {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); margin-top: 2.5rem;
}
.col {
  background: var(--paper); padding: 34px 28px;
}
.col h3 { margin-top: 0.4em; }
.col p { color: var(--muted); margin-bottom: 0; font-size: 0.98rem; }
.col .num {
  font-family: var(--font-display); font-weight: 500;
  color: var(--accent-ink); font-size: 0.85rem; letter-spacing: 0.1em;
}
@media (max-width: 820px) { .cols { grid-template-columns: 1fr; } }

.ventures {
  margin-top: 1px; border: 1px solid var(--line); border-top: none;
  background: var(--paper); padding: 26px 28px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: baseline; justify-content: space-between;
}
.ventures p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.ventures a { font-family: var(--font-display); font-weight: 700; white-space: nowrap; }

/* ---------- Referenzen ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 48px; margin-top: 2.5rem; }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }
blockquote {
  margin: 0; padding-top: 1.1em;
  border-top: 2px solid var(--accent);
  font-size: 1rem; color: var(--ink);
}
blockquote footer {
  margin-top: 0.9em; font-family: var(--font-display);
  font-weight: 500; font-size: 0.88rem; color: var(--muted);
}

/* ---------- Über ---------- */
.about { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } }
.portrait { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); align-self: start; }
.portrait img { width: 100%; height: auto; display: block; }

/* ---------- Kontakt ---------- */
.contact h2 { max-width: 16ch; }
.contact .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
}
.contact .big a { color: var(--paper); text-decoration-color: var(--accent); }
.contact .big a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
footer.site {
  border-top: 1px solid var(--line);
  padding: 36px 0; font-size: 0.9rem; color: var(--muted);
}
footer.site .row {
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: space-between; align-items: baseline;
}
footer.site nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--ink); text-decoration: underline; }
.eco { font-family: var(--font-display); font-weight: 500; }

/* ---------- Rechtsseiten ---------- */
.legal { padding-top: 60px; padding-bottom: 80px; max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: var(--ink); font-size: 0.98rem; }
.legal .meta { color: var(--muted); }
.legal .todo {
  background: var(--paper-soft); border: 1px dashed var(--accent);
  padding: 16px 20px; border-radius: var(--radius); color: var(--muted);
}

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Cookie-Consent ---------- */
.consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: var(--ink); color: var(--paper);
  border-top: 3px solid var(--accent);
  padding: 18px var(--pad);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}
.consent-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 14px 32px;
  align-items: center; justify-content: space-between;
}
.consent p { margin: 0; font-size: 0.92rem; color: var(--muted-dark); max-width: 44em; }
.consent p strong { color: var(--paper); }
.consent a { color: var(--accent); }
.consent-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-consent { background: var(--accent); color: var(--ink); border: none; cursor: pointer; }
.btn-consent:hover { background: var(--paper); }
.btn-quiet {
  background: transparent; color: var(--paper);
  border: 1.5px solid var(--line-dark); border-radius: var(--radius);
  font-family: var(--font-display); font-weight: 500; font-size: 0.95rem;
  padding: 14px 22px; cursor: pointer;
}
.btn-quiet:hover { border-color: var(--accent); }
