/* ==========================================================================
   Bruggerhof am Klausberg – Design "Klar & alpin"
   Bootstrap 5.3 bleibt unverändert, alle Anpassungen stehen hier.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Schriften (selbst gehostet, keine Verbindung zu Google)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff") format("woff");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-italic.woff") format("woff");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. Farben je Saison (Klasse am <body>)
   -------------------------------------------------------------------------- */
:root {
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ink: #1c241e;
  --muted: #4a5650;
  --footer-bg: #141a16;
  --radius: 4px;
  --nav-height: 84px;

  --bs-body-font-family: var(--font-body);
  --bs-body-font-size: 1.125rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--ink);
}

.season-summer {
  --accent: #3a7a34;
  --accent-hover: #2e6229;
  --dark: #1f3b26;
  --light: #f1f4ee;
  --tint: rgba(58, 122, 52, .1);
  --overlay: 10, 22, 14;
}

.season-winter {
  --accent: #1f6f99;
  --accent-hover: #185a7d;
  --dark: #173247;
  --light: #edf3f7;
  --tint: rgba(31, 111, 153, .1);
  --overlay: 9, 20, 30;
}

/* --------------------------------------------------------------------------
   3. Grundlagen
   -------------------------------------------------------------------------- */
body {
  background: #fff;
}

a {
  color: var(--accent);
  text-underline-offset: .15em;
}
a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, .display-font {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .01em;
}

h2 {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.25rem);
  color: var(--dark);
  margin-bottom: 1.25rem;
}

h3 {
  font-size: clamp(1.5rem, 1.25rem + .8vw, 1.9rem);
  color: var(--dark);
  margin-top: 2rem;
  margin-bottom: .75rem;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.eyebrow-light {
  color: rgba(255, 255, 255, .9);
  font-size: 1.25rem;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 2000;
  padding: .6rem 1rem;
  background: #fff;
  color: #000;
  border-radius: var(--radius);
}

main:focus {
  outline: none;
}

/* Buttons */
.btn {
  --bs-btn-font-weight: 700;
  --bs-btn-border-radius: var(--radius);
}
.btn-lg {
  --bs-btn-padding-y: .85rem;
  --bs-btn-padding-x: 1.6rem;
  --bs-btn-font-size: 1.1rem;
}
.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--accent-hover);
  --bs-btn-hover-border-color: var(--accent-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--accent-hover);
  --bs-btn-active-border-color: var(--accent-hover);
}
.btn-outline-light {
  --bs-btn-border-width: 2px;
}
.btn-light {
  --bs-btn-color: var(--dark);
  --bs-btn-hover-color: var(--dark);
}

/* --------------------------------------------------------------------------
   4. Navigation: transparent über dem Bild, beim Scrollen dunkel
   -------------------------------------------------------------------------- */
.site-nav {
  --bs-navbar-color: #fff;
  --bs-navbar-hover-color: #fff;
  --bs-navbar-active-color: #fff;
  --bs-navbar-toggler-border-color: rgba(255, 255, 255, .6);
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  --bs-navbar-toggler-focus-width: 3px;
  min-height: var(--nav-height);
  padding-top: .75rem;
  padding-bottom: .75rem;
  background: transparent;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-nav.is-solid {
  background: var(--dark);
  box-shadow: 0 2px 16px rgba(0, 0, 0, .18);
  padding-top: .4rem;
  padding-bottom: .4rem;
}

.site-nav .navbar-brand {
  padding: 0;
  margin-right: 1.5rem;
}
.site-nav .navbar-brand img {
  width: 170px;
  height: auto;
  display: block;
  transition: width .25s ease;
}
.site-nav.is-solid .navbar-brand img {
  width: 150px;
}

.site-nav .nav-link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .6rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav .nav-link:hover,
.site-nav .nav-link:focus-visible {
  border-bottom-color: rgba(255, 255, 255, .6);
}
.site-nav .nav-link.active {
  border-bottom-color: #fff;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switch {
  display: flex;
  gap: .25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switch a {
  display: block;
  padding: .55rem .5rem;
  color: rgba(255, 255, 255, .85);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.lang-switch a:hover {
  color: #fff;
}
.lang-switch a.active {
  color: #fff;
  border-bottom-color: #fff;
}

.season-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
  transition: background-color .2s ease;
}
.season-toggle:hover {
  background: rgba(255, 255, 255, .25);
}
.season-icon {
  width: 20px;
  height: 20px;
}
/* Der Umschalter zeigt immer die jeweils andere Saison */
.season-summer .season-toggle .to-summer,
.season-winter .season-toggle .to-winter {
  display: none;
}

.btn-enquire {
  --bs-btn-color: var(--dark);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--dark);
  --bs-btn-hover-bg: #e9ecea;
  --bs-btn-hover-border-color: #e9ecea;
  --bs-btn-padding-x: 1.3rem;
  --bs-btn-padding-y: .55rem;
}
.btn-enquire.btn-sm {
  --bs-btn-padding-x: .9rem;
  --bs-btn-padding-y: .4rem;
  --bs-btn-font-size: .95rem;
}

@media (min-width: 1200px) {
  .site-nav .navbar-nav {
    gap: 1.75rem;
  }
}

@media (min-width: 1400px) {
  .site-nav .navbar-brand img {
    width: 200px;
  }
  .site-nav .navbar-nav {
    gap: 2.25rem;
  }
}

/* Mobil: aufgeklapptes Menü auf dunklem Grund */
@media (max-width: 1199.98px) {
  .site-nav .navbar-brand img {
    width: 140px;
  }
  .site-nav .navbar-collapse {
    background: var(--dark);
    margin: .75rem calc(var(--bs-gutter-x) * -.5) -.4rem;
    padding: .5rem calc(var(--bs-gutter-x) * .5) 1.25rem;
  }
  .site-nav .nav-link {
    padding: .75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .site-nav .nav-link.active {
    border-bottom-color: rgba(255, 255, 255, .12);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .35em;
  }
  .nav-tools {
    padding-top: 1rem;
  }
}

/* --------------------------------------------------------------------------
   5. Kopfbereich mit Hintergrund-Slideshow
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(440px, 62vh);
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}
.hero-large {
  min-height: max(640px, min(100svh, 960px));
  align-items: center;
}

.hero-slides,
.hero-slides .carousel-inner,
.hero-slides .carousel-item {
  position: absolute;
  inset: 0;
  height: 100%;
}
.hero-slides .carousel-item {
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-slides.carousel-fade .carousel-item {
  transition-duration: 1.2s;
}
/* Unterseiten: niedrigerer Kopfbereich, Bildausschnitt etwas weiter oben */
.hero:not(.hero-large) .hero-slides .carousel-item {
  background-position: right 22%;
}

/* Verlauf links für gute Lesbarkeit der Schrift */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(var(--overlay), .8) 0%, rgba(var(--overlay), .45) 45%, rgba(var(--overlay), 0) 72%),
    linear-gradient(180deg, rgba(var(--overlay), .55) 0%, rgba(var(--overlay), 0) 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3.5rem;
}
.hero-large .hero-content {
  padding-top: calc(var(--nav-height) + 4rem);
  padding-bottom: 4rem;
}

.hero-text {
  max-width: 640px;
}
.hero h1 {
  font-size: clamp(2.5rem, 1.6rem + 3.2vw, 4.25rem);
  margin-bottom: 1.25rem;
}
.hero-large h1 {
  font-size: clamp(2.8rem, 1.6rem + 4.2vw, 4.9rem);
  line-height: 1;
}
.hero-lead {
  font-size: clamp(1.125rem, 1rem + .4vw, 1.35rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, .93);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-dots {
  display: flex;
  gap: .5rem;
  margin-top: 3rem;
}
.hero-dots span {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, .4);
  transition: background-color .4s ease;
}
.hero-dots span.active {
  background: #fff;
}

/* Sommer- und Winterbilder (Reihenfolge = Reihenfolge im Karussell) */
.season-summer .bg-1 { background-image: url("../img/bg/summer1.jpeg"); }
.season-summer .bg-2 { background-image: url("../img/bg/summer2.jpeg"); }
.season-summer .bg-3 { background-image: url("../img/bg/summer3.jpeg"); }
.season-summer .bg-4 { background-image: url("../img/bg/summer4.jpeg"); }
.season-summer .bg-5 { background-image: url("../img/bg/summer5.jpeg"); }
.season-winter .bg-1 { background-image: url("../img/bg/winter1.jpeg"); }
.season-winter .bg-2 { background-image: url("../img/bg/winter2.jpeg"); }
.season-winter .bg-3 { background-image: url("../img/bg/winter3.jpeg"); }
.season-winter .bg-4 { background-image: url("../img/bg/winter4.jpeg"); }

/* Handy: kleinere Versionen (…-mobil.jpeg, 1080 px breit) laden schneller */
@media (max-width: 767.98px) {
  .season-summer .bg-1 { background-image: url("../img/bg/summer1-mobil.jpeg"); }
  .season-summer .bg-2 { background-image: url("../img/bg/summer2-mobil.jpeg"); }
  .season-summer .bg-3 { background-image: url("../img/bg/summer3-mobil.jpeg"); }
  .season-summer .bg-4 { background-image: url("../img/bg/summer4-mobil.jpeg"); }
  .season-summer .bg-5 { background-image: url("../img/bg/summer5-mobil.jpeg"); }
  .season-winter .bg-1 { background-image: url("../img/bg/winter1-mobil.jpeg"); }
  .season-winter .bg-2 { background-image: url("../img/bg/winter2-mobil.jpeg"); }
  .season-winter .bg-3 { background-image: url("../img/bg/winter3-mobil.jpeg"); }
  .season-winter .bg-4 { background-image: url("../img/bg/winter4-mobil.jpeg"); }
}

@media (max-width: 767.98px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(var(--overlay), .55) 0%, rgba(var(--overlay), .7) 100%);
  }
  .hero-slides .carousel-item {
    background-position: 30% center;
  }
}

/* --------------------------------------------------------------------------
   6. Vorteile-Leiste
   -------------------------------------------------------------------------- */
.facts {
  background: var(--light);
  padding: 3rem 0;
}
.facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}
.facts-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.facts-list .icon {
  color: var(--accent);
  flex: none;
}
.facts-list strong {
  display: block;
  font-size: 1.2rem;
}
.facts-list span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   7. Inhaltsbänder
   -------------------------------------------------------------------------- */
.band {
  padding: clamp(4rem, 3rem + 4vw, 7rem) 0;
  scroll-margin-top: 70px;
}
.band-alt {
  background: var(--light);
}
.band-attached {
  padding-top: 0;
  margin-top: calc(-1 * clamp(1.5rem, 1rem + 2vw, 3rem));
}
.band-attached .fold {
  margin-bottom: 0;
}

/* Bildraster: erstes Bild groß (passt für 5 Bilder) */
@media (min-width: 992px) {
  .img-grid.feature-first {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .img-grid.feature-first img:first-child {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
  }
}

.text-col {
  max-width: 780px;
}

/* Breiter Spaltenabstand nur auf großen Bildschirmen (sonst seitliches Scrollen) */
@media (max-width: 1199.98px) {
  .row.g-5 {
    --bs-gutter-x: 1.5rem;
  }
}
.lead-text {
  font-size: 1.25rem;
}

/* Text neben Bild */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.split-text {
  flex: 1 1 440px;
  min-width: 0;
}
.split-media {
  flex: 1 1 480px;
  min-width: 0;
}
.split-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.split-reverse {
  flex-direction: row-reverse;
}
.split-media img.img-logo {
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  padding: 2rem;
}
.split-media img.img-map {
  aspect-ratio: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}
.fold .gallery-heading {
  display: none;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .45rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: .15rem;
  top: .5em;
  width: .9rem;
  height: .5rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.check-list.two-col {
  columns: 2 300px;
  column-gap: 3rem;
}
.check-list.two-col li {
  break-inside: avoid;
}

.text-link {
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.section-head h2 {
  margin-bottom: 0;
}

/* Karten */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.75rem;
}
.tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
a.tile:hover {
  color: inherit;
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}
.band-alt .tile {
  background: #fff;
}
.band:not(.band-alt) .tile {
  background: var(--light);
}
.tile img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.tile-body {
  padding: 1.5rem 1.5rem 1.75rem;
}
.tile-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin: 0 0 .25rem;
}
.tile-meta {
  color: var(--muted);
  font-size: 1rem;
  margin: 0;
}

/* Wohnungen mit Grundriss */
.apartment {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, .1);
}
.apartment:first-of-type {
  border-top: 0;
}
@media (min-width: 768px) {
  .apartment {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
}
.apartment h3 {
  margin-top: 0;
}
.apartment-facts {
  font-weight: 600;
  color: var(--muted);
  margin-bottom: .75rem;
}
.apartment figure {
  margin: 0;
}
.apartment figure img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: var(--radius);
  background: #fff;
}
.apartment figcaption {
  font-size: .95rem;
  margin-top: .4rem;
}

/* Bildraster */
.img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 0;
}
.img-grid img,
.img-wide {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
}
.img-grid img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.img-grid.portrait img {
  aspect-ratio: 3 / 4;
}
.img-wide {
  margin-top: 2rem;
}

/* Hinweis-Box (z. B. freie Termine) */
.notice {
  background: var(--tint);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
}
.notice h2,
.notice h3 {
  margin-top: 0;
  font-size: 1.9rem;
}
.notice ul {
  margin-bottom: 0;
}

/* Aufklappbare Bereiche (Galerie, Preise, Storno) */
.fold {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
  margin-bottom: 1rem;
}
.band:not(.band-alt) .fold {
  background: var(--light);
  box-shadow: none;
}
.fold > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
}
.fold > summary::-webkit-details-marker {
  display: none;
}
.fold > summary::after {
  content: "";
  width: .7rem;
  height: .7rem;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: none;
  margin-right: .25rem;
}
.fold[open] > summary::after {
  transform: rotate(-135deg);
}
.fold > summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
.fold-body {
  padding: 0 1.5rem 1.5rem;
}
.fold-large > summary {
  padding: 1.4rem 1.75rem;
}
.fold-title {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  margin: 0;
  color: inherit;
}
.fold-large .fold-body {
  padding: 0 1.75rem 1.75rem;
}

/* Preistabellen */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 1rem;
}
.price-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}
.price-table th,
.price-table td {
  padding: .8rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  text-align: left;
  vertical-align: top;
}
.price-table thead th {
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}
.price-table tbody tr:nth-child(even) {
  background: var(--light);
}
.price-table .booked {
  color: #8a2b16;
  font-weight: 700;
}
.price-table .free {
  color: var(--accent);
  font-weight: 700;
}
.small-print {
  font-size: 1rem;
  color: var(--muted);
}

/* Galerie */
.gallery {
  max-width: 1040px;
  margin: 0 auto;
}
.gallery .carousel-inner {
  border-radius: var(--radius);
  background: #111;
}
.gallery .carousel-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.gallery .carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem 1.5rem 1rem;
  text-align: left;
  font-size: 1.05rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%);
}
.gallery .carousel-control-prev,
.gallery .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 1rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  opacity: 1;
}
.gallery .carousel-control-prev:hover,
.gallery .carousel-control-next:hover {
  background: rgba(0, 0, 0, .75);
}
.gallery .carousel-control-prev:focus-visible,
.gallery .carousel-control-next:focus-visible {
  outline: 3px solid #fff;
}
.gallery-counter {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: .2rem .65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: .95rem;
}

/* Vorschaubilder (Bootstrap-Indikatoren, neu gestaltet) */
.gallery .gallery-thumbs {
  position: static;
  display: flex;
  justify-content: flex-start;
  gap: .5rem;
  margin: .75rem 0 0;
  padding: .25rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.gallery .gallery-thumbs [data-bs-target] {
  box-sizing: border-box;
  flex: none;
  width: 96px;
  height: 72px;
  margin: 0;
  padding: 0;
  text-indent: 0;
  background: none;
  border: 3px solid transparent;
  border-radius: var(--radius);
  opacity: .6;
  overflow: hidden;
  transition: opacity .2s ease, border-color .2s ease;
}
.gallery .gallery-thumbs [data-bs-target] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery .gallery-thumbs [data-bs-target]:hover {
  opacity: .9;
}
.gallery .gallery-thumbs .active {
  opacity: 1;
  border-color: var(--accent);
}

/* Videos: erst nach Klick wird YouTube geladen */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
}
.video-start {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  background: #000;
  cursor: pointer;
  color: #fff;
}
.video-start img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  transition: opacity .2s ease;
}
.video-start:hover img {
  opacity: .65;
}
.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.video-play .icon {
  width: 84px;
  height: 84px;
  padding: 22px 18px 22px 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-note {
  font-size: .95rem;
  color: var(--muted);
  margin-top: .5rem;
}

/* Saisonabhängige Reihenfolge (wirkt sofort beim Umschalten) */
.page-sections,
.season-sort {
  display: flex;
  flex-direction: column;
}
/* Abschnitt der anderen Saison rückt ans Ende */
.season-summer .page-sections > .sec-winter,
.season-winter .page-sections > .sec-summer {
  order: 1;
}
.season-summer .season-sort > .is-summer,
.season-winter .season-sort > .is-winter {
  order: -1;
}

/* Formular */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 1rem + 2vw, 2.75rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}
.band:not(.band-alt) .form-card {
  background: var(--light);
}
.form-label {
  font-weight: 600;
  margin-bottom: .3rem;
}
.form-control,
.form-select {
  --bs-border-radius: var(--radius);
  padding: .65rem .85rem;
  border-color: #b9c2bc;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem var(--tint);
}
/* Freiwillige Felder nach dem Prüfen nicht grün markieren */
.was-validated .form-control:valid:not([required]) {
  border-color: #b9c2bc;
  background-image: none;
  padding-right: .85rem;
}
.was-validated .form-check-input:valid ~ .form-check-label {
  color: inherit;
}
.form-status:empty {
  display: none;
}
.form-check-input:checked {
  background-color: var(--accent);
  border-color: var(--accent);
}
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Rechtliches */
.legal h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
  margin-top: 3.5rem;
  scroll-margin-top: 90px;
}
.legal h2:first-child {
  margin-top: 0;
}
.legal h3 {
  scroll-margin-top: 90px;
}
.legal-quote {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
  font-style: italic;
}
.legal-quote p:last-child {
  margin-bottom: 0;
}

/* Platzhalter für noch fehlende Inhalte */
.placeholder-box {
  border: 2px dashed rgba(0, 0, 0, .2);
  border-radius: var(--radius);
  padding: 2rem;
}

/* --------------------------------------------------------------------------
   8. Aufruf-Band und Footer
   -------------------------------------------------------------------------- */
.cta-band {
  background: var(--dark);
  color: #fff;
  padding: clamp(3.5rem, 2.5rem + 3vw, 5.5rem) 0;
}
.cta-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.cta-text {
  flex: 1 1 520px;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: .75rem;
}
.cta-text p {
  color: rgba(255, 255, 255, .86);
  margin: 0;
  max-width: 640px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}
.cta-mail {
  color: #fff;
  font-weight: 600;
}
.cta-mail:hover {
  color: #fff;
  opacity: .85;
}

.site-footer {
  background: var(--footer-bg);
  color: #c9cfca;
  font-size: .95rem;
}
.site-footer a {
  color: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.5rem;
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
}
.footer-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
  margin-bottom: .5rem;
}
.footer-legal {
  border-top: 1px solid #2c342e;
  padding-top: 1.25rem;
  padding-bottom: 2rem;
}
.footer-legal ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.75rem;
  font-size: .9rem;
}
.footer-legal a {
  color: #c9cfca;
}

/* --------------------------------------------------------------------------
   9. Weniger Bewegung, falls im System eingestellt
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-slides.carousel-fade .carousel-item,
  .site-nav,
  .tile {
    transition: none;
  }
}
