/* ================================================================
   ANDI'S BNB — custom.css
   ================================================================ */


/* ================================================================
   1. LOGO-STYLING
   ================================================================ */

.dBlock {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}


/* ================================================================
   2. KONTAKT-FOOTER
   ================================================================ */

.kontakt-footer {
  background-color: #1a7aaa;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  overflow-x: hidden !important;
}

.kontakt-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.kontakt-footer-item {
  flex: 1;
  min-width: 220px;
  padding: 10px 20px;
  color: #fff;
}

.kontakt-footer-item.border-right {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.kontakt-footer-item .icon {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.kontakt-footer-item .text {
  font-size: 0.95em;
  line-height: 1.7;
}

.kontakt-footer-item a {
  color: #fff;
  text-decoration: none;
}

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


/* ================================================================
   3. AUSFLÜGE-SEKTION
   ================================================================ */

.ausflug-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.ausflug-wrap {
  color: #2d2d2d;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.ausflug-wrap h1 {
  font-size: 2.2em;
  color: #2a4a35;
  margin-bottom: 8px;
  font-weight: 600;
}

.ausflug-wrap .intro {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.ausflug-wrap .kategorie {
  margin-bottom: 36px;
}

.ausflug-wrap .kategorie-titel {
  font-size: 1.25em;
  color: #2a4a35;
  border-left: 4px solid #8aad6e;
  padding-left: 12px;
  margin-bottom: 16px;
  font-weight: 600;
}

.ausflug-wrap .karten-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ausflug-wrap .karte {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 240px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.ausflug-wrap .karte:hover {
  box-shadow: 0 6px 24px rgba(42, 74, 53, 0.13);
  transform: translateY(-3px);
}

.ausflug-wrap .karte-bild-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a4a35 0%, #8aad6e 100%);
}

.ausflug-wrap .karte-bild-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ausflug-wrap .karte-bild-wrap .fallback-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  display: none;
}

.ausflug-wrap .karte-body {
  padding: 14px 16px 16px;
}

.ausflug-wrap .karte-name {
  font-size: 1.05em;
  color: #2a4a35;
  font-weight: 600;
  margin-bottom: 3px;
}

.ausflug-wrap .karte-ort {
  font-size: 0.78em;
  color: #888;
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ausflug-wrap .karte-beschreibung {
  font-size: 0.88em;
  color: #555;
  line-height: 1.55;
  font-weight: 300;
}

.ausflug-wrap .distanz-badge {
  display: inline-block;
  background: #e8f0e2;
  color: #2a4a35;
  font-size: 0.75em;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 10px;
  font-weight: 700;
}

.ausflug-wrap hr {
  border: none;
  border-top: 1px solid #e5e0d8;
  margin: 36px 0;
}


/* ================================================================
   4. RESTAURANTS-SEKTION
   ================================================================ */

.rest-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.rest-wrap {
  color: #2d2d2d;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

.rest-wrap h1 {
  font-size: 2.2em;
  color: #2a4a35;
  margin-bottom: 8px;
  font-weight: 600;
}

.rest-wrap .intro {
  font-size: 1.05em;
  color: #555;
  margin-bottom: 36px;
  font-weight: 300;
  line-height: 1.7;
}

.rest-wrap .karten-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.rest-wrap .karte {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  flex: 1 1 calc(33.333% - 16px);
  min-width: 240px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.rest-wrap .karte:hover {
  box-shadow: 0 6px 24px rgba(42, 74, 53, 0.13);
  transform: translateY(-3px);
}

.rest-wrap .karte-bild-wrap {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #2a4a35 0%, #8aad6e 100%);
}

.rest-wrap .karte-bild-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rest-wrap .karte-bild-wrap .fallback-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3em;
  display: none;
}

.rest-wrap .karte-body {
  padding: 14px 16px 16px;
}

.rest-wrap .karte-name {
  font-size: 1.05em;
  color: #2a4a35;
  font-weight: 600;
  margin-bottom: 3px;
}

.rest-wrap .karte-zeiten {
  font-size: 0.78em;
  color: #888;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.rest-wrap .distanz-badge {
  display: inline-block;
  background: #e8f0e2;
  color: #2a4a35;
  font-size: 0.75em;
  padding: 3px 9px;
  border-radius: 20px;
  margin-top: 6px;
  font-weight: 700;
}

.rest-wrap .karte-link {
  display: block;
  margin-top: 10px;
  font-size: 0.82em;
  color: #8aad6e;
  text-decoration: none;
  font-weight: 700;
}

.rest-wrap .karte-link:hover {
  color: #2a4a35;
  text-decoration: underline;
}


/* ================================================================
   5. RESPONSIVE (max-width: 680px)
   ================================================================ */

@media (max-width: 680px) {

  .ausflug-wrap .karte,
  .rest-wrap .karte {
    flex: 1 1 100%;
  }

  .ausflug-wrap h1,
  .rest-wrap h1 {
    font-size: 1.6em;
  }

  .kontakt-footer-item.border-right {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  }
}


/* ================================================================
   6. OVERFLOW FIX
   ================================================================ */

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
}

 #myGallery img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  #thumbs img {
    flex: 0 0 calc(20% - 6px);
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 3px;
  }
  #btnPrev, #btnNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 999;
    pointer-events: all;
  }
  #btnPrev { left: 15px; }
  #btnNext { right: 15px; }