/* Basis-Styles. Keine Inline-Styles verwenden (CSP: style-src 'self'). */

/* Handschrift für einzelne Akzente – lokal gehostet (Caveat Brush, SIL Open Font License) */
@font-face {
  font-family: "Caveat Brush";
  src: url("/assets/fonts/caveat-brush-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg: #0b1519;
  --bg-soft: #112128;
  --bg-card: #142a32;
  --line: #21404a;
  --text: #eef5f4;
  --muted: #a6bcbf;
  --green: #6fe0a5;
  --blue: #5cb8ff;
  --accent: var(--green);
  --grad: linear-gradient(120deg, var(--green), var(--blue));
  --radius: 16px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Handschrift sparsam einsetzen: nur Klasse .hand */
.hand {
  font-family: "Caveat Brush", "Segoe Print", "Bradley Hand", cursive;
  font-weight: 400; letter-spacing: 0.01em; line-height: 1.1;
}
h2.hand { font-size: clamp(2.1rem, 5vw, 2.9rem); }
.hero h1.hand { font-size: clamp(3rem, 9vw, 6rem); line-height: 1; max-width: 18ch; }
.quote.hand { font-size: 1.6rem; }
.quote.hand cite { font-family: var(--font); }
.muted { color: var(--muted); }
.mt { margin-top: 28px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 21, 25, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--text); }
.logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo:hover { text-decoration: none; }
.nav ul { list-style: none; display: flex; gap: 22px; margin: 0; padding: 0; }
.nav ul a { color: var(--muted); font-size: 0.95rem; }
.nav ul a:hover, .nav ul a[aria-current="page"] { color: var(--text); text-decoration: none; }

/* Social-Media-Dropdown in der Navigation */
.nav .social { position: relative; }
.nav .social summary {
  list-style: none; cursor: pointer; color: var(--muted); font-size: 0.95rem; white-space: nowrap;
}
.nav .social summary::-webkit-details-marker { display: none; }
.nav .social summary::after { content: " ▾"; font-size: 0.75em; }
.nav .social summary:hover, .nav .social details[open] summary { color: var(--text); }
.nav .social-menu {
  position: absolute; right: 0; top: calc(100% + 14px);
  display: block; min-width: 190px; padding: 8px; margin: 0;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.nav .social-menu li { display: block; }
.nav .social-menu a, .nav .social-menu .soon {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; font-size: 0.95rem; white-space: nowrap;
}
/* Offizielle Logos (Simple Icons, CC0) – einfarbig, unverändert */
.ico { width: 18px; height: 18px; flex: 0 0 18px; }
.nav .social-menu a { color: var(--text); }
.nav .social-menu a:hover { background: rgba(255,255,255,0.06); }
.nav .social-menu .soon { color: var(--muted); opacity: 0.7; }

/* Hero mit Drohnenvideo – Datei: assets/hero.mp4 (+ assets/hero-poster.webp) */
.hero {
  position: relative; overflow: hidden;
  min-height: 86vh;
  display: flex; align-items: center;
  padding: 110px 0 110px;
  text-align: center;
  background: radial-gradient(120% 90% at 70% 10%, #1f5a6b 0%, #163f3a 35%, var(--bg) 80%);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.2s ease;
  transform: scale(1.04); animation: drift 14s ease-in-out infinite alternate;
}
.hero-media video.on { opacity: 1; }
@keyframes drift { to { transform: scale(1.1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(11,21,25,0.35), transparent 75%),
    linear-gradient(180deg, rgba(11,21,25,0.25) 0%, rgba(11,21,25,0.35) 60%, var(--bg) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.16em;
  font-size: 0.78rem; color: var(--green); font-weight: 700; margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(2.5rem, 7.5vw, 5rem);
  line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 18px; max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,0.35);
}
.hero p.lead { font-size: 1.2rem; color: #dbe8e6; max-width: 54ch; margin: 0 0 28px; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-actions .btn.ghost { margin: 0; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--grad); color: #06171a; font-weight: 700;
  box-shadow: 0 6px 24px rgba(92, 184, 255, 0.18);
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.ghost { background: rgba(255,255,255,0.06); color: var(--text); border: 1px solid rgba(255,255,255,0.18); box-shadow: none; margin-left: 8px; }
.btn.ghost:hover { background: rgba(255,255,255,0.12); }
.btn.small { padding: 9px 18px; font-size: 0.92rem; }

/* Live-Standort */
.live {
  margin-top: -36px; position: relative; z-index: 3;
}
.live .box {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.pulse {
  width: 10px; height: 10px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(111,224,165,0.6); animation: pulse 2s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(111,224,165,0); } 100% { box-shadow: 0 0 0 0 rgba(111,224,165,0); } }
.live .label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.live strong { font-size: 1.1rem; }
.live .count { margin-left: auto; color: var(--muted); }
.live .count b { color: var(--text); font-size: 1.1rem; }

/* Sections */
section { padding: 80px 0; }
section.tight { padding-top: 0; }
/* Sprungziele (z. B. /#ueber-mich) nicht unter dem festen Menü verstecken */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 600px) { section[id] { scroll-margin-top: 100px; } }
section h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); letter-spacing: -0.02em; margin: 0 0 20px; line-height: 1.2; }
section h3, section .h3 { font-size: 1.15rem; margin: 0 0 6px; }
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; line-height: 1.1; margin: 0 0 14px; }

.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.portrait {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(160deg, #1f5a6b, #163f3a);
}
.portraits { display: flex; flex-direction: column; gap: 14px; }
/* Zweites Foto farblich an den warmen Look des Waldfotos angleichen */
.portrait.warm { filter: sepia(0.22) saturate(1.1) contrast(0.95) brightness(1.03); }
.quote {
  margin: 26px 0 0; padding: 18px 22px; border-radius: var(--radius);
  background: var(--bg-soft); border-left: 3px solid var(--green);
  font-size: 1.15rem; font-weight: 600;
}
.quote cite { display: block; margin-top: 6px; font-size: 0.85rem; font-weight: 400; font-style: normal; color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; padding: 0; list-style: none; }
.facts li {
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: 0.9rem; color: var(--muted);
}

/* Route */
.stations { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: st; }
.stations li {
  counter-increment: st;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.stations li::before {
  content: counter(st);
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad); color: #06171a; font-weight: 800;
}
.stations p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.tag {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); color: var(--muted);
}
.tag.fix { border-color: var(--green); color: var(--green); }

/* Route-Status: Klasse am <li> = fest | geplant | hier | erledigt | verschoben | gestrichen */
.route-stand { font-size: 0.85rem; color: var(--muted); margin: 6px 0 0; }
.stations .why { margin-top: 6px; font-size: 0.88rem; font-style: italic; color: #e8c37a; }
.stations li.hier { border-color: var(--green); box-shadow: 0 0 0 1px var(--green), 0 8px 30px rgba(111,224,165,0.12); }
.stations li.erledigt::before { content: "✓"; }
.stations li.erledigt h3, .stations li.erledigt p:not(.why) { opacity: 0.75; }
.stations li.gestrichen { opacity: 0.6; }
.stations li.gestrichen h3 { text-decoration: line-through; text-decoration-color: #ff8a80; }
.stations li.gestrichen::before { content: "✕"; background: #3a2a2a; color: #ff8a80; }
.stations li.verschoben::before { background: #4a3d22; color: #e8c37a; }
.tag.hier { background: var(--green); border-color: var(--green); color: #06171a; }
.tag.erledigt { border-color: var(--blue); color: var(--blue); }
.tag.verschoben { border-color: #e8c37a; color: #e8c37a; }
.tag.gestrichen { border-color: #ff8a80; color: #ff8a80; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }

/* Themen */
.topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topics div { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.topics p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--green); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 70ch; }

/* Blog-Karten */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; color: var(--text); display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
}
.card:hover { text-decoration: none; transform: translateY(-3px); border-color: var(--blue); }
.card .thumb { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #1f5a6b, #163f3a) center / cover; }
.card .body { padding: 18px 20px 22px; }
.card .meta { font-size: 0.8rem; color: var(--green); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; }
.card h3, .card .h3 { margin: 6px 0 8px; font-size: 1.2rem; line-height: 1.3; }
.card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery .ph {
  aspect-ratio: 4 / 5; border-radius: var(--radius); border: 1px dashed var(--line);
  background: linear-gradient(160deg, rgba(31,90,107,0.35), rgba(22,63,58,0.35));
  display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; text-align: center; padding: 16px;
}

/* Artikel */
.article { max-width: 720px; margin: 0 auto; padding: 40px 20px 80px; }
.breadcrumbs { font-size: 0.88rem; color: var(--muted); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }
.article .eyebrow { margin-top: 28px; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; margin: 8px 0 14px; }
.article .cover { display: block; width: 100%; height: auto; object-fit: cover; aspect-ratio: 16 / 9; border-radius: var(--radius); margin: 28px 0; background: linear-gradient(135deg, #1f5a6b, #163f3a) center / cover; }
.article h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.article blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--green); color: #d3e2e0; font-style: italic; }
.author {
  display: flex; gap: 16px; align-items: center; margin-top: 48px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft);
}
.author .avatar {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; object-position: 50% 25%;
  background: linear-gradient(160deg, #1f5a6b, #163f3a);
}
.author p { margin: 0; font-size: 0.95rem; color: var(--muted); }
.author strong { color: var(--text); }

/* Instagram-CTA */
.cta {
  text-align: center;
  background: radial-gradient(80% 120% at 50% 0%, rgba(92,184,255,0.14), transparent 70%), var(--bg-soft);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.cta p { max-width: 48ch; margin: 0 auto 24px; }

/* Unterstützen – bewusst klein */
.support { padding: 40px 0; }
.support .box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px;
}
.support p { margin: 0; color: var(--muted); font-size: 0.95rem; max-width: 60ch; }

/* Footer */
footer { padding: 36px 0; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
footer a { color: var(--muted); margin-left: 16px; }
footer a:first-child { margin-left: 0; }

/* Bewegung reduzieren */
@media (prefers-reduced-motion: reduce) {
  .hero-media video { animation: none; transition: none; }
  .pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* Mobil */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav ul a, .nav .social summary { font-size: 0.88rem; }
  .about { grid-template-columns: 160px 1fr; gap: 24px; }
  .topics { grid-template-columns: 1fr; }
  .stations li { grid-template-columns: 36px 1fr; }
  .stations .tag { grid-column: 2; justify-self: start; }
  .live .count { margin-left: 0; }
  section { padding: 60px 0; }
  .hero { min-height: 78vh; }
  .btn.ghost { margin: 10px 0 0; }
}

/* Handy: Menü in eine zweite Zeile unter das Logo */
@media (max-width: 600px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  .nav > .wrap > ul { width: 100%; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; }
  .nav ul a, .nav .social summary { font-size: 0.86rem; }
  .nav .social-menu { top: calc(100% + 10px); }
  /* Über mich: kleines Bild links, Text fließt rechts daneben und darunter weiter */
  .about { display: block; }
  .about .portraits { float: left; width: 120px; margin: 4px 16px 8px 0; gap: 8px; }
  .about .quote, .about .facts { clear: both; }
  .about::after { content: ""; display: block; clear: both; }
}

/* Rechtstexte (Datenschutz): lange Texte gut lesbar, lange Links umbrechen */
.legal { font-size: 0.95rem; }
.legal h2 { font-size: 1.3rem; margin-top: 44px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #cfdcda; overflow-wrap: anywhere; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal ul.index { columns: 2; column-gap: 32px; }
.legal ul.index li { break-inside: avoid; }
.legal .seal { margin-top: 48px; font-size: 0.85rem; }
@media (max-width: 600px) { .legal ul.index { columns: 1; } }
