@charset "UTF-8";
/* ==========================================================================
   rostockgedser.de — globales Design-System (rg.css)
   Stand: 2026-09-15 · Spezifikation: tools/relaunch/SPEC.md
   --------------------------------------------------------------------------
   Ladereihenfolge im <head>:
     1. /vendor/bootstrap/5.3.3/bootstrap.min.css
     2. bereinigter Inline-<style> bzw. seiteneigene .css-Datei
     3. DIESE DATEI  ->  gewinnt bei gleicher Spezifitaet
   Die :root-Bloecke der Seiten bleiben stehen; Abschnitt 01b lenkt die
   strukturellen Legacy-Tokens auf die Palette um (dekorative Tokens wie
   --jazz-gold oder --christmas-red bleiben der Seite ueberlassen).
   Kernkomponenten sind bewusst eine Stufe spezifischer gehalten
   (z. B. .rg-hero h1, .btn.btn-secondary, main .cta-section).
   Mobile first. Keine Verlaeufe auf Buttons, keine Glaseffekte.
   ========================================================================== */

/* ==========================================================================
   01 · TOKENS  (Palette der Startseite, unveraendert)
   ========================================================================== */

:root {
  /* --- Marke ------------------------------------------------------------- */
  --rg-primary: #005D8A;          /* Primary        */
  --rg-primary-dark: #00456B;     /* Primary-dark   */
  --rg-primary-deep: #1D3557;     /* Hero-Verlauf Ende, Footer */
  --rg-cta: #FFC107;              /* Secondary / CTA */
  --rg-cta-hover: #E6AD00;
  --rg-cta-text: #212529;         /* Text auf Gelb: 12,4:1 */
  --rg-blue: #0074D9;             /* Blue-accent, dekorativ */
  --rg-blue-ink: #005A9E;         /* Blue-accent texttauglich (4,9:1) */

  /* --- Text / Flaechen --------------------------------------------------- */
  --rg-ink: #212529;
  --rg-muted: #5F6B75;            /* 5,3:1 auf Weiss */
  --rg-gray: #6C757D;             /* Bestand, 4,7:1 auf Weiss */
  --rg-bg: #F8F9FA;
  --rg-bg-2: #EDF1F4;
  --rg-line: #E1E5E9;
  --rg-line-soft: #EDF0F3;
  --rg-tint: #E3F2FD;

  /* --- Status ------------------------------------------------------------ */
  --rg-success: #1E7E34;          /* texttauglich (Bestand #28A745 nur Flaeche) */
  --rg-success-bg: #E8F5E9;
  --rg-warning: #8A5A00;
  --rg-warning-bg: #FFF3CD;
  --rg-danger: #B42318;
  --rg-danger-bg: #FBECEA;

  /* --- Form / Tiefe ------------------------------------------------------ */
  --rg-radius: 14px;
  --rg-radius-sm: 8px;
  --rg-shadow-sm: 0 1px 2px rgba(0, 69, 107, .06);
  --rg-shadow: 0 1px 2px rgba(0, 69, 107, .06), 0 8px 24px -12px rgba(0, 69, 107, .2);
  --rg-shadow-lg: 0 20px 40px -20px rgba(0, 69, 107, .32);

  /* --- Layout ------------------------------------------------------------ */
  --rg-header-h: 58px;
  --rg-container: 1200px;

  /* --- Verlaeufe --------------------------------------------------------- */
  --rg-gradient: linear-gradient(135deg, #005D8A 0%, #004E78 50%, #1D3557 100%);
  --rg-gradient-soft: linear-gradient(135deg, #00456B 0%, #005D8A 100%);

  /* --- Wellen (data-URI, kein externer Request) --------------------------- */
  --rg-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='.07' 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");
}

/* --------------------------------------------------------------------------
   01b · LEGACY-MAPPING
   Nur die strukturellen Tokens des Bestands werden auf die Palette gezogen.
   Die :root-Bloecke der Seiten bleiben stehen; diese Datei laedt spaeter und
   gewinnt. Dekorative/saisonale Tokens (--jazz-*, --christmas-*, --festival-*,
   --sunflower-*, --accent, --primary-light, --text-light …) sind bewusst NICHT
   aufgefuehrt: sie sind je Seite unterschiedlich gemeint.
   -------------------------------------------------------------------------- */

:root {
  --primary: var(--rg-primary);
  --primary-dark: var(--rg-primary-dark);
  --primary-hover: var(--rg-primary-dark);
  --primary-blue: var(--rg-primary);
  --primary-color: var(--rg-primary);
  --secondary: var(--rg-cta);
  --secondary-dark: var(--rg-cta-hover);
  --secondary-hover: var(--rg-cta-hover);
  --secondary-color: var(--rg-cta);
  --blue-accent: var(--rg-blue);
  --scandlines-blue: var(--rg-primary);
  --white: #FFFFFF;
  --light: var(--rg-bg);
  --bg-light: var(--rg-bg);
  --light-gray: #E9ECEF;
  --gray-light: var(--rg-bg);
  --gray-medium: var(--rg-line);
  --gray-dark: var(--rg-gray);
  --gray: var(--rg-gray);
  --dark: var(--rg-ink);
  --text-dark: var(--rg-ink);
  --text-muted: var(--rg-muted);
  --border: var(--rg-line);
  --border-color: var(--rg-line);
  /* texttauglich (4,5:1 auf Weiss): --success steht im Bestand 106x als
     Textfarbe und nur 44x als Flaeche - der dunklere Ton gewinnt also mehr,
     als er auf Flaechen kostet (Lighthouse: color-contrast auf .check-mark). */
  --success: var(--rg-success);
  --success-green: var(--rg-success);
  --danger: var(--rg-danger);
  --warning: var(--rg-cta);
  --info: var(--rg-blue);
  --shadow-sm: var(--rg-shadow-sm);
  --shadow-md: var(--rg-shadow);
  --shadow-lg: var(--rg-shadow-lg);
  --shadow: var(--rg-shadow);
  --transition: .18s ease;
  --transition-base: .18s ease;
  --transition-fast: .12s ease;
  --radius: var(--rg-radius-sm);
  --radius-sm: var(--rg-radius-sm);
  --radius-md: var(--rg-radius);
  --border-radius: var(--rg-radius-sm);
}

/* ==========================================================================
   02 · SCHRIFT (DM Sans variable, selbst gehostet, OFL, 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(--rg-header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: #fff;
  color: var(--rg-ink);
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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(--rg-line);
  opacity: 1;
  margin: 2rem 0;
}

::selection { background: var(--rg-tint); color: var(--rg-ink); }

.rg-no-scroll { overflow: hidden; }

/* Skip-Link */
.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 2000;
  display: inline-block;
  padding: .7rem 1.1rem;
  border-radius: var(--rg-radius-sm);
  background: var(--rg-primary-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top .15s ease;
}

.skip-link:focus { top: 8px; color: #fff; }

/* Sichtbarer Fokus ueberall (BFSG / WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--rg-blue);
  outline-offset: 2px;
  border-radius: 4px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  color: var(--rg-primary-dark);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.012em;
  margin: 0 0 .75rem;
  text-wrap: balance;
}

h1 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 2.9rem); font-weight: 800; margin-bottom: 1rem; }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.05rem); margin-top: 2.25rem; }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); margin-top: 1.5rem; }
h4 { font-size: 1.1rem; margin-top: 1.25rem; }
h5, h6 { font-size: 1rem; margin-top: 1rem; }

p { margin: 0 0 1.05rem; }

.lead {
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  line-height: 1.6;
  color: var(--rg-ink);
  font-weight: 400;
}

a {
  color: var(--rg-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { color: var(--rg-primary-dark); }

/* WCAG 1.4.1: Links mitten im Fliesstext bekommen eine Unterstreichung, damit
   sie nicht nur an der Farbe erkennbar sind. Buttons, Karten, Navigation und
   Listen-Links sind davon ausgenommen - dort traegt die Form die Bedeutung. */
main p > a:not([class]),
main li > a:not([class]),
.content-section p > a:not([class]),
.info-box p > a:not([class]),
.tip-box p > a:not([class]),
blockquote a:not([class]) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

strong, b { font-weight: 700; }

ul, ol { padding-left: 1.35rem; margin: 0 0 1.05rem; }
li { margin-bottom: .35rem; }

blockquote {
  margin: 1.5rem 0;
  padding: .9rem 1.2rem;
  border-left: 4px solid var(--rg-primary);
  background: var(--rg-bg);
  border-radius: 0 var(--rg-radius-sm) var(--rg-radius-sm) 0;
  color: var(--rg-ink);
}

blockquote > :last-child { margin-bottom: 0; }

code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

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

figure { margin: 1.5rem 0; }

figcaption {
  margin-top: .5rem;
  color: var(--rg-muted);
  font-size: .875rem;
  line-height: 1.5;
}

.section-title, .section-heading { color: var(--rg-primary-dark); }
.section-subtitle, .section-lead { color: var(--rg-muted); }
.text-white-50 { color: rgba(255, 255, 255, .78) !important; }

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

.container, .container-lg, .container-xl {
  width: 100%;
  max-width: var(--rg-container);
  margin-inline: auto;
  padding-inline: 16px;
}

@media (min-width: 576px) {
  .container, .container-lg, .container-xl { padding-inline: 24px; }
}

main { display: block; }

section { scroll-margin-top: calc(var(--rg-header-h) + 12px); }

.content-section, .info-section, .faq-section {
  padding-block: clamp(1.75rem, 4vw, 3rem);
}

body > .content-section, body > section.content-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

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

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

.rg-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 69, 107, .12); }

.rg-header__inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-height: var(--rg-header-h);
  padding-block: .4rem;
}

/* --- Wortmarke --- */
.rg-logo {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  line-height: 1;
  text-decoration: none;
  border-radius: 8px;
}

.rg-logo__img {
  width: auto;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.rg-logo__text {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -.012em;
  color: var(--rg-primary-dark);
  white-space: nowrap;
}

.rg-logo__text b { color: var(--rg-primary); font-weight: 800; }
.rg-logo__text span { color: var(--rg-muted); font-weight: 600; }

.rg-logo--light .rg-logo__text,
.rg-logo--light .rg-logo__text b { color: #fff; }
.rg-logo--light .rg-logo__text span { color: rgba(255, 255, 255, .72); }

/* --- Desktop-Navigation --- */
.rg-nav { display: none; }

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

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

.rg-nav__link {
  display: inline-block;
  padding: .45rem .4rem;
  color: var(--rg-ink);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 6px;
}

.rg-nav__link:hover { color: var(--rg-primary); }

.rg-nav__link[aria-current="page"] { color: var(--rg-primary); }

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

.rg-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  padding: 0;
  margin-left: -.1rem;
  border: 0;
  background: none;
  color: var(--rg-muted);
  cursor: pointer;
  vertical-align: middle;
}

.rg-nav__toggle svg { width: 13px; height: 13px; transition: transform .18s ease; }
.rg-nav__item--open > .rg-nav__toggle svg { transform: rotate(180deg); }
.rg-nav__item--open > .rg-nav__link { color: var(--rg-primary); }

.rg-nav__sub {
  position: absolute;
  left: 0;
  top: calc(100% + .45rem);
  z-index: 20;
  min-width: 250px;
  margin: 0;
  padding: .45rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  box-shadow: var(--rg-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}

/* Die rechten Menuepunkte klappen nach links auf, damit das Untermenue nicht
   ueber den Viewport hinausragt (sonst horizontaler Scrollbalken). */
.rg-nav__item:nth-last-child(-n+3) > .rg-nav__sub { left: auto; right: 0; }

.rg-nav__item--open > .rg-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rg-nav__sub li { margin: 0; }

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

.rg-nav__sub a:hover,
.rg-nav__sub a:focus-visible { background: var(--rg-bg); color: var(--rg-primary); }

.rg-header__actions {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
}

.rg-header .rg-header__cta {
  display: none;
  min-height: 42px;
  padding: .5rem 1rem;
  font-size: .92rem;
  white-space: nowrap;
}

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

.rg-burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--rg-primary-dark);
  transition: transform .2s ease, opacity .2s ease;
}

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

@media (min-width: 992px) {
  .rg-nav { display: block; }
  .rg-header .rg-header__cta { display: inline-flex; }
  .rg-burger { display: none; }
  .rg-header__inner { gap: 1rem; }
  .rg-nav__list { gap: .35rem; }
}

@media (min-width: 1240px) {
  .rg-nav__link { padding: .45rem .6rem; font-size: .95rem; }
  .rg-nav__link[aria-current="page"]::after { left: .6rem; right: .6rem; }
}

/* Enger Bereich 992–1239 px: Wortmarke nur als Bildmarke, Navigation komprimiert.
   Gemessen am laengsten Menue (7 Punkte): Logo 35 + Navigation 726 + CTA 122
   = 883 px bei 944 px nutzbarer Breite. */
@media (min-width: 992px) and (max-width: 1239.98px) {
  .rg-logo__img { height: 32px; }
  .rg-logo__text { display: none; }
  .rg-header__inner { gap: .3rem; }
  .rg-nav__list { gap: 0; }
  .rg-nav__link { padding: .4rem .2rem; font-size: .79rem; }
  .rg-nav__toggle { width: 13px; }
  .rg-nav__toggle svg { width: 10px; height: 10px; }
  .rg-nav__link[aria-current="page"]::after { left: .2rem; right: .2rem; }
  .rg-header .rg-header__cta { padding: .45rem .65rem; font-size: .8rem; min-height: 38px; }
}

/* 1240–1399 px: Wortmarke ohne Endung, Navigation leicht gekuerzt */
@media (min-width: 1240px) and (max-width: 1399.98px) {
  .rg-logo__img { height: 34px; }
  .rg-logo__text { font-size: .9rem; }
  .rg-logo__text span { display: none; }
  .rg-nav__list { gap: .1rem; }
  .rg-nav__link { padding: .45rem .28rem; font-size: .84rem; }
  .rg-nav__link[aria-current="page"]::after { left: .28rem; right: .28rem; }
  .rg-header .rg-header__cta { padding: .5rem .8rem; font-size: .88rem; min-height: 40px; }
}

/* Ab 1400 px darf die Kopfleiste breiter sein als die Inhaltsspalte (1200 px),
   sonst reicht der Platz fuer 7 Punkte + CTA nicht. Gemessen: 1278 von 1312 px. */
@media (min-width: 1400px) {
  .rg-header .rg-header__inner { max-width: 1360px; }
  .rg-nav__list { gap: .15rem; }
  .rg-nav__link { padding: .45rem .45rem; font-size: .9rem; }
  .rg-nav__link[aria-current="page"]::after { left: .45rem; right: .45rem; }
}

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

.rg-drawer {
  position: fixed;
  inset: 0;
  z-index: 1080;
}

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

.rg-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 30, 45, .5);
  opacity: 0;
  transition: opacity .25s ease;
}

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

.rg-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(92vw, 380px);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
  background: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform .25s ease;
}

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

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

.rg-drawer__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: var(--rg-bg);
  color: var(--rg-primary-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.rg-drawer__list { margin: 0; padding: 0; list-style: none; }
.rg-drawer__list > li { margin: 0; border-bottom: 1px solid var(--rg-line-soft); }

.rg-drawer__row {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: .5rem;
}

.rg-drawer__link {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: .6rem .25rem;
  color: var(--rg-ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.rg-drawer__link[aria-current="page"] { color: var(--rg-primary); }

.rg-drawer__toggle {
  width: 48px;
  min-height: 48px;
  border: 0;
  background: none;
  color: var(--rg-muted);
  cursor: pointer;
}

.rg-drawer__toggle svg { width: 18px; height: 18px; transition: transform .2s ease; }
.rg-drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.rg-drawer__sub {
  display: none;
  margin: 0 0 .6rem;
  padding: 0 0 0 .3rem;
  list-style: none;
  border-left: 2px solid var(--rg-line);
}

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

.rg-drawer__sub li { margin: 0; }

.rg-drawer__sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: .35rem .7rem;
  color: var(--rg-muted);
  font-size: .95rem;
  text-decoration: none;
}

.rg-drawer__sub a:hover { color: var(--rg-primary); }

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

.rg-hero {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(2rem, 5.5vw, 3.75rem);
  border-radius: 0;
  background: var(--rg-gradient);
  color: #fff;
}

.rg-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 110px;
  background: var(--rg-wave-light) bottom center / 100% 110px no-repeat;
  pointer-events: none;
}

.rg-hero::after { content: none; }

.rg-hero > .container,
.rg-hero > .row,
.rg-hero .hero-content,
.rg-hero .container-fluid { position: relative; z-index: 1; }

.rg-hero h1,
.rg-hero h2,
.rg-hero .hero-title,
.rg-hero .site-title { color: #fff; margin-top: 0; }

.rg-hero h1 i.bi, .rg-hero h1 svg { margin-right: .4rem; }

.rg-hero p,
.rg-hero .lead,
.rg-hero .hero-subtitle,
.rg-hero .hero-sub,
.rg-hero .hero-lead {
  color: rgba(255, 255, 255, .9);
  max-width: 64ch;
}

.rg-hero.text-center p,
.rg-hero .text-center p,
.rg-hero.text-center .lead,
.rg-hero .text-center .lead { margin-left: auto; margin-right: auto; }

.rg-hero a:not([class]),
.rg-hero a.text-white,
.rg-hero a.text-light { color: #fff; text-decoration: underline; }

.rg-hero .text-muted,
.rg-hero .text-secondary,
.rg-hero .text-light,
.rg-hero small,
.rg-hero .small,
.rg-hero time,
.rg-hero .hero-meta,
.rg-hero .hero-credit,
.rg-hero .update-info { color: rgba(255, 255, 255, .82) !important; }

.rg-hero .breadcrumb,
.rg-hero .breadcrumb-nav { margin: 0 0 1rem; }

.rg-hero .breadcrumb a { color: rgba(255, 255, 255, .82) !important; }
.rg-hero .breadcrumb a:hover { color: #fff !important; }
.rg-hero .breadcrumb-item.active,
.rg-hero .breadcrumb [aria-current="page"] { color: #fff !important; }
.rg-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }

.rg-hero .hero-icon,
.rg-hero .hero-emoji {
  display: inline-block;
  font-size: 2.3rem;
  line-height: 1;
  margin-bottom: .7rem;
  color: rgba(255, 255, 255, .92);
}

.rg-hero .hero-badges,
.rg-hero .hero-stats,
.rg-hero .hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

/* Pillen im Hero und im Content */
.hero-badge,
.hero-chip,
.badge-pill,
.benefit-pill,
.rg-hero .hero-badge,
.rg-hero .hero-feature,
.rg-hero .badge-season {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .95rem;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  font-size: .93rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
}

main .badge-pill,
main .benefit-pill,
.content-section .badge-pill,
.benefits-compact .benefit-pill {
  background: var(--rg-tint);
  border-color: transparent;
  color: var(--rg-primary-dark);
  font-size: .86rem;
}

/* Hero-Kennzahlen */
.rg-hero .hero-stat-number { color: #fff; font-weight: 800; }
.rg-hero .hero-stat-label { color: rgba(255, 255, 255, .82); }

/* Foto-Hero */
.rg-hero--photo {
  background:
    linear-gradient(100deg, rgba(0, 69, 107, .93) 0%, rgba(0, 93, 138, .78) 55%, rgba(29, 53, 87, .5) 100%),
    var(--rg-hero-img-sm, var(--rg-hero-img)) center / cover no-repeat;
}

@media (min-width: 768px) {
  .rg-hero--photo {
    background:
      linear-gradient(100deg, rgba(0, 69, 107, .93) 0%, rgba(0, 93, 138, .78) 55%, rgba(29, 53, 87, .5) 100%),
      var(--rg-hero-img) center / cover no-repeat;
  }
}

/* Schmales Live-Band unter dem Hero (Bestand, 32 Seiten) */
.live-hero-band {
  background: var(--rg-primary-dark);
  color: #fff;
  padding: .6rem 0;
}

.live-hero-band a { color: #fff; }

/* --------------------------------------------------------------------------
   07b · SPRUNGLEISTE
   Seiten, deren alter Header nur Sprungmarken enthielt, behalten diese als
   Leiste unter dem Hero (das Skript setzt sie dort ein).
   -------------------------------------------------------------------------- */

.rg-jumpnav {
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-bg);
}

.rg-jumpnav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: .4rem;
  margin: 0;
  padding: .55rem 0;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.rg-jumpnav ul::-webkit-scrollbar { display: none; }

.rg-jumpnav li { margin: 0; }

.rg-jumpnav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: .3rem .8rem;
  border: 1px solid var(--rg-line);
  border-radius: 999px;
  background: #fff;
  color: var(--rg-primary-dark);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.rg-jumpnav a:hover { background: var(--rg-tint); border-color: var(--rg-primary); }

@media (min-width: 768px) {
  .rg-jumpnav ul { flex-wrap: wrap; overflow: visible; }
}

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

.breadcrumb,
.breadcrumb-modern,
.breadcrumb-bar ol,
.breadcrumb-nav ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .4rem;
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
  background: none;
  font-size: .88rem;
  color: var(--rg-muted);
}

.breadcrumb-bar {
  padding-block: .6rem;
  border-bottom: 1px solid var(--rg-line);
  background: var(--rg-bg);
}

.breadcrumb a,
.breadcrumb-modern a { color: var(--rg-muted); text-decoration: none; }
.breadcrumb a:hover,
.breadcrumb-modern a:hover { color: var(--rg-primary); text-decoration: underline; }

.breadcrumb-item { margin: 0; }
.breadcrumb-item.active,
.breadcrumb [aria-current="page"] { color: var(--rg-ink); font-weight: 600; }

.breadcrumb-item + .breadcrumb-item { padding-left: .4rem; }
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  float: none;
  padding-right: .4rem;
  color: var(--rg-line);
}

/* ==========================================================================
   09 · BUTTONS
   --------------------------------------------------------------------------
   Regel der Site: GELB = Buchung/Konversion (dunkler Text, 12,4:1),
   BLAU = interne Primaeraktion (weisser Text, 6,4:1),
   OUTLINE = Sekundaeraktion.
   ========================================================================== */

.rg-btn,
.btn {
  font-family: inherit;
  border-radius: var(--rg-radius-sm);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

/* --- Gelber Konversions-CTA ------------------------------------------- */
.rg-btn--cta,
.btn.btn-secondary,
.btn-secondary,
.btn.btn-warning,
.btn-warning,
.btn-cta,
.btn-cta-primary,
.btn-cta-large,
.btn-booking,
.btn-book,
.btn-primary-custom,
.btn-hero-primary,
.booking-button,
.cta-button {
  --bs-btn-bg: var(--rg-cta);
  --bs-btn-border-color: var(--rg-cta);
  --bs-btn-color: var(--rg-cta-text);
  --bs-btn-hover-bg: var(--rg-cta-hover);
  --bs-btn-hover-border-color: var(--rg-cta-hover);
  --bs-btn-hover-color: var(--rg-cta-text);
  --bs-btn-active-bg: var(--rg-cta-hover);
  --bs-btn-active-border-color: var(--rg-cta-hover);
  --bs-btn-active-color: var(--rg-cta-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .78rem 1.35rem;
  border: 2px solid var(--rg-cta);
  border-radius: var(--rg-radius-sm);
  background-color: var(--rg-cta);
  color: var(--rg-cta-text);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.rg-btn--cta:hover,
.rg-btn--cta:focus-visible,
.btn.btn-secondary:hover,
.btn-secondary:hover,
.btn.btn-warning:hover,
.btn-warning:hover,
.btn-cta:hover,
.btn-cta-primary:hover,
.btn-cta-large:hover,
.btn-booking:hover,
.btn-book:hover,
.btn-primary-custom:hover,
.btn-hero-primary:hover,
.booking-button:hover,
.cta-button:hover {
  background-color: var(--rg-cta-hover);
  border-color: var(--rg-cta-hover);
  color: var(--rg-cta-text);
  transform: translateY(-1px);
}

/* --- Blauer Primaerbutton --------------------------------------------- */
.rg-btn--primary,
.btn.btn-primary,
.btn-primary,
.btn-modern,
.btn-primary-modern,
.btn-accent,
.btn-tertiary {
  --bs-btn-bg: var(--rg-primary);
  --bs-btn-border-color: var(--rg-primary);
  --bs-btn-color: #fff;
  --bs-btn-hover-bg: var(--rg-primary-dark);
  --bs-btn-hover-border-color: var(--rg-primary-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--rg-primary-dark);
  --bs-btn-active-border-color: var(--rg-primary-dark);
  --bs-btn-active-color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .78rem 1.35rem;
  border: 2px solid var(--rg-primary);
  border-radius: var(--rg-radius-sm);
  background-color: var(--rg-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
}

.rg-btn--primary:hover,
.rg-btn--primary:focus-visible,
.btn.btn-primary:hover,
.btn-primary:hover,
.btn-modern:hover,
.btn-primary-modern:hover,
.btn-accent:hover,
.btn-tertiary:hover {
  background-color: var(--rg-primary-dark);
  border-color: var(--rg-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* --- Outline ----------------------------------------------------------- */
.rg-btn--outline,
.btn.btn-outline,
.btn-outline,
.btn.btn-outline-primary,
.btn-outline-primary,
.btn-outline-modern,
.btn-outline-secondary,
.btn-hero-secondary,
.btn-cta-secondary,
.btn-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .78rem 1.35rem;
  border: 2px solid var(--rg-primary);
  border-radius: var(--rg-radius-sm);
  background-color: transparent;
  color: var(--rg-primary);
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.rg-btn--outline:hover,
.btn.btn-outline:hover,
.btn-outline:hover,
.btn.btn-outline-primary:hover,
.btn-outline-primary:hover,
.btn-outline-modern:hover,
.btn-outline-secondary:hover,
.btn-hero-secondary:hover,
.btn-cta-secondary:hover,
.btn-read-more:hover {
  background-color: var(--rg-primary);
  border-color: var(--rg-primary);
  color: #fff;
}

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

.btn.btn-sm, .btn-sm { min-height: 40px; padding: .48rem .85rem; font-size: .9rem; }
.btn.btn-lg, .btn-lg { min-height: 54px; padding: .95rem 1.7rem; font-size: 1.05rem; }

.btn.btn-link, .btn-link {
  min-height: 0;
  padding: .2rem .1rem;
  border: 0;
  background: none;
  color: var(--rg-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* --- Auf dunklem Grund (Hero, CTA-Sektionen, Footer) -------------------- */
.rg-hero .btn.btn-primary,
.rg-hero .btn-primary,
.rg-hero .btn.btn-success,
.rg-hero .btn-modern,
.cta-section .btn.btn-primary,
.final-cta .btn.btn-primary,
.final-cta-section .btn.btn-primary,
.booking-cta .btn.btn-primary {
  background: var(--rg-cta);
  border-color: var(--rg-cta);
  color: var(--rg-cta-text);
  --bs-btn-bg: var(--rg-cta);
  --bs-btn-border-color: var(--rg-cta);
  --bs-btn-color: var(--rg-cta-text);
}

.rg-hero .btn.btn-primary:hover,
.rg-hero .btn-primary:hover,
.rg-hero .btn.btn-success:hover,
.cta-section .btn.btn-primary:hover,
.final-cta .btn.btn-primary:hover,
.final-cta-section .btn.btn-primary:hover,
.booking-cta .btn.btn-primary:hover {
  background: var(--rg-cta-hover);
  border-color: var(--rg-cta-hover);
  color: var(--rg-cta-text);
}

.rg-hero .btn.btn-outline,
.rg-hero .btn-outline,
.rg-hero .btn.btn-outline-primary,
.rg-hero .btn.btn-outline-light,
.rg-hero .btn-outline-light,
.rg-hero .btn-outline-white,
.rg-hero .btn-hero-secondary,
.rg-hero .btn.btn-outline-secondary,
.cta-section .btn.btn-outline-light,
.final-cta .btn.btn-outline-light,
.final-cta-section .btn.btn-outline-light,
.cta-section .btn-outline,
.final-cta-section .btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .85);
  color: #fff;
}

.rg-hero .btn.btn-outline:hover,
.rg-hero .btn-outline:hover,
.rg-hero .btn.btn-outline-primary:hover,
.rg-hero .btn.btn-outline-light:hover,
.rg-hero .btn-outline-light:hover,
.rg-hero .btn-outline-white:hover,
.rg-hero .btn-hero-secondary:hover,
.cta-section .btn.btn-outline-light:hover,
.final-cta .btn.btn-outline-light:hover,
.final-cta-section .btn.btn-outline-light:hover {
  background: rgba(255, 255, 255, .14);
  border-color: #fff;
  color: #fff;
}

.rg-hero .btn.btn-light:not(.btn-outline-light),
.rg-hero .btn-white,
.cta-section .btn.btn-light,
.final-cta .btn.btn-light,
.final-cta-section .btn.btn-light,
.cta-section .cta-button-white {
  background: #fff;
  border-color: #fff;
  color: var(--rg-primary-dark);
}

.rg-hero .d-flex.gap-3 > .btn,
.rg-hero .hero-cta > .btn,
.rg-hero .hero-ctas > .btn,
.rg-hero .hero-buttons > .btn { margin-bottom: .25rem; }

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

.rg-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.info-card,
.feature-card,
.benefit-card,
.link-card,
.tip-card,
.route-card,
.destination-card,
.sight-card,
.attraction-card,
.highlight-card,
.activity-card,
.day-card,
.step-card,
.ticket-card,
.stat-card,
.fact-card,
.event-card,
.season-card,
.transport-card,
.campsite-card,
.location-card,
.category-card,
.tour-card,
.stop-card,
.venue-card,
.hotel-card,
.spec-card,
.guide-card,
.rg-card {
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  padding: 1.2rem 1.3rem;
  color: var(--rg-ink);
  box-shadow: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

a.info-card:hover,
a.feature-card:hover,
a.link-card:hover,
a.route-card:hover,
a.destination-card:hover,
.info-card:hover,
.feature-card:hover,
.benefit-card:hover,
.link-card:hover,
.destination-card:hover,
.sight-card:hover,
.attraction-card:hover,
.guide-card:hover {
  box-shadow: var(--rg-shadow);
  transform: translateY(-2px);
}

.info-card h2, .info-card h3, .info-card h4,
.feature-card h2, .feature-card h3, .feature-card h4,
.benefit-card h3, .benefit-card h4,
.link-card h3, .link-card h4,
.route-card h3, .destination-card h3, .sight-card h3,
.attraction-card h3, .highlight-card h3, .guide-card h3 {
  margin-top: 0;
  margin-bottom: .55rem;
  font-size: 1.1rem;
  color: var(--rg-primary-dark);
}

.info-card > :last-child,
.feature-card > :last-child,
.benefit-card > :last-child,
.link-card > :last-child,
.tip-card > :last-child { margin-bottom: 0; }

.info-card i.bi,
.feature-card i.bi,
.benefit-card i.bi,
.info-card-icon,
.info-icon,
.feature-icon,
.benefit-icon {
  font-size: 1.7rem;
  line-height: 1;
  color: var(--rg-primary);
  margin-bottom: .5rem;
  display: inline-block;
}

/* Karten mit Bild (feature-card-img / card-img-top) */
.feature-card-img,
.card-img-top,
.card-img-container img {
  border-radius: var(--rg-radius) var(--rg-radius) 0 0;
  object-fit: cover;
  width: 100%;
}

.feature-card:has(.feature-card-img),
.feature-card:has(> img) { padding: 0; overflow: hidden; }

.feature-card-content { padding: 1.1rem 1.25rem; }

/* Kennzahlen */
.stat-card, .stat-box, .stat-item {
  text-align: center;
}

.stat-card .stat-value,
.stat-box .stat-number,
.stat-item .stat-value,
.stat-value,
.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--rg-primary);
}

.stat-label { color: var(--rg-muted); font-size: .9rem; }

/* Bootstrap-Cards */
.card {
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  box-shadow: none;
}

.card-header {
  background: var(--rg-bg);
  border-bottom-color: var(--rg-line);
  font-weight: 700;
  color: var(--rg-primary-dark);
}

.card-title { color: var(--rg-primary-dark); }

/* Verweis-Pillen */
.related-link,
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 40px;
  padding: .4rem .85rem;
  border: 1px solid var(--rg-line);
  border-radius: 999px;
  background: var(--rg-bg);
  color: var(--rg-primary-dark);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
}

.related-link:hover,
.link-pill:hover { background: var(--rg-tint); border-color: var(--rg-primary); }

.related-links, .related-articles {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

/* ==========================================================================
   11 · HINWEISBOXEN
   ========================================================================== */

.info-box,
.tip-box,
.tips-box,
.alert-custom,
.alert-info-custom,
.alert-tip,
.alert.alert-info,
.alert.alert-primary,
.info-banner {
  background: var(--rg-tint);
  border: 1px solid #C7E1F5;
  border-left: 4px solid var(--rg-primary);
  border-radius: var(--rg-radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--rg-ink);
}

.warning-box,
.warning-card,
.alert-warning-custom,
.alert-warn,
.alert.alert-warning {
  background: var(--rg-warning-bg);
  border: 1px solid #F0DFB0;
  border-left: 4px solid #D39E00;
  border-radius: var(--rg-radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--rg-ink);
}

.info-box-success,
.alert-success-custom,
.alert.alert-success {
  background: var(--rg-success-bg);
  border: 1px solid #C4E2D1;
  border-left: 4px solid var(--rg-success);
  border-radius: var(--rg-radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--rg-ink);
}

.alert.alert-danger,
.alert-danger-custom {
  background: var(--rg-danger-bg);
  border: 1px solid #F2C9C4;
  border-left: 4px solid var(--rg-danger);
  border-radius: var(--rg-radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.5rem 0;
  color: var(--rg-ink);
}

.info-box > :last-child,
.tip-box > :last-child,
.warning-box > :last-child,
.alert > :last-child,
.alert-custom > :last-child { margin-bottom: 0; }

.info-box h3, .info-box h4, .info-box-title,
.tip-box h3, .tip-box h4, .tip-title,
.warning-box h3, .warning-box h4,
.alert-heading, .alert-card-title {
  margin-top: 0;
  margin-bottom: .5rem;
  font-size: 1.05rem;
  color: var(--rg-primary-dark);
}

/* --- Warnfarbe als TEXT ---------------------------------------------------
   --warning ist im Bestand das Marken-Gelb (#FFC107) und steht 17x an Rahmen
   und 4x an Flaechen - dort soll es bleiben. Als Schriftfarbe reicht Gelb auf
   Weiss aber nicht (1,6:1). Die wenigen Stellen, die es als Textfarbe nutzen,
   bekommen den texttauglichen Ton (Lighthouse: color-contrast auf
   .notice-box h4). */
.notice-box h4,
.alert-badge,
.rule-card.warning,
.info-box.warning,
.alert-card.warning,
.season-box.winter h4,
.season-box.summer h4,
.action-icon.urgent,
.beach-tag.leash { color: var(--rg-warning); }

.info-box i.bi, .tip-box i.bi, .alert.alert-info i.bi { color: var(--rg-primary); }
.warning-box i.bi, .alert.alert-warning i.bi { color: #B07A00; }
.alert.alert-success i.bi { color: var(--rg-success); }
.alert.alert-danger i.bi { color: var(--rg-danger); }

/* ==========================================================================
   12 · FORMULARE / BUCHUNGS-WIDGETS
   ========================================================================== */

.form-label, label { font-weight: 600; color: var(--rg-ink); }

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

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--rg-primary);
  box-shadow: 0 0 0 3px rgba(0, 93, 138, .18);
  outline: none;
}

.form-text, .form-hint { color: var(--rg-muted); font-size: .875rem; }

fieldset { border: 0; padding: 0; margin: 0; }

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

.rg-table-scroll,
.table-responsive,
.schedule-table-responsive,
.custom-table-responsive,
.deals-table-responsive,
.table-container,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.5rem;
}

table,
.table,
.schedule-table,
.comparison-table,
.price-table,
.info-table,
.data-table,
.cost-table,
.route-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: .95rem;
}

table th,
.table th,
.schedule-table th,
.comparison-table th,
.info-table th,
.data-table th {
  background: var(--rg-bg-2);
  border-bottom: 2px solid var(--rg-line);
  color: var(--rg-primary-dark);
  font-weight: 700;
  text-align: left;
  padding: .7rem .8rem;
  vertical-align: bottom;
}

table td,
.table td,
.schedule-table td,
.comparison-table td,
.info-table td,
.data-table td {
  border-bottom: 1px solid var(--rg-line);
  padding: .7rem .8rem;
  vertical-align: top;
}

.table > :not(caption) > * > * { box-shadow: none; }

.table-striped > tbody > tr:nth-of-type(odd) > * {
  --bs-table-accent-bg: transparent;
  background-color: var(--rg-bg);
  color: var(--rg-ink);
}

.table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: transparent;
  background-color: var(--rg-tint);
  color: var(--rg-ink);
}

.table-dark, .table-primary th, thead.table-dark th {
  background: var(--rg-primary-dark);
  color: #fff;
  border-color: rgba(255, 255, 255, .2);
}

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

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

/* Bootstrap-Accordion (157 Seiten) */
.accordion {
  --bs-accordion-border-color: var(--rg-line);
  --bs-accordion-border-radius: var(--rg-radius);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(0, 93, 138, .18);
  --bs-accordion-active-color: var(--rg-primary-dark);
  --bs-accordion-active-bg: var(--rg-tint);
  --bs-accordion-btn-color: var(--rg-ink);
  --bs-accordion-color: var(--rg-ink);
}

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

.accordion-button {
  min-height: 52px;
  padding: .9rem 1.1rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  color: var(--rg-ink);
  background: #fff;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: var(--rg-tint);
  color: var(--rg-primary-dark);
  box-shadow: none;
}

.accordion-button:focus { box-shadow: 0 0 0 3px rgba(0, 93, 138, .18); }

.accordion-body { padding: 1rem 1.1rem 1.15rem; color: var(--rg-ink); }
.accordion-body > :last-child { margin-bottom: 0; }

/* Eigene FAQ-Variante (.faq-item / .faq-question / .faq-answer) */
.faq-item {
  border: 1px solid var(--rg-line);
  border-radius: var(--rg-radius);
  margin-bottom: .6rem;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  width: 100%;
  min-height: 52px;
  padding: .9rem 1.1rem;
  border: 0;
  background: #fff;
  color: var(--rg-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover { background: var(--rg-bg); }

.faq-item.active .faq-question,
.faq-question[aria-expanded="true"] { background: var(--rg-tint); color: var(--rg-primary-dark); }

.faq-icon { flex-shrink: 0; color: var(--rg-primary); transition: transform .2s ease; }
.faq-item.active .faq-icon,
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }

.faq-answer { padding: 0 1.1rem; }
.faq-item.active .faq-answer,
.faq-answer.active { padding: 0 1.1rem 1.1rem; }
.faq-answer > :last-child { margin-bottom: 0; }

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

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

.cta-section,
.final-cta,
.final-cta-section,
.booking-cta,
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  background: var(--rg-gradient-soft);
  color: #fff;
}

.cta-section h2, .cta-section h3, .cta-section h4, .cta-title,
.final-cta h2, .final-cta h3,
.final-cta-section h2, .final-cta-section h3,
.booking-cta h2, .booking-cta h3, .booking-cta h4,
.cta-banner h2, .cta-banner h3 { color: #fff; margin-top: 0; }

.cta-section p, .cta-description, .cta-text,
.final-cta p, .final-cta-section p, .booking-cta p, .cta-banner p { color: rgba(255, 255, 255, .9); }

.cta-section li, .final-cta li, .final-cta-section li, .booking-cta li { color: rgba(255, 255, 255, .9); }

.cta-section a:not([class]), .final-cta a:not([class]),
.final-cta-section a:not([class]), .booking-cta a:not([class]) { color: #fff; }

.cta-buttons, .cta-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.cta-section.text-center .cta-buttons,
.cta-section .text-center .cta-buttons,
.final-cta-section.text-center .cta-btn-row { justify-content: center; }

.cta-box {
  padding: 1.35rem 1.5rem;
  border-radius: var(--rg-radius);
  background: var(--rg-bg);
  border: 1px solid var(--rg-line);
  margin: 1.75rem 0;
}

/* ==========================================================================
   16 · FOOTER
   ========================================================================== */

.rg-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding: clamp(2rem, 5vw, 3rem) 0 1.5rem;
  background: var(--rg-primary-dark);
  color: rgba(255, 255, 255, .84);
  font-size: .95rem;
}

.rg-footer a { color: rgba(255, 255, 255, .84); text-decoration: none; }
.rg-footer a:hover { color: #fff; text-decoration: underline; }

.rg-footer__top {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: 1fr;
}

.rg-footer__brand p {
  margin: .75rem 0 0;
  max-width: 46ch;
  color: rgba(255, 255, 255, .78);
  font-size: .92rem;
  line-height: 1.6;
}

.rg-footer__cols {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.rg-footer__h {
  margin: 0 0 .65rem;
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .01em;
}

.rg-footer__cols ul { margin: 0; padding: 0; list-style: none; }
.rg-footer__cols li { margin-bottom: .4rem; }
.rg-footer__cols a { font-size: .92rem; }

.rg-footer__social {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}

.rg-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 10px;
  color: #fff;
}

.rg-footer__social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }

.rg-footer__search {
  display: flex;
  gap: .5rem;
  max-width: 360px;
  margin-top: 1rem;
}

.rg-footer__search .form-control {
  min-height: 40px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.rg-footer__search .form-control::placeholder { color: rgba(255, 255, 255, .6); }
.rg-footer__search .form-control:focus { background: #fff; color: var(--rg-ink); }

.rg-footer__search .btn {
  flex-shrink: 0;
  min-height: 40px;
  padding: .4rem .9rem;
  border: 2px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
  font-size: .9rem;
}

.rg-footer__search .btn:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Sprachumschalter im Footer (Bestand der en/da-Landeseiten) */
.rg-footer__langs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem .9rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.rg-footer__langs a {
  padding: .3rem .1rem;
  font-size: .92rem;
  font-weight: 600;
}

.rg-footer__langs a.active,
.rg-footer__langs a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rg-footer__bottom {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.rg-footer__legal { margin: 0 0 .6rem; font-size: .9rem; }
.rg-footer__legal a { text-decoration: underline; }

.rg-footer__note {
  margin: 0 0 .5rem;
  color: rgba(255, 255, 255, .72);
  font-size: .84rem;
  line-height: 1.6;
}

/* WCAG 1.4.1: Links im Fliesstext duerfen sich nicht allein durch die Farbe
   vom umgebenden Text unterscheiden (Lighthouse: link-in-text-block). */
.rg-footer p a,
.rg-footer__note a,
.rg-footer__brand a:not(.rg-logo),
.rg-footer__legal a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.rg-footer p a:hover,
.rg-footer__note a:hover { color: #fff; }

.rg-footer__note:last-child { margin-bottom: 0; }

@media (min-width: 992px) {
  .rg-footer__top { grid-template-columns: minmax(240px, 1fr) 2.2fr; gap: 2.5rem; }
}

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

.rg-mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 56px;
  max-height: calc(64px + env(safe-area-inset-bottom));
  padding: .45rem .75rem calc(.45rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--rg-line);
  box-shadow: 0 -4px 18px rgba(0, 69, 107, .12);
}

/* --- Einblenden nach dem Hero -------------------------------------------
   Grundzustand verborgen, aber im Layout: transform statt display, damit kein
   Layout-Sprung entsteht (das padding-bottom des Body bleibt konstant).
   rg.js nimmt .is-revealed hinzu, sobald der Hero oben aus dem Bild ist.
   Ohne JavaScript greift die scripting-Abfrage und die Leiste ist sofort da. */
.rg-mobile-cta,
.sticky-booking-bar {
  transform: translateY(110%);
  transition: transform .2s ease;
  will-change: transform;
}

.rg-mobile-cta.is-revealed,
.sticky-booking-bar.is-revealed { transform: translateY(0); }

@media (scripting: none) {
  .rg-mobile-cta,
  .sticky-booking-bar { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .rg-mobile-cta,
  .sticky-booking-bar { transition: none; }
}

/* --- Textblock: Route klein, Preis fett --------------------------------- */
.rg-mobile-cta__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  color: var(--rg-primary-dark);
  line-height: 1.2;
}

.rg-mobile-cta__route {
  font-size: .72rem;
  font-weight: 500;
  color: var(--rg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rg-mobile-cta__price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--rg-primary-dark);
  white-space: nowrap;
}

.rg-mobile-cta__btn {
  flex-shrink: 0;
  min-height: 44px;
  padding: .55rem .9rem;
  font-size: .92rem;
  white-space: nowrap;
}

/* Sehr schmale Geraete (320 px): nichts darf umbrechen */
@media (max-width: 359.98px) {
  .rg-mobile-cta { gap: .45rem; padding-inline: .6rem; }
  .rg-mobile-cta__route { font-size: .68rem; }
  .rg-mobile-cta__price { font-size: .88rem; }
  .rg-mobile-cta__btn { padding: .5rem .7rem; font-size: .85rem; }
}

@media (min-width: 768px) {
  .rg-mobile-cta { display: none; }
}

/* Platz fuer die Leiste schaffen - konstant, unabhaengig vom Einblendzustand */
@media (max-width: 767.98px) {
  body:has(.rg-mobile-cta) { padding-bottom: 72px; }
}

/* Alte Sticky-CTAs sind vom Skript entfernt; Reste nie anzeigen */
.sticky-cta, .mobile-floating-cta, .sticky-mobile-cta { display: none !important; }

/* Zurueck-nach-oben nicht unter der Leiste */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 1010;
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--rg-primary-dark);
  color: #fff;
  box-shadow: var(--rg-shadow);
  cursor: pointer;
}

.back-to-top.show, .back-to-top.visible { display: inline-flex; }
.back-to-top:hover { background: var(--rg-primary); color: #fff; }

@media (min-width: 768px) {
  .back-to-top { bottom: 1.25rem; }
}

/* Bestand: fest positionierter Buchungsbutton der Tagesausflug-Seiten */
@media (max-width: 767.98px) {
  a.booking-button[style*="fixed"],
  a.booking-button.fixed { bottom: calc(88px + env(safe-area-inset-bottom)) !important; }
}

/* ==========================================================================
   18 · BOOTSTRAP-UTILITIES AUF DIE PALETTE
   ========================================================================== */

:root {
  --bs-primary: #005D8A;
  --bs-primary-rgb: 0, 93, 138;
  --bs-secondary: #6C757D;
  --bs-secondary-rgb: 108, 117, 125;
  --bs-success: #1E7E34;
  --bs-success-rgb: 30, 126, 52;
  --bs-danger: #B42318;
  --bs-danger-rgb: 180, 35, 24;
  --bs-warning: #FFC107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-link-color: #005D8A;
  --bs-link-color-rgb: 0, 93, 138;
  --bs-link-hover-color: #00456B;
  --bs-link-hover-color-rgb: 0, 69, 107;
  --bs-body-color: #212529;
  --bs-body-font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --bs-border-color: #E1E5E9;
  --bs-border-radius: 8px;
}

.text-primary { color: var(--rg-primary) !important; }
.text-danger { color: var(--rg-danger) !important; }
.text-success { color: var(--rg-success) !important; }
.text-muted, .text-secondary { color: var(--rg-muted) !important; }
.bg-primary { background-color: var(--rg-primary) !important; }
.bg-dark { background-color: var(--rg-primary-dark) !important; }
.bg-light { background-color: var(--rg-bg) !important; }
.border-primary { border-color: var(--rg-primary) !important; }

.badge.bg-primary { background-color: var(--rg-primary) !important; color: #fff; }
.badge.bg-warning { background-color: var(--rg-cta) !important; color: var(--rg-cta-text); }
.badge.bg-success { background-color: var(--rg-success) !important; color: #fff; }

h2 > i.bi, h3 > i.bi, h4 > i.bi { color: var(--rg-primary); margin-right: .35rem; }

/* ==========================================================================
   19 · SITEMAP / RECHTSSEITEN / 404
   ========================================================================== */

.legal-content h2, .legal-content h3 { color: var(--rg-primary-dark); }
.legal-content { max-width: 74ch; }

.sitemap-list { columns: 2; column-gap: 2rem; padding-left: 1.1rem; }

@media (max-width: 575.98px) {
  .sitemap-list { columns: 1; }
}

/* ==========================================================================
   20 · BEWEGUNG / DRUCK
   ========================================================================== */

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

@media print {
  .rg-header,
  .rg-drawer,
  .rg-mobile-cta,
  .back-to-top,
  .cta-section,
  .final-cta-section,
  .rg-footer,
  .rg-jumpnav,
  .sticky-booking-bar { display: none !important; }

  .rg-hero {
    background: none !important;
    color: #000 !important;
    padding-block: 0 !important;
  }

  .rg-hero h1, .rg-hero p { color: #000 !important; }
  .rg-hero::before { display: none !important; }

  body { font-size: 11pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
}

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

:root { color-scheme: light; }
