:root {
  --text-dark: #1a1a1a;
  --text-secondary: #5f5f5f;
  --text-muted: #8a8a8a;
  --bg-light: #ffffff;
  --bg-soft: #f7f6f4;
  --border: #e5e3df;
  --accent: #b5651d;
  --accent-bg: #fdf3e9;
  --radius: 10px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  line-height: 1.5;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid var(--border);
}
header .home-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border); border-radius: 50%;
  color: var(--text-secondary); text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
header .home-btn:hover { border-color: var(--accent); color: var(--text-dark); }
header .home-btn svg { width: 16px; height: 16px; }
nav { display: flex; gap: 28px; }
nav a { text-decoration: none; color: var(--text-secondary); font-size: 14px; }
nav a:hover, nav a.active { color: var(--text-dark); }

.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('bilder/hero.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 120px 20px;
}
.hero-portrait {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 6px solid white;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 2;
}
.hero.vortraege-hero {
  background-image: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)), url('bilder/vortraege-hero.jpg');
  color: white;
}
.hero p.eyebrow {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: 32px;
  font-weight: 600;
  max-width: 620px;
  margin: 0 auto 16px;
  color: white;
}
.hero p.sub {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin: 0 auto 30px;
}
.hero .buttons { display: flex; gap: 12px; justify-content: center; }
.hero h1 + .buttons { margin-top: 24px; }
.btn {
  padding: 11px 22px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-dark);
}
.btn.primary { background: var(--text-dark); color: white; border-color: var(--text-dark); }
.hero .btn:not(.primary) {
  border-color: rgba(255,255,255,0.7);
  color: white;
  background: rgba(255,255,255,0.12);
}
.hero .btn:not(.primary):hover {
  background: rgba(255,255,255,0.22);
}
section.intro { padding: 40px 40px 0; max-width: 900px; margin: 0 auto; }
.intro-box { background: var(--bg-soft); border-radius: var(--radius); padding: 32px 36px; }
.intro-box h2 { font-size: 20px; font-weight: 600; color: var(--text-dark); margin-bottom: 14px; }
.intro-box p { font-size: 15px; color: var(--text-secondary); margin-bottom: 14px; }
.intro-box p:last-child { margin-bottom: 0; }
section.offerings { padding: 60px 40px; max-width: 900px; margin: 0 auto; }
section.offerings h2 { font-size: 14px; color: var(--text-secondary); font-weight: 500; margin-bottom: 24px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--accent); }
.card .badge {
  display: inline-block;
  font-size: 11px;
  background: var(--accent-bg);
  color: var(--accent);
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.card p { font-size: 13px; color: var(--text-secondary); }

/* Für Inhaltsseiten wie "Über mich" */
.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 60px 20px;
}
.content .profile-photo-frame {
  width: 100%;
  height: 280px;
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 32px;
}
.content .profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content .photo-placeholder {
  width: 100%;
  height: 280px;
  background: var(--bg-soft);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 32px;
}
.content h1 { font-size: 26px; font-weight: 600; margin-bottom: 20px; }
.content p { font-size: 15px; color: var(--text-secondary); margin-bottom: 18px; }
.content h2 { font-size: 17px; font-weight: 600; margin: 34px 0 12px; color: var(--text-dark); }

/* Reise-Timeline (Länder-Stationen) */
.timeline { display: flex; flex-direction: column; gap: 48px; margin: 34px 0; }
.timeline-item { padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }
.timeline-item .country-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 22px; font-weight: 600; margin-bottom: 14px; }
.video-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  margin: -4px 0 16px;
}
.video-link:hover { text-decoration: underline; }
.timeline-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.timeline-photos .photo-placeholder { height: 180px; margin-bottom: 0; }
.timeline-photos img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
}
.learning-box {
  background: var(--accent-bg);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 18px;
}
.facts-box {
  background: var(--bg-soft);
  border-left: 3px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: 18px;
}
.facts-box .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 12px;
}
.facts-box dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 0;
}
.facts-box dt { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.facts-box dd { margin: 0; font-size: 13px; color: var(--text-secondary); }
.facts-box dd a { color: var(--accent); }

.learning-box .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.learning-box p { margin: 0; color: var(--text-dark); font-size: 14px; }

/* Reise-Seite: Route-Anzeige neben der Timeline (Dummy) */
.content.reise-content { max-width: 880px; }
.content.vortraege-content { max-width: 880px; }
.reise-layout { display: flex; align-items: flex-start; gap: 48px; }
.reise-layout .timeline { flex: 1; min-width: 0; }
.route-map {
  display: none;
  width: 90px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}
@media (min-width: 900px) {
  .route-map { display: block; }
}
.route-track {
  position: relative;
  width: 3px;
  height: 640px;
  background: var(--border);
  border-radius: 2px;
  margin: 10px auto 0;
}
.route-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--accent);
  border-radius: 2px;
  transition: height 0.4s ease;
}
.route-stops {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.route-stop { position: relative; height: 12px; }
.route-stop .dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.route-stop.reached .dot { background: var(--accent); border-color: var(--accent); }
.route-stop .stop-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.route-stop.reached .stop-label { opacity: 1; color: var(--text-secondary); font-weight: 500; }

/* Video-Hero (z. B. Reise-Seite) */
.video-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  color: white;
  padding: 100px 20px;
}
.video-hero .hero-video,
.video-hero .hero-poster {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}
.video-hero .hero-poster {
  width: 100%;
  height: 100%;
  display: none;
}
.video-hero.video-fallback .hero-video { display: none; }
.video-hero.video-fallback .hero-poster { display: block; }
.video-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55));
  z-index: 1;
}
.video-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.video-hero h1 { font-size: 30px; font-weight: 600; margin-bottom: 12px; }
.video-hero p { font-size: 15px; color: rgba(255,255,255,0.9); }

/* Vorher-Nachher-Slider */
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 12px;
  --pos: 50%;
  user-select: none;
}
.compare .img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text-muted);
}
.compare .compare-after .img-placeholder { background: var(--bg-soft); }
.compare .compare-before .img-placeholder { background: var(--accent-bg); }
.compare .compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.compare .compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: white;
  transform: translateX(-1px);
  pointer-events: none;
  box-shadow: 0 0 4px rgba(0,0,0,0.4);
}
.compare .compare-divider::after {
  content: "⇔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: white;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.compare .compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.compare-label {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 40px;
}

footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); margin: 0 8px; }

@media (max-width: 700px) {
  .grid { grid-template-columns: 1fr; }
  nav { gap: 16px; }
  header { padding: 16px 20px; }
  .hero { padding: 60px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-hero .hero-video { display: none; }
  .video-hero .hero-poster { display: block; }
}