/* ==========================================================================
   FONTS (Lokale Einbindung)
   ========================================================================== */

/* plus-jakarta-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  src: url('/fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
}

/* plus-jakarta-sans-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}

/* plus-jakarta-sans-500 - latin */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  src: url('/fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}

/* plus-jakarta-sans-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
}

/* plus-jakarta-sans-700 - latin */
@font-face {
  font-display: swap;
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
}

/* playfair-display-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
}

/* playfair-display-italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  src: url('/fonts/playfair-display-v40-latin-italic.woff2') format('woff2');
}

/* playfair-display-600 - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  src: url('/fonts/playfair-display-v40-latin-600.woff2') format('woff2');
}

/* playfair-display-600italic - latin */
@font-face {
  font-display: swap;
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  src: url('/fonts/playfair-display-v40-latin-600italic.woff2') format('woff2');
}

/* ==========================================================================
   BASE SETTINGS
   ========================================================================== */

:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   HERO SLIDER (Funktionale Logik für slider.js)
   ========================================================================== */

.hero-image {
  background-size: cover;
  background-position: center;
}

.hero-slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Einzelne Slides (Sichtbarkeit wird über JS gesteuert) */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide.active {
  opacity: 1;
}

/* Dunkles Verlaufs-Overlay */
.hero-slider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.25));
  z-index: 1;
  pointer-events: none;
}

/* Pfeil-Navigation (Links / Rechts) */
.hero-slider-controls {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  pointer-events: none;
  z-index: 10;
}

.hero-slider-controls button {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.55);
  border: none;
  border-radius: 999px;
  color: white;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  transition: background 0.2s ease;
  cursor: pointer;
}

.hero-slider-controls button:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* Punkte-Navigation unten */
.hero-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.hero-slider-dot {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.2s ease;
}

.hero-slider-dot.active {
  background: rgba(255, 255, 255, 1);
}

/* ==========================================================================
   LIGHTBOX & MAPS
   ========================================================================== */

.lightbox-backdrop {
  background: rgba(15, 23, 42, 0.9);
}

.responsive_map {
  height: 0;
  overflow: hidden;
  padding-bottom: 56%;
  position: relative;
}

.responsive_map iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}