/* ==============================
   Hotel Bergerhof - CSS
   Farbschema: Gold (#d0aa69)
   ============================== */

/* Fonts werden im <head> mit preconnect geladen */

:root {
    --gold: #d0aa69;
    --gold-light: #e8d4a8;
    --gold-dark: #b8924e;
    --dark: #2c2c2c;
    --dark-overlay: rgba(44, 44, 44, 0.6);
    --light: #f8f6f2;
    --white: #fff;
}

html {
    overflow-x: hidden;
}

body {
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    color: var(--dark);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeSpeed;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
}

p, li, a {
    font-size: 1.1rem;
}

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--gold);
}

/* ==============================
   Layout: Sidebar + Main Content
   ============================== */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    margin-right: 280px;
}

/* ==============================
   Sidebar Navigation (rechts)
   ============================== */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-nav {
    padding: 0.5rem 1.5rem;
}

.sidebar-brand {
    margin-bottom: 0.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.sidebar-brand a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    align-items: center;
}
.sidebar-logo {
    max-width: 100%;
    height: auto;
}
.sidebar-slogan {
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-align: center;
    margin: 0.3rem 0 0;
    font-style: italic;
}

.brand-text {
    font-family: "Playfair Display", serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.brand-claim {
    font-size: 0.65rem;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.2rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-item {
    margin-bottom: 0.2rem;
}

.sidebar-link {
    display: block;
    padding: 0.4rem 0.8rem;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s, color 0.15s;
}

.sidebar-link:hover {
    background-color: var(--light);
    color: var(--dark);
}

.sidebar-link.aktiv {
    color: var(--gold-dark);
    font-weight: 600;
}

/* Submenü */
.sidebar-submenu {
    list-style: none;
    padding: 0.1rem 0 0.25rem 1.2rem;
    margin: 0;
    border-left: 2px solid var(--gold-light);
    margin-left: 0.8rem;
}

.sidebar-sublink {
    display: block;
    padding: 0.2rem 0.8rem;
    color: #555;
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s, color 0.15s;
}

.sidebar-sublink:hover {
    background-color: var(--light);
    color: var(--dark);
}

.sidebar-sublink.aktiv {
    color: var(--gold-dark);
    font-weight: 600;
}

/* Buchen CTA */
.sidebar-cta {
    background-color: var(--gold);
    color: var(--white) !important;
    text-align: center;
    font-weight: 600;
    margin-top: 1rem;
}

.sidebar-cta:hover {
    background-color: var(--gold-dark);
    color: var(--white) !important;
}

/* Mobile Toggle Button */
.sidebar-toggle {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.6rem 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.sidebar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--dark);
    transition: transform 0.2s, opacity 0.2s;
}

/* ==============================
   Hero Section
   ============================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--gold);
}

.hero-video,
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 2rem;
}

.hero-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.1s forwards;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.4s forwards;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-cta {
    display: inline-block;
    padding: 14px 40px;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.hero-cta:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   Hero Slideshow + Ken Burns
   ============================== */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    animation: heroZoomContinuous 20s ease-in-out infinite alternate;
}
.hero-slide:nth-child(even) img {
    animation-direction: alternate-reverse;
}

@keyframes heroZoomContinuous {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* ==============================
   Pillar Cards (Hotel, Restaurant, Alpengasthaus)
   ============================== */
.pillar-section {
    position: relative;
    z-index: 2;
    margin-top: -80px;
    padding: 0 2rem 3rem;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pillar-card {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    color: var(--white);
    border: 3px solid var(--gold);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.4s ease;
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    color: var(--white);
}

.pillar-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-card:hover .pillar-bg {
    transform: scale(1.08);
}

.pillar-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pillar-card:hover .pillar-bg-img {
    transform: scale(1.08);
}

.pillar-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 75%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.pillar-label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.pillar-content h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.pillar-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    margin: 0;
    line-height: 1.5;
}

.pillar-arrow {
    display: inline-block;
    margin-top: 0.8rem;
    font-size: 1.3rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pillar-card:hover .pillar-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Gestaffelte fade-in Animation */
.pillar-card.fade-in:nth-child(1) { transition-delay: 0s; }
.pillar-card.fade-in:nth-child(2) { transition-delay: 0.15s; }
.pillar-card.fade-in:nth-child(3) { transition-delay: 0.3s; }



/* ==============================
   Zimmer Cards
   ============================== */
.zimmer-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zimmer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.zimmer-img {
    height: 200px;
    transition: transform 0.5s ease;
}

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

.zimmer-info {
    padding: 1.2rem;
    background: var(--white);
}

.zimmer-info h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.1rem;
    margin: 0 0 0.3rem 0;
}

.zimmer-info p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

/* ==============================
   Zimmer Slideshow
   ============================== */
.zimmer-slideshow {
    position: relative;
}

.zimmer-slide {
    max-height: 533px;
    object-fit: contain;
    display: none;
}
.zimmer-slide.active {
    display: block;
}

.zimmer-slideshow-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.8rem;
}

.zimmer-prev,
.zimmer-next {
    background: var(--gold);
    color: var(--white);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zimmer-prev:hover,
.zimmer-next:hover {
    background: var(--gold-dark);
}

.zimmer-counter {
    font-size: 0.9rem;
    color: #666;
    min-width: 50px;
    text-align: center;
}

/* ==============================
   Team Cards
   ============================== */
.team-card {
    text-align: center;
    padding: 1.5rem;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.2rem;
    transition: transform 0.4s ease;
}

.team-card:hover .team-img {
    transform: scale(1.08);
}

.team-img-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.2rem;
    transition: transform 0.4s ease;
}

.team-img-wrap .team-img {
    margin: 0;
}

.team-img-wrap .team-img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.team-card:hover .team-img-wrap {
    transform: scale(1.08);
}

.team-card:hover .team-img-hover {
    opacity: 1;
}

.team-card h3 {
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    margin: 0 0 0.3rem 0;
}

.team-card p {
    font-size: 0.85rem;
    color: #777;
    margin: 0;
}

/* ==============================
   Inklusiv- & Nachhaltigkeits-Listen
   ============================== */
.inklusive-liste,
.nachhaltig-liste {
    list-style: none;
    padding: 0;
    margin: 0;
}

.inklusive-liste li,
.nachhaltig-liste li {
    position: relative;
    padding: 0.7rem 0 0.7rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1rem;
    line-height: 1.6;
}

.inklusive-liste li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
    font-size: 1.1rem;
}

.nachhaltig-liste li::before {
    content: '\25CF';
    position: absolute;
    left: 0;
    color: #6b8e5a;
    font-size: 0.7rem;
    top: 1rem;
}

.nachhaltig-liste.lieferanten li::before {
    content: '\25A0';
    color: var(--gold);
}

.lead {
    font-size: 1.2rem;
    font-weight: 300;
    color: #555;
    line-height: 1.7;
}

/* ==============================
   Page Hero (smaller, for subpages)
   ============================== */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero picture {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.page-hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero .hero-content h1 {
    font-size: 2.8rem;
}

.hero-photo-credit {
    position: absolute;
    bottom: 0.5rem;
    right: 0.75rem;
    z-index: 3;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.photo-credit {
    display: block;
    font-size: 0.65rem;
    color: var(--bs-secondary-color);
    margin-top: 0.15rem;
    text-align: right;
}

.page-hero-slim {
    height: auto;
    min-height: 0;
    padding: 2.5rem 0;
    background: var(--gold);
}
.page-hero-slim .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
}
.page-hero-slim .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

.page-hero-slideshow .hero-slideshow {
    position: absolute;
    inset: 0;
}

.wm-hero-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.wm-hero-logo {
    max-width: 400px;
    width: 60%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.wm-hero-logo-bergerhof {
    max-width: 240px;
    width: 38%;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

/* ==============================
   Sections
   ============================== */
.section {
    padding: 3.5rem 0;
}

.section-alt {
    background-color: var(--light);
}

.section-float-img {
    position: absolute;
    bottom: -130px;
    z-index: 10;
}
.section-float-img-right {
    right: 4%;
}
.section-float-img-left {
    left: 5%;
}
.section-float-img img {
    max-height: 260px;
    border: 3px solid #fff;
}


.section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold);
    margin-top: 0.8rem;
}

.section.text-center h2::after,
.section h2.text-center::after,
.text-center > h2::after,
.text-center h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* ==============================
   Bildergalerie
   ============================== */
.galerie-grid {
    columns: 4;
    column-gap: 12px;
}
.galerie-item {
    break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}
.galerie-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.galerie-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px;
}
.galerie-item:hover::after {
    opacity: 1;
}
.galerie-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* Lightbox */
.galerie-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.galerie-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.galerie-lightbox-content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 85vh;
}
.galerie-lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.galerie-lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    z-index: 2;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.galerie-lightbox-close:hover { opacity: 1; }
.galerie-lightbox-prev,
.galerie-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.8rem;
    padding: 12px 16px;
    cursor: pointer;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: all 0.2s;
}
.galerie-lightbox-prev:hover,
.galerie-lightbox-next:hover {
    background: rgba(208,170,105,0.3);
    border-color: var(--gold);
}
.galerie-lightbox-prev { left: 20px; }
.galerie-lightbox-next { right: 20px; }
.galerie-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* ==============================
   Preise
   ============================== */
.saison-card {
    background: var(--light);
    border: 1px solid #e0d5c0;
    border-radius: 8px;
    padding: 12px 16px;
    text-align: center;
    height: 100%;
}
.saison-card h3 {
    font-size: 0.95rem;
    color: var(--gold-dark);
    margin-bottom: 0.5rem;
}
.saison-card p {
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
}
.saison-card.saison-aktion {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(208,170,105,0.08), rgba(208,170,105,0.15));
}
.preise-table {
    border-collapse: separate;
    border-spacing: 0;
}
.preise-table thead th {
    background: var(--dark);
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 16px;
    border: none;
}
.preise-table thead th:first-child { border-radius: 8px 0 0 0; }
.preise-table thead th:last-child { border-radius: 0 8px 0 0; }
.preise-table tbody td {
    padding: 10px 16px;
    border-bottom: 1px solid #e0d5c0;
    font-size: 0.95rem;
}
.preise-table tbody tr:hover {
    background: rgba(208,170,105,0.08);
}
.preise-table tbody tr.no-border td {
    border-bottom: none;
}

/* ==============================
   Kontaktformular
   ============================== */
.kontakt-email-schutz {
    margin-top: 0.5rem;
}
.kontakt-email-btn {
    background: var(--gold);
    border: none;
    color: #fff;
    padding: 6px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}
.kontakt-email-btn:hover {
    background: var(--gold-dark);
}
.kontakt-card {
    background: #fff;
    border: 1px solid #e0d5c0;
    border-radius: 12px;
    padding: 32px;
}
.kontakt-header {
    margin-bottom: 1.5rem;
}
.kontakt-header p {
    color: #888;
}
.kontakt-form .form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}
.kontakt-form .form-control,
.kontakt-form .form-select {
    border: 1px solid #e0d5c0;
    border-radius: 6px;
    padding: 8px 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.kontakt-form .form-control:focus,
.kontakt-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(208,170,105,0.15);
}
.kontakt-datenschutz {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1rem;
}
.kontakt-datenschutz a {
    color: var(--gold-dark);
}
.kontakt-submit-btn {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 10px 32px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.2s;
}
.kontakt-submit-btn:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(208,170,105,0.3);
}


.section-centered h2::after {
    margin-left: auto;
    margin-right: auto;
}

.section h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.section p {
    line-height: 1.8;
    color: #555;
}

.section a {
    color: var(--gold-dark);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.section a:hover {
    border-bottom-color: var(--gold);
}

.section a.btn-gold,
.section a.btn-gold:hover {
    color: var(--white);
    border-bottom: none;
}

.section a.btn-gold-outline,
.section a.btn-gold-outline:hover {
    border-bottom: 2px solid var(--gold);
}

/* ==============================
   Feature Cards (Hotel, Restaurant, Alpengasthaus)
   ============================== */
.feature-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.feature-card:hover img {
    transform: scale(1.05);
}

.feature-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: var(--white);
}

.feature-card-overlay h3 {
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
}

.feature-card-overlay p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

/* ==============================
   Slogan / Parallax Sections
   ============================== */
.slogan-section {
    position: relative;
    padding: 5rem 0;
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--white);
}

@supports (-webkit-overflow-scrolling: touch) {
    /* iOS: keep scroll (no fixed support) */
}


.slogan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dark-overlay);
}

.slogan-gold {
    background-color: var(--gold);
}

.slogan-gold::before {
    background: none;
}

.slogan-gold h2,
.slogan-gold p {
    color: var(--white);
}

.slogan-gold h2::after {
    background-color: var(--white);
}

.slogan-section .slogan-content {
    position: relative;
    z-index: 1;
}

.slogan-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.slogan-section h2::after {
    background-color: var(--gold);
    margin-left: auto;
    margin-right: auto;
}

.slogan-section p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* ==============================
   Bildcollage
   ============================== */
.collage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 8px;
    grid-auto-flow: dense;
}

.collage-item {
    position: relative;
    overflow: visible;
    border-radius: 6px;
    cursor: pointer;
    z-index: 1;
}

.collage-item:hover {
    z-index: 10;
}

.collage-item.collage-wide { grid-column: span 2; }
.collage-item.collage-tall { grid-row: span 2; }
.collage-item.collage-large { grid-column: span 2; grid-row: span 2; }

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.collage-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.collage-item:hover img {
    transform: scale(1.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}




/* ==============================
   Buttons
   ============================== */
.btn-gold {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    min-width: 220px;
    transition: background-color 0.2s, transform 0.2s;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-gold-outline {
    display: inline-block;
    padding: 12px 32px;
    background-color: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    min-width: 220px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-gold-outline:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* ==============================
   Footer
   ============================== */
.footer-main {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-main h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-main p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
}

.footer-main a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
}

.footer-main a:hover {
    color: var(--gold);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
}

.footer-social {
    margin-top: 0.5rem;
}
.footer-social a {
    display: inline-block;
    margin-right: 0.8rem;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}
.footer-social a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 0;
}

.footer-bottom p {
    font-size: 0.8rem;
    text-align: right;
    margin: 0;
}

/* ==============================
   CTA Bar (fixed bottom)
   ============================== */
.cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(8px);
    border-top: 2px solid var(--gold);
    padding: 0.5rem 0;
}
.cta-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}
.cta-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}
.cta-bar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
}
.cta-bar-item i {
    font-size: 1.1rem;
}
.cta-bar-primary {
    background: var(--gold);
    color: #fff;
}
.cta-bar-primary:hover {
    background: var(--gold-dark);
    color: #fff;
}

/* Footer braucht Platz für CTA-Bar */
footer {
    padding-bottom: 3.5rem;
}

/* ==============================
   Scroll Animations
   ============================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Fallback: ohne JS alle fade-in Elemente sofort sichtbar */
.no-js .fade-in {
    opacity: 1;
    transform: none;
}

/* ==============================
   Responsive
   ============================== */
/* Tablet (max 991px) */

/* Tablet-Portrait (max 767px) */

/* Smartphone (max 575px) */

/* Language Switcher */
.sidebar-lang {
    padding: 1rem 1.2rem;
    border-top: 1px solid var(--gold-light);
    margin-top: 0.5rem;
}

.lang-switch {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--gold);
    border-radius: 4px;
    color: var(--gold-dark);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background-color 0.2s, color 0.2s;
}

.lang-switch:hover {
    background-color: var(--gold);
    color: var(--white);
}

/* ==============================
   Utility-Klassen (Inline-Style Ersatz)
   ============================== */
.img-rounded { width: 100%; height: auto; border-radius: 8px; }
.img-cover-450 { width: 100%; max-height: 450px; object-fit: cover; border-radius: 8px; }
.img-rounded-cover-450 { width: 100%; height: auto; max-height: 450px; object-fit: cover; border-radius: 8px; }
.img-cover-500-top { width: 100%; max-height: 500px; object-fit: cover; object-position: top; border-radius: 8px; }
.text-disclaimer { font-size: 0.85rem; color: #888; }
.social-icon-gold { font-size: 1.3rem; color: var(--gold); }
.iframe-borderless { border: 0; }
.map-wrap { border-radius: 8px; overflow: hidden; }
.list-plain { list-style: none; padding-left: 0; }
.honeypot { position: absolute; left: -9999px; }
.team-grad-1 { background: linear-gradient(135deg, #b8924e, #d0aa69); }
.team-grad-2 { background: linear-gradient(135deg, #8b7355, #c4a573); }
.team-grad-3 { background: linear-gradient(135deg, #6b8e5a, #8fb373); }
.team-grad-4 { background: linear-gradient(135deg, #5a7a8e, #7ab0c4); }

/* ==========================================================================
   Responsive Breakpoints (Bootstrap 5.3.3)
   Konsolidiert: alle Media Queries an einer Stelle
   ========================================================================== */

/* --- Below LG: < 992px (Tablets und kleiner) --- */
@media (max-width: 991.98px) {
    .pillar-section {
        margin-top: -40px;
        padding: 0 1rem 2rem;
    }

    .pillar-grid {
        gap: 1rem;
    }

    .pillar-content h3 {
        font-size: 1.1rem;
    }

    .pillar-content p {
        font-size: 0.75rem;
    }
    .section-float-img {
        display: none;
    }
    .galerie-grid { columns: 3; }
    .collage-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 150px;
    }
    .main-content { margin-right: 0; overflow-x: hidden; }

    .sidebar {
        right: -280px;
        transform: none;
        transition: right 0.3s ease, visibility 0s 0.3s;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        visibility: hidden;
    }

    .sidebar.open {
        right: 0;
        visibility: visible;
        transition: right 0.3s ease, visibility 0s 0s;
    }

    .sidebar-toggle {
        display: flex;
    }

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .page-hero .hero-content h1 { font-size: 2rem; }
    .page-hero-slim { padding: 2rem 0; }
    .page-hero-slim .hero-content h1 { font-size: 1.5rem; }
    .section { padding: 3rem 0; }
    .section h2 { font-size: 1.8rem; }
    .slogan-section { padding: 2.5rem 1.5rem; }
    .slogan-section h2 { font-size: 2rem; }
    .feature-card { height: 300px; }

    .cta-bar-item span { font-size: 0.8rem; }
    .cta-bar-inner { gap: 0.5rem; }

    .kontakt-info { margin-bottom: 2rem; }
}

/* --- Below MD: < 768px (Phones Landscape) --- */
@media (max-width: 767.98px) {
    .galerie-grid { columns: 2; }
    .hero { height: 60vh; min-height: 350px; }
    .hero-content h1 { font-size: 2.2rem; }
    .pillar-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .pillar-card { height: 280px; }

    .preise-table thead th,
    .preise-table tbody td { padding: 8px 10px; font-size: 0.85rem; }

    .cta-bar-inner { max-width: 100%; }

    footer .row > div { text-align: center; }
}

/* --- Below SM: < 576px (Phones Portrait) --- */
@media (max-width: 575.98px) {
    .pillar-section {
        margin-top: -30px;
    }

    .pillar-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pillar-section {
        padding: 0 0 1rem;
    }

    .pillar-card {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .pillar-content {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.05) 75%, transparent 100%);
    }

    .pillar-label {
        font-size: 1rem;
    }

    .pillar-content h3 {
        font-size: 1.4rem;
    }

    .pillar-content p {
        font-size: 0.9rem;
    }

    .pillar-bg-img {
        object-position: top center;
    }
    .galerie-grid { columns: 1; }
    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }
    .collage-item.collage-wide,
    .collage-item.collage-large { grid-column: span 1; }
    .collage-item.collage-tall,
    .collage-item.collage-large { grid-row: span 1; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content p { font-size: 1rem; }
    .page-hero { height: 40vh; min-height: 250px; }
    .page-hero-slim { height: auto; min-height: 0; padding: 1rem 1.5rem; }
    .page-hero-slim .hero-content h1 { font-size: 1.2rem; }
    .page-hero-slim .hero-content p { font-size: 0.8rem; }
    .section { padding: 1.25rem 0; }
    .section h2 { font-size: 1.5rem; margin-bottom: 0.8rem; }
    .section .row.g-5 { --bs-gutter-y: 1rem; }

    .btn-gold,
    .btn-gold-outline {
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 0.5rem;
    }

    .section > .container > .row > [class*="col-lg"] > picture {
        display: block;
        width: calc(100% + 24px);
        margin-left: -12px;
        margin-right: -12px;
        margin-top: -1.25rem;
        border-radius: 0 !important;
    }
    .section > .container > .row > [class*="col-lg"] > picture img {
        width: 100%;
        border-radius: 0 !important;
    }

    .feature-card { height: 250px; }
    .brand-text { font-size: 1.2rem; }

    .cta-bar { padding: 0.35rem 0; }
    .cta-bar-inner { max-width: 280px; gap: 0.4rem; padding: 0 0.5rem; }
    .cta-bar-item { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
    .cta-bar-item span { display: none; }
    .cta-bar-item i { font-size: 1.1rem; }
    .cta-bar-primary span { display: inline; }

    .kontakt-card { padding: 1rem; }
    .kontakt-form .row.g-3 > div { margin-bottom: 0.3rem; }

    .table-responsive {
        max-width: 100%;
        overflow-x: auto;
    }

    .preise-table thead th,
    .preise-table tbody td { padding: 6px 8px; font-size: 0.8rem; }
    .table-section-header td { font-size: 0.85rem; }
    .table-section-header small { font-size: 0.75rem; }

    .saison-card { padding: 10px 12px; }
    .saison-card h3 { font-size: 0.85rem; }
    .saison-card p { font-size: 0.8rem; }

    footer { padding-bottom: 4rem; }
    .footer-main { padding: 2rem 0; }
    .footer-main h4 { font-size: 1rem; }
    .footer-main p, .footer-links a { font-size: 0.85rem; }
}

/* --- LG+: >= 992px (Desktop) --- */
@media (min-width: 992px) {
    .slogan-section {
        background-attachment: fixed;
    }
}

/* --- SM: >= 576px --- */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pillar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .pillar-card {
        height: auto;
        aspect-ratio: 3 / 4;
    }
    .pillar-card:last-child {
        grid-column: 1 / -1;
        width: 50%;
        justify-self: center;
    }
}

/* --- MD: >= 768px --- */
@media (min-width: 768px) {

}

/* --- XL: >= 1200px --- */
@media (min-width: 1200px) {

}

/* --- XXL: >= 1400px --- */
@media (min-width: 1400px) {

}

