@charset "UTF-8";
/* ==========================================================================
   barcelonamallorca.com — globales Design-System (bm.css)
   Stand: 2026-09-12 · Spezifikation: tools/relaunch/SPEC.md
   --------------------------------------------------------------------------
   Ladereihenfolge im <head>:
     1. /vendor/bootstrap/5.3.3/bootstrap.min.css
     2. bereinigter Inline-<style> der Seite
     3. DIESE DATEI  ->  gewinnt bei gleicher Spezifitaet
   Kernkomponenten sind bewusst eine Stufe spezifischer gehalten
   (z. B. .hero-section h1, .btn.btn-warning, main .cta-section).
   Kein !important ausser bei unvermeidbaren Bootstrap-Button-Overrides.
   Mobile first. Keine Verlaeufe auf Buttons, keine Glaseffekte.
   ========================================================================== */

/* ==========================================================================
   01 · TOKENS
   ========================================================================== */

:root {
  /* --- Markenfarben ------------------------------------------------------ */
  --bm-navy: #0B2545;
  --bm-blue: #0F5FA8;
  --bm-blue-deep: #0A3F73;
  --bm-sea: #2FA8DC;
  --bm-teal: #0E7C86;
  --bm-sun: #F5A623;
  --bm-sun-hover: #E2951A;
  --bm-terracotta: #B25A12;
  /* dunklere Terracotta-Variante fuer Text auf Sand (B25A12 auf Sand = 4,3:1) */
  --bm-terracotta-deep: #8F480E;

  /* --- Text / Flaechen --------------------------------------------------- */
  --bm-ink: #10233A;
  --bm-muted: #55647A;
  --bm-sand: #F6F2EA;
  --bm-sand-2: #ECE5D8;
  --bm-line: #E3DED3;
  --bm-tint: #E6F2FB;          /* helles Blau fuer Badges/Info-Flaechen      */

  /* --- Status ------------------------------------------------------------ */
  --bm-success: #1B7F4B;
  --bm-warning: #9A6205;
  --bm-warning-bg: #FFF4D6;
  --bm-danger: #B42318;

  /* --- Form / Tiefe ------------------------------------------------------ */
  --bm-radius: 14px;
  --bm-radius-sm: 8px;
  --bm-shadow: 0 1px 2px rgba(11, 37, 69, .06), 0 8px 24px -12px rgba(11, 37, 69, .18);
  --bm-shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --bm-shadow-lg: 0 20px 40px -20px rgba(11, 37, 69, .3);

  /* --- Layout ------------------------------------------------------------ */
  --bm-header-h: 56px;
  --bm-container: 1200px;

  /* --- Verlaeufe (Hero, CTA) --------------------------------------------- */
  --bm-gradient: linear-gradient(135deg, var(--bm-navy) 0%, var(--bm-blue-deep) 45%, var(--bm-blue) 100%);

  /* --- Wellen-Grafiken (data-URI, kein externer Request) ------------------ */
  --bm-wave-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M0,62 C180,22 360,102 600,70 C840,38 1020,94 1200,62 L1200,120 L0,120 Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.06' d='M0,90 C200,58 400,114 640,90 C880,66 1040,110 1200,90 L1200,120 L0,120 Z'/%3E%3C/svg%3E");
  --bm-wave-sea: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath fill='%232FA8DC' fill-opacity='.25' d='M0,10 C120,2 240,18 360,10 C480,2 600,18 720,10 C840,2 960,18 1080,10 C1140,6 1170,8 1200,10 L1200,0 L0,0 Z'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   01b · LEGACY-MAPPING
   Alte Custom Properties der Bestandsseiten auf die neue Palette umlenken,
   damit seitenspezifische Komponenten automatisch mitziehen.
   -------------------------------------------------------------------------- */

:root {
  --primary-color: var(--bm-blue);
  --primary: var(--bm-blue);
  --primary-blue: var(--bm-blue);
  --secondary-color: var(--bm-terracotta);
  --secondary: var(--bm-terracotta);
  --accent-orange: var(--bm-terracotta);
  --accent-color: var(--bm-teal);
  --secondary-blue: var(--bm-blue-deep);
  --light-blue: #E6F2FB;
  --dark-navy: var(--bm-navy);
  --primary-dark: var(--bm-blue-deep);
  --dark: var(--bm-ink);
  --text-dark: var(--bm-ink);
  --text-light: var(--bm-muted);
  --dark-gray: var(--bm-ink);
  --gray-medium: var(--bm-muted);
  --bg-light: var(--bm-sand);
  --light: var(--bm-sand);
  --light-gray: var(--bm-sand);
  --gray-light: var(--bm-sand);
  --bg-sand: var(--bm-sand);
  --sand-color: var(--bm-sand-2);
  --border-color: var(--bm-line);
  --white: #fff;
  --success-color: var(--bm-success);
  --success-green: var(--bm-success);
  --warning-color: var(--bm-warning);
  --warning-yellow: var(--bm-warning);
  --warning-orange: var(--bm-terracotta);
  --danger-color: var(--bm-danger);
  --danger-red: var(--bm-danger);
  --info-color: var(--bm-blue);
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, .06);
  --shadow-md: var(--bm-shadow);
  --shadow-lg: 0 20px 40px -20px rgba(11, 37, 69, .3);
  --shadow-soft: var(--shadow-sm);
  --shadow-medium: var(--shadow-md);
  --transition-smooth: .18s ease;
  --family-blue: var(--bm-blue);
  --olive-green: var(--bm-teal);
  /* weitere Namen aus dem Bestand */
  --light-bg: var(--bm-sand);
  --mallorca-blue: var(--bm-blue);
  --barcelona-red: var(--bm-terracotta);
}

/* ==========================================================================
   02 · SCHRIFT (selbst gehostet, DSGVO-konform)
   ========================================================================== */

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/dm-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ==========================================================================
   03 · BASIS / RESET
   ========================================================================== */

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

html {
  scroll-padding-top: calc(var(--bm-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--bm-ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--bm-line);
  opacity: 1;
  margin: 2rem 0;
}

::selection {
  background: var(--bm-sun);
  color: var(--bm-ink);
}

/* ==========================================================================
   04 · TYPOGRAFIE
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  color: var(--bm-navy);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .75rem;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -.015em;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

h3 { font-size: 1.3rem; margin-top: 1.75rem; }
h4 { font-size: 1.1rem; margin-top: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: .95rem; }

/* erstes Kind nie mit Abstand nach oben */
h2:first-child, h3:first-child, h4:first-child,
main > h2:first-of-type,
section > h2:first-child,
.content-section > h2:first-child,
.info-card h3, .info-card h4,
.tip-box h3, .tip-box h4,
.info-box h3, .info-box h4 { margin-top: 0; }

p { margin: 0 0 1rem; }

.lead,
p.lead {
  font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem);
  font-weight: 400;
  line-height: 1.55;
  color: var(--bm-ink);
  margin-bottom: 1.25rem;
}

small, .small { font-size: .9rem; }

strong, b { font-weight: 700; }

/* Inline-SVG-Icons in Ueberschriften (Bestand: viewBox 0 0 24 24, currentColor) */
h2 > svg,
h3 > svg,
h4 > svg,
.content-section h2 svg,
.content-section h3 svg,
.info-card h3 svg,
.info-card h4 svg,
.tips-box h3 svg,
.tip-category h3 svg,
h2 > svg.icon,
h3 > svg.icon {
  width: 1em;
  height: 1em;
  vertical-align: -.15em;
  margin-right: .4em;
  color: var(--bm-blue);
  flex-shrink: 0;
}

/* Textbreite im Fliesstext */
.content-section p,
.content-section li,
.info-section p,
.tips-section p {
  max-width: 70ch;
}

.content-section .info-card p,
.content-section .info-card li,
.content-section .info-box p,
.content-section .info-box li,
.content-section .tip-box p,
.content-section .tip-box li,
.content-section .price-box p,
.content-section table p,
.content-section td,
.content-section th,
.content-section .cta-section p,
.content-section .info-grid p,
.content-section .info-grid li {
  max-width: none;
}

/* Links */
a {
  color: var(--bm-blue);
  text-underline-offset: .15em;
  text-decoration-thickness: from-font;
}

a:hover { color: var(--bm-blue-deep); }

main a,
.content-section a,
footer .bm-footer__legal a { text-decoration: underline; }

/* Links, die keine Fliesstext-Links sind */
a.btn,
a[class*="btn-"],
a.bm-btn,
.bm-nav a,
.bm-drawer a,
.bm-footer__cols a,
.bm-footer__lang a,
.bm-logo,
.breadcrumb a,
.breadcrumb-list a,
.info-card a.stretched-link,
a.info-card,
a.price-item,
a.route-card,
a.nav-card,
a.quick-link,
a.quick-link-card,
a.service-card,
a.tip-card,
a.sitemap-link,
.card-title a,
h2 > a, h3 > a, h4 > a,
.bm-mobile-cta a { text-decoration: none; }

h2 > a:hover, h3 > a:hover, h4 > a:hover { text-decoration: underline; }

/* Listen im Content */
main ul:not(.list-unstyled):not(.nav):not(.navbar-nav):not(.breadcrumb):not(.pagination) > li::marker {
  color: var(--bm-blue);
}

main li { margin-bottom: .35rem; }

/* ==========================================================================
   05 · LAYOUT
   ========================================================================== */

@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl { max-width: var(--bm-container); }
}

main { display: block; }

main.container,
main > .container { padding-top: .5rem; }

/* Sektionsabstaende */
.content-section,
.info-section,
.comparison-section,
.tips-section,
.review-section,
.price-section,
.operator-section {
  padding: clamp(2.25rem, 5vw, 4rem) 0;
  margin: 0;
}

/* wenn eine Sektion direkt im Content-Container liegt, reicht weniger Luft */
main.container > .content-section,
main > .container > .content-section {
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

/* Fokus */
:focus-visible {
  outline: 3px solid var(--bm-sun);
  outline-offset: 3px;
  border-radius: 4px;
}

:focus:not(:focus-visible) { outline: none; }

/* Skip-Link */
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 2000;
  padding: .6rem 1rem;
  background: var(--bm-navy);
  color: #fff;
  border-radius: var(--bm-radius-sm);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  color: #fff;
}

/* Hilfsklassen */
.visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   06 · HEADER / NAVIGATION
   ========================================================================== */

.bm-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--bm-line);
  transition: box-shadow .18s ease;
}

.bm-header.is-scrolled {
  box-shadow: 0 2px 12px -4px rgba(11, 37, 69, .22);
}

.bm-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  min-height: var(--bm-header-h);
}

/* --- Logo --- */
.bm-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  border-radius: 6px;
}

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

/* --- Desktop-Navigation (ab 992 px sichtbar) --- */
.bm-nav { display: none; min-width: 0; }

.bm-nav__list {
  display: flex;
  align-items: center;
  gap: .1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
}

.bm-nav__link {
  display: inline-flex;
  align-items: center;
  padding: .55rem .6rem;
  border-radius: 6px;
  color: var(--bm-ink);
  font-weight: 600;
  font-size: .97rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
}

.bm-nav__link:hover,
.bm-nav__item--open > .bm-nav__link {
  color: var(--bm-blue);
  background: var(--bm-sand);
}

.bm-nav__link[aria-current="page"] {
  color: var(--bm-blue-deep);
}

.bm-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: .6rem;
  right: .6rem;
  bottom: 2px;
  height: 3px;
  border-radius: 2px;
  background: var(--bm-sun);
}

.bm-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 32px;
  margin-left: -.35rem;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--bm-muted);
  cursor: pointer;
}

.bm-nav__toggle svg {
  width: 14px;
  height: 14px;
  transition: transform .18s ease;
}

.bm-nav__toggle:hover { color: var(--bm-blue); }

.bm-nav__item--open > .bm-nav__toggle svg { transform: rotate(180deg); }

.bm-nav__sub {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: none;
  min-width: 264px;
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
}

.bm-nav__item--open > .bm-nav__sub { display: block; }

.bm-nav__sub li { margin: 0; }

.bm-nav__sub a {
  display: block;
  padding: .5rem .7rem;
  border-radius: 6px;
  color: var(--bm-ink);
  font-size: .95rem;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
}

.bm-nav__sub a:hover,
.bm-nav__sub a:focus-visible {
  background: var(--bm-sand);
  color: var(--bm-blue-deep);
}

.bm-nav__sub a[aria-current="page"] {
  color: var(--bm-blue-deep);
  font-weight: 700;
}

/* --- Kopf-Aktionen --- */
.bm-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

/* --- Sprachmenue --- */
.bm-lang { position: relative; }

.bm-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 44px;
  padding: .45rem .6rem;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  background: #fff;
  color: var(--bm-ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
}

.bm-lang__toggle svg {
  width: 17px;
  height: 17px;
  color: var(--bm-blue);
}

.bm-lang__toggle:hover {
  border-color: var(--bm-blue);
  color: var(--bm-blue-deep);
}

.bm-lang__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 30;
  display: none;
  min-width: 170px;
  margin: 0;
  padding: .35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
}

.bm-lang.is-open .bm-lang__menu { display: block; }

.bm-lang__menu li { margin: 0; }

.bm-lang__menu a {
  display: block;
  padding: .5rem .7rem;
  border-radius: 6px;
  color: var(--bm-ink);
  font-size: .95rem;
  text-decoration: none;
}

.bm-lang__menu a:hover,
.bm-lang__menu a:focus-visible {
  background: var(--bm-sand);
  color: var(--bm-blue-deep);
}

.bm-lang__menu a[aria-current="true"] {
  font-weight: 700;
  color: var(--bm-blue-deep);
}

/* --- Header-CTA ---
   Hoehere Spezifitaet noetig: die Sammel-Regel der Buttons (Abschnitt 09)
   setzt .bm-btn spaeter im Dokument auf display:inline-flex. */
.bm-header__actions .bm-header__cta {
  display: none;
  min-height: 42px;
  padding: .5rem 1.05rem;
  font-size: .95rem;
  white-space: nowrap;
}

/* --- Burger --- */
.bm-burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  background: #fff;
  cursor: pointer;
}

.bm-burger span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: var(--bm-navy);
  transition: transform .18s ease, opacity .18s ease;
}

.bm-burger:hover { border-color: var(--bm-blue); }

.bm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Desktop-Umschaltung --- */
@media (min-width: 992px) {
  :root { --bm-header-h: 64px; }

  .bm-nav { display: block; }
  .bm-header__actions .bm-header__cta { display: inline-flex; }
  .bm-burger { display: none; }
  .bm-logo img { width: 200px; }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .bm-nav__item--has-sub:hover > .bm-nav__sub,
  .bm-nav__item--has-sub:focus-within > .bm-nav__sub { display: block; }
}

/* rechtsbuendige Untermenues am rechten Rand nicht abschneiden */
@media (min-width: 992px) {
  .bm-nav__item:nth-last-child(-n+2) .bm-nav__sub {
    left: auto;
    right: 0;
  }
}

/* Enge Desktop-Breiten: Leiste kompakter, damit acht Punkte + CTA passen.
   Zwei Stufen, damit ab 992 px nichts ueberlappt. */
@media (min-width: 992px) {
  .bm-nav__list { flex-wrap: nowrap; }
  .bm-header__actions { flex-shrink: 0; }
  .bm-logo { flex-shrink: 0; }
}

@media (min-width: 992px) and (max-width: 1399.98px) {
  .bm-header__inner { gap: .5rem; }
  .bm-logo img { width: 168px; }
  .bm-nav__link { padding: .5rem .35rem; font-size: .9rem; }
  .bm-nav__toggle { width: 20px; margin-left: -.2rem; }
  .bm-nav__toggle svg { width: 12px; height: 12px; }
  .bm-nav__link[aria-current="page"]::after { left: .35rem; right: .35rem; }
  .bm-lang__toggle { padding: .45rem .5rem; font-size: .85rem; }
  .bm-header__actions .bm-header__cta { padding: .5rem .8rem; font-size: .9rem; }
}

@media (min-width: 992px) and (max-width: 1239.98px) {
  .bm-header__inner { gap: .35rem; }
  .bm-logo img { width: 148px; }
  .bm-nav__link { padding: .45rem .25rem; font-size: .83rem; }
  .bm-nav__toggle { width: 16px; margin-left: -.1rem; }
  .bm-nav__toggle svg { width: 11px; height: 11px; }
  .bm-nav__link[aria-current="page"]::after { left: .25rem; right: .25rem; }
  .bm-lang__toggle { gap: .2rem; padding: .45rem .4rem; font-size: .8rem; }
  .bm-lang__toggle svg { width: 15px; height: 15px; }
  .bm-header__actions .bm-header__cta { padding: .5rem .65rem; font-size: .85rem; }
}

/* ==========================================================================
   06b · DRAWER (Off-Canvas, < 992 px)
   ========================================================================== */

.bm-drawer {
  position: fixed;
  inset: 0;
  z-index: 1200;
}

.bm-drawer[hidden] { display: none; }

.bm-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 37, 69, .5);
  opacity: 0;
  transition: opacity .22s ease;
}

.bm-drawer.is-open .bm-drawer__backdrop { opacity: 1; }

.bm-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -12px 0 32px -18px rgba(11, 37, 69, .5);
  transform: translateX(100%);
  transition: transform .24s ease;
}

.bm-drawer.is-open .bm-drawer__panel { transform: translateX(0); }

.bm-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .85rem;
  margin-bottom: .5rem;
  border-bottom: 1px solid var(--bm-line);
}

.bm-drawer__head img {
  width: 168px;
  height: auto;
}

.bm-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  background: #fff;
  color: var(--bm-navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.bm-drawer__close:hover {
  border-color: var(--bm-blue);
  color: var(--bm-blue);
}

.bm-drawer__list,
.bm-drawer__sub {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-drawer__list > li {
  margin: 0;
  border-bottom: 1px solid var(--bm-sand-2);
}

.bm-drawer__row {
  display: flex;
  align-items: center;
}

.bm-drawer__link {
  flex: 1 1 auto;
  display: block;
  min-height: 48px;
  padding: .8rem .25rem;
  color: var(--bm-ink);
  font-weight: 600;
  text-decoration: none;
}

.bm-drawer__link[aria-current="page"] {
  color: var(--bm-blue-deep);
  box-shadow: inset 3px 0 0 var(--bm-sun);
  padding-left: .7rem;
}

.bm-drawer__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 0;
  border-radius: var(--bm-radius-sm);
  background: transparent;
  color: var(--bm-muted);
  cursor: pointer;
}

.bm-drawer__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform .18s ease;
}

.bm-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.bm-drawer__sub {
  display: none;
  padding: 0 0 .6rem .7rem;
  border-left: 2px solid var(--bm-sand-2);
  margin-left: .25rem;
}

.bm-drawer__sub.is-open { display: block; }

.bm-drawer__sub a {
  display: block;
  min-height: 44px;
  padding: .55rem .25rem;
  color: var(--bm-muted);
  font-size: .95rem;
  text-decoration: none;
}

.bm-drawer__sub a:hover,
.bm-drawer__sub a:focus-visible { color: var(--bm-blue-deep); }

.bm-drawer__lang {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 1rem 0;
}

.bm-drawer__lang a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .35rem .8rem;
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  color: var(--bm-ink);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}

.bm-drawer__lang a[aria-current="true"] {
  background: var(--bm-navy);
  border-color: var(--bm-navy);
  color: #fff;
}

.bm-drawer__lang a:hover { border-color: var(--bm-blue); }

.bm-drawer__panel > .bm-btn { margin-top: auto; }

body.bm-no-scroll {
  overflow: hidden;
  touch-action: none;
}

@media (min-width: 992px) {
  .bm-drawer { display: none; }
}

/* ==========================================================================
   07 · HERO
   ========================================================================== */

.hero,
.hero-section,
.route-hero,
.live-hero-band,
header.hero-section,
.bm-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2.25rem, 6vw, 4.5rem);
  background: var(--bm-gradient);
  color: #fff;
  border-radius: 0;
  margin: 0;
}

.hero::before,
.hero-section::before,
.route-hero::before,
.live-hero-band::before,
.bm-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: var(--bm-wave-light) bottom center / 100% 120px no-repeat;
  pointer-events: none;
}

.hero > .container,
.hero-section > .container,
.route-hero > .container,
.live-hero-band > .container,
.bm-hero > .container,
.hero-content,
.route-hero-content {
  position: relative;
  z-index: 1;
}

/* Ueberschriften und Text im Hero */
.hero h1,
.hero-section h1,
.route-hero h1,
.live-hero-band h1,
.bm-hero h1,
.hero-content h1,
.route-hero-content h1,
.hero h2,
.hero-section h2,
.route-hero h2,
.bm-hero h2 {
  color: #fff;
  margin-top: 0;
}

.route-hero h1,
.route-hero-content h1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
}

.route-arrow {
  color: var(--bm-sun);
  font-weight: 800;
  line-height: 1;
}

.hero p,
.hero-section p,
.route-hero p,
.live-hero-band p,
.bm-hero p,
.hero-content p,
.route-hero-content p,
.hero .lead,
.hero-section .lead,
.route-hero .lead,
.bm-hero .lead,
.hero-content .lead {
  color: rgba(255, 255, 255, .88);
  max-width: 62ch;
}

.hero a:not([class]),
.hero-section a:not([class]),
.route-hero a:not([class]),
.bm-hero a:not([class]) {
  color: #fff;
  text-decoration: underline;
}

.hero .update-info,
.hero-section .update-info,
.route-hero .update-info,
.bm-hero .update-info,
.hero time,
.hero-section time,
.route-hero time,
.bm-hero time,
.hero-meta,
.hero-section .hero-meta {
  font-size: .9rem;
  /* .82 statt .75: auf dem hellsten Punkt des Verlaufs sonst nur 4,41:1 */
  color: rgba(255, 255, 255, .82);
}

/* zentrierte Hero-Varianten behalten ihre Ausrichtung */
.hero-content.text-center p,
.hero-content.text-center .lead,
.hero-section.text-center p { margin-left: auto; margin-right: auto; }

/* Meta-Pillen */
.route-meta,
.hero-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .95rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .95rem;
  line-height: 1.3;
}

.route-meta .meta-item svg,
.meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

/* Button-Reihen im Hero */
.hero-cta,
.hero-cta-group,
.hero .cta-buttons,
.hero-section .cta-buttons,
.route-hero .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

/* Hero mit Foto */
.bm-hero--photo {
  background:
    linear-gradient(100deg, rgba(11, 37, 69, .92) 0%, rgba(11, 37, 69, .72) 55%, rgba(11, 37, 69, .35) 100%),
    var(--bm-hero-img-sm, var(--bm-hero-img)) center / cover no-repeat;
}

@media (min-width: 768px) {
  .bm-hero--photo {
    background:
      linear-gradient(100deg, rgba(11, 37, 69, .92) 0%, rgba(11, 37, 69, .72) 55%, rgba(11, 37, 69, .35) 100%),
      var(--bm-hero-img) center / cover no-repeat;
  }
}

/* ==========================================================================
   08 · BREADCRUMB
   ========================================================================== */

nav.breadcrumb,
.breadcrumb-bar,
.breadcrumb-nav {
  display: block;
  background: transparent;
  padding: 0;
  margin: 0;
  border: 0;
}

ol.breadcrumb,
ul.breadcrumb,
.breadcrumb-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
  background: transparent;
  font-size: .875rem;
  line-height: 1.4;
  color: var(--bm-muted);
}

ol.breadcrumb::-webkit-scrollbar,
ul.breadcrumb::-webkit-scrollbar,
.breadcrumb-list::-webkit-scrollbar { display: none; }

.breadcrumb li,
.breadcrumb-list li {
  margin: 0;
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item { padding-left: 0; }

.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-list li:not(:first-child)::before {
  content: "\203A";
  float: none;
  padding: 0 .5rem;
  color: var(--bm-muted);
}

/* Bestandsvariante mit ::after-Trenner */
.breadcrumb-list li:not(:last-child)::after { content: none; }

.breadcrumb a,
.breadcrumb-list a {
  color: var(--bm-muted);
  text-decoration: none;
}

.breadcrumb a:hover,
.breadcrumb-list a:hover {
  color: var(--bm-blue-deep);
  text-decoration: underline;
}

.breadcrumb-item.active,
.breadcrumb-list li:last-child,
.breadcrumb [aria-current="page"] {
  color: var(--bm-ink);
  font-weight: 600;
}

/* ==========================================================================
   09 · BUTTONS
   ========================================================================== */

/* --- gemeinsame Grundform --- */
.btn,
.bm-btn,
.btn-warning, .btn-custom, .btn-cta, .btn-cta-primary, .btn-hero-primary,
.btn-primary-custom, .btn-custom-primary, .btn-primary-cta, .btn-book,
.btn-booking, .btn-mid-cta, .btn-search, .btn-book-primary, .btn-final,
.btn-final-cta, .btn-cta-main, .btn-cta-mid, .btn-cta-booking, .btn-orange,
.btn-primary-hero, .btn-card,
.btn-primary, .btn-secondary-custom, .btn-custom-secondary, .btn-cta-secondary,
.btn-live, .btn-calculate, .btn-swap, .btn-subscribe, .btn-retry,
.btn-outline-primary, .btn-outline-secondary, .btn-secondary, .btn-light,
.btn-outline-blue, .btn-secondary-outline, .btn-outline, .btn-outline-port,
.btn-outline-light, .btn-hero-outline, .btn-outline-light-custom,
.btn-outline-light-hero, .btn-outline-light-cta, .btn-hero-secondary,
.btn-white, .btn-white-outline, .btn-cta-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.4rem;
  border: 2px solid transparent;
  border-radius: var(--bm-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

/* --- Conversion-CTA: Sun --- */
.btn.btn-warning,
.btn-warning,
.btn-custom, .btn-cta, .btn-cta-primary, .btn-hero-primary,
.btn-primary-custom, .btn-custom-primary, .btn-primary-cta, .btn-book,
.btn-booking, .btn-mid-cta, .btn-search, .btn-book-primary, .btn-final,
.btn-final-cta, .btn-cta-main, .btn-cta-mid, .btn-cta-booking, .btn-orange,
.btn-primary-hero, .btn-card,
.bm-btn--sun {
  --bs-btn-bg: var(--bm-sun);
  --bs-btn-border-color: var(--bm-sun);
  --bs-btn-color: var(--bm-ink);
  --bs-btn-hover-bg: var(--bm-sun-hover);
  --bs-btn-hover-border-color: var(--bm-sun-hover);
  --bs-btn-hover-color: var(--bm-ink);
  --bs-btn-active-bg: var(--bm-sun-hover);
  --bs-btn-active-border-color: var(--bm-sun-hover);
  --bs-btn-active-color: var(--bm-ink);
  background-color: var(--bm-sun);
  border-color: var(--bm-sun);
  color: var(--bm-ink);
  box-shadow: none;
}

.btn.btn-warning:hover, .btn.btn-warning:focus-visible,
.btn-warning:hover, .btn-warning:focus-visible,
.btn-custom:hover, .btn-cta:hover, .btn-cta-primary:hover, .btn-hero-primary:hover,
.btn-primary-custom:hover, .btn-custom-primary:hover, .btn-primary-cta:hover,
.btn-book:hover, .btn-booking:hover, .btn-mid-cta:hover, .btn-search:hover,
.btn-book-primary:hover, .btn-final:hover, .btn-final-cta:hover, .btn-cta-main:hover,
.btn-cta-mid:hover, .btn-cta-booking:hover, .btn-orange:hover,
.btn-primary-hero:hover, .btn-card:hover,
.bm-btn--sun:hover, .bm-btn--sun:focus-visible {
  background-color: var(--bm-sun-hover);
  border-color: var(--bm-sun-hover);
  color: var(--bm-ink);
  transform: translateY(-1px);
}

/* --- Primaer: Blau --- */
.btn.btn-primary,
.btn-primary,
.btn-secondary-custom, .btn-custom-secondary, .btn-cta-secondary,
.btn-live, .btn-calculate, .btn-swap, .btn-subscribe, .btn-retry,
.bm-btn--blue {
  --bs-btn-bg: var(--bm-blue);
  --bs-btn-border-color: var(--bm-blue);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--bm-blue-deep);
  --bs-btn-hover-border-color: var(--bm-blue-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--bm-blue-deep);
  --bs-btn-active-border-color: var(--bm-blue-deep);
  background-color: var(--bm-blue);
  border-color: var(--bm-blue);
  color: #fff;
  box-shadow: none;
}

.btn.btn-primary:hover, .btn.btn-primary:focus-visible,
.btn-primary:hover, .btn-primary:focus-visible,
.btn-secondary-custom:hover, .btn-custom-secondary:hover, .btn-cta-secondary:hover,
.btn-live:hover, .btn-calculate:hover, .btn-swap:hover, .btn-subscribe:hover,
.btn-retry:hover,
.bm-btn--blue:hover {
  background-color: var(--bm-blue-deep);
  border-color: var(--bm-blue-deep);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Outline auf hellem Grund --- */
.btn.btn-secondary,
.btn.btn-light,
.btn.btn-outline-primary,
.btn.btn-outline-secondary,
.btn-outline-primary, .btn-outline-secondary, .btn-secondary, .btn-light,
.btn-outline-blue, .btn-secondary-outline, .btn-outline, .btn-outline-port,
.bm-btn--outline {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--bm-blue);
  --bs-btn-color: var(--bm-blue);
  --bs-btn-hover-bg: var(--bm-blue);
  --bs-btn-hover-border-color: var(--bm-blue);
  --bs-btn-hover-color: #fff;
  background-color: transparent;
  border-color: var(--bm-blue);
  color: var(--bm-blue);
  box-shadow: none;
}

.btn.btn-secondary:hover, .btn.btn-light:hover,
.btn.btn-outline-primary:hover, .btn.btn-outline-secondary:hover,
.btn-outline-primary:hover, .btn-outline-secondary:hover, .btn-secondary:hover,
.btn-light:hover, .btn-outline-blue:hover, .btn-secondary-outline:hover,
.btn-outline:hover, .btn-outline-port:hover,
.bm-btn--outline:hover {
  background-color: var(--bm-blue);
  border-color: var(--bm-blue);
  color: #fff;
}

/* --- Outline auf dunklem Grund (Hero, CTA) --- */
.btn.btn-outline-light,
.btn-outline-light, .btn-hero-outline, .btn-outline-light-custom,
.btn-outline-light-hero, .btn-outline-light-cta, .btn-hero-secondary,
.btn-white-outline,
.bm-btn--ghost {
  --bs-btn-bg: transparent;
  --bs-btn-border-color: #fff;
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: rgba(255, 255, 255, .12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
  background-color: transparent;
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}

.btn.btn-outline-light:hover,
.btn-outline-light:hover, .btn-hero-outline:hover, .btn-outline-light-custom:hover,
.btn-outline-light-hero:hover, .btn-outline-light-cta:hover, .btn-hero-secondary:hover,
.btn-white-outline:hover,
.bm-btn--ghost:hover {
  background-color: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* --- weisse Flaeche auf dunklem Grund --- */
.btn-white, .btn-cta-white {
  background-color: #fff;
  border-color: #fff;
  color: var(--bm-navy);
}

.btn-white:hover, .btn-cta-white:hover {
  background-color: var(--bm-sand);
  border-color: var(--bm-sand);
  color: var(--bm-navy);
}

/* --- Groessen --- */
.btn.btn-lg, .btn-lg, .btn-large, .btn-cta-large {
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  min-height: 54px;
}

.btn.btn-sm, .btn-sm {
  padding: .5rem .9rem;
  font-size: .9rem;
  min-height: 40px;
}

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

/* Buttons innerhalb dunkler Flaechen: Outline-Varianten immer weiss */
:is(.hero, .hero-section, .route-hero, .live-hero-band, .bm-hero,
    .cta-section, .final-cta, .final-cta-section, .cta-box, .booking-cta)
  :is(.btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary,
      .btn-outline, .btn-outline-blue, .btn-secondary-outline) {
  background-color: transparent;
  border-color: #fff;
  color: #fff;
}

:is(.hero, .hero-section, .route-hero, .live-hero-band, .bm-hero,
    .cta-section, .final-cta, .final-cta-section, .cta-box, .booking-cta)
  :is(.btn-secondary, .btn-light, .btn-outline-primary, .btn-outline-secondary,
      .btn-outline, .btn-outline-blue, .btn-secondary-outline):hover {
  background-color: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

/* --- Button-Reihen --- */
.cta-buttons,
.btn-row,
.btn-group-custom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

/* ==========================================================================
   10 · KARTEN & RASTER
   ========================================================================== */

.info-card,
.service-card,
.schedule-card,
.transport-card,
.stat-card,
.stat-item,
.price-item,
.nav-card,
.route-card,
.quick-link-card,
.tip-card,
.bm-card {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1.25rem 1.35rem;
  margin: 0;
  color: var(--bm-ink);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.info-card:hover,
.service-card:hover,
.schedule-card:hover,
.transport-card:hover,
.nav-card:hover,
.route-card:hover,
.quick-link-card:hover,
.tip-card:hover,
.price-item:hover {
  box-shadow: var(--bm-shadow);
  border-color: var(--bm-sand-2);
  transform: translateY(-2px);
}

a.info-card,
a.nav-card,
a.route-card,
a.quick-link-card,
a.service-card,
a.tip-card,
a.price-item { display: block; text-decoration: none; }

.info-card h3,
.service-card h3,
.schedule-card h3,
.nav-card h3,
.transport-card h3 {
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: .6rem;
  color: var(--bm-navy);
}

.info-card h4,
.service-card h4,
.nav-card h4,
.quick-link-card h5 {
  font-size: 1.05rem;
  margin-top: 0;
  margin-bottom: .5rem;
  color: var(--bm-navy);
}

.info-card > :last-child,
.service-card > :last-child,
.schedule-card > :last-child,
.nav-card > :last-child,
.tip-box > :last-child,
.tips-box > :last-child,
.info-box > :last-child { margin-bottom: 0; }

.info-card ul,
.service-card ul { padding-left: 1.2rem; }

.info-card li { margin-bottom: .3rem; }

.info-card svg,
.service-card svg,
.transport-card svg,
.nav-card-icon svg {
  color: var(--bm-blue);
  flex-shrink: 0;
}

/* Hinweisboxen mit Sand-Flaeche */
.tip-box,
.tips-box,
.info-box,
.tip-box-blue,
.tip-box-orange,
.tip-box-purple,
.tip-box-island,
.tip-box-budget,
.personal-note,
.insider-note,
.praxis-tip,
.persona-tip,
.student-note,
.warning-box,
.warning-card {
  background: var(--bm-sand);
  border: 1px solid var(--bm-line);
  border-left: 4px solid var(--bm-blue);
  border-radius: var(--bm-radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0;
  color: var(--bm-ink);
}

.tip-box h3, .tips-box h3, .info-box h3,
.tip-box h4, .tips-box h4, .info-box h4,
.warning-box h4, .warning-card h3 {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.05rem;
  color: var(--bm-navy);
}

.tip-box-orange,
.tip-box-budget { border-left-color: var(--bm-terracotta); }

.tip-box-purple { border-left-color: var(--bm-teal); }

.tip-box-island { border-left-color: var(--bm-sea); }

.warning-box,
.warning-card,
.info-box.warning {
  background: var(--bm-warning-bg);
  border-color: #F0DFB0;
  border-left-color: var(--bm-warning);
}

.tip-author,
.persona-name,
.tip-item .author,
.personal-quote .author {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  font-style: italic;
  color: var(--bm-muted);
}

.persona-name { font-style: normal; font-weight: 700; }

.personal-intro,
.personal-quote {
  background: var(--bm-sand);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  margin: 1.75rem 0;
}

.personal-intro h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.personal-intro > :last-child,
.personal-quote > :last-child { margin-bottom: 0; }

.personal-quote {
  border-left: 4px solid var(--bm-sun);
  font-size: 1.05rem;
}

/* Tipp-Listeneintraege */
.tip-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--bm-sand-2);
}

.tip-item:last-child { border-bottom: 0; }

.tip-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: .2rem;
  color: var(--bm-blue);
}

/* Raster */
.info-grid,
.stats-grid,
.service-grid,
.route-cards,
.nav-cards,
.operator-cards,
.reederei-grid,
.terminal-grid,
.transport-grid,
.quick-links-grid,
.link-grid,
.answer-grid,
.bm-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.route-cards,
.service-grid,
.operator-cards,
.reederei-grid { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 1.25rem; }

/* Kennzahlen */
.stat-value,
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--bm-blue);
}

.stat-label {
  display: block;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--bm-muted);
}

.stat-card,
.stat-item { text-align: center; }

/* Badges */
.speed-badge,
.badge:not(.bg-primary):not(.bg-secondary):not(.bg-success):not(.bg-danger):not(.bg-warning):not(.bg-info):not(.bg-light):not(.bg-dark),
.market-badge,
.price-badge,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: 999px;
  background: var(--bm-tint);
  color: var(--bm-blue-deep);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .01em;
  white-space: nowrap;
}

.hero .badge,
.hero-section .badge,
.route-hero .badge,
.bm-hero .badge,
.hero-badge {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.badge-fastest {
  background: var(--bm-terracotta);
  color: #fff;
}

.badge-cheapest {
  background: var(--bm-success);
  color: #fff;
}

/* generisches Icon aus dem Bestand */
.icon,
.feature-icon,
.transport-icon,
.nav-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--bm-blue);
}

svg.icon { display: inline-block; }

/* ==========================================================================
   11 · PREIS-BOX (Startseite)
   ========================================================================== */

.price-box {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: 16px;
  box-shadow: var(--bm-shadow-lg);
  padding: 1.25rem;
  margin-top: 1.75rem;
  color: var(--bm-ink);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}

@media (min-width: 768px) {
  .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .price-box { padding: 1.6rem; }
}

.price-item {
  text-align: center;
  padding: .95rem .6rem;
  background: var(--bm-sand);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  color: var(--bm-ink);
}

.price-label {
  display: block;
  font-size: .85rem;
  color: var(--bm-muted);
  margin-bottom: .2rem;
}

.price-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--bm-blue);
}

.price-detail {
  display: block;
  font-size: .85rem;
  color: var(--bm-muted);
}

.price-box > a:last-child:not([class]) {
  display: block;
  text-align: center;
  font-weight: 600;
}

.price-highlight {
  font-weight: 700;
  color: var(--bm-terracotta-deep);
}

/* ==========================================================================
   12 · FORMULARE / QUICK-BOOKING
   ========================================================================== */

.quick-booking,
.booking-box {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  box-shadow: var(--bm-shadow);
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.quick-booking h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: .9rem;
  align-items: end;
}

@media (min-width: 768px) {
  .quick-booking { padding: 1.75rem; }
  .booking-form { grid-template-columns: 2fr 1fr 1fr 1fr auto; }
}

.form-group { margin: 0; }

.form-group label,
.form-label {
  display: block;
  margin-bottom: .3rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--bm-ink);
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="search"],
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: .6rem .75rem;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  background-color: #fff;
  color: var(--bm-ink);
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

textarea { min-height: 120px; }

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--bm-blue);
  box-shadow: 0 0 0 2px rgba(15, 95, 168, .2);
  outline: none;
}

.form-control:focus-visible,
.form-select:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--bm-sun);
  outline-offset: 2px;
}

.btn-search { width: 100%; }

@media (min-width: 768px) {
  .btn-search { width: auto; }
}

/* ==========================================================================
   13 · TABELLEN
   ========================================================================== */

.bm-table-scroll,
.table-responsive,
.price-table,
.comparison-table,
.schedule-table,
.market-schedule {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  background: #fff;
}

/* Wenn .price-table/.comparison-table direkt am <table> haengt,
   bleibt sie eine Tabelle - nicht scrollen, nur rahmen. */
table.price-table,
table.comparison-table,
table.schedule-table {
  overflow: visible;
  display: table;
  border-radius: 0;
  border: 0;
  margin: 0;
}

table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
  color: var(--bm-ink);
  font-size: .97rem;
}

.bm-table-scroll > table,
.table-responsive > table,
.price-table > table,
.comparison-table > table,
.schedule-table > table,
.market-schedule > table { margin: 0; }

caption {
  caption-side: bottom;
  padding: .6rem .85rem;
  color: var(--bm-muted);
  font-size: .85rem;
  text-align: left;
}

th {
  padding: .7rem .85rem;
  background: var(--bm-sand);
  color: var(--bm-navy);
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-align: left;
  vertical-align: bottom;
  border-bottom: 1px solid var(--bm-line);
}

td {
  padding: .7rem .85rem;
  border-bottom: 1px solid var(--bm-line);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: 0; }

tbody tr:hover { background: var(--bm-sand); }

.table > :not(caption) > * > * {
  padding: .7rem .85rem;
  background-color: transparent;
  box-shadow: none;
}

.table > thead > tr > th { background: var(--bm-sand); }

.table-striped > tbody > tr:nth-of-type(odd) > * {
  background-color: rgba(246, 242, 234, .6);
  box-shadow: none;
  color: var(--bm-ink);
}

@media (max-width: 767.98px) {
  .bm-table-scroll > table,
  .table-responsive > table,
  .price-table > table,
  .comparison-table > table,
  .schedule-table > table,
  .market-schedule > table { min-width: 560px; }
}

/* ==========================================================================
   14 · FAQ / ACCORDION
   ========================================================================== */

.faq-section { margin: 2.5rem 0; }

.faq-item {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-left: 4px solid var(--bm-blue);
  border-radius: var(--bm-radius-sm);
  padding: 1.1rem 1.25rem;
  margin: 0 0 .85rem;
}

.faq-item h3,
.faq-item h4,
.faq-question {
  margin: 0 0 .5rem;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--bm-navy);
  background: transparent;
  cursor: default;
}

button.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  min-height: 44px;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}

.faq-answer,
.faq-item p {
  margin: 0;
  padding: 0;
  color: var(--bm-ink);
  line-height: 1.65;
}

.faq-answer p:last-child,
.faq-item p:last-child { margin-bottom: 0; }

.faq-answer p + p,
.faq-item p + p { margin-top: .75rem; }

/* details/summary-Variante */
.faq-item details,
details.faq-item { border: 0; }

.faq-item summary,
details > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--bm-navy);
  padding: .25rem 1.75rem .25rem 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker,
details > summary::-webkit-details-marker { display: none; }

.faq-item summary::after,
details > summary::after {
  content: "";
  position: absolute;
  right: .25rem;
  top: .65em;
  width: .5em;
  height: .5em;
  border-right: 2px solid var(--bm-blue);
  border-bottom: 2px solid var(--bm-blue);
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .18s ease;
}

.faq-item[open] > summary::after,
details[open] > summary::after { transform: rotate(-135deg); }

/* Bootstrap-Accordion */
.accordion {
  --bs-accordion-border-color: var(--bm-line);
  --bs-accordion-border-radius: var(--bm-radius);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-bg: var(--bm-sand);
  --bs-accordion-active-color: var(--bm-navy);
  --bs-accordion-color: var(--bm-ink);
  --bs-accordion-btn-color: var(--bm-navy);
}

.accordion-item {
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  margin-bottom: .75rem;
  overflow: hidden;
  background: #fff;
  color: var(--bm-ink);
}

.accordion-button {
  padding: 1rem 1.15rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--bm-navy);
  background: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: var(--bm-sand);
  color: var(--bm-navy);
  box-shadow: none;
}

.accordion-button:focus {
  border-color: var(--bm-line);
  box-shadow: none;
}

.accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230F5FA8' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--bm-ink);
}

/* ==========================================================================
   15 · CTA-SEKTIONEN
   ========================================================================== */

.cta-section,
.final-cta,
.final-cta-section,
.cta-box,
.booking-cta,
main .cta-section,
main .final-cta,
main .cta-box {
  position: relative;
  overflow: hidden;
  background: var(--bm-gradient);
  color: #fff;
  text-align: center;
  border-radius: var(--bm-radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  margin: 2.5rem 0;
}

.cta-section::before,
.final-cta::before,
.final-cta-section::before,
.booking-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: var(--bm-wave-light) bottom center / 100% 90px no-repeat;
  pointer-events: none;
}

.cta-section > *,
.final-cta > *,
.final-cta-section > *,
.booking-cta > * { position: relative; z-index: 1; }

.cta-section h2,
.final-cta h2,
.final-cta-section h2,
.cta-box h2,
.booking-cta h2,
.cta-section h3,
.final-cta h3 {
  color: #fff;
  margin-top: 0;
  margin-bottom: .75rem;
}

.cta-section p,
.final-cta p,
.final-cta-section p,
.cta-box p,
.booking-cta p,
.cta-section .lead,
.final-cta-section .lead {
  color: rgba(255, 255, 255, .9);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.cta-section > .container,
.final-cta-section > .container,
.booking-cta > .container { padding-left: 0; padding-right: 0; }

/* CTA-Baender, die ausserhalb von main volle Breite einnehmen */
body > .cta-section,
body > .final-cta-section,
body > .final-cta {
  border-radius: 0;
  margin: 0;
  padding: clamp(2.25rem, 6vw, 4rem) 0;
}

body > .cta-section > .container,
body > .final-cta-section > .container,
body > .final-cta > .container {
  padding-left: var(--bs-gutter-x, 1.5rem);
  padding-right: var(--bs-gutter-x, 1.5rem);
}

.cta-box {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* kleine Zwischen-CTAs bleiben hell */
.mid-cta,
.cta-mid {
  background: var(--bm-sand);
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1.25rem 1.35rem;
  margin: 2rem 0;
  text-align: center;
  color: var(--bm-ink);
}

.mid-cta h3 { margin-top: 0; }

.mid-cta > :last-child,
.cta-mid > :last-child { margin-bottom: 0; }

/* ==========================================================================
   16 · FIGUREN, LISTEN, PROS/CONS, ALERTS
   ========================================================================== */

figure {
  margin: 1.5rem 0;
}

figure img {
  border-radius: var(--bm-radius);
  display: block;
}

figcaption {
  margin-top: .45rem;
  font-size: .85rem;
  color: var(--bm-muted);
  line-height: 1.5;
}

figcaption a { color: var(--bm-muted); }

.pros-cons {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 1.5rem 0;
}

.pros,
.cons {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-left: 4px solid var(--bm-success);
  border-radius: var(--bm-radius-sm);
  padding: 1.1rem 1.25rem;
}

.cons { border-left-color: var(--bm-danger); }

.pros h3, .pros h4, .cons h3, .cons h4 { margin-top: 0; font-size: 1.05rem; }

.pros ul, .cons ul { padding-left: 1.2rem; margin-bottom: 0; }

.pros > ul > li::marker { color: var(--bm-success); }
.cons > ul > li::marker { color: var(--bm-danger); }

/* Alerts */
.alert,
.notice {
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--bm-ink);
  background: var(--bm-sand);
}

.alert-info { background: var(--bm-tint); border-color: #C7E1F5; }
.alert-warning { background: var(--bm-warning-bg); border-color: #F0DFB0; }
.alert-success { background: #E9F4EE; border-color: #C4E2D1; }
.alert-danger { background: #FBECEA; border-color: #F2C9C4; }
.alert-primary { background: var(--bm-tint); border-color: #C7E1F5; }

.alert > :last-child { margin-bottom: 0; }

/* Definitionen / Zitate */
blockquote {
  margin: 1.5rem 0;
  padding: .25rem 0 .25rem 1.1rem;
  border-left: 4px solid var(--bm-sun);
  color: var(--bm-ink);
}

/* ==========================================================================
   17 · SITEMAP / 404 / RECHTSSEITEN
   ========================================================================== */

.sitemap-category {
  background: #fff;
  border: 1px solid var(--bm-line);
  border-radius: var(--bm-radius);
  padding: 1.25rem 1.35rem;
  margin: 1.25rem 0;
}

.sitemap-category h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.sitemap-description {
  color: var(--bm-muted);
  font-size: .95rem;
  margin-bottom: 1rem;
}

.sitemap-links,
.category-nav-links,
.quick-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sitemap-links a,
.category-nav-links a,
.quick-links .quick-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: .4rem .85rem;
  border: 1px solid var(--bm-line);
  border-radius: 999px;
  background: var(--bm-sand);
  color: var(--bm-blue-deep);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.sitemap-links a:hover,
.category-nav-links a:hover,
.quick-links .quick-link:hover {
  background: var(--bm-tint);
  border-color: var(--bm-blue);
}

/* 404 */
.error-container {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 5rem) 1.25rem;
  text-align: center;
}

.error-code {
  font-size: clamp(3.5rem, 12vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--bm-sand-2);
  letter-spacing: -.03em;
}

.error-title { margin-top: .5rem; }

.error-message { color: var(--bm-muted); }

/* ==========================================================================
   18 · FOOTER
   ========================================================================== */

.bm-footer {
  position: relative;
  margin-top: 3rem;
  padding: 3.25rem 0 2rem;
  background: var(--bm-navy);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}

.bm-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: var(--bm-wave-sea) top center / 100% 24px repeat-x;
  pointer-events: none;
}

.bm-footer a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.bm-footer a:hover,
.bm-footer a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.bm-footer__top {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.bm-footer__brand img {
  width: 200px;
  height: auto;
  margin-bottom: .9rem;
}

.bm-footer__brand p {
  max-width: 46ch;
  color: rgba(255, 255, 255, .72);
  font-size: .92rem;
  line-height: 1.6;
}

.bm-footer__lang {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.bm-footer__lang li { margin: 0; }

.bm-footer__lang a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: .25rem .75rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
}

.bm-footer__lang a:hover {
  border-color: rgba(255, 255, 255, .6);
  text-decoration: none;
}

.bm-footer__lang a[aria-current="true"] {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
}

.bm-footer__cols {
  display: grid;
  gap: 1.5rem 1.25rem;
  grid-template-columns: 1fr;
}

.bm-footer__h {
  margin: 0 0 .7rem;
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.3;
}

.bm-footer__cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bm-footer__cols li { margin: 0 0 .45rem; }

.bm-footer__cols a { font-size: .93rem; line-height: 1.5; }

.bm-footer__bottom {
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .85rem;
}

.bm-footer__bottom p { margin: 0 0 .6rem; }

.bm-footer__bottom p:last-child { margin-bottom: 0; }

.bm-footer__legal a { text-decoration: underline; }

.bm-footer__note {
  color: rgba(255, 255, 255, .66);
  line-height: 1.6;
  max-width: 95ch;
}

@media (min-width: 480px) {
  .bm-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
  .bm-footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 3rem; }
  .bm-footer__cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ==========================================================================
   19 · MOBILE STICKY-CTA
   ========================================================================== */

.bm-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  align-items: center;
  gap: .75rem;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--bm-line);
  box-shadow: 0 -6px 20px -10px rgba(11, 37, 69, .25);
}

.bm-mobile-cta__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--bm-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bm-mobile-cta__btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: .6rem 1rem;
  font-size: .95rem;
}

@media (max-width: 767.98px) {
  .bm-mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  body.bm-no-scroll { padding-bottom: 0; }
}

/* ==========================================================================
   20 · BEWEGUNG / PRINT
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .bm-header,
  .bm-drawer,
  .bm-mobile-cta,
  .bm-header__cta,
  .bm-footer__cols,
  .bm-footer__lang,
  .skip-link,
  .cta-section,
  .final-cta,
  .final-cta-section,
  .mid-cta,
  .cta-mid,
  .quick-booking { display: none !important; }

  body {
    padding-bottom: 0;
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  a { color: #000; text-decoration: underline; }

  .hero,
  .hero-section,
  .route-hero,
  .bm-hero {
    background: #fff !important;
    color: #000;
    padding: 0 0 1rem;
  }

  .hero h1, .hero-section h1, .route-hero h1, .bm-hero h1,
  .hero p, .hero-section p, .route-hero p, .bm-hero p,
  .hero .lead, .hero-section .lead { color: #000; }

  .hero::before, .hero-section::before, .route-hero::before, .bm-hero::before { display: none; }

  .bm-footer {
    background: #fff;
    color: #000;
    padding: 1rem 0 0;
    border-top: 1px solid #999;
  }

  .bm-footer::before { display: none; }
  .bm-footer a { color: #000; }

  .info-card, .faq-item, .tip-box, table { break-inside: avoid; }
}

/* ==========================================================================
   21 · FARBSCHEMA
   ========================================================================== */

:root { color-scheme: light; }

/* ==========================================================================
   Nachjustierung nach Sichtprüfung der echten Seiten (12.09.2026)
   ========================================================================== */
/* Primär-Aktion in Hero-Bereichen immer als Sun-CTA, Sekundär als weiße Outline */
.hero .btn.btn-primary, .hero-section .btn.btn-primary, .route-hero .btn.btn-primary, .live-hero-band .btn.btn-primary,
.hero .btn.btn-success, .hero-section .btn.btn-success, .route-hero .btn.btn-success,
main .btn.btn-success, .content-section .btn.btn-success {
  --bs-btn-bg: var(--bm-sun); --bs-btn-border-color: var(--bm-sun); --bs-btn-color: var(--bm-ink);
  --bs-btn-hover-bg: var(--bm-sun-hover); --bs-btn-hover-border-color: var(--bm-sun-hover); --bs-btn-hover-color: var(--bm-ink);
  --bs-btn-active-bg: var(--bm-sun-hover); --bs-btn-active-border-color: var(--bm-sun-hover); --bs-btn-active-color: var(--bm-ink);
  background: var(--bm-sun); border-color: var(--bm-sun); color: var(--bm-ink); font-weight: 700;
}
.hero .btn.btn-secondary, .hero-section .btn.btn-secondary, .route-hero .btn.btn-secondary, .live-hero-band .btn.btn-secondary {
  background: transparent; border: 2px solid rgba(255,255,255,.85); color: #fff;
}
.hero .btn.btn-secondary:hover, .hero-section .btn.btn-secondary:hover, .route-hero .btn.btn-secondary:hover, .live-hero-band .btn.btn-secondary:hover {
  background: rgba(255,255,255,.12); border-color: #fff; color: #fff;
}
/* Preis-Kacheln auf schmalen Displays: Werte nicht umbrechen */
@media (max-width: 480px) {
  .price-grid { gap: .6rem; }
  .price-grid .price-item { padding: .8rem .5rem; }
  .price-grid .price-value { font-size: 1.25rem; white-space: nowrap; }
  .price-grid .price-label, .price-grid .price-detail { font-size: .78rem; }
}
