/* ===== INHALTSVERZEICHNIS =====
 * 1. Grundlayout & Basisstile
 * 2. Header & Navigation
 *    2.1 Desktop Navigation
 *    2.2 Mobile Navigation
 *    2.3 BUTTOM NAVIGATION BAR
 * 3. Karten & Positionsanzeige
 * 4. Content Cards & Blog-Elemente
 * 5. Spezifische Seitenelemente
 * 6. Footer ===>>> moved to inline styles diretly in header.js  
 * 6. Styling für die "Was drei Tage auf See bedeuten" Liste
 * 7. Responsive Anpassungen
 * 8. Hilfsstile & Badges
 * 9. Index HTML Styles
 */

/* ===== 1. Grundlayout & Basisstile ===== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('../images/hintergrund.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #f4e7ba;
  animation: fadeIn 2s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
}

/* Textkacheln zur allgemeinen Verwendung */
.tile {
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* ===== 2. Header & Navigation ===== */
/* Header: Vollflächiger Hintergrund mit leichtem Overlay */
header {
  position: relative;
  min-height: 320px;
  color: #f4e7ba;
  background-image: var(--header-bg, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: darken;
  background-color: rgba(0, 0, 0, 0.45);
}

/* Header Layout Optimierung */
.header-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.header-logo {
  margin-bottom: 20px;
  flex: 0 0 auto;
}

.logo-img {
  height: 300px;
  width: auto;
  display: block;
}

.header-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Titel und Untertitel */
.page-header {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  color: #f4e7ba;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.page-subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-top: 10px;
  color: #f4e7ba;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

/* 2.1 Desktop Navigation */
.desktop-nav {
  width: 100%;
  margin-top: 10px;
}

.desktop-nav .nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.desktop-nav .nav-list>li {
  position: relative;
}

.desktop-nav .nav-list>li>a {
  color: #f4e7ba;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.desktop-nav .nav-list>li>a:hover,
.desktop-nav .nav-list>li>a.active {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Desktop Untermenü Animation */
@keyframes desktopSubmenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Untermenü-Stile */
.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  list-style: none;
  margin: 0;
  padding: 10px 0;
  min-width: 180px;
  z-index: 1000;
  text-align: left;
}

.submenu li a {
  color: #000;
  padding: 8px 20px;
  display: block;
  text-decoration: none;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Untermenü-Trenner */
.submenu-divider {
  height: 1px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 5px 10px;
}

/* Untermenü anzeigen bei Hover - nur für Desktop */
@media (min-width: 769px) {
  .desktop-nav .nav-list>li:hover>.submenu {
    display: block;
    animation: desktopSubmenuFadeIn 0.3s ease-in-out;
  }
}

/* 2.2 Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* Hamburger/Kreuz-Icon Logik */
.nav-toggle .hamburger-icon {
  display: block;
  font-size: 1.8em;
  color: #f4e7ba;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle .close-icon {
  display: none;
  position: relative;
  width: 18px;
  height: 18px;
  font-size: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.nav-toggle .close-icon::before,
.nav-toggle .close-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: #f4e7ba;
  transition: all 0.2s ease;
}

.nav-toggle .close-icon::before {
  transform: rotate(45deg);
}

.nav-toggle .close-icon::after {
  transform: rotate(-45deg);
}

.nav-toggle:hover .close-icon::before,
.nav-toggle:hover .close-icon::after {
  background-color: #fff;
}

.mobile-nav.open~.nav-toggle .hamburger-icon {
  display: none;
}

.mobile-nav.open~.nav-toggle .close-icon {
  display: block;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  right: 0;
  width: 250px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 60px 10px 20px;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-list {
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-nav .nav-list>li {
  list-style: none;
  margin-bottom: 5px;
  width: 100%;
}

/* Klickbarer Header für Untermenüs */
.mobile-nav .submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #fbf8eb;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Untermenüs als Blockelemente im Fluss */
.mobile-nav .has-submenu {
  display: flex;
  flex-direction: column;
}

.mobile-nav .submenu {
  display: none;
  padding: 0;
  margin: 5px 0 0 0;
  background-color: rgba(50, 50, 50, 0.95);
  position: static;
  overflow: hidden;
  width: 100%;
  box-shadow: none;
  border-radius: 0;
}

.mobile-nav .has-submenu.open>.submenu {
  display: flex;
  flex-direction: column;
  animation: submenuFadeIn 0.3s ease-out;
}

@keyframes submenuFadeIn {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 500px;
  }
}

.mobile-nav .submenu li a {
  display: block;
  padding: 12px 15px 12px 35px;
  color: #f4e7ba;
  text-decoration: none;
  background-color: rgba(50, 50, 50, 0.95);
  margin-top: 2px;
  border-radius: 3px;
  position: relative;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav .submenu li a::before {
  content: '›';
  position: absolute;
  left: 15px;
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.submenu-toggle {
  background: none;
  border: none;
  color: #f4e7ba;
  padding: 0;
  margin-left: 10px;
  cursor: pointer;
  transition: transform 0.3s;
  font-size: 1.2em;
}

.has-submenu.open .submenu-toggle {
  transform: rotate(90deg);
}

.mobile-nav .submenu li a.active {
  color: #f4e7ba;
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
  border-left: 3px solid #f4e7ba;
}

/* Styling für mobile Menüpunkte ohne Untermenüs */
.mobile-nav .nav-list>li>a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  color: #fbf8eb;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-bottom: 5px;
}

.mobile-nav .nav-list>li>a:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

.mobile-nav .nav-list>li>a:active {
  background-color: rgba(255, 255, 255, 0.35);
}

/* Aktiver Menüpunkt im mobilen Menü */
.mobile-nav .nav-list>li>a.active {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
}

/* Entfernen von unerwünschten Stilen für Links */
.mobile-nav a {
  color: #fbf8eb !important;
  text-decoration: none !important;
}

/* Verbesserte Sichtbarkeit für aktive Menüpunkte */
.mobile-nav a.active,
.mobile-nav .submenu-header.active {
  border-left: 3px solid #f4e7ba;
  padding-left: 12px;
}

/* Ripple-Effekt für Touch-Feedback */
.mobile-nav a::after,
.mobile-nav .submenu-header::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%, -50%);
  transform-origin: 50% 50%;
}

.mobile-nav a:active::after,
.mobile-nav .submenu-header:active::after {
  animation: ripple 0.4s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }

  20% {
    transform: scale(25, 25);
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* Touch-spezifische Stile */
.touch-device .mobile-nav a.touch-active,
.touch-device .mobile-nav .submenu-header.touch-active {
  background-color: rgba(255, 255, 255, 0.3);
}

.touch-device .mobile-nav .submenu li a.touch-hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Zweistufige Touch-Interaktion für Links */
.touch-device .mobile-nav .submenu li a[data-touch-hover="true"] {
  box-shadow: 0 0 0 2px rgba(244, 231, 186, 0.5);
}

/* Verbesserte Tippfläche für Touch-Geräte */
.touch-device .mobile-nav a,
.touch-device .mobile-nav .submenu-header {
  padding: 12px 15px;
  min-height: 44px;
}

.touch-device .mobile-nav .submenu li a {
  padding: 12px 15px 12px 35px;
}

/* Sprachumschaltbutton - Desktop */
.language-switcher {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 5px;
  z-index: 1100;
  flex-direction: row;
}

.language-btn {
  background: rgba(0, 0, 0, 0.3);
  color: #f4e7ba;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 0.9em;
  transition: all 0.3s ease;
}

.language-btn.active {
  background: rgba(255, 255, 255, 0.2);
  font-weight: bold;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.language-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.language-btn:active {
  transform: translateY(1px);
}

/* Mobile Sprachumschalter */
.mobile-language-switcher {
  display: none;
  position: fixed;
  top: 20px;
  right: 60px;
  gap: 5px;
  z-index: 1100;
}

/* Sichtbar im geöffneten Menü */
.mobile-nav.open~.mobile-language-switcher {
  display: flex;
}


/* === 2.3 NAVIGATION BUTTONS === */
.blog-navigation {
  display: flex !important;
  /* Erzwingt Flex-Layout */
  flex-direction: row !important;
  /* Verhindert das Stapeln untereinander */
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
  width: 100%;
}

.blog-nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #f4e7ba;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(244, 231, 186, 0.2);
  transition: all 0.3s ease;
  flex: 1;
  /* Alle 3 Buttons sind exakt gleich breit */
  min-width: 0;
  font-size: 0.9rem;
}

/* Der Glüheffekt in deinem Blau */
.blog-nav-button:hover {
  background: rgba(52, 152, 219, 0.3);
  border-color: #3498db;
  box-shadow: 0 0 15px rgba(52, 152, 219, 0.6);
  color: #fff;
  transform: translateY(-2px);
}

/* Spezieller Style für den Home-Button (optional) */
.blog-nav-button.home-link {
  border-color: rgba(52, 152, 219, 0.4);
}

/* ===== 3. Karten & Positionsanzeige ===== */
#map {
  height: 400px;
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Animation für das Laden der Karte */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  color: white;
  font-size: 1.2em;
}

.map-loading::after {
  content: "⚓";
  font-size: 2em;
  animation: spin 2s infinite linear;
  display: inline-block;
  margin-left: 10px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.map-error-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  text-align: center;
  z-index: 1000;
}

/* ===== 4. Content Cards & Blog-Elemente ===== */
/* Content Card Styling mit hellem Hintergrund */
.content-card {
  display: flex;
  flex-direction: column;
  min-height: 480px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f5f5f5;
  position: relative;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* Bild oben mit größerer Höhe und weichem Übergang */
.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
}

/* Weicher Übergang zwischen Bild und Text */
.card-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(to top,
      rgba(245, 245, 245, 1),
      rgba(245, 245, 245, 0));
  z-index: 1;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.content-card:hover .card-image img {
  transform: scale(1.05);
}

/* Text-Bereich unter dem Bild */
.card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #555;
  font-size: 0.9rem;
}

.card-meta i {
  margin-right: 5px;
  color: #3498db;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: #2c3e50;
  text-align: center;
}

.card-excerpt {
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
  flex-grow: 1;
  text-align: center;
}

.read-more {
  display: inline-block;
  color: #ffffff;
  background-color: #3498db;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 20px;
  margin-top: 10px;
  transition: background-color 0.3s ease;
  align-self: center;
}

.content-card:hover .read-more {
  background-color: #2980b9;
}

/* Blog-Grid-Layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px auto;
}

/* Enhanced blog navigation with backlit halo effect */
.blog-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  margin-bottom: 20px;
  gap: 20px;
}

.blog-nav-button {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  color: #f4e7ba;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
  flex: 1;
  position: relative;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Left navigation button styling */
.blog-nav-button.back {
  justify-content: flex-start;
  border-left: 4px solid #f4e7ba;
}

/* Right navigation button styling */
.blog-nav-button.next {
  justify-content: flex-end;
  border-right: 4px solid #f4e7ba;
  text-align: right;
}

/* Backlit halo effect - creates a glow behind the button */
.blog-nav-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(244, 231, 186, 0.4) 0%, rgba(244, 231, 186, 0) 70%);
  transform: translate(-50%, -50%) scale(1.2);
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Text and icon styling to ensure they're above the effects */
.blog-nav-button i,
.blog-nav-button span {
  position: relative;
  z-index: 2;
}

/* Icon styling */
.blog-nav-button i {
  margin: 0 8px;
}

/* Enhanced halo effect on hover */
.blog-nav-button:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.4);
}

/* Additional hover effects */
.blog-nav-button:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 20px rgba(244, 231, 186, 0.5);
}

/* Responsive adjustments */
/*
@media (max-width: 768px) {
  .blog-navigation {
    flex-direction: column;
    gap: 15px;
  }


  .blog-nav-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
*/

/* Text and icon styling to ensure they're above the glow effect */
.blog-nav-button i,
.blog-nav-button span {
  position: relative;
  z-index: 2;
}

/* Box shadow on hover for enhanced effect */
.blog-nav-button:hover {
  box-shadow: 0 0 15px rgba(244, 231, 186, 0.3);
}



/* Blog-Artikel Styling */
.article-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.article-title {
  color: #f4e7ba;
  font-size: 2.2em;
  margin-top: 0;
}

.article-image {
  float: left;
  width: 40%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 30px;
  margin: 20px 20px 20px 0;
  opacity: 0.8;
}

.article-content {
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  color: #f4e7ba;
}

.article-meta {
  color: #ccc;
  font-size: 0.9em;
  margin-bottom: 20px;
}

/* Verwandte Beiträge Styling */
.related-posts {
  margin-top: 40px;
}

.related-posts .section-title {
  text-align: left;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.related-posts .blog-grid {
  margin-top: 0;
}

.related-posts .content-card {
  min-height: 400px;
}

/* ===== 5. Spezifische Seitenelemente ===== */
/* Zeitstrahl für die Reisegeschichte */
.journey-timeline {
  position: relative;
  height: 80px;
  margin: 40px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(244, 231, 186, 0.5);
  z-index: 1;
}

.timeline-marker {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  color: #f4e7ba;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 0 20px;
  z-index: 2;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.timeline-marker:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.timeline-marker.active {
  background: #3498db;
  color: white;
}

/* Styling für "Alle Beiträge ansehen" Link */
.view-all-link {
  display: block;
  text-align: center;
  margin-top: 20px;
  color: #f4e7ba;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.view-all-link:hover {
  background: rgba(0, 0, 0, 0.5);
}

/* Styling für die aktuelle Position Banner */
.current-position-banner {
  background: rgba(52, 152, 219, 0.7);
  color: white;
  padding: 15px;
  border-radius: 8px;
  margin: 20px auto;
  text-align: center;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
}

.current-position-banner h3 {
  margin: 0;
  font-size: 1.2rem;
}

.position-link {
  background: white;
  color: #3498db;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.position-link:hover {
  background: #f4e7ba;
  transform: translateY(-2px);
}

/* =====  FOOTER ===remooved ==========*/
/* 6. Styling für die "Was drei Tage auf See bedeuten" Liste */
.sea-life-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 30px 0;
}

.sea-life-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 20px;
  position: relative;
  transition: transform 0.2s ease, background 0.2s ease;
  border-left: 3px solid #f4e7ba;
}

.sea-life-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
}

.sea-life-item i {
  font-size: 1.8rem;
  color: #f4e7ba;
  margin-bottom: 15px;
  display: block;
}

.sea-life-item h4 {
  font-size: 1.1rem;
  margin: 0 0 10px 0;
  color: #f4e7ba;
  font-weight: 600;
}

.sea-life-item p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .sea-life-list {
    grid-template-columns: 1fr;
  }
}

/* ===== 7. Responsive Anpassungen ===== */
@media (min-width: 769px) {
  .header-layout {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
  }

  .header-logo {
    margin-bottom: 0;
    width: 300px;
  }

  .header-content {
    width: calc(100% - 300px);
    padding-right: 300px;
    box-sizing: border-box;
  }

  /* Verstecke mobile Elemente auf Desktop */
  .nav-toggle {
    display: none !important;
  }

  .mobile-nav,
  .mobile-nav.open {
    display: none !important;
  }

  .mobile-language-switcher {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .header-content {
    padding-right: 300px;
  }

  #map {
    height: 500px;
  }
}

@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 200px;
  }

  .page-title {
    font-size: 1.8rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .desktop-nav {
    display: none;
  }

  .nav-toggle {
    display: flex !important;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .mobile-nav {
    z-index: 1000;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  /*
  .blog-navigation {
    flex-direction: column;
  }
*/
  .blog-nav-button {
    justify-content: center;
  }

  .journey-timeline {
    flex-direction: column;
    height: auto;
    gap: 15px;
    padding: 20px 0;
  }

  .timeline-line {
    display: none;
  }

  .timeline-marker {
    margin: 5px 0;
  }

  .current-position-banner {
    flex-direction: column;
    gap: 10px;
  }

  .position-link {
    width: 100%;
    display: block;
    box-sizing: border-box;
  }

  .language-switcher {
    position: absolute;
    top: 20px;
    right: 70px;
    display: flex;
    gap: 5px;
    z-index: 1100;
    transform: scale(0.9);
  }

  .mobile-language-switcher {
    top: 25px;
    right: 70px;
    transform: scale(0.9);
  }

  /* Desktop-Version auf Mobilgeräten ausblenden */
  .language-switcher {
    display: none !important;
  }

  /* Hamburger-Button nach rechts verschieben */
  .nav-toggle {
    right: 15px;
  }

  #map {
    height: 300px;
  }

  .header-layout {
    flex-direction: column;
    align-items: center !important;
    gap: 5px !important;
    padding-top: 10px !important;
  }

  .header-content {
    width: 100%;
    align-items: center !important;
    text-align: center !important;
  }

  .page-header {
    justify-content: center !important;
    padding: 0 !important;
    margin-top: -5px !important;
  }

  .page-header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .page-title,
  .page-subtitle {
    text-align: center;
    width: 100%;
  }

  .page-title {
    margin-top: 5px !important;
  }

  .page-subtitle {
    margin-top: 3px !important;
  }

  /* Deaktiviert Hover-Effekte für mobile Menüs */
  .mobile-nav * {
    pointer-events: none;
  }

  .mobile-nav a,
  .mobile-nav .submenu-toggle,
  .mobile-nav .submenu-header {
    pointer-events: auto;
  }

  /* Larger touch targets for mobile */
  .nav-list>li>a,
  .submenu-header {
    padding: 15px;
    min-height: 44px;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
  }

  .footer-links h4:after,
  .footer-contact h4:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-contact p {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== 8. Hilfsstile & Badges ===== */
/* Gemeinsames Styling für alle Badges */
.new-badge,
.soon-badge,
.online-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


/* Große Badges für die Indexseite */
.badge-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0 30px;
  flex-wrap: wrap;
}

.index-badge {
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.index-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.new-badge-large {
  background-color: #e74c3c;
  color: white;
}

.soon-badge-large {
  background-color: #f39c12;
  color: white;
}

.online-badge-large {
  background-color: #2ecc71;
  color: white;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .badge-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .index-badge {
    width: 200px;
    text-align: center;
    padding: 10px 15px;
  }
}

/* Spezifische Farben für die verschiedenen Badge-Typen */
.new-badge {
  background-color: #e74c3c;
  /* Rot */
  color: white;
}

.soon-badge {
  background-color: #f39c12;
  /* Orange */
  color: white;
}

.online-badge {
  background-color: #2ecc71;
  /* Grün */
  color: white;
}

/* Zurück-Link */
.back-link {
  display: inline-block;
  margin-top: 30px;
  color: #3498db;
  text-decoration: none;
  font-weight: bold;
}

/* Header-Titel nur auf der Startseite anzeigen */
body:not(.page-home) .header-titles {
  display: none;
}

/* Spezifische Seitenstile */
body.page-blog-article {
  background: url('../images/2025_aussicht.png') no-repeat center center fixed;
  background-size: cover;
}

/* ===== 9. INDEX-SEITE SPEZIFISCHE STYLES ===== */

/* Gemeinsame Breite für alle Hauptelemente der Index-Seite */
.welcome-message,
.blog-grid,
.position-container,
.journey-timeline,
.blog-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* === 9.1 Welcome Message Section === */
.welcome-message {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.welcome-heading {
  text-align: center;
}

.welcome-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #f4e7ba;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Hero-Bild im Welcome-Bereich */
.welcome-message .hero-image {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.welcome-message .hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.welcome-message .hero-image:hover img {
  transform: scale(1.02);
}

/* Dunkler Verlauf unten ins Textfeld */
.welcome-message .hero-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.8),
      rgba(0, 0, 0, 0));
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* Textteil im Welcome-Bereich */
.welcome-body {
  text-align: center;
  line-height: 1.7;
  color: #f4e7ba;
  font-size: 1.1rem;
}

.welcome-body p {
  margin-bottom: 15px;
  text-align: justify;
}

.welcome-body p:last-child {
  margin-bottom: 0;
}

.welcome-date {
  font-style: italic;
  margin-top: 20px;
  text-align: right;
  color: #d4c78a;
  border-top: 1px solid rgba(244, 231, 186, 0.3);
  padding-top: 15px;
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #f4e7ba;
}

/* === 9.2 Position Container === */
.position-container {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 30px;
  text-align: center;
}

/* === 9.3 Blog Section === */
.blog-section {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.8rem;
  color: #f4e7ba;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.section-intro {
  text-align: center;
  color: #f4e7ba;
  margin-bottom: 25px;
  font-style: italic;
}

/* === 9.4 Featured Post === */
.featured-post {
  margin-bottom: 30px;
}

.content-card.featured {
  display: flex;
  flex-direction: column;
  min-height: 550px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #f5f5f5;
  border-left: 4px solid #3498db;
}

.content-card.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.content-card.featured .card-image {
  height: 350px;
}

/* === 9.5 Blog-Akzentfarben === */
.blog-section.current .content-card {
  border-left: 4px solid #3498db;
  /* Blau für aktuelle Blogs */
}

.blog-section.past .content-card {
  border-left: 4px solid #e67e22;
  /* Orange für ältere Blogs */
}

/* === 9.6 Index-spezifische Responsive Anpassungen === */
@media (max-width: 768px) {

  .welcome-message,
  .position-container,
  .blog-section {
    padding: 20px;
  }

  .welcome-title {
    font-size: 1.6rem;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .welcome-message .hero-image {
    height: 300px;
  }

  .welcome-body {
    font-size: 1rem;
  }

  .welcome-body p {
    text-align: left;
  }

  .welcome-date {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .welcome-title {
    font-size: 1.4rem;
  }

  .welcome-message .hero-image {
    height: 220px;
  }

  .welcome-body {
    font-size: 0.95rem;
  }
}


/* BUTTOM BLOG NAVIGATION */
@media (max-width: 600px) {

  /* Text verstecken, damit Symbole in einer Reihe bleiben */
  .blog-nav-button .nav-text {
    display: none;
  }

  .blog-nav-button {
    padding: 12px 5px;
  }

  /* Padding der Sektion reduzieren, um Platz für die Reihe zu schaffen */
  .article-section.nav-container {
    padding: 15px !important;
  }
}






/* Images Galerie FAKT- SHEET Styling */

/* Blog-Artikel-Styling - angepasst an theboat.html */
.article-container {
  width: 100%;
  max-width: 1000px;
  margin: 15px auto;
}

/* Neue Stilregeln für den Artikel-Abschnitt, ähnlich wie bei theboat.html */
.article-section {
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  color: #f4e7ba;
}

.article-header {
  text-align: center;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(244, 231, 186, 0.3);
  padding-bottom: 20px;
}

.article-title {
  font-size: 2.2rem;
  color: #f4e7ba;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f4e7ba;
  font-size: 0.9rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.article-meta i {
  margin-right: 5px;
  color: #f4e7ba;
}

.article-content {
  line-height: 1.6;
  font-size: 1rem;
}

.section-title {
  font-size: 1.6rem;
  color: #f4e7ba;
  margin: 30px 0 15px;
  border-bottom: 1px solid rgba(244, 231, 186, 0.3);
  padding-bottom: 10px;
}

.section-content {
  margin-bottom: 20px;
  color: #f4e7ba;
  text-align: justify;
  text-justify: inter-word;
}

.section-content strong {
  color: #f4e7ba;
  font-weight: bold;
}

.image-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 25px 0;
}

.image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4/3;
}

.image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #f4e7ba;
  padding: 10px;
  font-size: 0.9rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.image-container:hover .image-caption {
  transform: translateY(0);
}

.back-link {
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #f4e7ba;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 5px;
  border-left: 4px solid #f4e7ba;
}

.back-link:hover {
  color: #ffffff;
  background: rgba(0, 0, 0, 0.7);
}

.back-link i {
  margin-right: 5px;
}

/* FAKT-Sheet Styling im Stil des Biskaya-Blogs */
.fact-sheet {
  margin: 30px 0;
}

.fact-sheet h3 {
  color: #f4e7ba;
  font-size: 1.6rem;
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(244, 231, 186, 0.3);
  padding-bottom: 10px;
  text-align: center;
}

/* Grid-Layout für Fakten wie im Biskaya-Blog */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.fact-item {
  background: rgba(244, 231, 186, 0.1);
  border-left: 4px solid #f4e7ba;
  padding: 20px;
  border-radius: 5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  background: rgba(244, 231, 186, 0.15);
}

.fact-item i {
  font-size: 2rem;
  color: #f4e7ba;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

.fact-item h4 {
  color: #f4e7ba;
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-align: center;
}

.fact-item p {
  color: #f4e7ba;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .article-section {
    padding: 10px;
  }

  .article-title {
    font-size: 1.8rem;
  }

  .image-gallery {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .fact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .fact-item {
    padding: 15px;
  }

  .fact-item i {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
}

/* Galerie-Styling ähnlich wie bei theboat.html */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #f4e7ba;
  padding: 10px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Modal für Bildvergrößerung */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  transition: opacity 0.3s ease;
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.modal-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #f4e7ba;
  padding: 10px 0;
  height: 150px;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f4e7ba;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Animation für Modal */
.modal.fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Responsive Anpassungen für die Galerie */
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}