:root {
  --color-bg: #FFFFFF;
  --color-text: #000000;
  --color-blue-light: #479DDC;
  --color-blue-dark: #102C51;
  --font-main: 'Titillium Web', sans-serif;
  --header-height: 68px;
  --bg-img: url('../weittere Bildder/Hintergrund.png');
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============ HEADER / NAVIGATION ============ */

.top-wrapper {
  background-image: var(--bg-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
}

.sticky-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.2s ease;
}

.sticky-bar.has-bg {
  background-color: var(--color-blue-dark);
}

.site-header {
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: 0 1.5rem;
  gap: 1rem;
}

.header-logo-link {
  display: flex;
  align-items: center;
}

.header-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-inner {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

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

.nav-link {
  display: block;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
  font-size: 1.235rem;
  color: #FFFFFF;
  border-radius: 4px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--color-blue-light);
  color: #FFFFFF;
}

.nav-arrow {
  font-size: 0.65em;
  margin-left: 0.2rem;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background-image: var(--bg-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: var(--color-blue-dark);
  border: 1px solid var(--color-blue-light);
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(16, 44, 81, 0.15);
  overflow: hidden;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 0.65rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #FFFFFF;
}

.dropdown-menu li a:hover {
  background-color: var(--color-blue-light);
  color: #FFFFFF;
}

.mobile-tabbar {
  display: none;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger-btn .bar {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 2px;
}

/* ============ PAGE HERO ============ */

.page-hero {
  background-color: transparent;
  padding: 2rem 1.5rem;
  width: 100%;
}

.page-hero-inner {
  width: 100%;
  text-align: center;
  position: relative;
}

.page-hero-title {
  color: #FFFFFF;
  font-size: 2rem;
  font-weight: 700;
}

.page-hero-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border: 1px solid #FFFFFF;
  border-radius: 4px;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.page-hero-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-blue-light);
}

/* ============ MAIN / PLACEHOLDER ============ */

main {
  flex: 1;
}

.placeholder-content {
  width: 100%;
  padding: 3rem 1.5rem;
}

.placeholder-inner {
  padding: 2rem;
  background-color: rgba(71, 157, 220, 0.1);
  border-left: 4px solid var(--color-blue-light);
}

.placeholder-text {
  font-style: italic;
  color: var(--color-blue-dark);
}

.start-content {
  width: 100%;
  padding: 3rem 1.5rem;
  text-align: center;
}

.start-title {
  margin: 0 0 2rem;
}

.start-image {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ============ LEGAL PAGES (Impressum/Datenschutz/AGB) ============ */

.legal-content {
  width: 100%;
  padding: 3rem 1.5rem;
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem;
  background-color: rgba(71, 157, 220, 0.06);
  border-left: 4px solid var(--color-blue-light);
}

.legal-inner h2 {
  color: var(--color-blue-dark);
  font-size: 1.3rem;
  margin: 2rem 0 0.75rem;
}

.legal-inner h2:first-child {
  margin-top: 0;
}

.legal-inner h3 {
  color: var(--color-blue-dark);
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
}

.legal-inner p {
  margin: 0 0 0.9rem;
  line-height: 1.6;
}

.legal-inner ul {
  margin: 0 0 0.9rem;
  padding-left: 1.4rem;
  line-height: 1.6;
}

.legal-inner li {
  margin-bottom: 0.4rem;
}

.legal-inner a {
  color: var(--color-blue-light);
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.75;
}

/* ============ FOOTER LEGAL LINKS ============ */

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-left: auto;
}

.footer-legal a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .footer-legal {
    margin-left: 0;
  }
}

/* ============ COOKIE BANNER ============ */

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.cookie-banner-text {
  flex: 1 1 320px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: var(--color-blue-light);
}

.cookie-banner-options {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.cookie-banner-options input[type="checkbox"] {
  accent-color: var(--color-blue-light);
  width: 16px;
  height: 16px;
}

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-banner-btn {
  padding: 0.6rem 1.1rem;
  font-size: 0.9rem;
  border-radius: 4px;
  border: 1px solid #FFFFFF;
  cursor: pointer;
  font-family: inherit;
  background-color: transparent;
  color: #FFFFFF;
  transition: background-color 0.15s, color 0.15s;
}

.cookie-banner-btn.primary {
  background-color: var(--color-blue-light);
  border-color: var(--color-blue-light);
}

.cookie-banner-btn:hover {
  background-color: #FFFFFF;
  color: var(--color-blue-dark);
}

@media (max-width: 500px) {
  .cookie-banner {
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .cookie-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner-btn {
    width: 100%;
  }
}

/* ============ WEBCAM WIDGET ============ */

.webcam-widget-section {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* ============ WETTER WIDGETS ============ */

.wetter-widgets-section {
  width: 100%;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wetter-widget-row {
  width: 100%;
}

.wetter-widget-row-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.wetter-widget-row-split .wetter-widget-col {
  flex: 1 1 45%;
  min-width: 320px;
}

@media (max-width: 800px) {
  .wetter-widget-row-split {
    flex-direction: column;
  }
}

/* ============ WASSERSTAND WIDGETS ============ */

.wasserstand-widgets-section {
  width: 100%;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.wasserstand-widget-row-split {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
}

.wasserstand-widget-row-split .wasserstand-widget-col {
  flex: 1 1 45%;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wasserstand-widget-row-split .wasserstand-widget-col-table {
  flex: 0 1 420px;
}

.wasserstand-widget-row-split .wasserstand-widget-col-chart {
  flex: 1 1 0;
}

.wasserstand-widget-row-split .wasserstand-widget-col-map {
  flex: 1 1 0;
}

@media (max-width: 900px) {
  .wasserstand-widget-row-split .wasserstand-widget-col-table,
  .wasserstand-widget-row-split .wasserstand-widget-col-chart,
  .wasserstand-widget-row-split .wasserstand-widget-col-map {
    flex: 1 1 100%;
  }

  .wasserstand-widget-row-split {
    flex-direction: column;
  }
}

/* ============ THERMIK WIDGETS ============ */

.thermik-widgets-section {
  width: 100%;
  padding: 3rem 1.5rem 1.5rem;
}

.thermik-widget-row-split {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.thermik-widget-row-split .thermik-widget-col {
  flex: 1 1 800px;
  width: 100%;
  max-width: 1075px;
}

@media (max-width: 900px) {
  .thermik-widget-row-split {
    flex-direction: column;
    align-items: stretch;
  }
}

.thermik-tile-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 2000px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

.thermik-tile {
  display: block;
  flex: 1 1 560px;
  max-width: 640px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thermik-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.thermik-tile-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ============ FAHRPLAN BILD-BUTTONS ============ */

.farplan-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 30%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.farplan-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-blue-dark);
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.farplan-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.farplan-tile-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

@media (max-width: 800px) {
  .farplan-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 60%;
  }
}

/* ============ BODENSEEWEBSEITEN BILD-BUTTONS ============ */

.webseiten-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 30%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.webseiten-tile-grid .farplan-tile-img {
  object-fit: contain;
  padding: 0.75rem;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .webseiten-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .webseiten-tile-grid {
    grid-template-columns: 1fr;
    max-width: 80%;
  }
}

@media (max-width: 480px) {
  .farplan-tile-grid {
    grid-template-columns: 1fr;
    max-width: 80%;
  }
}

/* ============ REEDEREIEN BILD-BUTTONS ============ */

.reedereien-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 40%;
  margin: 0 auto;
  padding: 3rem 1.5rem 1.5rem;
}

.reedereien-tile-grid .farplan-tile-img {
  object-fit: contain;
  padding: 0.75rem;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .reedereien-tile-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .reedereien-tile-grid {
    grid-template-columns: 1fr;
    max-width: 80%;
  }
}

/* ============ SCHIFFE BILD-BUTTONS ============ */

.schiffe-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
  width: 100%;
  max-width: 30%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.schiffe-tile-grid .farplan-tile-img {
  object-fit: contain;
  padding: 0.75rem;
  background-color: #FFFFFF;
  box-sizing: border-box;
}

@media (max-width: 800px) {
  .schiffe-tile-grid {
    max-width: 60%;
  }
}

@media (max-width: 480px) {
  .schiffe-tile-grid {
    grid-template-columns: 1fr;
    max-width: 80%;
  }
}

.reedereien-datten {
  width: 100%;
  max-width: 70%;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem;
}

/* ============ GASTRONOMIE TABELLE ============ */

.gastronomie-table-wrap {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.gastronomie-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Jede Zeile ist ein eigenst&auml;ndiger zweispaltiger Container, damit
   Spalte 1 und Spalte 2 in JEDER Zeile exakt auf gleicher H&ouml;he beginnen,
   unabh&auml;ngig von der Bildgr&ouml;&szlig;e in anderen Zeilen. */
.gastronomie-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.gastronomie-cell {
  min-width: 0;
  display: flex;
  align-items: center;
}

.gastronomie-cell:first-child {
  flex: 0 0 220px;
  width: 220px;
}

.gastronomie-cell:last-child {
  flex: 1 1 0;
}

.gastronomie-cell > a {
  display: block;
  width: 100%;
  flex: 1 1 0;
  min-width: 0;
}

.gastronomie-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.gastronomie-img-50 {
  width: 50%;
}

.gastronomie-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.gastronomie-multi > a {
  display: block;
  flex: 1 1 0;
  min-width: 0;
}

.gastronomie-multi .gastronomie-img {
  flex: 1 1 0;
  min-width: 0;
}

.gastronomie-img-200 {
  width: 100%;
  max-width: 100%;
}

@media (max-width: 700px) {
  .gastronomie-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .gastronomie-cell:first-child {
    width: 100%;
    max-width: 220px;
    flex: 0 0 auto;
    margin: 0 auto;
  }

  .gastronomie-cell {
    padding: 0.5rem 0;
  }
}

.reedereien-datten-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 800px) {
  .reedereien-datten {
    max-width: 90%;
  }
}

/* ============ SPLIT COLUMNS / IMAGE SLIDER ============ */

.split-columns {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: 100%;
  padding: 3rem 1.5rem;
  flex-wrap: wrap;
}

.split-column {
  flex: 1 1 45%;
  min-width: 280px;
}

.split-columns.single .split-column {
  flex: 1 1 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* ---- Schiffsdetailseiten: Bild 1 (Foto) und Bild 2 (Technische
   Daten) bekommen dieselbe Anzeigehoehe. Die Breite ergibt sich
   automatisch aus dem jeweiligen Seitenverhaeltnis, dadurch ist
   Bild 1 (Querformat-Foto) deutlich breiter als Bild 2 (hohe
   Tabelle) - genau wie in der Vorlage. ---- */

.schiff-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  padding: 3rem 1.5rem 1rem;
}

.schiff-photo-img,
.schiff-data-img {
  height: 576px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .schiff-photo-img,
  .schiff-data-img {
    height: 384px;
  }
}

.image-slider {
  position: relative;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.split-column-extra {
  width: 100%;
  margin-top: 0;
  border-radius: 8px;
  overflow: hidden;
}

.split-column-extra img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- 4-column variant (Kursschiffe Fahrplan) ---- */

.split-columns-4 {
  align-items: stretch;
}

.split-columns-4 .split-column {
  flex: 1 1 22%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
}

.split-column-buttons {
  gap: 1.5rem;
}

.info-btn-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 130px;
  padding: 1.5rem 1rem;
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.info-btn-card:hover {
  background-color: var(--color-blue-light);
  transform: translateY(-2px);
}

.info-btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-btn-icon svg {
  width: 2rem;
  height: 2rem;
}

.info-btn-label {
  font-weight: 600;
  font-size: 1.05rem;
}

.split-column-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.split-column-image img {
  display: block;
  width: 100%;
  height: auto;
}

.pdf-download-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 280px;
  padding: 1.5rem 1rem;
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  border-radius: 8px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.pdf-download-card:hover {
  background-color: var(--color-blue-light);
  transform: translateY(-2px);
}

.pdf-download-icon svg {
  width: 3rem;
  height: 3rem;
}

.pdf-download-label {
  font-weight: 600;
  font-size: 1.1rem;
}

.schedule-section {
  padding: 2rem 0 3rem;
  width: 100%;
}

.schedule-day-title {
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.4rem;
  text-align: center;
  padding: 0.9rem 1rem;
  margin-top: 2rem;
}

.schedule-day-title:first-child {
  margin-top: 0;
}

.schedule-route-title {
  background-color: #E930E9;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.6rem 1rem;
}

.gallery-section {
  padding: 2rem 1.5rem;
}

.gallery-section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}

.gallery-grid {
  display: flex;
  justify-content: center;
}

.gallery-card {
  width: 100%;
}

.gallery-card-half {
  width: 37.5%;
  min-width: 220px;
  margin: 0 auto;
}

.gallery-card-xl {
  width: 65.625%;
  min-width: 385px;
}

.slider-viewport {
  position: relative;
  width: 100%;
}

.slider-img {
  display: none;
  width: 100%;
  height: auto;
}

.slider-img.active {
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(16, 44, 81, 0.6);
  color: #FFFFFF;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.slider-arrow:hover {
  background-color: rgba(16, 44, 81, 0.85);
}

.slider-prev {
  left: 0.75rem;
}

.slider-next {
  right: 0.75rem;
}

.slider-zoom {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background-color: rgba(16, 44, 81, 0.6);
  color: #FFFFFF;
  border: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.slider-zoom:hover {
  background-color: rgba(16, 44, 81, 0.85);
}

.slider-lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  z-index: 1000;
}

.slider-lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(16, 44, 81, 0.9);
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
  z-index: 1001;
}

.lightbox-arrow:hover {
  background-color: var(--color-blue-light);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

/* ============ SCHIFFSUMLAUFE COLUMNS ============ */

.umlauf-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 2rem 1.5rem 3rem;
}

.umlauf-column {
  flex: 1 1 22%;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.umlauf-column-title {
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 6px;
}

/* Feste Bildh&ouml;he pro Slider, damit die Pfeile beim
   Durchbl&auml;ttern immer auf gleicher H&ouml;he bleiben,
   unabh&auml;ngig von der Gr&ouml;&szlig;e des aktiven Bilds. */
.umlauf-column .slider-viewport {
  aspect-ratio: 1 / 3;
  background-color: #EAF3FB;
  overflow: hidden;
}

.umlauf-column .slider-img {
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.umlauf-column .slider-arrow {
  top: 15%;
  width: 2.9rem;
  height: 2.9rem;
  background-color: rgba(16, 44, 81, 0.95);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.umlauf-column .slider-arrow:hover {
  background-color: var(--color-blue-light);
}

.umlauf-column .slider-zoom {
  background-color: rgba(16, 44, 81, 0.95);
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.umlauf-column .slider-zoom:hover {
  background-color: var(--color-blue-light);
}

.umlauf-column .image-slider.single .slider-prev,
.umlauf-column .image-slider.single .slider-next {
  display: none;
}

/* ============ FLOTTE BILDERGALERIE ============ */

.flotte-gallery-section {
  width: 100%;
  padding: 2rem 1.5rem 3rem;
}

.flotte-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.flotte-gallery-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flotte-gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.flotte-gallery-img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
  .flotte-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 420px) {
  .flotte-gallery {
    grid-template-columns: 1fr;
  }
}

/* ============ FOOTER ============ */

.site-footer {
  background-image: var(--bg-img);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  background-color: var(--color-blue-dark);
  color: #FFFFFF;
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
  align-items: center;
}

/* ============ RESPONSIVE ============ */

@media (max-width: 900px) {
  .hamburger-btn {
    display: flex;
  }

  .mobile-tabbar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow: hidden;
    flex: 1;
    min-width: 0;
  }

  .mobile-tabbar .nav-link {
    padding: 0.5rem 0.6rem;
    font-size: 1.105rem;
    flex-shrink: 0;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--bg-img);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    background-color: var(--color-blue-dark);
    display: none;
    overflow-y: auto;
  }

  .main-nav.open {
    display: block;
  }

  .nav-inner {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0;
  }

  .dropdown-menu {
    display: none;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }

  .nav-dropdown.open .dropdown-menu {
    display: block;
  }

  .page-hero-title {
    font-size: 1.5rem;
  }

  .page-hero-btn {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 1rem;
    width: fit-content;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
