/* Frank Goes Walkabout — v1 (dunkel, editorial, typografie-geführt) */

@font-face {
  font-family: 'aceserif-pro';
  src: url('../fonts/aceserif-pro.otf') format('opentype');
  font-weight: normal; font-style: normal; font-display: swap;
}

:root {
  --bg:        #100f0d;   /* warmes Beinahe-Schwarz */
  --bg-alt:    #16140f;   /* eine Spur wärmer für die letzte Station */
  --fg:        #e9e3d6;   /* warmes Off-White */
  --fg-muted:  #8d877a;   /* gedämpft */
  --accent:    #c2a06a;   /* staubiges Gold/Sand, sparsam */
  --route:     #9c4f33;   /* verblasstes Sienna — die Reise-Linie auf der Flugkarte */
  --line:      rgba(233,227,214,0.14);

  --font-title:   'aceserif-pro', 'Cormorant Garamond', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'EB Garamond', Georgia, serif;
  --font-label:   ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --measure: 39rem;        /* schmales Lesemaß ~625px */
  --pad-y: clamp(5rem, 11vh, 9.5rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Staub & Filmkorn — das gerettete, im Dreck gelegene Memoir (8.6.) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}
@media (prefers-reduced-motion: reduce) { body::after { opacity: 0.035; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: clamp(1.16rem, 1.04rem + 0.5vw, 1.34rem);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(1.3rem, 3vw, 2.2rem) clamp(1.5rem, 5vw, 3.5rem);
}
/* Schreibtisch-Schatten am oberen Rand — die Lampe steht tiefer (Lesbarkeit) */
.nav::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 260%;
  pointer-events: none; z-index: -1;
  background: linear-gradient(to bottom, rgba(16,15,13,0.88) 0%, rgba(16,15,13,0.5) 50%, transparent 100%);
}
.nav__mark {
  font-family: var(--font-title);          /* Aceserif Pro — der Titel im Einband */
  letter-spacing: 0.06em;
  font-size: 1.18rem; color: var(--fg); text-decoration: none; opacity: 0.95;
  text-shadow: 0 1px 14px rgba(0,0,0,0.6);
  display: inline-flex; align-items: center; gap: 0.7rem;
}
.nav__emblem { height: 2.8rem; width: auto; display: block; }
.nav__links { display: flex; gap: clamp(0.9rem, 2.2vw, 1.9rem); }
.nav__links a {
  font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.7rem; color: var(--fg); text-decoration: none; opacity: 0.78;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  transition: opacity 0.3s, color 0.3s;
}
.nav__links a:hover { opacity: 1; color: var(--accent); }
/* Aktive Seite — gestempelt wie im Reisepass, im Sienna der Route */
.nav__links a[aria-current="page"] {
  opacity: 1; color: var(--route);
  border-bottom: 1.5px dashed var(--route);
  padding-bottom: 0.3em;
}
/* Sprach-Umschalter — eigener Akzent, durch Trennlinie abgesetzt */
.nav__lang {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.7rem; color: var(--accent); text-decoration: none; opacity: 0.95;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55);
  padding-left: clamp(0.9rem, 2.2vw, 1.9rem); border-left: 1px solid var(--line);
  transition: color 0.3s;
}
.nav__lang:hover { color: var(--fg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end; justify-content: flex-start;
  text-align: left; overflow: hidden;
  background: #000 url("../img/dawn.jpg") center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  /* Overlay entfernt (Wunsch Frank 8.6.) — Bild trägt sich selbst.
     Nur eine weiche Abdunklung unten-links, damit der Titel im Dunkel sitzt. */
  background: radial-gradient(80% 70% at 12% 92%, rgba(16,15,13,0.82) 0%, rgba(16,15,13,0.45) 45%, transparent 75%);
}
.hero__inner { position: relative; padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(3rem, 9vh, 6rem); max-width: 46rem; animation: rise 1.4s ease both; }
.hero__title {
  font-family: var(--font-title); font-weight: 400;
  letter-spacing: 0.04em;
  font-size: clamp(2.4rem, 1rem + 6vw, 6rem);
  line-height: 1.02; margin: 0;
  text-shadow: 0 2px 50px rgba(0,0,0,0.7);
}
.hero__sub {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  color: rgba(233,227,214,0.9);
  font-size: clamp(1.15rem, 0.9rem + 1.3vw, 2rem);
  margin: clamp(1rem, 2.5vh, 1.8rem) 0 0;
  letter-spacing: 0.01em;
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--fg); text-decoration: none; font-size: 1.3rem; opacity: 0.55;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(7px); } }

/* ---------- Lesebänder ---------- */
.band { padding: var(--pad-y) clamp(1.5rem, 5vw, 3rem); }
.band--alt { background: var(--bg-alt); }
/* Reise-Linie am Intro-Ende: Band-Polster am Übergang weg → symmetrischer Abstand ums die Linie */
#intro { padding-bottom: 0; }
#intro + .band { padding-top: 0; }
/* Polster am Route-Übergang wegnehmen → enge, symmetrische Trennlinie wie auf der Startseite */
.band--flush-bottom { padding-bottom: 0; }
.band--flush-top { padding-top: 0; }
.measure { max-width: var(--measure); margin: 0 auto; }
.band p { margin: 0 0 1.5em; }
.band p.line { margin-bottom: 0.55em; }      /* kurze Beat-Zeilen enger */
.band p.line + p.line { margin-top: 0; }
.muted { color: var(--fg-muted); }

.eyebrow {
  font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.72rem; color: var(--accent);
  margin: 0 0 2.4em !important;
  display: flex; align-items: center; gap: 1rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- Feldnotiz-Marginalie (Ort · Jahr) ---------- */
.fieldnote {
  font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.64rem; color: var(--route);
  margin: 0 0 1.6em; display: inline-flex; align-items: center; gap: 0.6rem;
  text-shadow: 0 1px 10px rgba(0,0,0,0.85), 0 0 3px rgba(0,0,0,0.7);
}
.fieldnote::before { content: "⌖"; font-size: 0.85rem; opacity: 0.9; letter-spacing: 0; }

/* ---------- Reise-Linie (Flugkarten-Route) ---------- */
.route {
  --dash: 6px;
  height: 0; border: 0; margin: clamp(3.5rem, 8vh, 6rem) auto;
  width: min(62%, 30rem);
  border-top: 1.5px dashed var(--route);
  position: relative; opacity: 0.7;
}
.route::after {
  content: ""; position: absolute; top: 50%; right: -2px; transform: translateY(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--route); box-shadow: 0 0 0 3px rgba(156,79,51,0.18);
}

/* ---------- Drehpunkt-Zitat ---------- */
.pivot {
  font-family: var(--font-body); font-style: italic; font-weight: 400;
  text-align: center; color: var(--fg);
  font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem);
  line-height: 1.3; max-width: 24ch;
  margin: clamp(3rem, 7vh, 5.5rem) auto; padding: 0 1.5rem;
  border: 0;
}

/* ---------- CTA ---------- */
.cta-line { margin-top: 2.6em; }
.cta {
  font-family: var(--font-label); text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.74rem; text-decoration: none;
  color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 0.35em;
  transition: border-color 0.3s;
}
.cta:hover { border-color: var(--accent); }

/* Inline-Link im Lesefluss — leise Tür, kein Button */
.link {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid var(--line); transition: border-color 0.3s;
}
.link:hover { border-color: var(--accent); }

/* ---------- Bild-Pause ---------- */
.break {
  height: clamp(48vh, 60vh, 70vh);
  background: #000 url("../img/dusk.jpg") center/cover no-repeat fixed;
  position: relative;
  filter: sepia(0.18) saturate(0.85) brightness(0.92) contrast(1.02); /* verblasste Erinnerung, Film 2004 */
}
.break::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(16,15,13,0.92), rgba(16,15,13,0.45) 50%, rgba(16,15,13,0.92));
}

/* ---------- Footer ---------- */
.foot { padding: var(--pad-y) clamp(1.5rem, 5vw, 3rem) 4rem; border-top: 1px solid var(--line); }
.foot__inner p { margin: 0 0 1.4em; }
.foot__meta {
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.64rem; color: var(--fg-muted); margin-top: 2.6em !important;
}
.foot__meta a { text-decoration: none; opacity: 0.8; }
.foot__meta a:hover { color: var(--accent); }

/* ---------- Reveal-Animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__inner, .hero__scroll { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  .nav { justify-content: center; flex-direction: column; gap: 0.8rem; padding-top: 1.4rem; }
  .nav__links { gap: 1rem; }
  .break { background-attachment: scroll; }   /* fixed ruckelt auf Mobile */
  .hero__inner { transform: translateY(-1.5rem); }   /* große Überschrift mobil 1.5rem höher */
}

/* ---------- Subpage-Hero (kürzer) + andere Bilder ---------- */
.hero--page { min-height: 44svh; }
.hero--page .hero__title { font-size: clamp(2.04rem, 0.85rem + 5.1vw, 5.1rem); transform: translateY(2.5rem); }  /* Unterseiten-Titel 15% kleiner, runter zur Unterzeile */
.hero--page .hero__sub { margin-top: 0.4rem; transform: translateY(3rem); }        /* Unterzeile bleibt unten */
.hero--page .fieldnote { transform: translateY(2.5rem); }                          /* gleicher Versatz wie Titel → Abstand wie auf der Startseite */
.hero--solitude { background-image: url("../img/solitude.jpg"); }
.hero--break { background-image: url("../img/break.jpg"); }
.hero--dusk { background-image: url("../img/dusk.jpg"); }
.hero--istanbul { background-image: url("../img/istanbul.jpg"); }
.hero--plain { background: var(--bg-alt); }   /* bildlos, ruhiger Titel-Hero (Unterseiten) */
.hero--kontakt { background-image: url("../img/kontakt.jpg"); }

/* ---------- Podcast / Embed ---------- */
.embed { max-width: var(--measure); margin: 2.6rem auto 0; }
.embed iframe { width: 100%; border: 0; border-radius: 12px; display: block; }

/* ---------- Kontaktformular ---------- */
.form { max-width: var(--measure); margin: 3rem auto 0; display: grid; gap: 1.6rem; }
.form label {
  display: block; font-family: var(--font-label);
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.62rem;
  color: var(--fg-muted); margin-bottom: 0.55rem;
}
.form input, .form textarea {
  width: 100%; background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-body); font-size: 1.1rem; padding: 0.55rem 0;
  transition: border-color 0.3s;
}
.form input:focus, .form textarea:focus { outline: 0; border-color: var(--accent); }
.form textarea { resize: vertical; min-height: 5.5rem; }
.form button {
  justify-self: start; margin-top: 0.4rem;
  font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 0.72rem; color: var(--bg); background: var(--accent);
  border: 0; padding: 0.9rem 2.2rem; cursor: pointer; transition: opacity 0.3s;
}
.form button:hover { opacity: 0.85; }
