@charset "utf-8";
/* CSS Document */
/*=============================================== ALLGEMEIN =====================================================*/
/* Reset & Base */
html, body {
    height: 100%;
    margin: 0;
	padding-top:0;
    font-family: "Roboto", sans-serif;
    color: #777;
}

/* Überschriften */
h3 {
    text-align: center;
    padding-bottom: 2rem;
    font-weight: 400;

    letter-spacing: 5px;
    text-transform: uppercase;
    color: #111;
}

/* Header */
.header {
    position: fixed;
    top: -20px;
    width: 100%;
    z-index: 1000;
    transition: background 1s ease;
}
.header.scrolled {
    background: rgba(255, 255, 255, 0.8);
}
/* Nav */
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}
/* Navbar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Logo */
.logo {
    width: 160px;
    aspect-ratio: 5 / 2;          
    background-image: url("../img/logo/weblogo2 Grau.png");
    background-size: contain; 
    background-repeat: no-repeat;
    background-position: center;
	transform: translateY(10px);

}
.logo img {
    width: 100%;
    height: auto;
    display: block;

}

@media (max-width: 800px){

.logo{
  display: none;
}

}
/* Center Nav */
.nav-center {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-center a,
.kontakt{
    text-decoration: none;
    color: #3E6470;
    font-weight: 500;
}

/* Exklusiv Button olbiaseite */
.warfthues, .olbia{
    display:inline-block;   
    color:white;
    padding:8px 12px;
	margin-right:20px;
    border-radius:20px;
	text-decoration: none;
    font-size:13px;
    font-weight:600;
    letter-spacing:0.5px;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
    transition: transform .2s ease, box-shadow .2s ease;
}

.warfthues{
background: linear-gradient(135deg, #4A666F, #6f8f98, #c7d9de);
}
/* Exklusiv Button warfthüseite */
.olbia{
    background: linear-gradient(135deg,#7a2532,#b5485a,#f3b5c2);
}

.olbia:hover,.warfthues:hover{
    transform: translateY(-3px);
    box-shadow:0 10px 22px rgba(0,0,0,0.30);
}

/* Responsive */
@media (max-width: 800px){

.olbia, .warfthues{
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;

    color: #7a2532 !important;
    font-weight: 600;

    transform: none !important;
    margin: 0 !important;

    display: block;
    text-align: center;
}
	
.nav {
    padding: 15px 20px;
}

/* Dropdown Menü */
.nav-center {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;

    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(8px);

    display: none;
    padding: 25px 0;
    gap: 20px;
    text-align: center;
}

.nav-center a {
    color: #3E6470;
    font-size: 18px;
}

.nav-center.active {
    display: flex;
}

/* Desktop Buttons ausblenden */
.nav-right a{
    display: none;
}

/* Burger anzeigen */
.burger {
    display: flex;
}

}

/* burger */
.burger{
    display: none;
    flex-direction:column;
    cursor:pointer;
}

.burger span{
    width:25px;
    height:3px;
    background:#3E6470;
    margin:4px 0;
}

.mobile-only{
    display:none;
}

.nav {
  position: relative;
}

@media (max-width:800px){

/* FIX 1: Header korrekt */
.header{
  top: 0;
}

/* FIX 2: Bezugspunkt setzen */
.nav{
  position: relative;
}

/* FIX 3: Menü sauber positionieren */
.nav-center{
  position: absolute;
  top: calc(100% + 15px);
  left: 0;
  right: 0;

  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);

  display: none;
  flex-direction: column;
  padding: 25px 0;
  gap: 20px;
  text-align: center;
}

/* Aktiv Zustand */
.nav-center.active{
  display: flex;
}

/* Burger */
.burger{
  display:flex;
}

.mobile-only{
  display:block;
}

/* Desktop Buttons ausblenden */
.nav-right a{
  display:none;
}

}
/* Parallax Images */
.bgimg-1{
    position: relative;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    background-attachment: fixed;
    min-height: 45vh;
}

/* Overlay einmal für alle */
.bgimg-1::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(255,255,255,0.35);
    pointer-events:none;
}

/* Bilder */
.bgimg-1.agb{
    background-image:url("../img/websitebilder/hintergrundbild1.jpg");
}

.bgimg-1.aktiv{
    background-image:url("../img/websitebilder/Hintergrundbild1.jpg");
}

.bgimg-1.buchen{
    background-image:url("../img/websitebilder/Wattpannorama1.jpg");
}

.bgimg-1.galerie{
    background-image:url("../img/websitebilder/Panorama2.jpg");
}

.bgimg-1.impressum{
    background-image:url("../img/websitebilder/Ferienhaus-Huegel2pano.jpg");
}

.bgimg-1.index{
    background-image:url("../img/websitebilder/Hintergrundbild1.jpg");
}

.bgimg-1.index-olbia {
	background-image:
	linear-gradient(rgba(255,255,255,0.40), rgba(255,255,255,0.40)),	
    url("../img/casa-olbia/websitebilder/olbia.jpg");
}
.bgimg-2 {
	background-image: url("../img/websitebilder/hintergrundbild raute.png");
    min-height: 300px;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.9;
}

/* Responsive: Parallax aus für Tablets & Smartphones */
@media (max-width: 1024px) {
    .bgimg-1, .bgimg-2 {
        background-attachment: scroll;    
		}
	}
/* Caption */
.caption {
    position: absolute;
    top: 40%;
    width: 100%;
    text-align: center;
    transform: translateY(-50%);
}

/* ===================== CAPTION RESPONSIVE POSITION ===================== */

/* Tablet */
@media (max-width: 1024px){
  .caption {
    top: 35%;
  }
}

/* GroÃƒÅ¸es Mobile */
@media (max-width: 800px){
  .caption {
    top: 25%;
  }
}

/* Normales Mobile */
@media (max-width: 600px){
  .caption {
    display: none;
  }
}

.border.transparent {
    background-color: transparent;
    color: #f7f7f7;
	padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
	z-index: 9999;
}
.feel-good {
    background-color: transparent;
    color: rgba(66, 64, 58, 0.7); /* 0.5 = 50% transparent */
	padding: 18px;
    font-size: 25px;
    letter-spacing: 10px;
  	animation: reveal 3s ease-out forwards;
}

@keyframes reveal {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
/* Content Sections */

/* ===================== FEEL-GOOD RESPONSIVE ===================== */

/* Tablet */
@media (max-width: 1024px){
  .feel-good {
    font-size: 22px;
    letter-spacing: 8px;
    transform: translateY(-60%);
  }
}

/* Großes Mobile */
@media (max-width: 800px){
  .feel-good {
    font-size: 20px;
    letter-spacing: 6px;
    transform: translateY(-70%);
  }
}

/* Normales Mobile */
@media (max-width: 600px){
  .feel-good {
    font-size: 18px;
    letter-spacing: 4px;
    transform: translateY(-80%);
  }
}

/* Kleines Mobile */
@media (max-width: 400px){
  .feel-good {
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1.4;
    transform: translateY(-90%);
  }
}

/* Sehr kleine Geräte */
@media (max-width: 320px){
  .feel-good {
    font-size: 14px;
    letter-spacing: 1px;
    transform: translateY(-100%);
  }
}

/* allgemein */
.content {
    padding: 50px 80px;

}
.content h3 {
    text-align: center;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #555;
}
.content.light {
    background-color: #fff;
    color: #555;
	z-index: 800;
}

/* ================= BOOKING IFRAME ================= */

.content.transparent iframe {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: calc(-100px); 
    width: 100%;
    max-width: 1100px;
    height: 100px;
    border: 0;
    z-index: 9000;
    pointer-events: auto;
	overflow-y: auto;
	display: none; /* ausgeschaltet nicht sichtbar */
}
.content.transparent {
  pointer-events: none; /* Container blockiert nichts */
}
.content.transparent iframe {
  pointer-events: auto; /* iframe selbst klickbar */
}

.content.bild {
  flex: 0.4;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  min-height: 300px;
  font-size: 16px;
  line-height: 1.3;
  color: #555;
  word-spacing: -0.05em;
}

.content.wetter {
  flex: 0.5;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
  min-height: 300px;
  font-size: 16px;
  line-height: 1.3;
  color: #555;
  word-spacing: -0.05em;
}
.content.bild.index {
  background-image: url("../img/websitebilder/warfthaus2.jpg");
}

.content.bild.index-olbia {
  background-image: url("../img/casa-olbia/websitebilder/Platzhalter.jpg");
}
.content.bild.impressum-olbia {
  background-image: url("");
}
.content.bild.agb-olbia {
  background-image: url("");
}
.content.bild.buchen-olbia {
  background-image: url("../img/casa-olbia/websitebilder/Platzhalter.jpg");

}
.content.text {
  position: relative;
  flex: 0.8;
  padding: 15px;
  font-size: 16px;
  line-height: 1.3;
  color: #555;
  z-index: 0;
}

/* ================= AKTIVITÄTEN TEXTBEREICH ================= */

.content.text.aktiv {
  max-width: 1500px;
  margin: 0 auto 60px auto;
  text-align: left;
  line-height: 1.65;
  font-size: 16px;
  color: #555;
}

.content.text.aktiv p{
  margin-bottom: 14px;
}

/* ================= WILLKOMMEN / CONTAINER ================= */

.container {
    display: flex;
    width: 100%;
    gap: 20px;
    padding: 10px;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 0 auto;
}

/* transparenter Layer (nur visuell) */
.container.transparent {
    position: relative;        /* Referenz für iframe */
    width: 100%;
    min-height: 300px;
    padding-bottom: 120px;

    background: transparent;
    box-shadow: none !important;

    z-index: 7000;
    pointer-events: none;      /* blockiert keine Klicks */
}

/* Container Fix für Galerie */
.container {
  display: flex;
  flex-wrap: wrap; /* wichtig! */
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media (max-width: 1024px) {
    .content.transparent iframe {
        max-width: 900px;
        height: 220px;
        bottom: calc(-220px + 60px - 80px);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .content.transparent iframe {
        max-width: 100%;
        height: 180px;
        bottom: calc(-180px + 50px - 60px);
    }
}

/* Sehr klein */
@media (max-width: 480px) {
    .content.transparent iframe {
        height: 140px;
        bottom: calc(-140px + 40px - 50px);
    }
}

@media (max-width: 600px){

  .container {
    flex-direction: column;   /*Elemente untereinander */
  }

  .content.bild,
  .content.text {
    flex: 100%;              /* volle Breite */
    width: 100%;
  }

}
/*Willkommen ende*/

/*Footer*/
.site-footer {
  background: #4A666F;
  color: #fff;
  font-size: 14px;
  padding: 12px 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 60px 1fr 1fr;
  align-items: center;
}
.footer-social {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.footer-social img {
  width: 40px;
  height: 40px;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
.footer-social img:hover {
  opacity: 1;
}

.footer-links,
.footer-legal {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}
.footer-links a,
.footer-legal a {
  color: #fff;
  text-decoration: none;
  opacity: 0.8;
  justify-content: center;
  }

.footer-links a:hover,
.footer-legal a:hover {
  opacity: 1;
}
/* Responsive */
@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
}
.footer-links a:not(:last-child)::after {
    content: " |";
    margin: 0 0.75rem;
}

/* ===== Back to Top Button ===== */
#backToTop{
  position: fixed;
  right: 30px;
  bottom: 30%;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #22383E;
  color: #fff;

  border: none;
  outline: none;
  box-shadow: none;

  font-size: 20px;
  cursor: pointer;

  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;
  transform:translateY(15px);

  z-index:2000;

  transition:opacity .35s ease, transform .35s ease;
}

/* sichtbar */
#backToTop.show{
  opacity:1;
  transform:translateY(0);
}

#backToTop:hover{
  transform:translateY(-5px);
}
#backToTop i {
  font-size: 20px;
  line-height: 1;
}
#backToTop svg{
  width:35px;
  height:40px;
  transform: translateY(-3px);
}
#backToTop svg path{
  stroke-width:2.0;
}
/*============================================= ALLGEMEIN ENDE ==================================================*/


/*================================================ INDEX ========================================================*/
.button-wrapper {
  margin-top: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #4A666F;
  color: #ffffff;
  transition: background-color 0.3s ease, transform 0.2s ease;

  /* Text */
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;

  /* Form */
  border-radius: 3px;
  border: none;
  outline: none;
  box-shadow: none;

}

/* Hover */
.btn:hover {
  background-color: #3E6470;
  transform: translateY(-2px);
}

.btn:focus,
.btn:focus-visible {
  outline: none;
  box-shadow: none;
}

.title {
  text-align: center;
}

.iframe-tide{
  position: relative;
  width: 100%;
  margin: 0 auto;
  aspect-ratio: 5 / 3;
}

.iframe-tide iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* ================= AUSSTATTUNG POPUP ================= */

/* Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* aktiv */
.modal-overlay.active {
  display: flex;
  position: fixed;
}

/* Modal Box */
.modal {
  background: #ffffff;
  width: 90%;
  max-width: 950px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 30px 34px;
  position: relative;
  color: #29393E;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #29393E;
}

/* Titel */
.modal h2 {
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 4px;
  font-size: 22px;
  color: #111;
}


/* ================= AUSSTATTUNG LISTE ================= */

.ausstattung-list {
  font-size: 14px;
  line-height: 1.3;
}

/* Überschriften */
.ausstattung-headline {
  padding-top: 2rem; 
  margin-top: 0;
  margin-bottom: 0.2rem;


  font-size: 13px;
  letter-spacing: 2px;
  text-decoration: underline;
  text-transform: uppercase;
  color: #3E6470;
  text-align: left;
}


/* Listen */
.ausstattung-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ausstattung-items li {
  padding: 4px 0;
  color: #333;
}

/* ===== Zweispaltige Aufbau ===== */
@media (min-width: 768px) {
  .ausstattung-list.struktur {
    column-count: 2;
    column-gap: 60px;
  }

  .ausstattung-list.struktur h3,
  .ausstattung-list.struktur ul {
    break-inside: avoid;
  }
}

/* ===== Mobile ===== */
@media (max-width: 767px) {
  .modal {
    padding: 24px 20px;
  }

  .modal h2 {
    font-size: 20px;
  }
}
/* Kategorie-Blöcke dürfen nicht umbrechen */
.ausstattung-block {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
}
/* ===== Icon + Haken + Text - größere Abstände ===== */

.ausstattung-items li {
  padding-left: 70px; 
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.5;
  padding: 8px 0;
}

/* Haupt-Icon */
.ausstattung-items li i {
  position: relative;
  font-size: 20px;             /* Icon größe */
  color: #3E6470;
  min-width: 26px;
  margin-right: 26px;          /*Abstand Icon - Textblock */
  text-align: center;
}

/* Haken zwischen Icon & Text */
.ausstattung-items li i {
  font-size: 20px;
  color: #22383E;
  min-width: 26px;
  text-align: center;
  margin-right: 40px;   /* Abstand Icon - Haken */
}

/* Haken */
.ausstattung-items li .check {
  color: #3E6470;
  font-weight: 600;
  margin-right: 10px;   /* Abstand Haken - Text  */
  flex-shrink: 0;
}

/*================================================ GALERIE ======================================================*/

/* ===== Tabs ===== */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem auto;
  width: fit-content;
  max-width: 500px;
  justify-content: center;
}

.gallery-tabs button {
  background: transparent;
  border: none;
  border-radius: 3px;
  padding: .5rem .9rem;
  cursor: pointer;
  color: #3E6470;
  font-size: 16px;
  transition: background .3s, color .3s;
  white-space: nowrap;
}

.gallery-tabs button:hover,
.gallery-tabs button.active {
  background: #3E6470;
  color: #fff;
}

/* ===== Grid ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  padding: 0 1.5rem 3rem;
  width: 100%;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-grid.fade {
  opacity: 0;
  transform: scale(0.98);
}

/* ===== Bilder ===== */
.gallery-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;

  opacity: 0;
  transform: scale(.96);
  animation: fadeIn .45s ease forwards;

  transition: transform .3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* ===== Mobile Tabs Fix ===== */
@media (max-width: 400px){

  .gallery-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    padding: 0 15px;
  }

  .gallery-tabs button {
    width: 100%;
    text-align: center;
  }

}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  touch-action: none;
}

.lightbox.active {
  display: flex;
}

/* ===== Lightbox Bild (FIXED) ===== */
.lightbox img {
  max-width: 90%;
  max-height: 90%;

  transform: scale(1);
  transform-origin: center center;

  cursor: zoom-in;
  transition: transform 0.25s ease;

  touch-action: none;
  will-change: transform;

  user-select: none;
  -webkit-user-drag: none;
}

/* ===== Buttons ===== */
.lightbox button {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

.lightbox-close {
  top: 1rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 2rem;
}

.lightbox-next {
  right: 2rem;
}

/* ===== Zoom aktiv ===== */
.lightbox img.zoomed {
  cursor: grab;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/*============================================== GALERIE ENDE ===================================================*/

/*============================================= AKTIVITAETEN ====================================================*/

.map-layout{
display:grid;
grid-template-columns:420px 1fr;
gap:40px;
align-items:start;
}

.map-container{
position: sticky;
top:110px;
align-self:start;
}

/* Map */
#map{
width:100%;
height:calc(100vh - 200px);
z-index:10;
}

/* Mobile */
@media (max-width:800px){

.map-layout{
grid-template-columns:1fr;
}

#map{
position:relative;
height:50vh;
top:0;
}

}
/* =====================
   MAP UX HINT
===================== */

.map-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.1);

  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 24px;

  pointer-events: none;
  z-index: 5000;
  white-space: nowrap;

  opacity: 0;
  transition: opacity 0.25s ease;
}

#map:hover .map-hint {
  opacity: 1;
}

#map.user-interacting .map-hint {
  opacity: 0 !important;
}

@media (hover: none) {
  .map-hint {
    display: none;
  }
}

/* =====================
   ZOOM CONTROL AUTO HIDE
===================== */
.leaflet-control-zoom {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.leaflet-control-zoom.zoom-hidden {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.marker-hover-tooltip {
  background: rgba(255,255,255,0.95);
  color: #222;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  border: none;
}

/* =====================
   MARKER HOVER TOOLTIP 
===================== */
.leaflet-tooltip.marker-hover-tooltip {
  max-width: 260px;
  min-width: 160px;

  white-space: normal !important; 
  word-break: normal;          
  overflow-wrap: break-word;     

  font-size: 13px;
  line-height: 1.4;
  text-align: left;

  padding: 6px 10px;
}

/* =====================
   MARKERLISTE
===================== */
#markerList {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 40px;
  margin-top: 25px;
  align-items: start;
}

/* Kategorie Block */
.marker-category {
  margin-bottom: 16px;
  break-inside: avoid;
}

/* HEADER */
.marker-category-header {
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  border-bottom: 1px solid #e2e2e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.marker-category-header:hover {
  color: #3E6470;
}

/* Inaktive Kategorie */
.marker-category-header.inactive {
  text-decoration: line-through;
  opacity: 0.5;
}

/* Pfeil */
.cat-arrow {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.marker-category-header.inactive .cat-arrow {
  transform: rotate(-90deg);
}

/* LISTE */
.marker-category-list {
  padding: 6px 0 6px 14px;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
}
/* MARKER ITEM */
.marker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  font-size: 13px;
  transition: color 0.2s ease;
}

.marker-item:hover {
  color: #3E6470;
  font-weight: 600;
}

/* Marker Farbpunkt */
.marker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* =====================
   POPUP STYLES
===================== */
.popup-info {
  margin-top: 6px;
}

.popup-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.4;
}

.popup-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  margin-top: 2px;
  flex-shrink: 0;
}

.popup-shorttext {
  font-style: italic;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 1024px) {
  #markerList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  #markerList {
    grid-template-columns: 1fr;
  }
}
/*==========================================  AKTIVITAETEN ENDE =================================================*/


/*================================================ KONTAKT ======================================================*/
.bgimg-2.googlemap-olbia iframe, .bgimg-2.googlemap iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}
/*============================================  KONTAKT ENDE ====================================================*/ 

/* ===================== RESPONSIVE FEINJUSTIERUNG ===================== */

/* Tablet */
@media (max-width: 1024px){
  .content {
    padding: 40px 40px;
  }

  .container {
    gap: 15px;
  }
}

/* GroÃŸes Mobile */
@media (max-width: 800px){
  .content {
    padding: 30px 25px;
  }

  .nav-center a {
    font-size: 17px;
  }
}

/* Normales Mobile */
@media (max-width: 600px){
  .content {
    padding: 20px 18px; /*  etwas reduziert */
  }

  h3 {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .container {
    gap: 10px;
  }

  .warfthues, .olbia {
    font-size: 12px;
  }
}

/* Kleines Mobile (HIER IST DEIN FIX) */
@media (max-width: 400px){

  .content {
    padding: 8px 15px; /*  DEUTLICH weniger Abstand */
  }

  h3 {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .nav {
    padding: 12px 15px;
  }

  .warfthues, .olbia {
    display: block;
    margin: 5px 0;
    text-align: center;
  }

  .content.text {
    font-size: 14px;
    line-height: 1.4;
  }

  .container {
    gap: 8px; /*  weniger Abstand Bild/Text */
  }

  /* HERO */
  .bgimg-1 {
    min-height: auto;
    height: 30vh;
    background-size: cover;
  }

  .bgimg-1::before {
    display: block;
    background: rgba(255,255,255,0.35);
  }

  .container.transparent {
    min-height: 0 !important;
    padding-bottom: 0 !important;
    height: auto !important;
  }

  .content.transparent iframe {
    display: none !important;
  }

  .bgimg-1 + .content {
    margin-top: 10px;
  }

  .site-footer {
    padding: 8px 0;
  }
}

/* Sehr kleine GerÃ¤te */
@media (max-width: 320px){
  .content {
    padding: 6px 12px; /*  noch kompakter */
  }

  h3 {
    font-size: 14px;
  }

  .container {
    gap: 6px;
  }
}

@media (max-width: 400px){

  .container {
    align-items: flex-start; /* Bild + Text oben ausrichten */
  }

  .content.bild {
    background-position: left top; /* Bild nach oben ziehen */
  }

}
/* ===== FOOTER MOBILE FIX ===== */
@media (max-width: 400px){

  .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-links,
  .footer-legal {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-links a:not(:last-child)::after {
    content: "|";
    margin: 0 6px;
  }
}

.footer-legal {
  opacity: 0.8;
  letter-spacing: 0.5px;
}

.footer-legal:hover {
  opacity: 1;
}

@media (max-width: 600px) {
  .footer-legal {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .footer-legal {
    font-size: 11px;
  }
}

/* ===== Landscape ===== */
@media (max-width: 800px), (orientation: landscape) and (max-height: 500px){
  .lightbox-prev,
  .lightbox-next {
    display: none;
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .bgimg-1 {
    background-size: cover;
    background-position: center;
  }
}
/* ===== Responsive back to Top ===== */
@media (max-width: 768px){
  #backToTop{
    right: 15px;       
    bottom: 20%;      
    width: 45px;   
	height: 45px;
    font-size: 16px;
  }

  #backToTop svg{
    width: 25px;
    height: 28px;
  }
}

@media (max-width: 480px){
  #backToTop{
    right: 10px;
    width: 40px;
    height: 40px;
  }

  #backToTop svg{
    width: 22px;
    height: 24px;
  }
}


/* iframewetter*/
.iframewetter#cont_93e1092d218869570d5ea8bc432cb663{
    position: center;
	overflow: hidden;
	width:666px!important;
	}

	@media (max-width: 1200px)
	{.iframewetter#cont_93e1092d218869570d5ea8bc432cb663{
	position: center;
	overflow: hidden;
	width:535px!important;
	}
	
	@media (max-width: 800px)
	{.iframewetter#cont_93e1092d218869570d5ea8bc432cb663{
	position: center;
	overflow: hidden;
	width:420px!important;
	}
	
	@media (max-width: 770px)
	{.iframewetter#cont_93e1092d218869570d5ea8bc432cb663{
	position: center;
	overflow: hidden;
	width:430px!important;
	}
		
	@media (max-width: 550px)
	{.iframewetter#cont_93e1092d218869570d5ea8bc432cb663{
	position: center;
	overflow: hidden;
	width:220px!important;
	}
	}
	}
    }
    }
