/*
Theme Name: Seereise Fjord Mist v20
Theme URI: https://spitzbergen.dionblue.com
Author: Dion Blue Buser
Description: Reisewebsite Nordeuropa Seereise 2027
Version: 23.4.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seereise
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink: #1a2a1a;
  --paper: #f5f0e8;
  --fjord: #2d5a45;
  --arctic: #1a3028;
  --ice: #d4e8da;
  --teal: #3d9a6a;
  --gold: #b06820;
  --moss: #2d6a3a;
  --rock: #3a4a3a;
  --text: #1e2e1e;
  --muted: #5a7060;
  --border: #c8d8c0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --radius: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--paper); color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fjord); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: 1.3rem; margin-bottom: .5rem; }
p { margin-bottom: 1.2rem; font-size: 1.05rem; font-weight: 300; }
em { font-style: italic; color: var(--fjord); }
strong { font-weight: 500; color: var(--fjord); }

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--dark { background: var(--arctic); color: #e0e8ed; }
.section--dark h2 { color: #fff; }
.section--dark h2 em { color: var(--teal); }
.section--dark p { color: #7aaa8a; font-weight: 300; }
.section-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: #8a5810; margin-bottom: .45rem; display: block; }
.section-label--light { color: var(--teal); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
@media (max-width: 680px) { .grid-2 { grid-template-columns: 1fr; } }

/* ============================================================
   NAVIGATION
   ============================================================ */
#site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(245,240,232,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
#site-header .header-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: .75rem 1.5rem;
}
.site-title { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); font-style: italic; }
.site-title a { color: inherit; }
#site-navigation ul { list-style: none; display: flex; gap: .25rem; }
#site-navigation a {
  display: block; padding: .5rem .9rem;
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--rock);
  border-bottom: 2px solid transparent; transition: all .2s;
}
#site-navigation a:hover,
#site-navigation .current-menu-item a { color: var(--fjord); border-bottom-color: var(--fjord); text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: 4px; padding: .4rem .7rem; cursor: pointer; font-size: 1.1rem; }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  #site-navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--border); padding: 1rem; }
  #site-navigation.open { display: block; }
  #site-navigation ul { flex-direction: column; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 65vh; max-height: 75vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 3rem 0; background: #1a3028; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 20%, #1e4a38 0%, #1a3028 60%); }
.hero__bg-image {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: .45; mix-blend-mode: luminosity;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,48,40,.9) 0%, rgba(26,48,40,.3) 60%, transparent 100%); }
.hero__illustration {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center bottom;
  opacity: .35;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__mountains { position: absolute; bottom: 0; left: 0; right: 0; width: 100%; pointer-events: none; }
.hero__content { position: relative; z-index: 2; max-width: 1100px; width: 100%; margin: 0 auto; padding: 0 1.5rem; }
.hero__tag {
  display: inline-block; font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .9rem;
  border: 1px solid rgba(61,154,106,.3); padding: .3rem .8rem; border-radius: 2px;
}
.hero h1 { color: #0a1e14; margin-bottom: 1.2rem; }
.hero h1 em { display: block; color: #7dd4a0; }
.hero__sub { font-size: 1.05rem; color: #7aaa8a; font-weight: 300; max-width: 520px; line-height: 1.7; margin-bottom: 2rem; }
.hero__chips { display: flex; gap: .65rem; flex-wrap: wrap; }
.chip {
  font-size: 12px; color: #5aa875;
  background: rgba(61,154,106,.07); border: 1px solid rgba(61,154,106,.18);
  padding: .3rem .85rem; border-radius: 20px;
}
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .45; pointer-events: none;
}
.hero__scroll span { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hero__scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.4) 0%, transparent 100%); }

/* ============================================================
   REISEBERICHT
   ============================================================ */
.bericht-intro { max-width: 680px; margin-bottom: 3rem; }
.prose p { font-size: 1.05rem; line-height: 1.85; color: #2a3a2a; margin-bottom: 1.2rem; font-weight: 300; }
.pullquote {
  margin: 1.5rem 0; padding: 1.25rem 1.75rem;
  border-left: 3px solid var(--gold); background: #fdf8ee; border-radius: 0 var(--radius) var(--radius) 0;
}
.pullquote p { font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: #444; line-height: 1.6; margin: 0; }
.chapter { margin-bottom: 5rem; }
.chapter__header { margin-bottom: 2rem; }
.chapter-number { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* Tag-Navigation im Bericht */
.day-nav { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.day-btn {
  padding: .4rem 1rem; border-radius: 20px; border: 1px solid var(--border);
  background: none; font-size: 12px; cursor: pointer; color: var(--rock);
  font-family: var(--font-sans); transition: all .2s;
}
.day-btn:hover { border-color: var(--fjord); color: var(--fjord); }
.day-btn.active { background: var(--fjord); border-color: var(--fjord); color: #fff; }

/* ============================================================
   ROUTE / KARTE
   ============================================================ */
.route-section { background: #1a3028; padding: 5rem 0 4rem; }
.route-map-wrap { border-radius: var(--radius); overflow: visible; border: 1px solid rgba(61,154,106,.15); }
.ports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px,1fr)); gap: .8rem; margin-top: 1.8rem; }
.port-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(61,154,106,.14);
  border-radius: var(--radius); padding: .9rem 1rem; cursor: pointer; transition: all .2s;
}
.port-card:hover, .port-card.active { background: rgba(61,154,106,.1); border-color: rgba(61,154,106,.45); }
.port-card__day { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .25rem; }
.port-card__name { font-family: var(--font-serif); font-size: .95rem; color: #fff; margin-bottom: .2rem; }
.port-card__country { font-size: 11px; color: #5a8a6a; }
.port-detail {
  margin-top: 1.5rem; padding: 1.5rem;
  background: rgba(61,154,106,.07); border: 1px solid rgba(61,154,106,.2);
  border-radius: var(--radius); display: none;
}
.port-detail.show { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 600px) { .port-detail.show { grid-template-columns: 1fr; } }
.port-detail__title { font-family: var(--font-serif); font-size: 1.4rem; color: #fff; margin-bottom: .4rem; }
.port-detail__text { font-size: 13px; color: #7aaa8a; line-height: 1.7; }
.port-detail__img { border-radius: var(--radius); overflow: hidden; min-height: 180px; background: rgba(45,90,69,.4); display: flex; align-items: center; justify-content: center; }
.port-detail__img img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   LÄNDER & AUSFLÜGE
   ============================================================ */
.country-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.country-tab {
  padding: .45rem 1.1rem; border-radius: 20px; border: 1px solid var(--border);
  background: none; font-size: 13px; cursor: pointer; color: var(--rock);
  font-family: var(--font-sans); transition: all .2s;
}
.country-tab:hover { border-color: var(--fjord); color: var(--fjord); }
.country-tab.active { background: var(--fjord); border-color: var(--fjord); color: #fff; }
.country-panel { display: none; }
.country-panel.active { display: block; }
.country-header { margin-bottom: 2rem; }
.country-flag { font-size: 3.5rem; line-height: 1; margin-bottom: .5rem; }
.country-name { font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); }
.country-sub { font-size: 14px; color: var(--muted); font-weight: 300; margin-top: .25rem; }

.excursion-card {
  border: 1px solid #b8d0b8; border-radius: var(--radius); overflow: hidden;
  transition: transform .2s, box-shadow .2s; background: #fdfff9;
}
.excursion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.excursion-card__img { height: 180px; overflow: hidden; }
.excursion-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.excursion-card:hover .excursion-card__img img { transform: scale(1.05); }
.excursion-card__img-placeholder {
  height: 180px; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.4); font-size: 12px;
}
.excursion-card__body { padding: 1rem 1.1rem; }
.excursion-card__tag { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .3rem; }
.excursion-card__title { font-family: var(--font-serif); font-size: 1.05rem; color: var(--ink); margin-bottom: .35rem; }
.excursion-card__desc { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ============================================================
   FOTOGALERIE
   ============================================================ */
.gallery-section { background: #1e3830; padding: 5rem 0; }
.gallery-section .section-label { color: var(--teal); }
.gallery-section h2 { color: #fff; }
.gallery-section h2 em { color: var(--teal); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-top: 2rem;
}
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

.gallery-item {
  border-radius: 5px; overflow: hidden; cursor: pointer;
  position: relative; background: #1e4030; aspect-ratio: 1;
  transition: transform .2s;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:nth-child(4n+1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item__caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .7rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, transparent 100%);
  color: #fff; font-size: 12px; opacity: 0; transition: opacity .2s;
}
.gallery-item:hover .gallery-item__caption { opacity: 1; }

/* Lightbox */
.lightbox-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10,20,10,.92); align-items: center; justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: 1px solid rgba(255,255,255,.3); color: #fff;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox-close:hover { background: rgba(255,255,255,.15); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.lightbox-nav:hover { background: rgba(255,255,255,.2); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-caption { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: 13px; }

/* ============================================================
   FOTO-UPLOAD (FRONTEND)
   ============================================================ */
.upload-section {
  background: #fff; border: 2px dashed var(--border);
  border-radius: var(--radius); padding: 2.5rem; text-align: center; margin-top: 2rem;
  transition: border-color .2s, background .2s;
}
.upload-section.dragover { border-color: var(--fjord); background: #eef6ec; }
.upload-section__icon { font-size: 2.5rem; margin-bottom: .75rem; opacity: .4; }
.upload-section h3 { font-size: 1rem; margin-bottom: .35rem; }
.upload-section p { font-size: 13px; color: var(--muted); margin-bottom: 1.25rem; }
.btn { display: inline-block; padding: .6rem 1.5rem; border-radius: 4px; font-family: var(--font-sans); font-size: 14px; cursor: pointer; transition: all .2s; border: none; }
.btn--primary { background: var(--fjord); color: #fff; }
.btn--primary:hover { background: #1e6040; }
.btn--outline { background: none; border: 1px solid var(--fjord); color: var(--fjord); }
.btn--outline:hover { background: var(--fjord); color: #fff; }
.upload-progress { margin-top: 1rem; display: none; }
.upload-bar { height: 4px; background: #eee; border-radius: 2px; overflow: hidden; }
.upload-bar-fill { height: 100%; background: var(--fjord); width: 0%; transition: width .3s; }
.upload-status { font-size: 13px; color: var(--muted); margin-top: .5rem; }

/* ============================================================
   SINGLE POST (Tagesbericht)
   ============================================================ */
/* post-header -> siehe v9 unten */
.post-meta { font-size: 13px; color: var(--muted); display: flex; gap: 1.5rem; margin-top: .75rem; }
.post-content { max-width: 720px; }
.post-content p { font-size: 1.05rem; line-height: 1.85; color: #2a3a2a; margin-bottom: 1.4rem; }
.post-featured-image { margin-bottom: 3rem; border-radius: var(--radius); overflow: hidden; max-height: 500px; }
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   WIDGETS / SIDEBAR
   ============================================================ */
.sidebar { padding-left: 2rem; border-left: 1px solid var(--border); }
@media (max-width: 768px) { .sidebar { padding-left: 0; border-left: none; border-top: 1px solid var(--border); padding-top: 2rem; } }
.widget { margin-bottom: 2rem; }
.widget-title { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--arctic); color: #5a8a6a;
  padding: 3rem 1.5rem 2rem; text-align: center;
}
#site-footer strong { color: var(--teal); }
#site-footer .footer-route { font-size: 12px; opacity: .55; margin-top: .5rem; }
#site-footer .footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap; }
#site-footer .footer-links a { color: #5a8a6a; font-size: 13px; }
#site-footer .footer-links a:hover { color: var(--teal); }

/* ============================================================
   ADMIN BAR FIX
   ============================================================ */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { min-height: 55vh; max-height: 65vh; padding-bottom: 2rem; }
  .section { padding: 3.5rem 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ports-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(4n+1) { grid-column: span 1; aspect-ratio: 1; }
}

/* ============================================================
   SMARTPHONE OPTIMIERUNGEN (v5)
   ============================================================ */

/* ── Hero ── */
@media (max-width: 768px) {
  .hero {
    min-height: 70vh;        /* nicht mehr 100vh auf kleinen Screens */
    padding-bottom: 2.5rem;
  }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero__sub { font-size: .95rem; max-width: 100%; }
  .hero__chips { gap: .45rem; }
  .chip { font-size: 11px; padding: .25rem .65rem; }
  .hero__scroll { display: none; }  /* Scroll-Hint auf Mobile ausblenden */
}

/* Hero-Hintergrundbild: max-Höhe begrenzen */
.hero__bg-image {
  background-attachment: scroll;   /* kein parallax auf mobile */
}
@media (max-width: 768px) {
  .hero__bg-image { opacity: .35; }  /* etwas dunkler für bessere Lesbarkeit */
}

/* ── Navigation ── */
@media (max-width: 480px) {
  .nbtn, .nav-btn {
    padding: .75rem .85rem;
    font-size: 11px;
    letter-spacing: .06em;
  }
}

/* ── Sections ── */
@media (max-width: 480px) {
  .section { padding: 2.5rem 0; }
  .section-label { font-size: 10px; }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  h3 { font-size: 1.1rem; }
  p  { font-size: .97rem; }
}

/* ── Route / Hafen-Karten ── */
@media (max-width: 600px) {
  .ports-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .port-card { padding: .7rem .8rem; }
  .port-card__name { font-size: .88rem; }
  .port-detail.show { grid-template-columns: 1fr; }
  .route-map-wrap svg { min-height: 320px; }
}

/* ── Länder-Tabs ── */
@media (max-width: 600px) {
  .country-tabs, .tabs {
    gap: .4rem;
  }
  .country-tab, .tab {
    font-size: 12px;
    padding: .35rem .8rem;
  }
  .country-flag { font-size: 2.5rem; }
  .country-name { font-size: 1.4rem; }
}

/* ── Galerie ── */
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .4rem; }
  .gallery-item:nth-child(4n+1) { grid-column: span 2; }
  .gallery-section { padding: 3rem 1rem; }
}

/* ── Upload-Formular ── */
@media (max-width: 600px) {
  .upload-section { padding: 1.75rem 1rem; }
  .upload-section input,
  .upload-section select { width: 100%; min-width: 0; }
}

/* ── Timeline (Archiv) ── */
@media (max-width: 720px) {
  .timeline::before { left: 1.5rem; }
  .timeline-item.left,
  .timeline-item.right {
    flex-direction: row;
    padding-left: 4rem;
  }
  .timeline-dot {
    left: 1.5rem;
    transform: none;
    width: 36px; height: 36px;
  }
  .timeline-emoji { font-size: 14px; }
  .timeline-card { width: 100%; }
  .timeline-card__img { height: 140px; }
}

/* ── Einzelseiten ── */
@media (max-width: 768px) {
  .post-header { padding: 2rem 0 1.5rem; }
  .post-meta { flex-direction: column; gap: .4rem; }
  .sidebar { margin-top: 2rem; }
}

/* ── Hafen-Detailseite ── */
@media (max-width: 600px) {
  .grid-2.port-hero-grid { grid-template-columns: 1fr; }
}

/* ── Touch-freundliche Tap-Targets ── */
.nav-btn, .nbtn, .country-tab, .tab, .day-btn, .port-card, .btn {
  -webkit-tap-highlight-color: rgba(61,154,106,.2);
  touch-action: manipulation;
}
.port-card, .excursion-card, .acard, .gallery-item {
  cursor: pointer;
}

/* ── Generelle Container-Sicherheit ── */
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .grid-2 { gap: 1.5rem; }
  .grid-3 { gap: 1rem; }
  .grid-4 { gap: .85rem; }
}

/* ── Kein horizontales Scrollen ── */
html, body { overflow-x: hidden; max-width: 100%; }
img, svg, video { max-width: 100%; }

/* ── Hero-Bild: sinnvolle Maximalhöhe ── */
.hero__bg-image {
  max-height: 100vh;
}
@media (max-width: 768px) {
  .hero { min-height: 52vh; max-height: 62vh; }
}

/* ============================================================
   LOGO & HEADER v5
   ============================================================ */
.site-branding { display: flex; align-items: center; }
.site-logo-link { display: block; line-height: 0; }
.site-logo-link img { height: 38px; width: auto; }

/* Hamburger Menü-Button */
.menu-toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; background: none; border: none; cursor: pointer;
  padding: .5rem; border-radius: 4px; -webkit-tap-highlight-color: transparent;
}
.menu-toggle__bar {
  display: block; width: 22px; height: 2px;
  background: var(--rock); border-radius: 1px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  #site-navigation {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(245,240,232,.98); border-bottom: 1px solid var(--border);
    padding: .75rem 1rem 1.25rem; backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  #site-navigation.open { display: block; }
  #site-navigation ul { flex-direction: column; gap: 0; }
  #site-navigation a {
    padding: .75rem .5rem; font-size: 14px; border-bottom: none;
    border-left: 2px solid transparent; display: block;
  }
  #site-navigation .current-menu-item a,
  #site-navigation a:hover { border-left-color: var(--fjord); padding-left: .75rem; }
}

/* Header-Höhe auf Mobile */
@media (max-width: 768px) {
  #site-header .header-inner { padding: .6rem 1rem; }
  .site-logo-link img { height: 32px; }
}

/* ============================================================
   FOOTER v7
   ============================================================ */
#site-footer {
  background: var(--arctic);
  color: #5a8a6a;
  padding: 3.5rem 1.5rem 0;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(61,154,106,.1);
}
@media (max-width: 680px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.footer-tagline { font-size: 13px; color: #5a8a6a; font-weight: 300; line-height: 1.65; }
.footer-col-title {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .85rem;
}
.footer-links-col ul { list-style: none; }
.footer-links-col ul li { padding: .3rem 0; }
.footer-links-col ul a,
.footer-links-col a {
  color: #5a8a6a; font-size: 13px; transition: color .2s;
}
.footer-links-col ul a:hover,
.footer-links-col a:hover { color: var(--teal); text-decoration: none; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  padding: 1.25rem 0;
  font-size: 12px; color: rgba(90,130,100,.55);
}
.footer-bottom-links { display: flex; gap: 1.25rem; }
.footer-bottom-links a { color: rgba(90,130,100,.55); font-size: 12px; }
.footer-bottom-links a:hover { color: var(--teal); text-decoration: none; }
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* ============================================================
   IMPRESSUM / DATENSCHUTZ SEITEN
   ============================================================ */
.legal-page { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem 5rem; }
.legal-page h1 { font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: .5rem; }
.legal-page .legal-meta {
  font-size: 13px; color: var(--muted); margin-bottom: 2.5rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--border);
}
.legal-page h2 {
  font-family: var(--font-serif); font-size: 1.25rem;
  margin-top: 2.5rem; margin-bottom: .6rem;
}
.legal-page p { font-size: 1rem; line-height: 1.8; color: #2a3a2a; margin-bottom: 1rem; }
.legal-page ul { padding-left: 1.4rem; margin-bottom: 1rem; }
.legal-page ul li { font-size: 1rem; line-height: 1.8; color: #2a3a2a; padding: .2rem 0; }
.legal-page a { color: var(--fjord); }
.legal-page .legal-contact {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; font-size: 14px; line-height: 1.9;
}

/* ============================================================
   TIMELINE (archive-reisetag) – v8
   ============================================================ */
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
    content: ''; position: absolute;
    left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, transparent, var(--fjord) 5%, var(--fjord) 95%, transparent);
    transform: translateX(-50%);
}
@media (max-width: 720px) { .timeline::before { left: 2rem; } }

.timeline-item {
    display: flex; align-items: flex-start; gap: 2rem;
    margin-bottom: 3rem; position: relative; transition: opacity .3s;
}
.timeline-item.hidden { display: none; }
.timeline-item.left  { flex-direction: row-reverse; }
.timeline-item.right { flex-direction: row; }
@media (max-width: 720px) {
    .timeline-item.left,
    .timeline-item.right { flex-direction: row; padding-left: 4.5rem; }
}

.timeline-dot {
    position: absolute; left: 50%; top: 1.5rem;
    transform: translateX(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--fjord); border: 3px solid #f5f0e8;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    z-index: 2; flex-shrink: 0;
}
@media (max-width: 720px) { .timeline-dot { left: 2rem; transform: none; } }
.timeline-emoji  { font-size: 18px; line-height: 1; }
.timeline-day-nr { font-size: 9px; color: rgba(255,255,255,.7); font-weight: 500; }

.timeline-card {
    width: calc(50% - 3.5rem);
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.timeline-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
@media (max-width: 720px) { .timeline-card { width: 100%; } }

.timeline-card__img { height: 180px; overflow: hidden; }
.timeline-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.timeline-card:hover .timeline-card__img img { transform: scale(1.04); }
.timeline-card__body    { padding: 1.1rem 1.25rem; }
.timeline-card__hafen   { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fjord); margin-bottom: .3rem; }
.timeline-card__title   { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .5rem; }
.timeline-card__title a { color: var(--ink); }
.timeline-card__title a:hover { color: var(--fjord); text-decoration: none; }
.timeline-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: .75rem; }
.timeline-card__meta    { font-size: 12px; color: #999; margin-bottom: .5rem; }
.timeline-card__link    { font-size: 13px; color: var(--fjord); }

.day-btn              { color: #7aaa8a; border-color: rgba(61,154,106,.2); }
.day-btn:hover        { color: var(--teal); border-color: var(--teal); }
.day-btn.active       { background: var(--fjord); border-color: var(--fjord); color: #fff; }

/* ============================================================
   ORT-HIGHLIGHT (Reisebericht) – v9
   ============================================================ */
.reisetag-ort {
    display: inline-flex; align-items: center; gap: .65rem;
    margin-bottom: 1.25rem;
    padding: .75rem 1.25rem;
    border-radius: 10px;
    font-size: 1rem; font-weight: 500;
    letter-spacing: .01em;
    line-height: 1.2;
}
.reisetag-ort__flag { font-size: 1.3rem; line-height: 1; flex-shrink: 0; }
.reisetag-ort__name { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; }
.reisetag-land {
    display: inline-block;
    margin-left: .35rem;
    padding: .2rem .65rem;
    border-radius: 20px;
    border: 1px solid;
    font-size: .75rem; font-weight: 400;
    letter-spacing: .06em; text-transform: uppercase;
}

/* Ort in der Timeline-Karte */
.timeline-card__hafen {
    display: flex; align-items: center; gap: .3rem;
    font-size: 11px; letter-spacing: .1em;
    text-transform: uppercase; color: var(--fjord);
    margin-bottom: .4rem; font-weight: 500;
}
.timeline-card__hafen svg { color: var(--fjord); flex-shrink: 0; }
.timeline-card__land {
    display: inline-block;
    margin-left: .3rem;
    padding: .1rem .5rem;
    background: rgba(45,90,69,.1);
    border: 1px solid rgba(45,90,69,.2);
    border-radius: 10px;
    font-size: 10px; letter-spacing: .06em;
    color: var(--fjord); text-transform: none; font-weight: 400;
}

/* Post-Header schöner */
.post-header { padding: 3.5rem 0 2rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.post-meta {
    display: flex; gap: 1.25rem; flex-wrap: wrap;
    font-size: 13px; color: var(--muted);
    margin-top: .6rem;
}

/* Highlight-Hafen-Karte */
.port-card--highlight {
  border-color: rgba(200,160,64,.5) !important;
  background: rgba(200,160,64,.08) !important;
}
.port-card--highlight .port-card__name { color: #c8a040; }

/* Port-Karte Link-Button */
.port-card { position: relative; }
.port-card__goto {
  display: block;
  margin-top: .5rem;
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--teal);
  text-decoration: none;
  opacity: .7;
  transition: opacity .2s;
  padding-top: .4rem;
  border-top: 1px solid rgba(61,154,106,.15);
}
.port-card__goto:hover { opacity: 1; text-decoration: none; }
.port-card:hover .port-card__goto { opacity: 1; }
