/* ===================================================
   🌿 Hoamatgfuehl Mauterndorf – Vollständiges Stylesheet
   =================================================== */

/* ---------------------------------------------------
   🧱 Grundstruktur & Farben
   --------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Nunito:wght@300;400;600&display=swap');

:root {
  --taupe: #F2EADF;
  --sand: #EAE3D7;
  --gruen: #54592A;
  --gruen-hell: #7C8C3F;
  --braun: #594A3C;
  --akzent: #A6998A;
  --hg-accent: #7c7a73;
}

/* ---------------------------------------------------
   🖋️ Typografie & Basislayout
   --------------------------------------------------- */
body {
  background: var(--taupe);
  color: var(--braun);
  font-family: 'Nunito', sans-serif;
  line-height: 1.7;
  margin: 0;
  scroll-behavior: smooth;
}

/* Für alle Browser */
body::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body {
  -ms-overflow-style: none;  /* Internet Explorer */
  scrollbar-width: none;     /* Firefox */
}


h1, h2 {
  font-family: 'Caveat', cursive;
  color: var(--gruen);
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.2;
  font-size: 2.5rem;
}

h2 span {
  display: block;
  line-height: 0;
}

p {
  font-size:1.2rem;
}

/* ---------------------------------------------------
   📍 Topbar (Kontaktleiste)
   --------------------------------------------------- */
.topbar {
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--taupe);
  border-bottom: 1px solid rgba(89,74,60,.15);
  z-index: 5;
  padding: 0.45rem 0;
}

.topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar a {
  color: var(--gruen);
  font-weight: 600;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--gruen-hell);
}

/* ---------------------------------------------------
   🧭 Navbar (Sticky Header)
   --------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  background: var(--taupe);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  opacity: 0;
  display: none;
  transform: translateY(-25px);
  transition: opacity .8s ease, transform .8s ease;
  z-index: 20;
}

.navbar.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.navbar-brand {
  font-family: 'Caveat', cursive;
  font-size: 1.8rem;
  color: var(--gruen) !important;
}

.nav-link {
  color: var(--braun) !important;
  font-weight: 600;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gruen) !important;
}

/* ---------------------------------------------------
   🏔 Hero Section
   --------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background: url('../img/hero.jpg') center 70% / cover no-repeat;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 50vw;
  min-width: 350px;
  transition: opacity .8s ease, transform .8s ease;
}

.hero-logo.hidden {
  opacity: 0;
  transform: translateY(-25px);
}

/* ---------------------------------------------------
   🎵 Hero Audio Button + Lauftext (angepasst)
   --------------------------------------------------- */
.hero-audio {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 10vh; /* weiter nach unten gerückt */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.audio-btn {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.6s ease;
}

.audio-btn img {
  width: 90px;
  height: auto;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.audio-btn:hover img {
  transform: scale(1.05);
  opacity: 1;
}

/* Lauftext unter dem Button */
.audio-info {
  margin-top: 14px;
  overflow: hidden;
  white-space: nowrap;
  width: 180px; /* schmaler unter dem Button */
  text-align: center;
  position: relative;
}

.audio-info a {
  text-decoration: none;
  color: var(--taupe);
  font-size: 1rem;
  font-weight: 500;
  display: inline-block;
}

/* sanfter, verzögerter Start + langsamer Lauftext */
.audio-marquee {
  display: inline-block;
  animation: marquee 16s linear infinite;
  animation-delay: 2s; /* startet nach kurzer Pause */
}

@keyframes marquee {
  0% { transform: translateX(0); }         /* Start sichtbar */
  10% { transform: translateX(0); }        /* kurze Pause */
  100% { transform: translateX(-120%); }   /* langsamer Lauf */
}

/* Ausblenden beim Scrollen */
.hero-audio.hidden {
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
}



/* ---------------------------------------------------
   ⬇️ Scroll Indicator
   --------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce 2.5s infinite ease-in-out;
}

.scroll-arrow {
  color: var(--taupe);
  font-size: 2rem;
  opacity: 0.9;
  transition: opacity .3s ease, transform .3s ease;
}

.scroll-arrow:hover {
  opacity: 1;
  transform: translateY(4px);
}

.scroll-arrow-img {
  width: 42px;
  height: auto;
  transform: rotate(-90deg); /* Pfeil nach unten */
  opacity: 0.9;
  transition: opacity .3s ease, transform .3s ease;
}

.scroll-indicator:hover .scroll-arrow-img {
  opacity: 1;
  transform: rotate(-90deg) translateX(4px); /* leichter Down-Hover */
}

@media (max-width: 768px) {
  .scroll-indicator {
    bottom: 12vh; /* statt 5vh – deutlich sicherer */
  }
}

@media (max-width: 480px) {
  .scroll-indicator {
    bottom: 16vh; /* sehr kleine Geräte – noch höher */
  }
}

/* iOS Safe-Area fix */
@supports (padding: env(safe-area-inset-bottom)) {
  .scroll-indicator {
    bottom: calc(12vh + env(safe-area-inset-bottom));
  }
}

/* ---------------------------------------------------
   🏡 Sektionen
   --------------------------------------------------- */
.section {
  padding: 130px 0;
  position: relative;
  overflow:hidden;
}

.section--taupe { background: var(--taupe); }
.section--sand { background: var(--sand); }

/* ---------------------------------------------------
   🌸 Deko-Elemente
   --------------------------------------------------- */
.deko {
  position: absolute;
  bottom: 20px;
  height: 60vh;
  width: 25vw;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;
  z-index:1;
}

.deko.links { left: -50px; }
.deko.rechts { right: -50px; }

/* ---------------------------------------------------
   🖼️ Bild & Text Layout
   --------------------------------------------------- */
.container-fluid {
  padding-left: 3rem;
  padding-right: 3rem;
}

.image-portrait {
  width: 100%;
  min-height: 720px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.text-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content.text-links {
  text-align: right;
  margin-right: 50px;
}

.text-content.text-rechts {
  text-align: left;
  margin-left: 50px;
}

.text-body, .text-willkommen {
  margin-top: 64px;
}

.text-willkommen p {
	font-size:1.3rem;
}

.willkommen-hl {
	margin-bottom:70px;
}

/* ---------------------------------------------------
   💬 Attraktionen
   --------------------------------------------------- */

/* Navigation exklusiv für den Attraktionen-Slider */
.swiper-nav-attractions {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
  padding: 0 4%; /* ← Positionierung der Pfeile NUR bei Attraktionen */
}

.swiper-nav-attractions button {
  pointer-events: all;
  background: none;
  border: none;
}

.swiper-nav-attractions img {
  width: 48px;
  height: auto;
  opacity: .9;
  transition: transform .3s ease;
}

.swiper-nav-attractions img:hover {
  transform: scale(1.1);
  opacity: 1;
}


/* ---------------------------------------------------
   💬 Flower Bullets
   --------------------------------------------------- */

/* Standard-Aufzählungszeichen ausblenden */
.flower-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Abstand & Position für die eigenen Bullets */
.flower-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.25rem;
}

/* Blume vor jedes Listenelement setzen */
.flower-list li::before {
  content: "❀"; /* oder "✿" / "✾" etc. */
  position: absolute;
  left: 0;
  top: 0.15rem;
  font-size: 1.1rem;
  line-height: 1;
  color: #7a9a4a; /* dein Hoamatgfuehl-Grün o.ä. */
}

/* ---------------------------------------------------
   💬 Buttons
   --------------------------------------------------- */
.btn-primary {
  background: var(--gruen-hell);
  border: none;
  color: var(--taupe);
  font-weight: 600;
  border-radius: 6px;
  padding: .7rem 1.6rem;
  transition: background-color .4s ease, transform .3s ease;
}

.btn-primary:hover {
  background: var(--gruen);
  transform: scale(1.03);
}

/* ---------------------------------------------------
   ✨ Animationen
   --------------------------------------------------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease-out, transform .9s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, 6px); }
  60% { transform: translate(-50%, 3px); }
}

/* ---------------------------------------------------
   ⚖️ Vertikale Abstände
   --------------------------------------------------- */
@media (min-width: 1600px) {
  .section {
    padding-top: 320px;
    padding-bottom: 320px;
  }
  #willkommen.section {
    padding-top: 30vh;
    padding-bottom: 30vh;
  }
  .image-portrait {
    min-height: 880px;
  }
  .container-fluid {
    padding-inline: 5rem;
  }
}

/* ---------------------------------------------------
   📱 Responsive
   --------------------------------------------------- */
@media (max-width: 992px) {
  .text-content {
    text-align: center !important;
    margin: 0 auto;
  }
  .container-fluid {
    padding-inline: 1.5rem;
  }
  .image-portrait {
    min-height: 480px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding-top: 35vh;
  }
  .hero-logo {
    width: 70vw;
    min-width: 260px;
  }
}

/* ---------------------------------------------------
   🦶 Footer
   --------------------------------------------------- */
footer {
  background: var(--akzent);
  color: var(--taupe);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem 0;
}

/* ---------------------------------------------------
   🎵 Floating Audio Button (fixed bottom right)
   --------------------------------------------------- */
.floating-audio-btn {
  position: fixed;
  bottom: 90px;   /* war 24px → jetzt über WhatsApp */
  right: 70px;     /* leicht eingerückt */
  z-index: 999;
  width: 72px;
  height: 72px;
  border: none;
  border-radius: 50%;
  background: rgba(84, 89, 42, 0.92);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.floating-audio-btn.visible {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.floating-audio-btn img {
  width: 38px;
  height: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.floating-audio-btn:hover img {
  transform: scale(1.1);
}

/* ---------------------------------------------------
   🎵 Floating Audio Button – Pulsierende Animation
   --------------------------------------------------- */
.floating-audio-btn.playing {
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(124, 140, 63, 0.5),
                0 0 25px rgba(124, 140, 63, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 25px rgba(124, 140, 63, 0.8),
                0 0 45px rgba(124, 140, 63, 0.5);
    transform: scale(1.05);
  }
}

/* ===========================
   💬 Floating WhatsApp Button (dominanter)
   =========================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;    /* unten, wie bisher Audio-Button */
  right: 24px; 
  width: 88px;                /* deutlich größer */
  height: 88px;
  z-index: 9999;
  border-radius: 50%;
  background: rgba(37,211,102,0.92); /* WhatsApp-Grün mit leichter Transparenz */
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.floating-whatsapp-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.floating-whatsapp-btn img {
  width: 90px;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  filter: none !important;        /* 🔸 Safari-Fix: keine Filter auf SVG */
  -webkit-filter: none !important;
}


.floating-whatsapp-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

.floating-whatsapp-btn:hover img {
  transform: scale(1.08);
}

/* 📱 Responsive kleiner auf Mobilgeräten */
@media (max-width: 768px) {
  .floating-whatsapp-btn {
    width: 72px;
    height: 72px;
    bottom: 90px;
    right: 16px;
  }
  .floating-whatsapp-btn img {
    width: 42px;
  }
}





/* ---------------------------------------------------
   🚫 Swiper-Default-Pfeile sauber deaktivieren
   --------------------------------------------------- */
/* Falls irgendwo doch .swiper-button-next/prev im Markup wären */
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after {
  content: none !important;
  display: none !important;
  background: none !important;
  mask: none !important;
  -webkit-mask: none !important;
}
/* Auch per CSS-Variablen auf 0/transparent setzen */
.swiper {
  --swiper-navigation-size: 0px;
  --swiper-theme-color: transparent;
}

/* ---------------------------------------------------
   🎞 Eigene Pfeile (hoamat-prev / hoamat-next)
   --------------------------------------------------- */
.swiper-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none; /* nur Buttons selbst klickbar */
}

.hoamat-prev,
.hoamat-next {
  position: absolute;
  top: 50%;
  width: 200px;
  height: 200px;
  background: none;
  border: none;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 15;
}

.hoamat-prev { left: 0px; }
.hoamat-next { right: 0px; }

.hoamat-prev img,
.hoamat-next img {
  width: 100px;
  height: auto;
  opacity: .85;
  transition: opacity .3s ease, transform .3s ease;
}

/* Hover – keine Spiegelung nötig, pfeil_re.svg zeigt bereits nach rechts */
.hoamat-prev:hover img,
.hoamat-next:hover img {
  opacity: 1;
  transform: scale(1.15);
}

/* ---------------------------------------------------
   📱 Responsive – Pfeile kompakt & über dem Slider
   --------------------------------------------------- */
@media (max-width: 992px) {
  .hoamat-prev,
  .hoamat-next {
    width: 80px;
    height: 80px;
    top: 10px;
    transform: none;
    background: rgba(84, 89, 42, 0.18);
    border-radius: 50%;
  }
  .hoamat-prev { left: 12px; }
  .hoamat-next { right: 12px; }

  .hoamat-prev img,
  .hoamat-next img {
    width: 32px;
    opacity: .9;
  }
}

@media (max-width: 576px) {
  .hoamat-prev,
  .hoamat-next {
    width: 64px;
    height: 64px;
    top: 8px;
    background: rgba(84, 89, 42, 0.22);
  }
  .hoamat-prev img,
  .hoamat-next img {
    width: 28px;
  }
}


/* ---------------------------------------------------
   📱 Responsive Anpassung – Mobile & Tablet
   --------------------------------------------------- */
@media (max-width: 992px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 80px;
    height: 80px;
    top: 10px;
    transform: none;
    background: rgba(84, 89, 42, 0.2);
    border-radius: 50%;
  }

  .swiper-button-prev {
    left: 12px;
  }

  .swiper-button-next {
    right: 12px;
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 32px;
    opacity: 0.9;
  }
}

@media (max-width: 576px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 64px;
    height: 64px;
    top: 8px;
    background: rgba(84, 89, 42, 0.25);
  }

  .swiper-button-prev img,
  .swiper-button-next img {
    width: 28px;
  }
}





/* ---------------------------------------------------
   📱 Responsive Optimierungen – Mobile & Tablet
   --------------------------------------------------- */

/* Tablet (bis 992px) */
@media (max-width: 992px) {
  .section {
    padding-top: 110px;
    padding-bottom: 110px;
  }

  .text-content {
    text-align: center !important;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .image-portrait {
    min-height: 480px;
  }

  .container-fluid {
    padding-inline: 1.5rem;
  }

  /* Deko-Elemente anpassen */
  .deko {
    width: 35vw;
    height: 50vh;
    opacity: 0.25;
  }

  /* Navbar-Korrektur */
  .navbar {
    top: 0;
  }
}

/* Mobile (bis 768px) */
@media (max-width: 768px) {
  /* Allgemeine Sektionen */
  .section {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  /* 1-Spaltiges Layout */
  .row.align-items-center {
    flex-direction: column !important;
  }

  /* Bild über Text */
  .image-portrait {
    min-height: 420px;
    margin-bottom: 2.5rem;
    background-position: center top;
  }

  /* Textblock mittig */
  .text-content {
    text-align: center !important;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 520px;
  }

  /* Alle zusätzlichen Layout-Abstände entfernen */
  .text-content.text-links,
  .text-content.text-rechts {
    margin: 0 !important;
  }

  /* Headlines kompakter */
  h2 {
    font-size: 2rem;
    line-height: 1.25;
  }

  /* Abstand Textkörper */
  .text-body {
    margin-top: 36px;
  }

  /* Hero-Logo & Audio */
  .hero-content {
    padding-top: 32vh;
  }

  .hero-logo {
    width: 75vw;
    min-width: 240px;
  }

  .hero-audio {
    margin-top: 8vh;
  }

  .audio-btn img {
    width: 72px;
  }

  .audio-info {
    width: 160px;
    font-size: 0.9rem;
  }

  /* Deko etwas kleiner und transparenter */
  .deko {
    opacity: 0.2;
    height: 40vh;
    width: 45vw;
  }

  .deko.links {
    left: -20px;
  }

  .deko.rechts {
    right: -20px;
  }

  /* Sticky Menü Korrektur */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    opacity: 1;
  }

  /* Topbar – nur Icons anzeigen */
  .topbar {
    font-size: 0.85rem;
    padding: 0.5rem 0;
  }

  .topbar .container {
    justify-content: center !important;
    gap: 1.2rem !important;
  }

  .topbar .topbar-item {
    white-space: nowrap;
  }

  .topbar .topbar-item a,
  .topbar .topbar-item {
    font-size: 0;
  }

  .topbar i {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0 0.3rem;
  }
}

/* Extra kleine Geräte (bis 480px) */
@media (max-width: 480px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .hero-content {
    padding-top: 36vh;
  }

  .image-portrait {
    min-height: 340px;
  }

  .deko {
    width: 50vw;
    height: 35vh;
    opacity: 0.15;
  }

  .topbar i {
    font-size: 1rem;
  }
}

.attractions-section {
  padding: 100px 0;
  background-color: #f9f9f6;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 50px;
  color: var(--green, #6b7d4d);
}

.attraction-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  height: 350px;
  transition: transform 0.4s ease;
  display: flex;
  align-items: center; /* zentriert vertikal */
  justify-content: center; /* zentriert horizontal */
}

.attraction-slide:hover {
  transform: scale(1.02);
}

.attraction-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  border-radius: 16px;
  transition: background 0.4s ease;
}

.attraction-slide:hover .attraction-overlay {
  background: rgba(0,0,0,0.45);
}

.attraction-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
  margin: 30px; /* Abstand innen */
}

.attraction-slide:hover .attraction-content {
  opacity: 1;
  transform: translateY(0);
}

.attraction-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.attraction-content p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.attraction-content .btn {
  font-size: 0.9rem;
  background-color: var(--green, #6b7d4d);
  border: none;
  color: #fff;
  border-radius: 30px;
  padding: 8px 18px;
  transition: background 0.3s ease;
}

.attraction-content .btn:hover {
  background-color: #56673f;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--green, #6b7d4d);
  transition: color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #455534;
}

/* --- 🩵 Fix: Transparente Swiper-Slides überblenden korrekt --- */
.swiper-fade .swiper-slide {
  pointer-events: none;
  opacity: 0 !important;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.swiper-fade .swiper-slide.swiper-slide-active {
  pointer-events: auto;
  opacity: 1 !important;
  visibility: visible;
  transition: opacity 0.6s ease, visibility 0s;
}

/* Sicherheitsfix: Unterdrückt Überlagerung durch stacking */
.swiper-fade .swiper-slide {
  z-index: 0;
}
.swiper-fade .swiper-slide.swiper-slide-active {
  z-index: 1;
}


/* ============================================
   🪶 Hoamatgfuehl Accordion – Stil angepasst an text-body
   ============================================ */
.accordion--clean {
  background: transparent;
  border: 0;
}

.accordion--clean .accordion-item {
  background: transparent;
  border: none;
}

/* Titel-Stil: wie kleine Überschrift, klar und ohne Hintergrund */
.accordion--clean .accordion-button {
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--gruen);
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 0;
  font-family: var(--font-body, 'Nunito', sans-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--braun);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color .3s ease;
}

.accordion--clean .accordion-button:hover {
  color: var(--gruen);
}

.accordion--clean .accordion-button:not(.collapsed) {
  color: var(--gruen);
  background: transparent;
  box-shadow: none;
}

/* Plus → Minus Symbol */
.accordion--clean .accordion-button::after {
  background-image: none;
  content: "+";
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gruen);
  transform: rotate(0deg);
  transition: transform .2s ease;
}

.accordion--clean .accordion-button:not(.collapsed)::after {
  content: "–";
}

/* Body-Container clean */
.accordion--clean .accordion-collapse {
  border: none;
  background: transparent;
}

/* Textstil wie .text-body */
.accordion--clean .accordion-body {
  background: transparent;
  border: none;
  padding: 1rem 0 0;
}

.accordion--clean .accordion-body p {
  font-family: var(--font-body, 'Nunito', sans-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* 🎛 Accordion Layout-Optimierung */
.accordion-section {
  padding-top: 0; /* entfernt Standardabstand */
  padding-bottom: 0;
}

.accordion-section + .accordion-section {
  margin-top: -20px; /* zieht die Accordion-Sektionen optisch zusammen */
}

/* Erster Accordion-Block nach einer "normalen" Sektion */
.section + .accordion-section {
  margin-top: 80px; /* Standardabstand zur vorherigen Sektion */
}

/* Letzter Accordion-Block vor einer normalen Sektion */
.accordion-section + .section {
  margin-top: 80px; /* Standardabstand zur nächsten Sektion */
}

/* Optional: Responsive leicht anpassen */
@media (min-width: 992px) {
  .section + .accordion-section,
  .accordion-section + .section {
    margin-top: 120px;
  }
}
/* =========================================
   Accordion – optisch zusammenhängender Block
   ========================================= */

/* Bootstrap Container-Polsterung für Accordion-Sektionen neutralisieren */
.accordion-section.container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Dichtes Zusammenrücken aufeinanderfolgender Accordions */
.accordion-section + .accordion-section.container {
  margin-top: -1.5rem !important; /* enger Abstand zwischen Accordions */
}

/* Abstand zur vorherigen/nächsten "normalen" Section */
.section + .accordion-section.container {
  margin-top: 5rem !important; /* Abstand wie andere Sektionen */
}
.accordion-section.container + .section {
  margin-top: 5rem !important;
}

/* Für größere Bildschirme etwas mehr Luft */
@media (min-width: 992px) {
  .section + .accordion-section.container,
  .accordion-section.container + .section {
    margin-top: 7rem !important;
  }
}

/* =========================================
   Accordion – mehr Luft im geöffneten Zustand
   ========================================= */
.accordion--clean .accordion-body {
  padding-bottom: 1.2rem; /* gleichmäßige Innenluft */
}

/* Abstand zum nächsten Accordion, wenn dieses geöffnet ist */
.accordion--clean .accordion-item:not(:last-child) .accordion-collapse.show {
  margin-bottom: 1.5rem; /* hebt den geöffneten Bereich leicht ab */
}

/* Optional etwas sanftere Übergänge beim Öffnen/Schließen */
.accordion--clean .accordion-collapse {
  transition: margin 0.3s ease, height 0.3s ease;
}

/* =====================================================
   Kontakt & Lage – neue, robuste Layout-Variante
   ===================================================== */

.kontakt-adresse p {
  margin: 0 0 8px 0;
  font-size: 1rem;
  line-height: 1.45;
}

.kontakt-adresse p i {
  margin-right: 8px;
  color: var(--braun, #594A3C);
}

.kontakt-adresse a {
  color: var(--braun, #594A3C);
  text-decoration: none;
}

.kontakt-adresse a:hover {
  text-decoration: underline;
}

/* WhatsApp Icon inline sauber */
.kontakt-adresse .wa-inline i {
  margin-left: 6px;
}

/* ============================================
   Rechtsbündige Variante
   ============================================ */
.kontakt-adresse--right {
  text-align: right;
}

.kontakt-adresse--right p i {
  margin-right: 0;
  margin-left: 8px;
}

.kontakt-adresse--right .wa-inline i {
  margin-left: 8px;
  margin-right: 0;
}



/* Kleingedrucktes – geringerer Zeilenabstand */
.text-content small,
.text-muted small {
  font-size: 0.9rem;
  line-height: 1.3;
  color: rgba(0, 0, 0, 0.6);
  display: block;
}

.text-content .text-muted {
  margin-top: 0.5rem;
}

/* Allgemeine Link-Formatierung */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover,
a:focus {
  color: var(--hg-accent, #7c7a73);
  text-decoration: none;
}

/* Responsives Feintuning */
@media (max-width: 991px) {
  .kontakt-adresse {
    margin-top: 1.5rem;
  }
}


/* ===========================================
   Kontakt & Lage – rechtsbündige Adresse
   =========================================== */

/* ganzer Block rechtsbündig */
.kontakt-adresse--right {
  text-align: right;
}

/* P-Element umdrehen: Icon rechts, Text links */
.kontakt-adresse--right p {
  justify-content: flex-end;
  flex-direction: row-reverse;   /* das ist der entscheidende Fix */
}

/* Icon-Abstand anpassen */
.kontakt-adresse--right p i {
  margin-left: 8px;
  margin-right: 0;
}

/* Link zweizeilig ohne Einrückung */
.kontakt-adresse--right p a {
  text-align: right;
  display: inline-block;
}

/* ============================================
   Mobile: Textbereiche mittig ausrichten
   ============================================ */
@media (max-width: 991px) {
  .text-content {
    text-align: center !important;
  }

  /* Kontaktblock mittig */
  .kontakt-adresse {
    text-align: center !important;
  }

  /* Icons mittig */
  .kontakt-adresse p i {
    margin-right: 6px;
    margin-left: 0;
  }

  /* zweite Zeile der Adresse mittig */
  .kontakt-adresse .address-line-2 {
    padding-left: 0;
    display: block;
    text-align: center !important;
  }

  /* WhatsApp Icon mittig sauber */
  .kontakt-adresse .wa-inline i {
    margin-left: 6px;
    margin-right: 0;
  }
}

/* ---------------------------------------
   📱 Responsive Anpassung Floating Buttons
----------------------------------------*/

/* Standard (Desktop bleibt unverändert) */
.floating-whatsapp-btn,
.floating-audio-btn {
  transition: bottom 0.3s ease;
}

/* Tablet & Mobile: Buttons weiter nach unten */
@media (max-width: 992px) {
  .floating-whatsapp-btn {
    bottom: 16px;   /* vorher z. B. 24 px */
  }
  .floating-audio-btn {
    bottom: 82px;   /* Abstand über WhatsApp */
  }
}

/* Sehr kleine Smartphones (z. B. iPhone SE, iPhone 11 Safari-Leiste) */
@media (max-width: 576px) {
  .floating-whatsapp-btn {
    bottom: 8px;    /* fast am Rand unten */
  }
  .floating-audio-btn {
    bottom: 68px;   /* leicht darüber */
  }
}

/* Optional – mehr Abstand bei Notch-Geräten (Sicherheitszone) */
@supports (padding: env(safe-area-inset-bottom)) {
  .floating-whatsapp-btn {
    bottom: calc(env(safe-area-inset-bottom) + 8px);
  }
  .floating-audio-btn {
    bottom: calc(env(safe-area-inset-bottom) + 68px);
  }
}

/* ---------------------------------------
   🎯 Floating Buttons – Scroll Hide / Show
   + zeitversetztes Einblenden
----------------------------------------*/

.floating-whatsapp-btn,
.floating-audio-btn {
  transition: opacity 0.4s ease, transform 0.4s ease, bottom 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  will-change: opacity, transform;
  z-index: 2000;
}

/* Verzögerungen beim Einblenden */
.floating-whatsapp-btn {
  transition-delay: 0ms;
}
.floating-audio-btn {
  transition-delay: 120ms;
}

/* Zustand beim Scroll↓ (ausblenden, nach unten gleiten) */
.floating-btn-hidden {
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition-delay: 0ms !important; /* kein Delay beim Ausblenden */
}

/* ---------------------------------------------------
   🎯 Gemeinsame Ein-/Ausblendlogik für Floating-Buttons
   --------------------------------------------------- */
.floating-audio-btn.floating-btn-hidden,
.floating-whatsapp-btn.floating-btn-hidden {
  opacity: 0;
  transform: translateY(120px);
  pointer-events: none;
}

/* ---------------------------------------------------
   📱 Mobile: Buttons unten nebeneinander
   --------------------------------------------------- */
@media (max-width: 768px) {
  .floating-whatsapp-btn {
    bottom: 16px;
    right: 16px;     /* WhatsApp ganz unten rechts */
  }

  .floating-audio-btn {
    bottom: 16px;
    right: 104px;    /* Audio-Button links daneben */
  }
}

.language-switch a {
  text-decoration: none;
  font-weight: 600;
  padding: 0 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* INAKTIVE Sprache → dunkles Grau */
.language-switch a:not(.active-lang) {
  color: rgba(0, 0, 0, 0.55); /* gut sichtbar auf Taupe */
  opacity: 0.8;
}

/* AKTIVE Sprache → Hoamatgfuehl-Grün */
.language-switch a.active-lang {
  color: #7fa27f;
  opacity: 1;
}

/* Hover für inaktive Sprache */
.language-switch a:not(.active-lang):hover {
  color: #7fa27f;
  opacity: 1;
}

/* Desktop & Mobile gemeinsame Styles */
.language-switch a,
.mobile-lang-switch a {
  text-decoration: none;
  font-weight: 600;
  padding: 0 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

/* INAKTIVE Sprache → dunkles Grau */
.language-switch a:not(.active-lang),
.mobile-lang-switch a:not(.active-lang) {
  color: rgba(0, 0, 0, 0.55);
  opacity: 0.8;
}

/* AKTIVE Sprache → Hoamatgfuehl-Grün */
.language-switch a.active-lang,
.mobile-lang-switch a.active-lang {
  color: #7fa27f;
  opacity: 1;
}

/* Hover */
.language-switch a:not(.active-lang):hover,
.mobile-lang-switch a:not(.active-lang):hover {
  color: #7fa27f;
  opacity: 1;
}

/* Mobile Icon Styling (angepasst an dein Design) */
.topbar-mobile-icon i {
  font-size: 1.2rem;
  color: #333;
}

/* Abstand & Layout Mobile */
.topbar-mobile {
  background: #e4dad1; /* deine Taupe-Farbe – falls anders: bitte sagen */
}

/* 🔧 FIX: DE/EN in mobiler TopBar sichtbar machen */
@media (max-width: 768px) {
  .topbar .language-switch a {
    font-size: 0.95rem !important;
    color: #7fa27f !important;  /* aktives Grün */
    opacity: 1;
    padding: 0 4px;
  }

  .topbar .language-switch span {
    font-size: 0.95rem !important;
    color: rgba(0,0,0,0.55) !important;
  }

  .topbar .language-switch a:not(.active-lang) {
    color: rgba(0, 0, 0, 0.55) !important; /* dunkles Grau */
    opacity: 0.85;
  }
}

/* ===================================================
   💳 Hero-Grafik (Scheckkarte)
   Nur Ergänzung – kollisionsfrei
   =================================================== */

/* Safety: Hero als Positionierungs-Kontext */
.hero {
  position: relative;
}

/* Wrapper für die Karte */
.hero-card {
  position: absolute;
  left: clamp(12px, 2vw, 28px);
  bottom: clamp(12px, 2vw, 28px);
  z-index: 5;

  /* Originalgröße: 500 × 329 px */
  width: clamp(160px, 22vw, 260px);

  transform: rotate(-10deg);
  transform-origin: 20% 80%;
  transition: transform 0.35s ease;
}

/* PNG mit Transparenz → drop-shadow statt box-shadow */
.hero-card img {
  width: 100%;
  height: auto;
  display: block;

  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
  transition: filter 0.35s ease;
}

/* Hover-Effekt */
.hero-card:hover {
  transform: rotate(-6deg) translateY(-4px);
}

.hero-card:hover img {
  filter: drop-shadow(0 22px 34px rgba(0, 0, 0, 0.38));
}

/* ---------------------------------------------------
   📱 Responsive Anpassungen
   --------------------------------------------------- */
@media (max-width: 768px) {
  .hero-card {
    width: clamp(140px, 34vw, 220px);
    bottom: 18vh; /* Abstand zu Scroll-Pfeil & Browser-UI */
    transform: rotate(-8deg);
  }
}

@media (max-width: 480px) {
  .hero-card {
    width: clamp(120px, 44vw, 190px);
    bottom: 20vh;
    left: 10px;
  }
}

/* Optional: sehr kleine Geräte → ausblenden */
@media (max-width: 360px) {
  .hero-card {
    display: none;
  }
}

/* iOS Safe-Area berücksichtigen */
@supports (padding: env(safe-area-inset-bottom)) {
  @media (max-width: 768px) {
    .hero-card {
      bottom: calc(18vh + env(safe-area-inset-bottom));
    }
  }
  @media (max-width: 480px) {
    .hero-card {
      bottom: calc(20vh + env(safe-area-inset-bottom));
    }
  }
}

/* ===================================================
   💳 Hero-Karte – Mobile Peek + Slide (FINAL)
   Ersetzt den bisherigen Mobile-Peek-Block
   =================================================== */

/* Link als Overlay über die Grafik (Desktop: bleibt deaktiviert, Aktivierung via JS möglich) */
.hero-card__link{
  position: absolute;
  inset: 0;
  z-index: 3;              /* immer über dem Bild */
  pointer-events: none;    /* wird erst im offenen Zustand aktiv */
}

/* Close-Button (default aus) */
.hero-card__close{
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 4;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 18px;
  line-height: 36px;
  cursor: pointer;
  display: none;
  -webkit-tap-highlight-color: transparent;
}

/* ----------------------------
   📱 Mobile Peek/Slide Verhalten
   ---------------------------- */
@media (max-width: 768px) {

  /* Karte: ins obere Drittel + ganz vorne + tappbar */
  .hero-card.hero-card--peek{
    position: absolute;
    top: 18vh;                 /* oberes Drittel */
    left: 0;                   /* wir peeken nach links raus */
    bottom: auto;

    z-index: 30;               /* über Hero-Overlay/Content/Scroll-Indikator */
    pointer-events: auto;
    cursor: pointer;

    /* Peek: nur halb sichtbar (links "rausgeschoben") */
    transform: translateX(-50%) rotate(-8deg);
    transform-origin: 20% 80%;
    transition: transform 0.35s ease;
    touch-action: manipulation;
  }

  /* Bild selbst soll keine Taps "schlucken" */
  .hero-card.hero-card--peek img{
    position: relative;
    z-index: 1;
    display: block;
    pointer-events: none;
  }

  /* Offen: Karte slidet vollständig ins Bild */
  .hero-card.hero-card--peek.is-open{
    transform: translateX(0) rotate(-6deg);
  }

  /* Link nur im offenen Zustand klickbar */
  .hero-card.hero-card--peek.is-open .hero-card__link{
    pointer-events: auto;
  }

  /* Close nur im offenen Zustand sichtbar */
  .hero-card.hero-card--peek.is-open .hero-card__close{
    display: block;
  }
	
	.hero-card__close{
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 4;

  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  color: #fff;

  /* ✅ perfekte Zentrierung (statt line-height) */
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;

  font-size: 20px;
  padding: 0;
  cursor: pointer;

  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;

  display: none; /* bleibt: nur in .is-open sichtbar */
}

	
	.hero-card__link{
  position: absolute;
  inset: 0;
  z-index: 3;

  /* iOS: kein Tap-Highlight, kein Background, keine Outlines */
  background: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;

  /* gegen „Rand“/Kante durch Compositing */
  transform: translateZ(0);
  backface-visibility: hidden;

  /* bleibt wie gehabt: erst offen klickbar */
  pointer-events: none;
}
	
	.hero-card{
  background: transparent;          /* falls irgendwo ein BG reinrutscht */
  -webkit-tap-highlight-color: transparent;
}