/* ============================================
   NAVIUM - Design System
   Graphik Font / #0044ff accent / #090B36 dark
   ============================================ */

/* --- Graphik Font Faces --- */
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Regular.woff2') format('woff2'),
       url('fonts/Graphik-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-RegularItalic.woff2') format('woff2'),
       url('fonts/Graphik-RegularItalic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Medium.woff2') format('woff2'),
       url('fonts/Graphik-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Semibold.woff2') format('woff2'),
       url('fonts/Graphik-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Bold.woff2') format('woff2'),
       url('fonts/Graphik-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Graphik';
  src: url('fonts/Graphik-Light.woff2') format('woff2'),
       url('fonts/Graphik-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Custom Properties --- */
:root {
  /* Primary palette */
  --dark: #090B36;
  --dark-light: #12154a;
  --dark-muted: #1a1d5e;

  /* Accent - bright green */
  --accent: #0044ff;
  --accent-hover: #0036d4;
  --accent-subtle: rgba(0, 68, 255, 0.08);
  --accent-muted: rgba(0, 68, 255, 0.15);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Functional */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Typography */
  --font: 'Graphik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(9, 11, 54, 0.04);
  --shadow-md: 0 4px 12px rgba(9, 11, 54, 0.07);
  --shadow-lg: 0 8px 24px rgba(9, 11, 54, 0.1);
  --shadow-xl: 0 16px 48px rgba(9, 11, 54, 0.14);

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;
  --banner-height: 0px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

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

a {
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

h1 { font-size: 2.5rem; letter-spacing: -0.03em; }
h2 { font-size: 2rem; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-4xl) 0;
}

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: var(--banner-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--dark);
  z-index: 1000;
  transition: box-shadow var(--transition-base);
}

.header--scrolled {
  box-shadow: 0 2px 20px rgba(9, 11, 54, 0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header__logo-img {
  height: 32px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--white);
}

.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.header__cta {
  border-color: var(--white) !important;
  color: var(--white) !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

.header__cta:hover {
  background: var(--white) !important;
  color: var(--dark) !important;
}

.header__lang {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.header__lang:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Mobile menu button */
.header__menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  padding: var(--space-sm);
}

.header__menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--header-height) + var(--banner-height));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 999;
  padding: var(--space-xl);
  flex-direction: column;
  gap: var(--space-lg);
}

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

.mobile-nav a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  font-weight: 500;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
  }
  .header__menu-btn {
    display: block;
  }
}

/* --- Hero Section --- */
.hero {
  padding-top: calc(var(--header-height) + var(--banner-height) + var(--space-4xl));
  padding-bottom: var(--space-2xl);
  background: var(--dark);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 255, 68, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  position: relative;
}

.hero p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto var(--space-lg);
  position: relative;
}

@media (max-width: 640px) {
  .hero { padding-top: calc(var(--header-height) + var(--space-xl)); }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.0625rem; }
}

/* --- Search / Filter Bar --- */
.search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-xl);
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: var(--space-md);
  align-items: end;
  flex-wrap: wrap;
  position: relative;
}

.search-bar__field {
  flex: 1;
  min-width: 180px;
}

.search-bar__field label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.search-bar__field input,
.search-bar__field select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition-fast);
}

.search-bar__field input:focus,
.search-bar__field select:focus {
  outline: none;
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(9, 11, 54, 0.06);
}

.search-bar__field input::placeholder {
  color: var(--gray-400);
}

@media (max-width: 640px) {
  .search-bar {
    flex-direction: column;
  }
  .search-bar__field {
    min-width: 100%;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.25rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--white);
}

.btn--secondary {
  background: var(--gray-100);
  color: var(--gray-800);
}

.btn--secondary:hover {
  background: var(--gray-200);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid currentColor;
}

.btn--dark {
  background: var(--dark);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--dark-light);
  color: var(--white);
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn--sm {
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
}

.btn--full {
  width: 100%;
}

/* --- Ship Cards (Listing Grid) --- */
.listings {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-4xl);
  background: var(--white);
}

.listings__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.listings__count {
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-weight: 400;
}

.listings__sort select {
  padding: 0.5rem 0.75rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  color: var(--gray-700);
  background: var(--white);
}

.listings__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

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

@media (max-width: 640px) {
  .listings__grid {
    grid-template-columns: 1fr;
  }
}

/* Ship Card */
.ship-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.ship-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-300);
  color: inherit;
}

.ship-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.ship-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ship-card:hover .ship-card__image img {
  transform: scale(1.04);
}

.ship-card__badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: 0.25rem 0.625rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ship-card__badge--sold {
  background: var(--gray-500);
  color: var(--white);
}

.ship-card__image-count {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  padding: 0.25rem 0.5rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(4px);
}

.ship-card__body {
  padding: var(--space-lg);
}

.ship-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.ship-card__subtitle {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: var(--space-md);
  font-weight: 400;
}

.ship-card__specs {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-100);
}

.ship-card__spec {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ship-card__spec-label {
  font-size: 0.625rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.ship-card__spec-value {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--dark);
}

.ship-card__price {
  margin-top: var(--space-md);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
}

.ship-card__no-fees {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--accent);
  margin-top: var(--space-xs);
}

/* --- Ship Detail Page --- */
.ship-detail {
  padding-top: calc(var(--header-height) + var(--banner-height) + var(--space-xl));
  background: var(--white);
}

/* Breadcrumb */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.875rem;
  color: var(--gray-400);
}

.breadcrumb a {
  color: var(--gray-400);
  font-weight: 400;
}

.breadcrumb a:hover {
  color: var(--dark);
}

.breadcrumb span {
  margin: 0 var(--space-sm);
}

/* Image Gallery / Slider */
.gallery {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: var(--space-2xl);
}

.gallery__main {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery__main img.active {
  opacity: 1;
}

.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.gallery__nav:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.gallery__nav--prev {
  left: var(--space-lg);
}

.gallery__nav--next {
  right: var(--space-lg);
}

.gallery__nav svg {
  width: 20px;
  height: 20px;
  color: var(--dark);
}

.gallery__counter {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  padding: 0.375rem 0.75rem;
  background: rgba(0, 0, 0, 0.55);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

.gallery__thumbs {
  display: flex;
  gap: var(--space-sm);
  padding: var(--space-md);
  overflow-x: auto;
  background: var(--gray-50);
}

.gallery__thumb {
  flex-shrink: 0;
  width: 80px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-fast);
  opacity: 0.5;
}

.gallery__thumb.active,
.gallery__thumb:hover {
  border-color: var(--dark);
  opacity: 1;
}

.gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery__main {
    height: 300px;
  }
}

/* Ship Detail Layout */
.ship-detail__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  margin-bottom: var(--space-4xl);
}

@media (max-width: 1024px) {
  .ship-detail__layout {
    grid-template-columns: 1fr;
  }
}

/* Ship Info (Left Column) */
.ship-info__header {
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--gray-200);
}

.ship-info__title {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.ship-info__subtitle {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* Section titles */
.ship-section {
  margin-bottom: var(--space-2xl);
}

.ship-section__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--dark);
  display: inline-block;
}

.ship-section__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-600);
}

/* Technical Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid var(--gray-100);
}

.specs-table tr:last-child {
  border-bottom: none;
}

.specs-table td {
  padding: 0.75rem 0;
  font-size: 0.9375rem;
}

.specs-table td:first-child {
  font-weight: 500;
  color: var(--gray-500);
  width: 40%;
  padding-right: var(--space-lg);
}

.specs-table td:last-child {
  color: var(--dark);
  font-weight: 500;
}

/* Downloads */
.download-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.download-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.download-item:hover {
  background: var(--white);
  border-color: var(--dark);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.download-item__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.download-item__icon svg {
  width: 20px;
  height: 20px;
}

.download-item__info {
  flex: 1;
}

.download-item__name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--dark);
}

.download-item__size {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* Sidebar (Right Column) */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
}

.sidebar-card__price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.sidebar-card__vat {
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-card__specs {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-card__spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9375rem;
}

.sidebar-card__spec-label {
  color: var(--gray-500);
  font-weight: 400;
}

.sidebar-card__spec-value {
  font-weight: 600;
  color: var(--dark);
}

.sidebar-card__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sidebar-card__no-fees {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 68, 255, 0.06);
  border: 1px solid rgba(0, 68, 255, 0.12);
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  text-align: center;
}

.sidebar-card__contact {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-align: center;
}

/* --- Listing Page (inserieren / list-vessel) --- */
.listing-page {
  padding-top: calc(var(--header-height) + var(--banner-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
  background: var(--white);
}

.listing-page__hero {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.listing-page__hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.listing-page__subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.listing-page__free-banner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: rgba(0, 68, 255, 0.04);
  border: 1px solid rgba(0, 68, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.listing-page__free-icon {
  flex-shrink: 0;
  color: var(--accent);
}

.listing-page__free-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.listing-page__free-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.listing-page__layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-2xl);
  align-items: start;
}

.listing-page__info h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.listing-page__info > p {
  color: var(--gray-500);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.listing-page__checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.listing-page__check-item {
  display: flex;
  gap: var(--space-md);
}

.listing-page__check-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.listing-page__check-title {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.listing-page__check-desc {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.listing-page__cta-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--banner-height) + var(--space-xl));
}

.listing-page__cta-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.listing-page__cta-card > p {
  font-size: 0.875rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.listing-page__cta-highlight {
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.listing-page__cta-card .btn {
  margin-bottom: var(--space-sm);
}

.listing-page__cta-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
  text-align: center;
  margin-top: var(--space-sm);
}

@media (max-width: 1024px) {
  .listing-page__layout {
    grid-template-columns: 1fr;
  }
  .listing-page__cta-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .listing-page__hero h1 {
    font-size: 1.75rem;
  }
  .listing-page__free-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Legal Pages (Impressum, Datenschutz) --- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--banner-height) + var(--space-2xl));
  padding-bottom: var(--space-4xl);
  background: var(--white);
}

.legal-page .container {
  max-width: 800px;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: var(--space-2xl);
}

.legal-page h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.legal-page p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.legal-page ul {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.legal-page li {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-xs);
}

.legal-page a {
  color: var(--accent);
  font-weight: 500;
}

.sidebar-card__contact a {
  font-weight: 500;
  color: var(--dark);
}

/* --- Footer --- */
.footer {
  background: var(--gray-50);
  color: var(--gray-700);
  border-top: 1px solid var(--gray-200);
}

.footer__contact {
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.footer__contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  height: 30px;
  width: auto;
}

.footer__tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-bottom: 0;
  font-weight: 400;
}

/* Contact links */
.footer__contact-links {
  display: flex;
  gap: var(--space-2xl);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  text-decoration: none;
  color: var(--dark);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid var(--gray-200);
  background: var(--white);
}

.footer__contact-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  color: var(--dark);
  transform: translateY(-2px);
}

.footer__contact-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.footer__contact-item span {
  white-space: nowrap;
}

/* Social icons */

@media (max-width: 768px) {
  .footer__contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__contact-links {
    flex-direction: column;
    gap: var(--space-md);
    width: 100%;
  }
  .footer__contact-item {
    width: 100%;
  }
}

/* Footer bottom bar */
.footer__bar {
  border-top: 1px solid var(--gray-200);
}

.footer__bottom {
  padding: var(--space-lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.footer__legal a {
  color: var(--gray-400);
  font-weight: 400;
}

.footer__legal a:hover {
  color: var(--dark);
}

/* --- About / Contact sections --- */
.section--gray {
  background: var(--gray-50);
}

/* --- Utility Classes --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.no-results {
  text-align: center;
  padding: var(--space-4xl) var(--space-xl);
  color: var(--gray-500);
}

.no-results h3 {
  color: var(--gray-600);
  margin-bottom: var(--space-sm);
}

/* Tag / Chip */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag--accent {
  background: var(--accent-subtle);
  color: #0036d4;
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--dark);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: var(--space-2xl) auto;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--dark-light);
  transform: translateY(-2px);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
  padding: var(--space-lg) 0;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}

.cookie-banner__text {
  flex: 1;
}

.cookie-banner__text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: var(--space-xs);
}

.cookie-banner__text p {
  font-size: 0.8125rem;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 0;
}

.cookie-banner__text a {
  color: var(--accent);
  font-weight: 500;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: var(--white);
}

.cookie-banner__btn--accept:hover {
  background: #0036d4;
}

.cookie-banner__btn--necessary {
  background: var(--gray-100);
  color: var(--gray-600);
}

.cookie-banner__btn--necessary:hover {
  background: var(--gray-200);
}

.cookie-banner__btn--settings {
  background: none;
  color: var(--gray-400);
  padding: 0.6rem 0.5rem;
  text-decoration: underline;
  font-weight: 400;
}

.cookie-banner__btn--settings:hover {
  color: var(--dark);
}

/* Cookie details panel */
.cookie-banner__details {
  display: none;
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--gray-200);
}

.cookie-banner__details.open {
  display: block;
}

.cookie-banner__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--gray-100);
}

.cookie-banner__category:last-child {
  border-bottom: none;
}

.cookie-banner__cat-info {
  flex: 1;
}

.cookie-banner__cat-name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
}

.cookie-banner__cat-desc {
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: var(--gray-200);
  border-radius: 22px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.cookie-toggle input:checked + .cookie-toggle__slider {
  background: var(--accent);
}

.cookie-toggle input:checked + .cookie-toggle__slider::before {
  transform: translateX(18px);
}

.cookie-toggle input:disabled + .cookie-toggle__slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-banner__save {
  margin-top: var(--space-md);
  text-align: right;
}

@media (max-width: 768px) {
  .cookie-banner__inner {
    flex-direction: column;
  }
  .cookie-banner__actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .cookie-banner__btn {
    flex: 1;
    text-align: center;
  }
  .cookie-banner__btn--settings {
    flex-basis: 100%;
  }
}
