/* ==============================
   Webcam Container & Images
   ============================== */
.webcam-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000; /* verhindert Weißblitz */
  /* optional:
  border-radius: 12px;
  */
}

/* Double-buffer images (Overlay + Fade) */
.webcam-container img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transition: opacity 0.3s ease-in-out;

  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.webcam-container img.active {
  opacity: 1;
  z-index: 2;
}

/* ==============================
   Docked Controls (leicht transparent)
   ============================== */
.webcam-docked {
  position: absolute;
  inset: auto 0 0 0; /* left:0; right:0; bottom:0; */
  z-index: 5;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;

  padding: 10px 12px;

  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ==============================
   Slider
   ============================== */
#webcamSlider {
  display: block;
  width: 100%;
  margin: 0;
}

/* ==============================
   Actions (Buttons)
   ============================== */
.webcam-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  white-space: nowrap;
}

#webcamLive,
.webcam-fs {
  padding: 6px 14px;
  border: none;
  border-radius: 5px;
  background: var(--sppb-farbe-5);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

#webcamLive:hover,
.webcam-fs:hover {
  background: var(--sppb-farbe-3);
}

/* ==============================
   Tooltip (rechts versetzt, ohne Spitze)
   ============================== */
.webcam-tooltip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 0;
  transform: translateX(-8px);

  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  font: 600 13px/1 sans-serif;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.webcam-tooltip::after {
  display: none;
}

.webcam-tooltip.is-visible {
  opacity: 1;
}

/* ==============================
   Responsive tweaks (Layout im Dock)
   ============================== */
@media (max-width: 640px) {
  .webcam-docked {
    grid-template-columns: 1fr;
  }

  .webcam-actions {
    justify-content: space-between;
  }
}

/* ==============================
   Fullscreen – Cropping nach unten verlagern
   ============================== */

/* Standard Fullscreen */
.webcam-container:fullscreen img {
  object-position: top left;
}

/* Safari / WebKit */
.webcam-container:-webkit-full-screen img {
  object-position: top left;
}

/* Optional: für ältere Firefox-Versionen */
.webcam-container:-moz-full-screen img {
  object-position: top left;
}

/* ==============================
   Mobile: Controls unter das Bild (ohne Flash)
   - Bild bleibt als 16:9 Slot erhalten
   - Controls laufen darunter im normalen Flow
   - Bilder bleiben overlay + fade (kein "schwarzer Frame")
   ============================== */
@media (max-width: 640px) {

  .webcam-container {
    aspect-ratio: auto;
    overflow: visible;
    background: transparent;
  }

  /* 16:9 Bild-Slot reservieren */
  .webcam-container::before {
    content: "";
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000; /* Letterbox-Farbe, falls contain Balken erzeugt */
  }

  /* Bilder im Slot: KEIN Cropping mehr */
  .webcam-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;

    object-fit: contain;        /* <- wichtig: komplett sichtbar */
    object-position: top right; /* <- Datum/Uhrzeit oben rechts sichern */

    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    background: #000; /* optional: falls Bild Transparenz/Rendering-Effekt */
  }

  .webcam-container img.active {
    opacity: 1;
    z-index: 2;
  }

  .webcam-docked {
    position: relative;
    inset: auto;
    background: rgba(255, 255, 255, 0.95);
  }

  .webcam-tooltip {
    bottom: calc(100% + 6px);
  }
}

/* ==============================
   Google Maps – 2-Klick-Lösung
   ============================== */

.map-2click {
  width: 100%;
  text-align: center;
}

/* Platzhalter */
.map-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-size: cover;
  background-position: center;
  background-color: #e5e5e5;
}

/* Overlay */
.map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  color: #fff;
  text-align: center;
}

/* Button */
.map-load-btn {
  margin-top: 8px;
  padding: 15px 25px;
  background: #4285f4;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
}

.map-load-btn:hover {
  background: #3367d6;
}

/* iframe */
.map-2click iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Datenschutz-Hinweis */
.map-privacy-note {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

.map-privacy-note a {
  color: #0073e6;
  text-decoration: underline;
}

.map-privacy-note a:hover {
  text-decoration: none;
}


/* ==============================
   Video 2-Klick (YouTube + Vimeo)
   ============================== */

.video-2click {
  width: 100%;
  text-align: center;
}

/* Platzhalter (16:9) */
.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background-size: cover;
  background-position: center;
}

/* Overlay */
.video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.55);
  color: #fff;
  text-align: center;
}

/* Button */
.video-load-btn {
  margin-top: 8px;
  padding: 15px 25px;
  background: #e62117;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  border-radius: 10px;
}

.video-load-btn:hover {
  background: #c81d13;
}

/* iframe nach Klick */
.video-2click iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Datenschutz-Hinweis */
.video-privacy-note {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

.video-privacy-note a {
  color: #0073e6;
  text-decoration: underline;
}

.video-privacy-note a:hover {
  text-decoration: none;
}

/* ==============================
   Badge Neu
   ============================== */

/* Badge-Grundlage */
a.menu-badge-new {
    position: relative;
}

/* Badge-Design */
a.menu-badge-new::after {
    content: "Neu";
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.2em 0.5em;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    color: #fff;
    background-color: #e74c3c;
    border-radius: 3px;
    vertical-align: middle;
}

#sppb-addon-7dac31cb-64da-4aa5-9baf-02ffc14747a1
.sppb-article-img-wrap {
    pointer-events: none;
    cursor: default;
}


#sppb-addon-7dac31cb-64da-4aa5-9baf-02ffc14747a1
.sppb-article-info-wrap h3 a {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}



.sppb-article-introtext {
    color: var(--sppb-text);
    font-size: 18px;
    font-weight: 300;
}

.header-al {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
  font-weight: 400;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  padding: 15px;
}

@media (min-width: 426px) {
  .header-al {
    font-size: 28px;
    line-height: 50px;
  }
}

@media (min-width: 786px) {
  .header-al {
    font-size: 36px;
    padding: 30px;
  }
}

.textblock {
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  font-size: 16px;
  line-height: 30px;
  padding:20px;

}

@media (min-width: 426px) {
  .textblock {
    font-size: 20px;
  }
}

@media (min-width: 786px) {
  .textblock {
  font-size: 22px;
  padding:30px;
 }
}


/* =========================================================
   Änderungen für das Logo im Modul
   ========================================================= */

.sp-megamenu-parent {
  margin-left: 100px;
}

.logo-image {
  display: none !important;
}

/* Inline-SVG übernimmt Helix-Logo-Platz */
.site-logo {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  width: 200px;
}

/* SVG skaliert wie normales Logo */
.site-logo svg {
  height: 40px; /* später feinjustieren */
  width: auto;
  display: block;
}

.site-logo .logo-blue {
  fill: var(--sppb-farbe-4);
  color: var(--sppb-farbe-4);
}

/* =========================================================
   Sichtbarkeit Switcher 1 (Desktop) und Switcher 2 (Offcanvas)
   ========================================================= */

/* Switcher 1: Desktop */
.color-switcher-wrapper.switcher-1 {
  display: inline-flex;
  align-items: center;
  position: relative; /* für Panel absolut */
  z-index: 1000;
  padding-left: 12px;
}

/* Switcher 2: Offcanvas */
.color-switcher-wrapper.switcher-2 {
  display: none;
  align-items: center;
  position: relative;
}

/* =========================================================
   Wrapper & Trigger
   ========================================================= */

.color-switcher-wrapper {
  position: relative;
}

.color-switcher-trigger {
  cursor: pointer;
  font-size: 1.4rem;
  padding: 4px 0;
  line-height: 1;
  user-select: none;

  box-shadow: none !important;
  background: transparent;
  z-index: 1000;
}

.color-switcher-trigger img {
  width: 22px;
  height: 22px;
  display: block;
  margin-top: 5px;
}

.color-switcher-trigger.spezial img {
  width: 22px;
  height: 22px;
  display: block;
  margin: 0 15px 10px 0;
}

/* =========================================================
   Panel (allgemein)
   ========================================================= */

.color-switcher-panel {
  position: absolute;
  top: calc(100% + 6px); 
  left: 0;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;

  padding: 10px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.12);

  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: opacity 0.25s ease, transform 0.25s ease;

  pointer-events: none;
  z-index: 9999;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
}

/* Panel offen */
.color-switcher-panel.open {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}

/* =========================================================
   Farboptionen
   ========================================================= */

.color-option {
  width: 26px;
  height: 26px;
  border-radius: 6px;
 
  cursor: pointer;
  background-clip: padding-box;
 
}

.color-option:hover {
  
}

.color-option.active {
  
}

.color-option:focus-visible {
 
}

/* =========================================================
   Switcher 2 (Offcanvas) im Fluss
   ========================================================= */

.offcanvas-menu .color-switcher-wrapper.switcher-2 {
  display: inline-flex; /* JS steuert Sichtbarkeit nach Viewport */
   padding-bottom: 30px;
}

.offcanvas-menu .color-switcher-panel {
  position: relative;
  top: 0;
  left: 0;

  opacity: 0;             /* initial geschlossen */
  transform: scaleY(0);   /* initial geschlossen */
  transform-origin: top;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;

  margin-top: 0px;       /* Abstand zum Trigger */
  margin-bottom: 15px;    /* Abstand zum unteren Rand */
  flex-wrap: wrap;
}

/* Panel offen im Offcanvas */
.offcanvas-menu .color-switcher-panel.open {
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}

/* Platzreserve gegen Scrollbars im Offcanvas */
.offcanvas-menu {
  padding-bottom: 70px;
}

.offcanvas-menu .offcanvas-inner {
  padding: 0 10px;
}

#sp-logo.col-auto {
  padding: 0 14px;
}

.sp-megamenu-parent .sp-mega-group>li>a {
  text-transform: none;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 0px;
  line-height: 60px;
  
}

a {
  color: var(--sppb-link);
}

a:hover {
  color: var(--sppb-link-hover);
}

a:active, a:focus {
  color: var(--sppb-link);
}

#sp-footer a, #sp-bottom a {
    color: var(--sppb-link-1);
}

#sp-footer a:hover, #sp-bottom a:hover {
    color: var(--sppb-link-1-hover);
}

#sp-bottom .sp-module .sp-module-title {
  color: var(--sppb-text-2);
}

#sp-footer, #sp-bottom {
    background: var(--sppb-farbe-0);
    }


.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a {
  padding: 12px 0;
}

.fas:before {
   padding: 0px 5px;
}

.sppb-btn-primary {
    color: var(--sppb-text);
    background-color: var(--sppb-farbe-4);
    border-color: var(--sppb-farbe-4);
}

.sppb-btn-primary:hover {
    color: var(--sppb-text);
    background-color: var(--sppb-farbe-3);
    border-color: var(--sppb-farbe-3);
}

.sppb-btn-primary:focus {
    color: var(--sppb-text);
}

.sppb-btn-default {
    color: var(--sppb-text);
    background-color: var(--sppb-farbe-4);
    border-color: var(--sppb-farbe-4);
}

.sppb-btn-default:hover {
    color: var(--sppb-text);
    background-color: var(--sppb-farbe-5);
    border-color: var(--sppb-farbe-5);
}

.sppb-btn-default:focus {
    color: var(--sppb-text);
}

.saison1 {
background-color: var(--sppb-saison-1);
}

.saison2 {
background-color: var(--sppb-saison-2);
}

.saison3 {
background-color:var(--sppb-saison-3);
color: #ffffff;
}

.breadcrumb {
    background-color: unset;
}


.bild {
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
}

.btn-primary, .sppb-btn-primary {
  border-color: var(--sppb-farbe-4);
  background-color: var(--sppb-farbe-4);
}

.btn-primary, .sppb-btn-primary:hover {
  border-color: var(--sppb-farbe-3);
  background-color: var(--sppb-farbe-3);
}

.sppb-panel-title {
  font-weight: 400;
}

tbody, td, tfoot, th, thead, tr {
   border-width: 1px !important;
   border-color: #f5f5f5 !important;
}

.breadcrumb-item.active {
    color: var(--sppb-link-aktiv);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--sppb-text);
}



 .textblock-liste {
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  padding:30px;
 }

 .textblock-rot {
  background-color: #ad0c11;
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  color: #fff;
  padding:30px;
}

.textblock li {
  padding: 10px 0;
}

.hinweis {
  box-shadow: 5px 5px 10px 0px rgba(0, 0, 0, 0.3);
  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
  padding:30px;
}

.titel {
text-shadow: #000 5px 5px 10px;
}

.sp-pre-loader .circle-two {
  bottom: 0;
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 100px;
 }
.sp-pre-loader .circle-two > span,
.sp-pre-loader .circle-two > span:before,
.sp-pre-loader .circle-two > span:after {
  content: "";
  display: block;
  border-radius: 50%;
  border: 2px solid var(--sppb-farbe-5);
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
.sp-pre-loader .circle-two > span {
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-left-color: transparent;
  -webkit-animation: effect-2 2s infinite linear;
  -moz-animation: effect-2 2s infinite linear;
  -ms-animation: effect-2 2s infinite linear;
  -o-animation: effect-2 2s infinite linear;
  animation: effect-2 2s infinite linear;
}
.sp-pre-loader .circle-two > span:before {
  width: 75%;
  height: 75%;
  border-right-color: transparent;
}
.sp-pre-loader .circle-two > span:after {
  width: 50%;
  height: 50%;
  border-bottom-color: transparent;
}

h3 {
  font-weight: 400;
}

.sppb-icons-group-list li {
  padding: 10px 0px 0px 0px;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>ul li a {
  line-height: 40px;
  font-size: 18px;
}

.offcanvas-menu .offcanvas-inner ul.menu>li>a, .offcanvas-menu .offcanvas-inner ul.menu>li>span {
  font-size: 20px;
  line-height: 30px;
}

.sp-menu-separator {
  font-size: 18px !important;
  line-height: 60px;
}


#sp-footer {
  font-size: 14px;
  padding: 0;
  text-align: center;
  background: var(--sppb-farbe-3);
  color: var(--sppb-text);
}

/* =========================================
   Gästebuch – Einspaltig, 700px, zentriert
   ========================================= */

.guestbook .sppb-addon-article-layout-masonry-row {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    #column-id-e54a799f-60b8-498a-8152-1170695727b7 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

.guestbook .sppb-panel-group {
  max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
