/* =========================================
   PAGE CONTENT
   ========================================= */

.page-content {
    overflow: hidden;
}

/* =========================================
   HERO
   ========================================= */

.hero {
    background-color: transparent;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 74.1vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--cream);
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    min-height: 50vh;
    background-position: center top;
  }
}

/* Sehr große Bildschirme */
@media (min-width: 1600px) {
  .hero {
    background-color: transparent;
    background-size: contain;
  }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    /*background: rgba(74, 55, 40, 0.35);*/ /* warmes Braun-Overlay */
    background: rgba(255, 255, 255, 0.10);
}

.hero-overlay {
  background: rgba(0,0,0,0.35);
  padding: 40px 0;
}

.hero-inner {
  max-width: 900px;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin: 10px 0 20px;
}

.hero h1 {
    font-size: 3rem;
    color: var(--cream);
}

.hero p {
    color: var(--beige);
    margin-bottom: 20px;
}

.hero-textbox {
  position: absolute;
  top: 7.5%;
  left: 6%;
  top: 3.7rem;
  left: calc(50% - 28rem);
  max-width: 520px;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 248, 238, 0.20); /* fast durchsichtig, creme */
  border-radius: 18px;
}

.hero-textbox h1 {
  margin: 0rem;
  font-family: "Great Vibes", cursive;
  font-size: 2.5rem;
  color: #4A3728;
}

.hero-textbox p {
  margin: 0;
  font-family: "Lora", serif;
  font-weight: 500;
  font-size: 1.0rem;
  line-height: 1.5;
  color: #4A3728;
}

/* =========================================
   ZIMMER – GRID
   ========================================= */

.zimmer-grid,
.zimmer-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 4.5rem 2rem;
    margin-top: 2rem;
	margin-bottom: 4rem;
}

/* =========================================
   ZIMMER – EINHEITLICHE KARTENSTRUKTUR
   ========================================= */

.zimmer-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #faf8f5;
    border: 1px solid #e5e0da;
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zimmer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* =========================================
   CONTENT (Titel + Beschreibung)
   ========================================= */

.zimmer-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.zimmer-content h3 {
    font-family: "Playfair Display", serif;
    margin: 0 0 0.6rem 0;
    color: var(--brown-dark);
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.zimmer-content p {
    margin: 0 0 1rem 0;
}

/* =========================================
   BILDERBEREICH (Bild unten)
   ========================================= */

.zimmer-bilder {
    height: 180px;
    margin: 1rem 0;
    border-radius: 6px;
    overflow: hidden;
}

.zimmer-bilder:empty {
    background: #eae7e2;
}

/* Galerie */
.zimmer-card-galerie {
    display: flex;
    gap: 8px;
}

.zimmer-card-galerie img {
    border-radius: 6px;
    border: 1px solid #e5e0da;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s ease;

    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.zimmer-card-galerie a:hover img {
    transform: scale(1.05);
}

/* =========================================
   FOOTER (Preis + Button IMMER unten)
   ========================================= */

.zimmer-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.zimmer-preis {
    font-size: 1.1rem;
    color: #6a5f55;
    font-weight: 600;
    margin: 0 0 0.4rem 0;
}

.zimmer-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: #d8c7b8;
    color: #3a2f28;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.zimmer-button:hover {
    background: #c9b7a7;
}

/* =========================================
   ALT-KLASSEN (für Kompatibilität)
   ========================================= */

.zimmer-eintrag {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #faf8f5;
    border: 1px solid #e5e0da;
    padding: 1.5rem;
    border-radius: 6px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.zimmer-eintrag:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.zimmer-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.zimmer-info a.button,
.zimmer-info .zimmer-button {
    margin-top: auto;
}

/* =========================================
   FREIZEIT-SEITE
   ========================================= */

.page-template-page-freizeit .container .page-content div {
    min-height: 140px;
}

/* =========================================
   SONSTIGE BILDER
   ========================================= */

.zimmer-bild img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.zimmer-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* =========================================
   Navigation auf den Zimmerseiten
   ========================================= */

.zimmer-nav-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
}


.zimmer-nav ul {
    display: inline-flex;
    gap: 0.6rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.zimmer-nav li {
    display: inline-block;
}

.zimmer-nav li a {
    display: inline-block;
    padding: 0.45rem 1rem;
    background: var(--cream);
    border: 1px solid #e5e0da;
    border-radius: 20px;
    text-decoration: none;
    color: var(--brown-dark);
    font-size: 0.95rem;
    white-space: nowrap;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: visible;
}

.zimmer-nav li a:hover {
    background: #e8e1da;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(124, 92, 69, 0.35); /* warmbrauner Glow */
}

.zimmer-nav li.active a {
    background: #d8c7b8;
    border-color: #c9b7a7;
    color: var(--brown-dark);
    font-weight: 600;
}

.zimmer-nav li a::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: -4px;
    height: 8px;
    background: linear-gradient(
        to right,
        rgba(200, 168, 130, 0),
        rgba(200, 168, 130, 0.8),
        rgba(200, 168, 130, 0)
    );
    filter: blur(8px);
    opacity: calc(var(--glow-opacity, 0.3) * var(--scroll-glow, 1));
    transition: opacity 0.2s ease;
    border-radius: 4px;
}

.zimmer-nav li a:hover::after {
    opacity: 1;
}

@keyframes pillPulse {
    0% { opacity: 0.6; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-1px); }
    100% { opacity: 0.6; transform: translateY(0); }
}

.zimmer-nav li.active a::after {
    animation: pillPulse 2.5s ease-in-out infinite;
}

.zimmer-nav {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0 0.5rem;
    border-bottom: 1px solid #e5e0da;
    position: relative;
	top: +4px;
}

.zimmer-nav::-webkit-scrollbar {
    display: none;
}

/* Pfeile */
.nav-arrow {
    position: absolute;
    top: calc(50% + 4px);
    transform: translateY(-50%);
	background: rgba(250, 248, 245, 0.85);
	backdrop-filter: blur(4px);
	border-radius: 6px;
    border: none;
    padding: 6px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    user-select: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow {
    opacity: 0.7;
    transition: opacity 0.5s ease;
    box-shadow: 0 0 calc(6px * var(--scroll-glow, 1)) rgba(216, 199, 184, 0.7);
    transition: box-shadow 0.2s ease, opacity 0.3s ease;
}

.nav-arrow.hidden {
    opacity: 0.25;
}

.nav-arrow:hover {
    opacity: 1;
}

.nav-arrow svg {
    width: 20px;
    height: 20px;
    color: #a89c90;
}

.nav-arrow.left {
    left: -20px;
}

.nav-arrow.right {
    right: -20px;
}

/* Fade shadows */
.zimmer-nav-fade-left,
.zimmer-nav-fade-right {
    position: absolute;
    top: 0;
    width: 40px;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.zimmer-nav-fade-left {
    left: 0;
    background: linear-gradient(to right, #faf8f5 0%, rgba(250,248,245,0) 100%);
}

.zimmer-nav-fade-right {
    right: 0;
    background: linear-gradient(to left, #faf8f5 0%, rgba(250,248,245,0) 100%);
}

