


:root {
  --ink: #0e1b1f;
  --sand: #f6f1e7;
  --dune: #e7dcc8;
  --leaf: #2a9d8f;
  --ocean: #1b4965;
  --sun: #f9b234;
  --sky: #a9d6e5;
  --glass: rgba(255, 255, 255, 0.20);
  --shadow: 0 24px 60px rgba(14, 27, 31, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  background: #fff;
}

body::before {
  content: none;
}

/* Einzelbild: rechtsbündig, Text umfließt */
.blog-img {
  float: right;
  width: 40%;
  max-width: 360px;
  height: auto;
  margin: 0.4rem 0 1rem 1.5rem;
  border-radius: 0;
  cursor: zoom-in;
}

.blog-figure {
  float: right;
  clear: right;
  width: 40%;
  max-width: 360px;
  margin: 0.4rem 0 1rem 1.5rem;
}

/* abwechselnd: jedes zweite Bild links, Text umfließt beidseitig */
.blog-figure:nth-of-type(even) {
  float: left;
  clear: left;
  margin: 0.4rem 1.5rem 1rem 0;
}

.blog-figure .blog-img {
  float: none;
  width: 100%;
  max-width: 100%;
  margin: 0;
  cursor: zoom-in;
}

.blog-figure figcaption {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #5a6b66;
  font-style: italic;
  text-align: center;
}

/* Panorama / breites Bild: volle Breite, eigene Zeile, klickbar */
.blog-figure--wide {
  float: none !important;
  clear: both;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem auto;
}

.blog-figure--wide .blog-img {
  cursor: zoom-in;
}

@media (max-width: 768px) {
  .blog-img,
  .blog-figure {
    float: none;
    width: auto;
    max-width: 100%;
    margin: 1rem auto;
  }
  .blog-gallery .blog-figure {
    flex-basis: 100%;
  }
}

.hero {
  min-height: 62vh;
  padding: 32px 8vw 72px;
  overflow: hidden;
  background: url('/assets/img/project/madagascar2019/madagascar-hero.jpg') center/cover no-repeat;
}



.hero::after {
  content: none;
}

.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.brand {
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--leaf);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero-content {
  max-width: 720px;
  background: rgba(255, 255, 255, 0.62);
  padding: 32px 36px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
  animation: rise 0.8s ease both;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ocean);
}

.hero h1 {
  margin: 0 0 12px;
  font-family: 'Arial', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
}

/* Hero subtext must stay dark for readability */
.hero .hero-sub {
  margin: 0 0 20px;
  font-size: 24px;
  color: #00302a;
  text-shadow: 0 2px 14px rgba(255, 255, 255, 0.7);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(27, 73, 101, 0.1);
  font-weight: 600;
  font-size: 13px;
}

main {
  padding: 40px 8vw 80px;
}
@media (max-width: 768px) {
  main {
    padding: 40px 3vw 80px;
  }
}

.section {
  margin-bottom: 80px;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: start;
}

.card,
.quote-card {
  background: #fff;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 24px;
}


#mada-map { height: 420px; min-height: 420px; width: 100%; }


.map-svg text {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  fill: #1b2b2f;
}



.fact {
  background: var(--sand);
  padding: 14px;
  border-radius: 14px;
  display: grid;
  gap: 6px;
}

.fact-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #687;
}

.fact-value {
  font-weight: 600;
}

.quote-card {
  background: linear-gradient(160deg, #fff8e5 0%, #fff 70%);
}

.quote {
  font-size: 20px;
  font-family: 'Arial', sans-serif;
  margin: 0 0 12px;
}

.quote-author {
  margin: 0;
  font-weight: 600;
  color: #566;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-size: clamp(26px, 3vw, 34px);
}

.section-header p {
  margin: 0;
  max-width: 520px;
  color: #445;
}

.article {
  background: #fff;
  padding: 32px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  line-height: 1.8;
}

.article h3 {
  margin-top: 24px;
  font-family: 'Arial', sans-serif;
}

.article blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  border-left: 4px solid var(--leaf);
  background: #f3fbf9;
  border-radius: 12px;
  font-style: italic;
}

.placeholder {
  color: #667;
  font-style: italic;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.photo {
  margin: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.photo figcaption {
  padding: 12px 16px 18px;
  font-size: 14px;
  color: #556;
}




.reveal {
  animation: rise 0.8s ease both;
}

.delay-1 {
  animation-delay: 0.15s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 800px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-content {
    padding: 26px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


.brand-logo {
  height: 150px;
  width: auto;
  display: block;
}


h1, h2, h3 {
  font-family: 'Arial', sans-serif;
}


.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 32px;
  align-items: start;
}

.page-content {
  min-width: 0;
}

.timeline {
  position: sticky;
  top: 24px;
  align-self: start;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.timeline h3 {
  margin-top: 0;
  font-size: 24px;
}

.timeline-hint {
  margin-top: 17px;
  font-size: 13px;
  color: #667;
}




.timeline-card {
  background: var(--sand);
  padding: 10px 12px;
  border-radius: 12px;
}

.timeline-date {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #466;
}

@media (max-width: 980px) {
  .page-grid {
    grid-template-columns: 1fr;
  }

  .timeline {
    position: static;
  }
}









.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}










.timeline-track {
  margin-top: 18px;
  padding-left: 24px;
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline-track::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #cbd5d1;
  border-radius: 2px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 12px 1fr;
  column-gap: 12px;
  align-items: start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
  margin-top: 17px;
}


.external-links {
  margin: 8px 0 20px;
  padding: 12px 16px;
  background: #f2f2f2;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.external-links a {
  color: #333;
  text-decoration: none;
  font-weight: 600;
}

.external-links a:hover {
  text-decoration: underline;
}


.location-icon {
  margin-right: 6px;
}

footer {
  min-height: 20vh;
  background-color: #3f3f3f;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.footer-content {
  text-align: center;
  color: white;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-content ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.footer-content li {
  display: inline-block;
}

.footer-content a {
  color: white;
  text-decoration: none;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.language-select {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  padding: 6px 28px 6px 10px;
  border-radius: 999px;
  border: 1px solid #7a7a7a;
  background: #3f3f3f;
  color: #fff;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%),
                    linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.footer-lang {
  margin-top: 0;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


.sources-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}

.sources-table thead th {
  text-align: left;
  padding: 12px 14px;
  background: #f2f2f2;
  font-weight: 700;
  border-bottom: 1px solid #e0e0e0;
}

.sources-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid #f0f0f0;
  vertical-align: top;
}

.sources-table tbody tr:last-child td {
  border-bottom: none;
}

.sources-table a {
  color: inherit;
  text-decoration: none;
}

.sources-table a:hover {
  color: var(--leaf);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .sources-table, .sources-table thead, .sources-table tbody, .sources-table th, .sources-table td, .sources-table tr {
    display: block;
  }
  .sources-table thead {
    display: none;
  }
  .sources-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
  }
  .sources-table tbody td {
    border: none;
    padding: 6px 0;
  }
  .sources-table tbody td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
  }
}


.references {
  margin-top: 24px;
  background: #f2f2f2;
  padding: 12px 16px;
  border-radius: 12px;
}

.references summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.references summary::-webkit-details-marker {
  display: none;
}

.references summary::after {
  content: ' +';
  font-weight: 700;
}

.references[open] summary::after {
  content: ' -';
}


.timeline-item {
  opacity: 0.35;
  transition: opacity 0.3s ease;
}

.timeline-item .timeline-dot {
  background: #cbd5d1;
  box-shadow: none;
}

.timeline-item.active {
  opacity: 1;
}

.timeline-item.active .timeline-dot {
  background: var(--leaf);
  box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.15);
}

.ref a {
  color: inherit;
  text-decoration: none;
}

.ref a:hover {
  color: var(--leaf);
  text-decoration: underline;
}

.map-leaflet {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #f7f4ee;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
}

@media (max-width: 700px) {
  .map-leaflet {
    height: 320px;
  }
}

.leaflet-routing-container {
  display: none;
}

@media (max-width: 900px) {
  .map-card {
    max-width: none;
  }
}


sup.ref {
  font-size: 0.85em;
  vertical-align: baseline;
}

.map-simple {
  padding: 0;
}

.map-simple-title {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ocean);
}

/* ---- Geo-Link + Orts-Auswahl-Modal ---- */
.geo {
  color: #777;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 2px;
  cursor: pointer;
}
.geo:hover { color: #444; }

/* In-Text-Links (z.B. HHU, Fußnoten) in Grau */
.article p a {
  color: #777;
}
.article p a:hover {
  color: #444;
}

.geo-modal[hidden] { display: none; }
.geo-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.geo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.geo-modal__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.25rem;
  width: min(90vw, 360px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  text-align: center;
}
.geo-modal__close {
  position: absolute;
  top: 0.4rem;
  right: 0.7rem;
  border: 0;
  background: none;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  color: #999;
}
.geo-modal__title { margin: 0.2rem 0; font-size: 1.05rem; }
.geo-modal__place { margin: 0 0 1rem; color: #5a6b66; font-weight: 600; }
.geo-modal__links { display: flex; flex-direction: column; gap: 0.6rem; }
.geo-modal__link {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  background: #00665c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.geo-modal__link:hover { background: #00302a; }

/* Panorama / breites Einzelbild */
.blog-figure--wide {
  max-width: 100%;
}

/* Bild-Lightbox (Panorama/Großansicht) */
.img-lightbox[hidden] { display: none; }
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-lightbox__scroll {
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.img-lightbox__img {
  display: block;
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
}
.img-lightbox__close {
  position: fixed;
  top: 0.8rem;
  right: 1.1rem;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1101;
}

.img-lightbox__map[hidden] { display: none; }
.img-lightbox__map {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1101;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: #00665c;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.img-lightbox__map:hover { background: #00302a; }
