/* ================================================================
   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
   ================================================================ */

/* ZimmerSoftware tableWrap-Rahmen entfernen (nur ohne .dFlex) */
html body div.tableWrap:not(.dFlex) {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
  margin-bottom: 30px !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -moz-box-shadow: none !important;
  border-radius: 0 !important;
}

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

.anreise-wrap * {
  box-sizing: border-box;
}

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

.anreise-grid {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.anreise-text {
  flex: 1;
}

.anreise-text h2 {
  margin-bottom: 24px;
}

.anreise-block {
  margin-bottom: 28px;
}

.anreise-block h3 {
  margin-bottom: 6px;
  font-size: 1.1em;
  font-weight: 600;
}

.anreise-block p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.anreise-block ul {
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.6;
}

.anreise-map {
  flex: 1;
  min-height: 420px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.anreise-map iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 768px) {
  .anreise-grid {
    flex-direction: column;
  }

  .anreise-map {
    height: 300px;
  }
}

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

.ausflug-wrap h1 {
  font-size: 1.6em;
  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: 1.6em;
  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;
  text-decoration: none;
  color: inherit;
  display: block;
}

.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;
}


/* ================================================================
   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%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #000;
  display: block;
  flex-shrink: 0;
}

#thumbs img {
  flex: 0 0 calc(10% - 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; }

/* ================================================================
   7. ÜBER-UNS-SEITE
   ================================================================ */

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

.ueber-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 0 50px;
  font-family: Arial, Helvetica, sans-serif;
  color: #2d2d2d;
  line-height: 1.7;
}

/* KARTEN */
.ueber-wrap .ueber-karten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 50px;
}

.ueber-wrap .ueber-karte {
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 10px;
  padding: 24px 18px;
  text-align: center;
}

.ueber-wrap .ueber-karte-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.ueber-wrap .ueber-karte-titel {
  font-size: 0.95em;
  font-weight: 700;
  color: #2a4a35;
  margin-bottom: 8px;
}

.ueber-wrap .ueber-karte-text {
  font-size: 0.82em;
  color: #666;
  line-height: 1.55;
}

/* SPLIT */
.ueber-wrap .ueber-split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ueber-wrap .ueber-split-reverse {
  flex-direction: row-reverse;
}

.ueber-wrap .ueber-split-bild {
  flex: 1;
  min-width: 260px;
}

.ueber-wrap .ueber-split-bild img {
  width: 100%;
  border-radius: 8px;
  display: block;
}

.ueber-wrap .ueber-split-text {
  flex: 1.5;
  min-width: 280px;
}

.ueber-wrap .ueber-split-text h2 {
  font-size: 1.6em;
  color: #2a4a35;
  margin-bottom: 16px;
  font-weight: 700;
}

.ueber-wrap .ueber-split-text p {
  font-size: 0.92em;
  color: #444;
  margin-bottom: 12px;
}

.ueber-wrap .ueber-bildunterschrift {
  font-size: 0.82em;
  color: #888;
  text-align: center;
  margin-top: 8px;
}

/* LISTE */
.ueber-wrap .ueber-liste {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.ueber-wrap .ueber-liste li {
  font-size: 0.92em;
  color: #444;
  padding: 6px 0;
  border-bottom: 1px solid #f0ece6;
}

/* HR */
.ueber-wrap .ueber-hr {
  border: none;
  border-top: 1px solid #e5e0d8;
  margin: 40px 0;
}

/* BOTTOM GRID */
.ueber-wrap .ueber-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}

.ueber-wrap .ueber-award,
.ueber-wrap .ueber-volleyball {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ueber-wrap .ueber-award img {
  width: 100%;
  display: block;
  border-radius: 8px;
}

.ueber-wrap .ueber-volleyball .ueber-bild-stretch {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.ueber-wrap .ueber-volleyball .ueber-bild-stretch img {
  width: 100%;
  height: 376px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
}

.ueber-wrap .ueber-award-text h3,
.ueber-wrap .ueber-volleyball-text h3 {
  font-size: 1.05em;
  color: #2a4a35;
  margin-bottom: 8px;
  font-weight: 700;
}

.ueber-wrap .ueber-award-text p,
.ueber-wrap .ueber-volleyball-text p {
  font-size: 0.88em;
  color: #555;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .ueber-wrap .ueber-karten-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ueber-wrap .ueber-split,
  .ueber-wrap .ueber-split-reverse {
    flex-direction: column;
  }
  .ueber-wrap .ueber-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ueber-wrap .ueber-karten-grid {
    grid-template-columns: 1fr;
  }
}