/* =========================================================
   Ostwind Segelsport – modernisiertes Theme
   Statischer Nachbau, rein präsentativ (keine WP-Abhängigkeiten)
   ========================================================= */

:root {
  --color-primary: #0b3d91;
  --color-primary-dark: #07254f;
  --color-primary-darker: #051a38;
  --color-accent: #ff8a3d;
  --color-accent-dark: #e76f1d;
  --color-text: #1b2430;
  --color-text-light: #5b6675;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f7fb;
  --color-border: #e3e8f0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(13, 32, 73, 0.08);
  --shadow-md: 0 10px 30px rgba(13, 32, 73, 0.12);
  --shadow-lg: 0 20px 60px rgba(13, 32, 73, 0.18);
  --container-width: 1180px;
  --font-main: "Lato", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-height: 84px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Das ausgeblendete Off-Canvas-Menü wird per translateX() verschoben,
     zählt im Dokument aber weiterhin zur Breite – das verhindert dadurch
     entstehendes horizontales Scrollen auf schmalen Viewports. */
  overflow-x: hidden;
}

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

a { color: var(--color-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--color-accent); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--color-primary-darker);
  line-height: 1.25;
  margin: 0 0 .6em;
  font-weight: 700;
}

h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--color-text); }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  z-index: 10000;
}

/* ============ Header / Navigation ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 37, 79, 0.0);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
.site-header.is-inner {
  background: rgba(7, 37, 79, 0.96);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img {
  height: 56px;
  width: auto;
  max-width: none;
  border-radius: var(--radius-sm);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.3rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.main-nav {
  display: flex;
}
.main-nav > ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 2px;
}
.main-nav > ul > li {
  position: relative;
}
.main-nav > ul > li > a {
  display: block;
  padding: 10px 14px;
  color: #fff;
  font-weight: 600;
  font-size: .94rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.is-active > a {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.main-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .18s ease;
  z-index: 50;
}
.main-nav > ul > li:hover > .sub-menu,
.main-nav > ul > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-nav .sub-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  color: var(--color-text);
  font-size: .92rem;
}
.main-nav .sub-menu li a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
}
.main-nav .sub-menu .sub-menu {
  position: static;
  box-shadow: none;
  margin: 2px 0 2px 12px;
  padding: 0;
  opacity: 1;
  visibility: visible;
  transform: none;
  border-left: 2px solid var(--color-border);
  border-radius: 0;
}

.cta-button, a.btn, button.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  box-shadow: 0 10px 24px rgba(255, 138, 61, .35);
}
.cta-button:hover, a.btn:hover, button.btn:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  color: #fff !important;
}
.nav-cta { margin-left: 10px; padding: 10px 20px; font-size: .9rem; }

/* ============ Hero / Slider ============ */
.hero-slider {
  position: relative;
  height: 90vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--color-primary-darker);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.is-active { opacity: 1; z-index: 2; }
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,20,45,.82) 0%, rgba(5,20,45,.45) 55%, rgba(5,20,45,.15) 100%);
}
.hero-slide .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 640px;
  padding: 0 24px;
  margin-left: max(24px, calc((100vw - var(--container-width)) / 2 + 24px));
}
.hero-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-accent);
  margin-bottom: 14px;
}
.hero-content h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-bottom: 18px;
}
.hero-content p {
  color: rgba(255,255,255,.92);
  font-size: 1.08rem;
  margin-bottom: 26px;
}
.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.hero-dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  cursor: pointer;
  padding: 0;
  opacity: .7;
}
.hero-dots button.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  opacity: 1;
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.14);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-arrow.prev { left: 22px; }
.hero-arrow.next { right: 22px; }

/* ============ Inner page header ============ */
.page-header {
  position: relative;
  padding: 190px 0 70px;
  background: linear-gradient(135deg, var(--color-primary-darker), var(--color-primary) 60%);
  background-size: cover;
  background-position: center;
  color: #fff;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 45, .55);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: #fff; margin: 0; }
.breadcrumbs {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 10px;
}
.breadcrumbs a { color: rgba(255,255,255,.85); }
.breadcrumbs a:hover { color: var(--color-accent); }

/* ============ Sections ============ */
.section { padding: 80px 0; }
.section-alt { background: var(--color-bg-alt); }
.section-title {
  text-align: center;
  margin-bottom: 14px;
}
.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  max-width: 640px;
  margin: 0 auto 50px;
}
.section-line {
  width: 64px;
  height: 4px;
  background: var(--color-accent);
  margin: 0 auto 40px;
  border-radius: 999px;
}

/* ============ Service cards ============ */
.grid {
  display: grid;
  gap: 28px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform .22s ease, box-shadow .22s ease;
  text-align: center;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
}
.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card h3 a { color: inherit; }
.card p { color: var(--color-text-light); font-size: .94rem; margin-bottom: 0; }

/* ============ CTA band ============ */
.cta-band {
  position: relative;
  padding: 80px 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(120deg, var(--color-primary-darker), var(--color-primary));
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -220px;
  right: -140px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }

/* ============ About cards (Unterkunft Startseite) ============ */
.about-grid .card { text-align: left; }
.about-grid .card-icon { margin: 0 0 16px; }

/* ============ Content layout (Unterseiten) ============ */
.content-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 50px;
  align-items: start;
}
.content-layout.no-sidebar { grid-template-columns: 1fr; }
/* Grid-Items schrumpfen sonst nicht unter ihre Inhalts-Mindestbreite
   (z.B. breite Tabellen) – das führte zu horizontalem Layout-Überlauf. */
.content-layout > * { min-width: 0; }

.entry-content {
  background: #fff;
}
.entry-content > p:first-child {
  font-size: 1.1rem;
  color: var(--color-text);
}
.entry-content h2 {
  margin-top: 1.6em;
  position: relative;
  padding-bottom: 10px;
}
.entry-content h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--color-accent);
  margin-top: 10px;
  border-radius: 999px;
}
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .4em; }
.entry-content img, .entry-content figure {
  border-radius: var(--radius-md);
  margin: 1em 0;
}
.entry-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2.4em 0;
}
.entry-content figure.wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin: 0 0 1.2em;
  list-style: none;
  padding: 0;
}
.entry-content figure.wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  margin: 0;
}
.entry-content .wp-block-group { margin-bottom: .4em; }
.entry-content .wp-block-media-text {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  margin: 1.4em 0;
}
.entry-content .wp-block-media-text__media img { margin: 0; }
.entry-content .wp-block-media-text__content p { margin: 0; font-weight: 600; }
.entry-content blockquote.wp-block-quote {
  border-left: 4px solid var(--color-accent);
  background: var(--color-bg-alt);
  padding: 20px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--color-primary-darker);
  margin: 1.6em 0;
}
.entry-content blockquote.wp-block-quote p { margin-bottom: .4em; }
.entry-content blockquote.wp-block-quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: .85rem;
  color: var(--color-text-light);
}
.entry-content .wp-block-jetpack-tiled-gallery .tiled-gallery__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.entry-content .wp-block-jetpack-tiled-gallery .tiled-gallery__row {
  display: flex;
  width: 100%;
  gap: 8px;
}
.entry-content .wp-block-jetpack-tiled-gallery .tiled-gallery__col { flex: 1; }
.entry-content .tiled-gallery__item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }

.featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

/* Tables (TablePress nachgebaut) */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 1.4em 0 1.8em;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  -webkit-overflow-scrolling: touch;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: .94rem;
  box-shadow: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.entry-content table thead th {
  background: var(--color-primary);
  color: #fff;
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
}
.entry-content table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-border);
}
.entry-content table tbody tr:nth-child(even) { background: var(--color-bg-alt); }
.entry-content table tbody tr:hover { background: #eef3fb; }

/* ============ Galerie: Collage-Grid + Lightbox ============ */
.gallery-intro {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--color-text-light);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,20,45,0) 55%, rgba(5,20,45,.55) 100%);
  opacity: 0;
  transition: opacity .25s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
/* Ein paar größere "Hero"-Kacheln sorgen für eine echte Collage statt eines starren Rasters */
.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(9) { grid-column: span 2; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 20, .92);
  padding: 40px;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.gallery-lightbox-close,
.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: fixed;
  background: rgba(255,255,255,.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover { background: var(--color-accent); }
.gallery-lightbox-close { top: 24px; right: 24px; }
.gallery-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item:nth-child(9) { grid-column: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .gallery-lightbox-prev, .gallery-lightbox-next { width: 40px; height: 40px; font-size: 1rem; }
}

/* ============ Sidebar ============ */
.sidebar-widget {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 26px;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
}
.sidebar-widget h2, .sidebar-widget h3 {
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.sidebar-widget .line {
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 999px;
  margin-bottom: 16px;
}
.sidebar-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sidebar-widget ul li {
  border-bottom: 1px dashed var(--color-border);
  padding: 9px 0;
}
.sidebar-widget ul li:last-child { border-bottom: none; }
.sidebar-widget ul li a { color: var(--color-text); font-weight: 600; font-size: .92rem; }
.sidebar-widget ul li a:hover { color: var(--color-primary); }
.search-form {
  display: flex;
  gap: 8px;
}
.search-form input {
  flex: 1;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.search-form button {
  border: none;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0 16px;
  cursor: pointer;
}

/* ============ Forms (Contact Form 7 Nachbau) ============ */
.form-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--color-border);
}
form.site-form p { margin-bottom: 18px; }
form.site-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: .92rem;
  color: var(--color-text);
}
form.site-form input[type="text"],
form.site-form input[type="email"],
form.site-form input[type="tel"],
form.site-form input[type="number"],
form.site-form input[type="date"],
form.site-form select,
form.site-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .96rem;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
form.site-form input:focus,
form.site-form select:focus,
form.site-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11,61,145,.14);
}
form.site-form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--color-text-light); }
.checkbox-row input { width: auto; margin-top: 3px; }
.form-note { font-size: .82rem; color: var(--color-text-light); }
.form-success, .form-error {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  font-size: .92rem;
}
.form-success { background: #e4f7e9; color: #166a33; border: 1px solid #b7e6c4; }
.form-error { background: #fdeaea; color: #9c2626; border: 1px solid #f5c2c2; }
.form-success.is-visible, .form-error.is-visible { display: block; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.site-form button[disabled] { opacity: .6; cursor: wait; }

/* ============ Footer ============ */
.site-footer {
  background: var(--color-primary-darker);
  color: rgba(255,255,255,.85);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 8px;
}
.footer-col .line {
  width: 36px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 999px;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.8); font-size: .92rem; }
.footer-col ul li a:hover { color: var(--color-accent); }
.footer-badges { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.footer-badges img {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  height: 56px;
  width: auto;
  object-fit: contain;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { color: rgba(255,255,255,.6); margin: 0; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}
.footer-socials a:hover { background: var(--color-accent); color: #fff; }
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
  z-index: 500;
  border: none;
  font-size: 1.1rem;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-accent); }

/* ============ Cookie banner ============ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: #0b1626;
  color: #fff;
  padding: 20px 24px;
  display: none;
  box-shadow: 0 -10px 30px rgba(0,0,0,.25);
}
.cookie-banner.is-visible { display: block; }
.cookie-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-inner p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.85); max-width: 640px; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: .88rem;
}
.cookie-accept { background: var(--color-accent); color: #fff; }
.cookie-settings { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4) !important; }

/* ============ Icon font fallback (Font Awesome via CSS classes used in JSON) ============ */
.icon { font-style: normal; }

/* ============ Utility ============ */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ============ Responsive ============ */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Eigener Breakpoint fürs Nav: die Desktop-Navigation läuft schon ab ~1110px über
   (lange Menüpunkte wie "Gruppenreisen mit Wassersport", "Anfrage/Buchung"),
   deshalb klappt das Burger-Menü früher auf als die übrigen Layout-Umbrüche. */
@media (max-width: 1120px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(7, 20, 45, .98);
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s ease;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; width: 100%; }
  .main-nav > ul > li > a { padding: 14px 10px; font-size: 1.05rem; }
  .main-nav .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(255,255,255,.06);
    box-shadow: none;
    margin: 4px 0 8px;
  }
  .main-nav .sub-menu li a { color: #fff; }
  .main-nav .sub-menu li a:hover { background: rgba(255,255,255,.1); color: var(--color-accent); }
  .nav-cta { margin: 16px 0 0; width: 100%; justify-content: center; }
}

@media (max-width: 768px) {
  .hero-content { margin-left: 0 !important; padding: 0 20px; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-header { padding: 150px 0 50px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 1rem; }
  .entry-content .wp-block-media-text { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 480px) {
  .hero-slider { height: 78vh; min-height: 460px; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}
