/* ==========================================================================
   HARRISON'S CAVE BARBADOS - DEUTSCHE EDITION (harrisonscavebarbados.de)
   Bespoke Editorial & High-Converting CRO Design System (2026)
   Aesthetic: Caribbean Deep Marine & Warm Calcite Mineral
   Palette: Deep Navy Slate (#0B2545, #132E58), Coral/Papaya Accent (#FF6B4A, #E85D04),
            Calcite Mineral & Crisp White (#FFFFFF, #F8FAFC, #F1F5F9)
   Typography: Outfit (Headings) & Plus Jakarta Sans (Editorial Body)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
  /* --- Brand Core: Caribbean Deep Marine --- */
  --color-marine-950: #051324;
  --color-marine-900: #0b2545;
  --color-marine-800: #132e58;
  --color-marine-700: #1a3e74;
  --color-marine-600: #234f92;
  --color-marine-500: #2d64b5;

  /* --- Calcite Mineral & Ocean Water Accents --- */
  --color-calcite-50:  #f0f7fd;
  --color-calcite-100: #e0effb;
  --color-calcite-500: #0284c7;
  --color-calcite-600: #0369a1;
  --color-calcite-700: #075985;
  --color-teal-accent: #0ea5e9;

  /* --- High-Converting CRO Coral / Papaya Accent --- */
  --color-coral-500: #ff6b4a;
  --color-coral-600: #e85d04;
  --color-coral-700: #d9480f;
  --color-coral-800: #bc3908;
  --color-coral-soft: #fff5f2;
  --color-coral-glow: rgba(255, 107, 74, 0.32);

  /* --- Trust, Badges & Verification --- */
  --color-trust-green: #10b981;
  --color-trust-green-dark: #065f46;
  --color-trust-green-soft: #ecfdf5;
  --color-star-gold: #f59e0b;
  --color-star-soft: #fffbeb;

  /* --- Neutral Slate & Surfaces --- */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-alt: #f1f5f9;
  --bg-surface-muted: #e2e8f0;

  --border-subtle: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-strong: #94a3b8;
  --border-highlight: #bfdbfe;

  /* --- High-Legibility Editorial Typography --- */
  --text-headline: #0b2545;
  --text-main: #1e293b;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  --text-inverse: #ffffff;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* --- Elevation & Depth Geometry --- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-subtle: 0 2px 6px rgba(11, 37, 69, 0.04);
  --shadow-sm: 0 4px 14px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 10px 28px -4px rgba(11, 37, 69, 0.09);
  --shadow-lg: 0 20px 42px -8px rgba(11, 37, 69, 0.13);
  --shadow-xl: 0 30px 60px -12px rgba(11, 37, 69, 0.20);
  --shadow-coral: 0 8px 24px -4px rgba(255, 107, 74, 0.42);

  --container-max: 1240px;
  --header-height: 78px;
}

/* ==========================================================================
   RESET & BASE RESILIENCE
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.72;
  font-size: 1.05rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-headline);
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.022em;
}

p {
  margin-bottom: 1.35rem;
}

a {
  color: var(--color-calcite-600);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: var(--color-coral-600);
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   SITE HEADER (CRITICAL: ZERO "HOME" / "STARTSEITE" LINK DIRECTIVE)
   The brand logo links to / (index.html). The nav bar consists strictly of
   topical subpages: Kreuzfahrt, Tickets & Preise, Touren, Anreise, FAQ.
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(11, 37, 69, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Brand Logo (Links to index.html) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-marine-900);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.025em;
}

.brand-logo:hover {
  color: var(--color-marine-900);
}

.brand-icon-wrap,
.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-marine-900) 0%, var(--color-calcite-600) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.22);
  flex-shrink: 0;
}

.brand-logo .brand-highlight,
.brand-logo .highlight {
  color: var(--color-coral-600);
  font-weight: 800;
}

.brand-badge-de {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: var(--color-marine-800);
  color: #ffffff;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.25rem;
  vertical-align: middle;
}

/* Topical Navigation Links (NO 'Home' / 'Startseite') */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-marine-900);
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-coral-600);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--color-coral-500);
  border-radius: 2px;
}

/* Header Action / CTA */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--color-coral-500) 0%, var(--color-coral-600) 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 107, 74, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 74, 0.45);
  background: linear-gradient(135deg, var(--color-coral-600) 0%, var(--color-coral-700) 100%);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-marine-900);
  font-size: 1.6rem;
  line-height: 1;
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 2px solid var(--border-subtle);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
  animation: drawerSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-marine-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid var(--bg-surface-alt);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--color-coral-600);
}

.mobile-drawer-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   BUTTONS & ACTION SYSTEM
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  padding: 0.88rem 1.75rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
  border: none;
  position: relative;
}

.btn-cta {
  background: linear-gradient(135deg, var(--color-coral-500) 0%, var(--color-coral-600) 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-coral);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(255, 107, 74, 0.52);
  background: linear-gradient(135deg, var(--color-coral-600) 0%, var(--color-coral-700) 100%);
}

.btn-marine {
  background: var(--color-marine-900);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.btn-marine:hover {
  background: var(--color-marine-800);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-teal {
  background: var(--color-marine-800);
  color: #ffffff !important;
  box-shadow: var(--shadow-sm);
}

.btn-teal:hover {
  background: var(--color-marine-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--border-medium);
  color: var(--color-marine-900) !important;
}

.btn-outline:hover {
  border-color: var(--color-marine-900);
  background: var(--bg-surface-alt);
  color: var(--color-marine-900) !important;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.05rem 2.2rem;
  font-size: 1.12rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
  display: flex;
}

/* ==========================================================================
   HERO SECTION: EDITORIAL IMPACT & CRUISE RELEVANCE
   ========================================================================== */

.hero {
  position: relative;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  background: linear-gradient(180deg, #edf5fd 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid var(--border-highlight);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-marine-800);
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-subtle);
}

.hero-pill-badge .badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-coral-500);
  border-radius: 50%;
  display: inline-block;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.14;
  margin-bottom: 1.35rem;
  color: var(--color-marine-900);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.hero-title .text-coral {
  color: var(--color-coral-600);
}

.hero-subtitle {
  font-size: 1.22rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 2rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 2.25rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-trust-item .check {
  color: var(--color-trust-green);
  font-weight: 900;
}

.hero-media-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid #ffffff;
}

.hero-media-card img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-media-card:hover img {
  transform: scale(1.03);
}

.hero-floating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-floating-info .badge-label {
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--color-marine-900);
}

.hero-floating-info .badge-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-floating-price {
  text-align: right;
}

.hero-floating-price .price-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-coral-600);
}

/* ==========================================================================
   CRUISE SHORE EXCURSION ALERT BANNER (.cruise-alert-box)
   Highlights 12-14 km distance from Bridgetown Port, 25-35 min transit,
   and clear comparison between Chukka Direct vs Viator Port Transfer.
   ========================================================================== */

.cruise-alert-box {
  background: #ffffff;
  border: 1.5px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cruise-alert-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-coral-500) 0%, var(--color-calcite-500) 50%, var(--color-marine-800) 100%);
}

.cruise-alert-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cruise-alert-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.cruise-alert-icon {
  font-size: 2rem;
  line-height: 1;
  background: var(--color-coral-soft);
  border: 1px solid #ffd8cc;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cruise-alert-title {
  font-size: 1.45rem;
  color: var(--color-marine-900);
  margin-bottom: 0.2rem;
}

.cruise-alert-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.cruise-port-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-marine-900);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
}

.cruise-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cruise-metric-card {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  text-align: center;
}

.cruise-metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-marine-900);
  margin-bottom: 0.25rem;
}

.cruise-metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Two-Path Decision Card inside Cruise Box */
.cruise-decision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.cruise-path-card {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.cruise-path-card.recommended {
  border-color: var(--color-coral-500);
  background: #fffcfb;
  box-shadow: 0 4px 16px rgba(255, 107, 74, 0.12);
}

.cruise-path-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  margin-bottom: 0.85rem;
  width: fit-content;
}

.cruise-path-card.recommended .cruise-path-badge {
  background: var(--color-coral-500);
  color: #ffffff;
}

.cruise-path-card:not(.recommended) .cruise-path-badge {
  background: var(--bg-surface-muted);
  color: var(--color-marine-800);
}

.cruise-path-title {
  font-size: 1.2rem;
  color: var(--color-marine-900);
  margin-bottom: 0.5rem;
}

.cruise-path-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-marine-900);
  margin-bottom: 0.85rem;
}

.cruise-path-card.recommended .cruise-path-price {
  color: var(--color-coral-600);
}

.cruise-path-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.cruise-path-features {
  list-style: none;
  font-size: 0.88rem;
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cruise-path-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.cruise-path-features li.pro::before {
  content: '✓';
  color: var(--color-trust-green);
  font-weight: 800;
}

.cruise-path-features li.con::before {
  content: '⚠';
  color: var(--color-coral-600);
  font-weight: 800;
}

.cruise-alert-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--bg-surface-alt);
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
}

.cruise-alert-footer-note {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   4-TOUR COMPARISON MATRIX (.cmp-table-container & .cmp-table)
   Horizontal touch-scroll, sticky parameter column (110px mobile, 180px desktop),
   4 tour columns with distinct badges, dual EUR/USD prices, highlight borders.
   ========================================================================== */

.matrix-section {
  padding: 5.5rem 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-intro {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 3.5rem auto;
}

.section-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-marine-900);
  background: var(--color-calcite-100);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.6rem;
  margin-bottom: 1rem;
  color: var(--color-marine-900);
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Table Container with Horizontal Scroll & Cue */
.cmp-table-container,
.matrix-table-wrap {
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
}

/* Touch scroll hint on mobile */
.cmp-scroll-hint {
  display: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
  background: var(--bg-surface-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.cmp-table,
.matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 980px;
  text-align: left;
}

.cmp-table th,
.cmp-table td,
.matrix-table th,
.matrix-table td {
  padding: 1.35rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

/* Sticky Parameter Column */
.cmp-table .sticky-col,
.matrix-table .matrix-sticky-feature {
  position: sticky;
  left: 0;
  background: #ffffff;
  z-index: 5;
  font-weight: 700;
  color: var(--color-marine-900);
  min-width: 180px;
  border-right: 2px solid var(--border-subtle);
  box-shadow: 4px 0 8px rgba(11, 37, 69, 0.03);
}

.cmp-table thead th.sticky-col,
.matrix-table thead th.matrix-sticky-feature {
  background: #f8fafc;
  z-index: 6;
}

/* Headers */
.cmp-table thead th,
.matrix-table thead th {
  background: #f8fafc;
  color: var(--color-marine-900);
  font-family: var(--font-heading);
  vertical-align: top;
  border-bottom: 2px solid var(--border-medium);
}

/* Highlighting #1 Kreuzfahrt Column */
.cmp-table th.col-featured,
.cmp-table td.col-featured,
.matrix-table th.bestseller-col,
.matrix-table td.bestseller-col {
  background: #fff9f6;
  border-left: 2px solid rgba(255, 107, 74, 0.25);
  border-right: 2px solid rgba(255, 107, 74, 0.25);
}

.cmp-table thead th.col-featured,
.matrix-table thead th.bestseller-col {
  background: #fff3ed;
  border-top: 4px solid var(--color-coral-500);
}

.matrix-table th.highlight-col,
.matrix-table td.highlight-col {
  background: #f0fdfa;
}

.matrix-table thead th.highlight-col {
  border-top: 4px solid var(--color-calcite-500);
}

/* Tour Header Block */
.cmp-tour-header,
.matrix-tour-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 140px;
}

.cmp-badge,
.matrix-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  width: fit-content;
}

.cmp-badge-cruise,
.matrix-badge-viator {
  background: linear-gradient(135deg, var(--color-coral-500) 0%, var(--color-coral-600) 100%);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 107, 74, 0.3);
}

.cmp-badge-direct,
.matrix-badge-chukka {
  background: var(--color-marine-800);
  color: #ffffff;
}

.cmp-badge-adventure {
  background: #f59e0b;
  color: #ffffff;
}

.cmp-badge-combo {
  background: var(--color-trust-green);
  color: #ffffff;
}

.cmp-tour-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--color-marine-900);
  line-height: 1.3;
}

.cmp-tour-provider {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Dual Pricing Display */
.cmp-price-block,
.matrix-price {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-marine-900);
}

.matrix-price span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.cmp-price-main {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-marine-900);
}

.cmp-table td.col-featured .cmp-price-main {
  color: var(--color-coral-600);
}

.cmp-price-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-pill.yes {
  background: var(--color-trust-green-soft);
  color: var(--color-trust-green-dark);
}

.status-pill.no {
  background: #fef2f2;
  color: #b91c1c;
}

/* Table Rating */
.cmp-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-marine-900);
}

.cmp-rating .stars {
  color: var(--color-star-gold);
}

.cmp-rating .reviews-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Table Inclusions Checklist */
.cmp-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
}

.cmp-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.cmp-checklist li::before {
  content: '✓';
  color: var(--color-trust-green);
  font-weight: 800;
}

/* Table CTAs */
.cmp-table tfoot td {
  background: #f8fafc;
  padding: 1.5rem 1.25rem;
  border-top: 2px solid var(--border-medium);
}

/* ==========================================================================
   TOURS GRID & INDIVIDUAL CARDS
   ========================================================================== */

.tours-grid-section {
  padding: 5.5rem 0;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2.25rem;
  margin-top: 3rem;
}

.tour-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--color-calcite-500);
}

.tour-card.featured-card {
  border-color: var(--color-coral-500);
  box-shadow: var(--shadow-md);
}

.tour-card.featured-card::before {
  content: 'EMPFOHLEN FÜR KREUZFAHRER';
  display: block;
  background: linear-gradient(90deg, var(--color-coral-500), var(--color-coral-600));
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  text-align: center;
  padding: 0.35rem 0.5rem;
  letter-spacing: 0.08em;
}

.tour-card-header {
  position: relative;
  height: 220px;
  overflow: hidden;
}

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

.tour-card:hover .tour-card-header img {
  transform: scale(1.06);
}

.tour-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--color-marine-900);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.3);
}

.tour-card-badge.badge-coral {
  background: var(--color-coral-500);
}

.tour-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tour-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.tour-card-title {
  font-size: 1.38rem;
  margin-bottom: 0.85rem;
  color: var(--color-marine-900);
  line-height: 1.3;
}

.tour-pricing-box {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tour-price-main {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--color-marine-900);
}

.tour-card.featured-card .tour-price-main {
  color: var(--color-coral-600);
}

.tour-price-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.tour-features-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.94rem;
}

.tour-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--text-body);
}

.tour-features-list li::before {
  content: '✓';
  color: var(--color-trust-green);
  font-weight: 800;
}

.tour-card-footer {
  margin-top: auto;
}

/* ==========================================================================
   EDITORIAL ARTICLE LAYOUT & IN-CONTENT CRO CALLOUTS
   ========================================================================== */

.content-article {
  padding: 4.5rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3.5rem;
  align-items: start;
}

.article-main {
  font-size: 1.1rem;
  line-height: 1.82;
  color: var(--text-body);
}

.article-main h2 {
  font-size: 2.2rem;
  margin-top: 2.85rem;
  margin-bottom: 1.35rem;
  color: var(--color-marine-900);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-calcite-100);
}

.article-main h3 {
  font-size: 1.55rem;
  margin-top: 2.15rem;
  margin-bottom: 1rem;
  color: var(--color-marine-900);
}

.article-main ul, .article-main ol {
  margin: 1.35rem 0 1.85rem 1.85rem;
}

.article-main li {
  margin-bottom: 0.6rem;
}

/* Key Takeaways Summary Card (.takeaways-card) */
.takeaways-card {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-left: 6px solid var(--color-calcite-500);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin: 2.75rem 0;
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.takeaways-badge {
  background: var(--color-calcite-100);
  color: var(--color-marine-900);
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

.takeaways-title {
  font-size: 1.5rem;
  color: var(--color-marine-900);
}

.takeaways-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.35rem;
}

.takeaways-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.58;
}

.takeaways-icon {
  flex-shrink: 0;
  font-size: 1.35rem;
}

/* In-Article Conversion Callout Box (.article-cta-box) */
.article-cta-box {
  background: linear-gradient(135deg, var(--color-marine-900) 0%, var(--color-marine-800) 100%);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  margin: 3rem 0;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-cta-box::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 107, 74, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.article-cta-box h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.article-cta-box p {
  color: #cbd5e1;
  margin-bottom: 1.75rem;
  font-size: 1.06rem;
  line-height: 1.65;
  max-width: 680px;
}

.article-cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.15rem;
}

/* Figure & Captions */
figure.article-figure {
  margin: 2.75rem 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

figure.article-figure img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

figcaption {
  padding: 0.95rem 1.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
}

figcaption a {
  color: var(--text-muted);
  text-decoration: underline;
}

/* Sidebar Components */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-size: 1.3rem;
  margin-bottom: 1.15rem;
  color: var(--color-marine-900);
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--color-calcite-100);
}

.sidebar-quick-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.94rem;
}

.sidebar-quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-body);
  padding: 0.4rem 0;
}

.sidebar-quick-list a:hover {
  color: var(--color-coral-600);
}

/* ==========================================================================
   ACCESSIBLE FAQ ACCORDION (.faq-accordion, .faq-item, etc.)
   Single delegated click event in main.js, smooth animation, accessible styling.
   ========================================================================== */

.faq-section {
  padding: 5.5rem 0;
  background: var(--bg-surface-alt);
  border-top: 1px solid var(--border-subtle);
}

.faq-list,
.faq-accordion {
  max-width: 880px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.faq-item {
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: var(--color-calcite-500);
}

.faq-item.active {
  border-color: var(--color-marine-900);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.45rem 1.85rem;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--color-marine-900);
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--color-coral-600);
}

.faq-icon {
  font-size: 1.4rem;
  transition: transform 0.25s ease;
  color: var(--color-marine-900);
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg-surface-alt);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--color-coral-soft);
  color: var(--color-coral-600);
}

.faq-answer {
  display: none;
  padding: 0 1.85rem 1.65rem 1.85rem;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.faq-item.active .faq-answer {
  display: block;
  animation: faqFadeIn 0.25s ease forwards;
}

@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   GETYOURGUIDE WIDGET CONTAINER STYLING
   ========================================================================== */

.gyg-widget-container {
  margin: 3.5rem 0;
  padding: 2.25rem;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.gyg-widget-header {
  margin-bottom: 1.75rem;
}

.gyg-widget-header h3 {
  font-size: 1.6rem;
  color: var(--color-marine-900);
  margin-bottom: 0.35rem;
}

.gyg-widget-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.gyg-responsive-wrapper {
  position: relative;
  width: 100%;
  min-height: 280px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   MOBILE STICKY BOOKING BAR (.sticky-book)
   Pinned to bottom on mobile, dual quick buttons (Offiziell ab 60 € vs Hafentransfer ab 115 €)
   ========================================================================== */

.sticky-book,
.sticky-book-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1.5px solid var(--border-subtle);
  box-shadow: 0 -6px 24px rgba(11, 37, 69, 0.12);
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px)) 1rem;
}

.sticky-book-inner,
.sticky-book-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-book-info {
  display: flex;
  flex-direction: column;
}

.sticky-book-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.5rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-family: var(--font-heading);
  text-align: center;
  transition: transform 0.15s ease;
}

.sticky-book-btn:active {
  transform: scale(0.98);
}

.sticky-book-btn.primary {
  background: linear-gradient(135deg, var(--color-coral-500) 0%, var(--color-coral-600) 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.35);
}

.sticky-book-btn.secondary {
  background: var(--color-marine-900);
  color: #ffffff !important;
}

.sticky-book-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.92;
}

.sticky-book-price {
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

/* ==========================================================================
   FOOTER: CREDIBLE DIRECTORY & CONSUMER TRUST
   ========================================================================== */

.site-footer {
  background: var(--color-marine-950);
  color: #94a3b8;
  padding: 5rem 0 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.footer-logo span {
  color: var(--color-coral-500);
}

.footer-desc {
  color: #94a3b8;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 380px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.35rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-coral-500);
}

.footer-bottom {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #64748b;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #64748b;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (TABLET & MOBILE OPTIMIZATION)
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-media-card img {
    height: 400px;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 75px; /* Spacing for sticky mobile bar */
  }

  .nav-menu,
  .btn-header-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 45px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-subtitle {
    font-size: 1.08rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-media-card img {
    height: 320px;
  }

  .hero-floating-badge {
    position: static;
    margin: 1rem 0 0 0;
    border-radius: var(--radius-sm);
  }

  .cruise-metrics-grid {
    grid-template-columns: 1fr;
  }

  .cruise-decision-grid {
    grid-template-columns: 1fr;
  }

  /* Comparison Matrix on Mobile */
  .cmp-scroll-hint {
    display: block;
  }

  .cmp-table .sticky-col {
    min-width: 110px;
    font-size: 0.88rem;
    padding: 1rem 0.75rem;
  }

  .cmp-table th,
  .cmp-table td {
    padding: 1rem 0.85rem;
  }

  .cmp-tour-title {
    font-size: 0.98rem;
  }

  .cmp-price-main {
    font-size: 1.35rem;
  }

  /* Sticky Mobile Bar */
  .sticky-book,
  .sticky-book-bar {
    display: block;
  }

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

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

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

  .takeaways-list {
    grid-template-columns: 1fr;
  }

  .article-cta-box {
    padding: 1.75rem 1.25rem;
  }

  .article-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
