/* ebike-kyf.de — Design Tokens & Base */
:root {
  /* Farben — Outdoor/Sandstein/Wald */
  --c-bg: #faf7f2;
  --c-surface: #ffffff;
  --c-ink: #1f2419;
  --c-ink-soft: #4a5043;
  --c-muted: #8a8e84;
  --c-line: #e6e1d8;
  --c-accent: #c0571c;        /* Sandstein-Rot (Kyffhäuser-Sandstein) */
  --c-accent-soft: #f5e6d8;
  --c-forest: #3d5a3a;         /* Buchenwald-Grün */
  --c-forest-soft: #dfe8d9;

  /* Typografie */
  --f-display: "Fraunces", Georgia, serif;
  --f-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Größen */
  --t-xs: 0.78rem;
  --t-sm: 0.9rem;
  --t-base: 1rem;
  --t-lg: 1.18rem;
  --t-xl: 1.6rem;
  --t-2xl: clamp(1.8rem, 3vw, 2.6rem);
  --t-hero: clamp(2.6rem, 6vw, 5rem);

  /* Abstand */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  --radius: 4px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(31,36,25,0.06), 0 1px 3px rgba(31,36,25,0.05);
  --shadow-md: 0 4px 12px rgba(31,36,25,0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; color: var(--c-ink); }
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-2xl); margin-bottom: var(--s-6); }
h3 { font-size: var(--t-xl); margin-bottom: var(--s-4); }

p { margin-bottom: var(--s-4); max-width: 65ch; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--s-6); }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 var(--s-6); }

section { padding: var(--s-16) 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: var(--s-2);
  font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg);
  color: var(--c-ink); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand svg { color: var(--c-accent); }

nav.primary { display: flex; gap: var(--s-6); }
nav.primary a {
  color: var(--c-ink-soft); font-size: var(--t-sm); font-weight: 500;
}
nav.primary a:hover, nav.primary a.active { color: var(--c-accent); text-decoration: none; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: var(--s-12) 0;
  margin-top: var(--s-24);
  color: var(--c-muted);
  font-size: var(--t-sm);
}
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-4); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-6);
  background: var(--c-accent); color: white;
  border-radius: var(--radius); border: none;
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 500;
  cursor: pointer; transition: background 0.2s;
  text-decoration: none;
}
.btn:hover { background: #a04515; text-decoration: none; }
.btn-ghost { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn-ghost:hover { background: var(--c-surface); }

/* Karten-Komponente */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-body { padding: var(--s-6); }
.card-meta { display: flex; gap: var(--s-4); color: var(--c-muted); font-size: var(--t-xs); margin-bottom: var(--s-2); text-transform: uppercase; letter-spacing: 0.05em; }
.card h3 { font-size: var(--t-lg); margin-bottom: var(--s-2); }
.card p { font-size: var(--t-sm); color: var(--c-ink-soft); margin: 0; }

/* Pills (Filter, Tags) */
.pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  background: var(--c-forest-soft); color: var(--c-forest);
  border-radius: 100px;
  font-size: var(--t-xs); font-weight: 500;
}
.pill-accent { background: var(--c-accent-soft); color: var(--c-accent); }

/* Stats grid */
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-4);
  padding: var(--s-6); background: var(--c-surface); border-radius: var(--radius-lg);
  border: 1px solid var(--c-line);
}
.stat-label { font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.stat-value { font-family: var(--f-display); font-size: var(--t-xl); color: var(--c-ink); }

/* Responsive */
@media (max-width: 720px) {
  nav.primary { gap: var(--s-3); }
  nav.primary a { font-size: var(--t-xs); }
  section { padding: var(--s-12) 0; }
}

/* === Public-Seiten zusätzliche Styles === */

.hero {
  min-height: 70vh;
  display: flex; align-items: center;
  background:
    linear-gradient(135deg, rgba(31,36,25,0.55), rgba(31,36,25,0.25)),
    linear-gradient(180deg, #5a6f4a 0%, #c0571c 100%);
  color: white; position: relative; overflow: hidden;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: white; max-width: 14ch; }
.hero p.lead { color: rgba(255,255,255,0.88); font-size: var(--t-lg); max-width: 50ch; margin-top: var(--s-6); margin-bottom: var(--s-8); }
.hero .pill { background: rgba(255,255,255,0.16); color: white; backdrop-filter: blur(4px); }
.hero .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero .btn-ghost { color: white; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.14); }

.grid-tours { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--s-6); }
.tour-card-image { aspect-ratio: 16/10; background: linear-gradient(135deg, #5a6f4a, #c0571c); position: relative; }
.tour-card-image.has-route { background-color: #f4ede0; }
.tour-card-image .badge {
  position: absolute; top: var(--s-3); left: var(--s-3);
  background: rgba(0,0,0,0.55); color: white;
  padding: 4px 10px; border-radius: 100px; font-size: var(--t-xs); backdrop-filter: blur(8px);
}

.sec-head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: var(--s-8);
  border-bottom: 1px solid var(--c-line); padding-bottom: var(--s-4);
}
.sec-head .label { font-family: var(--f-mono); font-size: var(--t-xs); color: var(--c-accent); text-transform: uppercase; letter-spacing: 0.1em; }

.atlas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); }
.atlas-tile { background: var(--c-surface); border: 1px solid var(--c-line); padding: var(--s-4); border-radius: var(--radius); text-align: center; transition: all 0.2s; }
.atlas-tile:hover { background: var(--c-accent-soft); border-color: var(--c-accent); }
.atlas-tile .num { font-family: var(--f-display); font-size: var(--t-xl); color: var(--c-accent); display: block; }
.atlas-tile .lbl { font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 600px) { .atlas-grid { grid-template-columns: repeat(2, 1fr); } }

/* Tour-Detail */
.tour-head {
  background: linear-gradient(135deg, #3d5a3a, #5a6f4a 60%, #c0571c);
  color: white; padding: var(--s-12) 0 var(--s-16);
}
.tour-head h1 { color: white; font-size: clamp(2rem, 4vw, 3.4rem); max-width: 18ch; }
.tour-head .breadcrumb { font-size: var(--t-xs); color: rgba(255,255,255,0.75); margin-bottom: var(--s-4); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--f-mono); }
.tour-head .breadcrumb a { color: rgba(255,255,255,0.85); }
.tour-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: var(--s-6); margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid rgba(255,255,255,0.2); }
.tour-meta .label { font-size: var(--t-xs); color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.05em; }
.tour-meta .value { font-family: var(--f-display); font-size: var(--t-xl); color: white; }

.map-legend { display: flex; gap: var(--s-6); flex-wrap: wrap; font-size: var(--t-sm); color: var(--c-ink-soft); margin-bottom: var(--s-12); }
.map-legend span { display: inline-flex; align-items: center; gap: var(--s-2); }
.map-legend .dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }

.photo-marker {
  width: 40px; height: 40px;
  background: white; border: 3px solid var(--c-accent);
  border-radius: 50%; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.photo-marker.video { border-color: var(--c-forest); }
.photo-popup { width: 280px; }
.photo-popup img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-popup .body { padding: var(--s-3); }
.photo-popup .caption { font-size: var(--t-sm); color: var(--c-ink); margin-bottom: 2px; }
.photo-popup .meta { font-size: var(--t-xs); color: var(--c-muted); }
.leaflet-popup-content { margin: 0; min-width: 240px; }

article.report { padding: var(--s-12) 0; }
article.report h2 { margin-top: var(--s-8); }
article.report p { font-size: var(--t-lg); line-height: 1.7; color: var(--c-ink-soft); }
article.report blockquote {
  border-left: 3px solid var(--c-accent);
  padding-left: var(--s-6); margin: var(--s-8) 0;
  font-family: var(--f-display); font-size: var(--t-xl); font-style: italic; color: var(--c-ink);
}

.photo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s-3); margin: var(--s-6) 0 var(--s-12); }
.photo-strip .thumb { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; cursor: pointer; position: relative; border: 1px solid var(--c-line); background: #ddd; }
.photo-strip .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-strip .thumb .pin { position: absolute; bottom: 6px; right: 6px; background: rgba(0,0,0,0.6); color: white; font-size: 10px; padding: 2px 6px; border-radius: 100px; }
.photo-strip .thumb .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); color: white; font-size: 28px; }

/* Atlas-Filter */
.atlas-head { padding: var(--s-12) 0 var(--s-8); border-bottom: 1px solid var(--c-line); }
.atlas-head h1 { font-size: var(--t-2xl); margin-top: var(--s-2); }
.filters {
  display: flex; gap: var(--s-2); flex-wrap: wrap;
  margin: var(--s-8) 0;
  padding: var(--s-4); background: var(--c-surface);
  border: 1px solid var(--c-line); border-radius: var(--radius-lg);
}
.filter-group { display: flex; align-items: center; gap: var(--s-2); padding-right: var(--s-4); border-right: 1px solid var(--c-line); flex-wrap: wrap; }
.filter-group:last-child { border-right: none; }
.filter-group .lbl { font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-right: var(--s-2); }
.filter-btn { padding: 6px 12px; background: transparent; border: 1px solid var(--c-line); border-radius: 100px; font-size: var(--t-xs); cursor: pointer; color: var(--c-ink-soft); font-family: var(--f-body); transition: all 0.15s; }
.filter-btn:hover { background: var(--c-bg); }
.filter-btn.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }

.atlas-list { display: grid; gap: var(--s-3); margin-bottom: var(--s-12); }
.atlas-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: var(--s-6); align-items: center;
  padding: var(--s-4) var(--s-6);
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  transition: all 0.2s; text-decoration: none; color: inherit;
}
.atlas-row:hover { border-color: var(--c-accent); text-decoration: none; }
.atlas-row .icon {
  width: 80px; height: 64px;
  background: linear-gradient(135deg, var(--c-forest), var(--c-accent));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: white; font-family: var(--f-display); font-size: var(--t-lg);
  flex-shrink: 0;
}
.atlas-row .icon.icon-img,
.atlas-row .icon.icon-route { background-color: #f4ede0; }

/* Region-Filter auf Tourenliste */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius-lg); }
.filter-bar-lbl { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-muted); margin-right: 4px; }
.filter-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: transparent; border: 1px solid var(--c-line); border-radius: 100px; font-size: var(--t-xs); color: var(--c-ink-soft); text-decoration: none; transition: all 0.15s; }
.filter-chip:hover { background: var(--c-bg); color: var(--c-ink); text-decoration: none; }
.filter-chip.active { background: var(--c-accent); color: white; border-color: var(--c-accent); }
.filter-chip-n { font-size: 11px; opacity: 0.7; background: rgba(0,0,0,0.06); padding: 1px 6px; border-radius: 100px; }
.filter-chip.active .filter-chip-n { background: rgba(255,255,255,0.25); opacity: 1; }
.atlas-row .body h3 { font-size: var(--t-lg); margin-bottom: 4px; }
.atlas-row .body .meta { font-size: var(--t-xs); color: var(--c-muted); display: flex; gap: var(--s-3); flex-wrap: wrap; }
.atlas-row .stats { display: flex; gap: var(--s-4); padding: 0; background: none; border: none; }
.atlas-row .stats div { text-align: right; }
.atlas-row .stats .v { font-family: var(--f-display); font-size: var(--t-base); color: var(--c-ink); }
.atlas-row .stats .l { font-size: var(--t-xs); color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.empty { padding: var(--s-12); text-align: center; color: var(--c-muted); }

@media (max-width: 720px) {
  .atlas-row { grid-template-columns: 56px 1fr; }
  .atlas-row .stats { grid-column: 2; margin-top: var(--s-2); }
  .atlas-row .icon { width: 48px; height: 48px; }
}

/* ===== Über mich, Links, Social ===== */
.hero-small { padding: var(--s-10) 0 var(--s-6); background: linear-gradient(180deg, #fbf6ee 0%, var(--c-bg) 100%); border-bottom: 1px solid #ece4d5; }
.hero-small h1 { font-family: var(--f-display); font-size: var(--t-3xl); color: var(--c-ink); margin: 0 0 var(--s-2); }
.hero-small .lead { font-size: var(--t-lg); color: var(--c-muted); max-width: 720px; }

.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: var(--s-8); padding: var(--s-8) 0; align-items: start; }
.about-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.about-text.prose h2 { font-family: var(--f-display); color: var(--c-forest); margin-top: var(--s-6); }
.about-text.prose p { line-height: 1.7; }
.about-text.prose ul { padding-left: var(--s-5); }
.about-text.prose li { margin: 4px 0; }
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
}

.social-list { list-style: none; padding: 0; margin: var(--s-4) 0; display: flex; flex-wrap: wrap; gap: var(--s-3); }
.social-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
  background: var(--c-ink); color: #fff; font-weight: 500; font-size: 14px;
  transition: transform .15s, background .15s;
}
.social-link:hover { transform: translateY(-1px); }
.social-link.social-instagram { background: linear-gradient(135deg,#f09433,#dc2743,#bc1888); }
.social-link.social-facebook  { background: #1877f2; }
.social-link.social-tiktok    { background: #000; }
.social-link svg { flex-shrink: 0; }

.footer-social { display: flex; gap: 10px; margin: 0 var(--s-4); }
.footer-social .social-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--c-muted); background: rgba(0,0,0,0.04);
  transition: color .15s, background .15s;
}
.footer-social .social-icon:hover { color: var(--c-accent); background: rgba(192,87,28,0.1); }

.links-list { list-style: none; padding: 0; margin: var(--s-4) 0 var(--s-6); display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: var(--s-4); }
.links-list li {
  background: #fff; border: 1px solid #ece4d5; border-radius: var(--radius);
  padding: var(--s-4); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.links-list li:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.06); border-color: var(--c-accent); }
.links-list li a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--c-ink); }
.links-list li strong { font-family: var(--f-display); font-size: var(--t-base); color: var(--c-accent); }
.links-list li .link-host { font-size: var(--t-xs); color: var(--c-muted); font-family: monospace; }
.links-list li p { margin: 8px 0 0; font-size: var(--t-sm); color: var(--c-muted); line-height: 1.5; }

/* ===== Lightbox ===== */
body.lb-open { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(15, 18, 22, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: var(--s-6);
}
body.lb-open .lightbox { display: flex; flex-direction: column; }
.lightbox .lb-stage {
  max-width: min(1200px, 100%); max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-stage img,
.lightbox .lb-stage video {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6); border-radius: 4px;
}
.lightbox .lb-caption { color: #fff; font-size: var(--t-base); margin-top: var(--s-4); text-align: center; max-width: 70ch; }
.lightbox .lb-meta { color: rgba(255,255,255,0.6); font-size: var(--t-sm); margin-top: 6px; font-family: monospace; }
.lightbox .lb-actions { margin-top: var(--s-3); }
.lightbox .lb-actions button {
  background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; cursor: pointer;
}
.lightbox .lb-actions button:hover { background: var(--c-accent); border-color: var(--c-accent); }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: rgba(255,255,255,0.1); color: #fff;
  border: none; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  font-size: 28px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--c-accent); }
.lightbox .lb-close { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lightbox .lb-prev, .lightbox .lb-next { width: 40px; height: 40px; font-size: 22px; }
}

/* Video-thumb in photo-strip */
.photo-strip .thumb.is-video .video-thumb {
  width: 100%; aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2a2a2a 0%, #0f0f0f 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
}
.photo-strip .thumb.is-video .play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--c-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.photo-strip .thumb { cursor: pointer; }

/* Video-Grid in Bericht */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: var(--s-4); margin: var(--s-4) 0 var(--s-6); }
.video-grid figure { margin: 0; }
.video-grid video { width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--radius); display: block; }
.video-grid figcaption { color: var(--c-muted); font-size: var(--t-sm); margin-top: var(--s-2); }

/* Header-Social-Icons */
.nav-sep { display: inline-block; width: 1px; height: 18px; background: rgba(0,0,0,0.12); margin: 0 8px; vertical-align: middle; }
.nav-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--c-muted); transition: color .15s, background .15s, transform .15s;
  margin: 0 2px;
}
.nav-social:hover { color: var(--c-accent); background: rgba(192,87,28,0.08); transform: translateY(-1px); }
.nav-social svg { width: 18px; height: 18px; }

/* ====== v1.4: Logo, Hero, Stats, Page-Hero, Komoot, Kommentare, MD-Layout ====== */

/* Logo im Header */
.brand { display: inline-flex; align-items: center; gap: var(--s-3); font-family: var(--f-display); font-weight: 600; font-size: var(--t-lg); color: var(--c-ink); }
.brand-logo { height: 36px; width: auto; display: block; }
.brand-text { letter-spacing: -0.01em; }
@media (max-width: 720px) { .brand-text { display: none; } }

/* Vollbreiter Hero auf Startseite */
.hero-full {
  position: relative; padding: clamp(80px, 14vw, 180px) 0 var(--s-16);
  background: linear-gradient(180deg, rgba(31,36,25,0.15) 0%, rgba(31,36,25,0.85) 100%), var(--c-forest);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: white; min-height: 62vh;
}
.hero-full .pill { background: rgba(255,255,255,0.18); color: white; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.15); }
.hero-full h1 { color: white; max-width: 18ch; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.05; }
.hero-full p.lead { color: rgba(255,255,255,0.92); font-size: var(--t-lg); max-width: 56ch; margin-top: var(--s-6); margin-bottom: var(--s-8); text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.hero-full .actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.hero-full .btn-ghost { color: white; border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.08); }
.hero-full .btn-ghost:hover { background: rgba(255,255,255,0.18); }

/* Page-Hero (Touren, Karte, Links, Über mich) */
.page-hero {
  position: relative; padding: clamp(60px, 9vw, 120px) 0 var(--s-12);
  background: linear-gradient(180deg, rgba(31,36,25,0.25) 0%, rgba(31,36,25,0.7) 100%), var(--c-forest);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  color: white; border-bottom: 1px solid var(--c-line);
}
.page-hero h1 { color: white; font-size: clamp(2rem, 4vw, 3.2rem); margin-top: var(--s-3); }
.page-hero .label-light { font-family: var(--f-mono); font-size: var(--t-xs); color: rgba(255,255,255,0.85); text-transform: uppercase; letter-spacing: 0.1em; }
.page-hero .page-hero-lead { color: rgba(255,255,255,0.92); max-width: 60ch; margin-top: var(--s-3); font-size: var(--t-lg); text-shadow: 0 1px 2px rgba(0,0,0,0.35); }
.page-hero .page-hero-lead p { color: inherit; max-width: none; }
.page-hero .page-hero-lead a { color: rgba(255,255,255,0.95); text-decoration: underline; }

/* Stats-Bar */
.stats-bar-section { padding: var(--s-12) 0; background: linear-gradient(180deg, var(--c-bg) 0%, var(--c-surface) 100%); border-bottom: 1px solid var(--c-line); }
.stats-bar { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: var(--s-6); max-width: 920px; margin: 0 auto; }
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1;
  color: var(--c-accent); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-lbl { font-size: var(--t-sm); color: var(--c-ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-top: var(--s-3); font-weight: 500; }
.stat-sep { width: 1px; height: 56px; background: var(--c-line); }
@media (max-width: 760px) {
  .stats-bar { grid-template-columns: 1fr; gap: var(--s-6); }
  .stat-sep { display: none; }
  .stat-item { padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
  .stat-item:last-child { border-bottom: none; }
}

/* Komoot-Toggle */
.komoot-toggle { margin: var(--s-8) 0; }
.komoot-btn { display: inline-flex; align-items: center; }
.komoot-btn svg { transition: transform .2s; }
.komoot-btn.open svg { transform: rotate(90deg); }
.komoot-panel { margin-top: var(--s-4); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); }
.komoot-panel iframe { width: 100%; border: 0; display: block; }

/* Kommentare */
.comments { margin-top: var(--s-12); padding-top: var(--s-8); border-top: 1px solid var(--c-line); }
.comments .cmt-count { color: var(--c-muted); font-weight: 400; font-size: 0.7em; }
.comment-list { display: grid; gap: var(--s-4); margin: var(--s-6) 0; }
.comment {
  background: var(--c-surface); border: 1px solid var(--c-line); border-left: 3px solid var(--c-accent);
  padding: var(--s-4) var(--s-6); border-radius: var(--radius);
}
.comment-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: var(--s-3); margin-bottom: var(--s-3); }
.comment-name a { color: var(--c-ink); }
.comment-name a:hover { color: var(--c-accent); }
.comment-head time { font-size: var(--t-xs); color: var(--c-muted); font-family: var(--f-mono); }
.comment-body { color: var(--c-ink-soft); line-height: 1.65; }
.comment-form { background: var(--c-surface); border: 1px solid var(--c-line); padding: var(--s-6); border-radius: var(--radius-lg); margin-top: var(--s-4); position: relative; }
.comment-form label { display: block; font-size: var(--t-sm); color: var(--c-ink-soft); margin-bottom: var(--s-4); font-weight: 500; }
.comment-form input, .comment-form textarea {
  display: block; width: 100%; margin-top: var(--s-2);
  padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--radius);
  font-family: inherit; font-size: var(--t-base); background: white;
  font-weight: 400; color: var(--c-ink);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--c-accent); }
.comment-form textarea { resize: vertical; min-height: 120px; line-height: 1.5; }
.comment-form .cmt-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 600px) { .comment-form .cmt-row { grid-template-columns: 1fr; } }
.cmt-flash { padding: var(--s-3) var(--s-4); border-radius: var(--radius); margin-bottom: var(--s-4); font-size: var(--t-sm); }
.cmt-flash.cmt-ok { background: #dcf0db; color: #2a5a25; }
.cmt-flash.cmt-err { background: #fde2dc; color: #a02010; }

/* MD-Layout-Blöcke (im md-render-Output und Editor-Preview) */
.report .md-img, .prose .md-img { margin: var(--s-6) 0; }
.report .md-img img, .prose .md-img img { border-radius: var(--radius-lg); display: block; max-width: 100%; }
.report .md-img figcaption, .prose .md-img figcaption { font-size: var(--t-sm); color: var(--c-muted); margin-top: var(--s-2); text-align: center; }
.report .md-img-left, .prose .md-img-left { float: left; margin: 0 var(--s-6) var(--s-4) 0; max-width: 45%; }
.report .md-img-right, .prose .md-img-right { float: right; margin: 0 0 var(--s-4) var(--s-6); max-width: 45%; }
.report .md-img-center, .prose .md-img-center { margin-left: auto; margin-right: auto; max-width: 80%; }
.report .md-img-left img, .report .md-img-right img,
.prose .md-img-left img, .prose .md-img-right img { width: 100%; }
@media (max-width: 640px) {
  .report .md-img-left, .report .md-img-right,
  .prose .md-img-left, .prose .md-img-right { float: none; margin: var(--s-4) 0; max-width: 100%; }
}

.report .md-cols, .prose .md-cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); margin: var(--s-6) 0; }
.report .md-cols .md-col, .prose .md-cols .md-col { min-width: 0; }
@media (max-width: 640px) { .report .md-cols, .prose .md-cols { grid-template-columns: 1fr; } }

.report .md-gallery, .prose .md-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--s-3); margin: var(--s-6) 0; }
.report .md-gallery img, .prose .md-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); display: block; }
.report .md-gallery a, .prose .md-gallery a { display: block; }

/* Clearfix für floated images */
.report::after, .prose::after { content: ''; display: block; clear: both; }

