/* ========== Modernized Style for Arbeiterhotel St. Joseph ========== */

/* ===== CSS VARIABLES ===== */
:root {
    /* Colors */
    --primary: #1e7ba6;
	
    --primary-dark: #BE201C;
    --primary-light: #e3f2f9;
    --accent: #BE201C;
    --accent-dark: #e85a28;
	--accent-red: #AC1D1A;	
	--accent-red-dark: #AC1D1A;	
	--opaqblack: rgba(21,90,125,0.6);
	
	--logorot:#BE201C;
	
    --bg-main: #219AD2;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    
    /* Spacing */
    --max-width: 1280px;
    --radius: 16px;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --container-pad: 60px;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Lato', 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
	background-image:url('bgnew.jpg');
	background-repeat:repeat-x;
   background-attachment: fixed;
   background-position: center bottom;
   background-size:cover;

}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-accent-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h1 span {
    display: block;
    font-size: 30px;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 0px;
	text-transform:uppercase;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
 
}

/* ===== UTILITY CLASSES ===== */
.sr-only {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.wrap {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Add extra spacing for specific sections */
.wrap + .wrap {
    padding-top: 2rem;
}

.nobo {
    border: none !important;
    padding-bottom: 2rem;
}

/* ===== HEADER ===== */
.site-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.02);
}

.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}


@media (min-width: 769px) {
.menu-toggle:hover {
    background: var(--bg-main);
    border-color: var(--primary);
    color: var(--primary);
}
}

.menu-toggle.is-active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ===== NAVIGATION ===== */
.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
	margin-top:-8px;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.main-nav a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.dropdown {
    position: relative;
}

.dropdown-content {
	position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    background: white;
    padding: 0.5rem;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    display: none;  /* Removed !important */
    list-style: none;
    border: 1px solid var(--border-color);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}



.dropdown-content li {
    margin: 0;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.dropdown-content a::after {
    display: none;
}

.dropdown-content a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

/* ===== CTA BAR ===== */
.cta-bar {
    position: fixed;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem;
	padding-right:2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    font-family: inherit;
}

.cta-button i {
    font-size: 1.1em;
}

.cta-button:active {
    transform: translateY(1px);
}

.primary {
    background: var(--accent);
    color: white;
}

.primary:hover {
    background: opacity:0.5;
    transform: translateY(-2px);
}

.secondary {
    background: var(--primary);
    color: white;
}

.secondary:hover {
    background:  opacity:0.5;
    transform: translateY(-2px);
}

.outline {
    background: white;
    border: 2px solid var(--border-color);

}

.outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.full-width {
    width: 100%;
}

.large {
    padding: 1rem;
    font-size: 1rem;
}

/* ===== HERO SECTION ===== */
.hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    border-radius: var(--radius-lg);
	border:1px solid #ddd;
}

.hero-text-container h1 {
    margin-bottom: 1.5rem;
}

.hero-text-container p {
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-text-container p strong {
    color: var(--primary);
    font-weight: 600;
}

.hero-image-container {
    justify-self: end;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: 315px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    display: block;
    cursor: pointer;
    border: 4px solid white;
	object-fit: cover;
}



.hero-image:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.hero-thumbs {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    width: 100%;
}

.hero-thumbs img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
}

.hero-thumbs img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.hero-thumbs img.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== SECTIONS ===== */
section, .site-footer {
    margin-top: 30px !important;
}

section:not(.hero) {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 3rem 2rem;
}

section + section {
    margin-top: 2rem;
}

/* ===== FEATURES GRID ===== */
.features {
    padding: 4rem 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-item {
    background: linear-gradient(135deg, var(--primary-light) 0%, white 100%);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== ZIELGRUPPE ===== */
#zielgruppe {
    text-align: center;
    padding: 4rem 2rem !important;
    background: var(--opaqblack);
    color: white;
	border:1px solid #fff;
}

#zielgruppe h2 {
    color: white;
}

#zielgruppe p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    font-style: italic;
    font-weight: 700;
    color: white;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.read-more:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.referenz-item {
    background: white;
    padding: 1.75rem;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.referenz-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.referenz-item p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.referenz-item cite {
    display: block;
    text-align: left;
    font-weight: 700;
    color: var(--text-primary);
    font-style: normal;
}

/* ===== ACTIVITIES GRID ===== */
.aktivitaeten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.aktivitaet-item {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

	.aktivitaeten-grid a {
	padding-left:24px;	
	margin-bottom:30px;
	margin-top:-10px;
	color:var(--accent-red-dark);
	}

.aktivitaet-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);

}

.aktivitaet-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.aktivitaet-item h3 {
    margin: 1.25rem 1.5rem 0.5rem;
    color: var(--text-primary);
}

.aktivitaet-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 4rem 2rem;
}

.map-container-full {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.google-map.full-width {
    width: 100%;
    margin-bottom: 2rem;
}

.google-map iframe {
    width: 100%;
    height: 450px;
    border-radius: var(--radius);
    border: 0;
    box-shadow: var(--shadow-md);
}

.contact-cta-container {
    text-align: center;
}

/* ===== FAQ ===== */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.75rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.faq-item a {
    color: var(--primary);
    font-weight: 600;
}

/* ===== FOOTER ===== */
#partner {
    padding: 4rem 2rem;
}

#footer img {
	    max-width: 90%;
		margin-bottom:20px;
	
}

.site-footer {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #e2e8f0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.footer-col p, .footer-col ul {
    color: #cbd5e1;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

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

.site-footer a {
    color: #93c5fd;
    transition: var(--transition);
}

.site-footer a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== LIGHTBOX ===== */
#lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius);
}

#lightbox-close,
#lightbox-prev,
#lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: var(--transition);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-close:hover,
#lightbox-prev:hover:not(.disabled),
#lightbox-next:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#lightbox-close {
    top: 2rem;
    right: 2rem;
}

#lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

#lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.modal-container {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-title {
    margin: 0;
    font-size: 1.75rem;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 2rem;
    color: var(--text-muted);
    transition: var(--transition);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:before {
    content: "\00d7";
}

.modal-close:hover {
    color: var(--text-primary);
    background: var(--bg-main);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.6rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 123, 166, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

/* ===== ROOM CARDS (for Monteurzimmer.html) ===== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Changed from 0.3fr to 3 columns */
    gap: 25px; 
    margin-top: 40px;
}

.room-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    border: 1px solid #ccc;
    height: 100%;
    transition: var(--transition);
    width: 100%; /* Ensure it fills the grid cell */
}

.room-card:hover {

    box-shadow: var(--shadow-lg);
}

.room-gallery {
    position: relative;
}

.room-main-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    cursor: pointer;
    transition: var(--transition);
}

.room-main-img:hover {
 
}

.room-thumbs {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-main);
	    margin-top: -10px;
		border-bottom:1px solid #ddd;
}

.room-thumbs img {
    width: 70px;
    height: 55px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    border: 2px solid transparent;
}

.room-thumbs img:hover {
    opacity: 1;
}

.room-thumbs img.active {
    opacity: 1;
    border-color: var(--accent);
}

.room-info {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.room-info h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
    list-style: none;
    padding: 0;
}

.room-features li {
    font-size: 0.85rem;
    background: var(--primary-light);
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    color: var(--primary-dark);
    font-weight: 600;
}

.room-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.room-action {
    margin-top: auto;
}


.mobile-only {
	display:none;
}



/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    
	.mobile-only {
		display:block;
		width:100%;
		margin-top:20px;
		margin-bottom:20px;
		border-radius:30px;		
	}
	
	.desktop-only {
	display:none;
	}
	
	:root {
        --container-pad: 40px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-image-container {
        order: 1;
        width: 100%;
        align-items: center;
    }
	
    .hero-actions {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid,
    .aktivitaeten-grid {
        grid-template-columns: repeat(2, 1fr);
    }
	
.room-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on smaller screens/tablets */
    }
	
	    #main-nav ul li {
		background-color:#fff !important;
		width:100% !important;
		}
		
		.dropdown-content a {
			
		}
	
}

@media (max-width: 768px) {
    .header-inner {
        padding: 1rem 1.5rem;
        position: relative;
    }

    .logo img {
        height: 70px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 1000;
        padding: 1rem 0;
        border-radius: 0 0 var(--radius) var(--radius);
		
max-height: calc(100vh - 100px); /* Restrict height to viewport minus header */
    overflow-y: auto;                /* Enable scrolling within the menu */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
		
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        padding: 1rem 1.5rem;
        width: 100%;
        border-radius: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .main-nav a::after {
        display: none;
    }



    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        border: none;
        border-top: 1px solid var(--border-color);
		
		opacity: 1;           /* Make it visible */
        visibility: visible;  /* Make it visible */
        transition: none;     /* Disable fade animation on mobile */
    }
	
	.langlist {
		padding-bottom:100px;
	}

    .dropdown-content a {
        padding-left: 2.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .cta-button {
        width: 100%;
    }

    .cta-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        transform: none;
        flex-direction: row;
        padding: 0.5rem;
        border-radius: 0;
        justify-content: space-between;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--border-color);
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    }
	
		.cta-bar .cta-button {
			padding:0.3rem;
		}
	
	

    .cta-button {
        flex: 1;
        justify-content: center;
        padding: 0.875rem;
        font-size: 0.9rem;
    }

    body {
        padding-bottom: 80px;
    }

    .features-grid,
    .testimonials-grid,
    .aktivitaeten-grid,
    .faq-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .room-grid {
        grid-template-columns: 1fr;
    }

    .google-map iframe {
        height: 300px;
    }

    #lightbox-prev,
    #lightbox-next,
    #lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    #lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    #lightbox-prev {
        left: 1rem;
    }

    #lightbox-next {
        right: 1rem;
    }

    .modal-container {
        padding: 1.5rem;
        width: 95%;
    }

    .modal-title {
        font-size: 1.5rem;
    }
	
.room-grid {
        grid-template-columns: 1fr; /* 1 per row on phones */
    }
	
}

/* ===== DESKTOP HOVER STATES ===== */
@media (min-width: 769px) {
    .dropdown:hover > .dropdown-content {
        display: block !important;
        opacity: 1;
        visibility: visible;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .cta-bar,
    .menu-toggle,
    .hero-actions,
    .modal {
        display: none !important;
    }
}














/* ===== ROOM PAGE STYLES ===== */



        /* Spezifische Styles für die Zimmer-Präsentation */
        .room-grid {
			display: grid;
			grid-template-columns: repeat(3, 1fr); /* Update from 2 to 3 */
			gap: 30px;
			margin-top: 40px;
        }

        .room-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-1);
            display: flex;
            flex-direction: column;
            border: 1px solid #eee;
            height: 100%;
        }

        .room-gallery {
            position: relative;
        }

        .room-main-img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .room-main-img:hover {
            transform: scale(1.02);
        }

        .room-thumbs {
            display: flex;
            gap: 5px;
            padding: 10px;
            background: #f8f9fa;
        }

        .room-thumbs img {
            width: 60px;
            height: 45px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.7;
            transition: opacity 0.2s;
        }

        .room-thumbs img:hover {
            opacity: 1;
        }

        .room-info {
            padding: 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .room-info h2 {
            margin-bottom: 10px;
            color: var(--accent-dark);
            font-size: 1.5rem;
        }

        .room-features {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin: 15px 0;
            list-style: none;
            padding: 0;
        }

        .room-features li {
            font-size: 0.85rem;
            background: #eef2f7;
            padding: 4px 10px;
            border-radius: 20px;
            color: var(--accent);
            font-weight: 600;
        }

        .room-description {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.5;
            margin-bottom: 20px;
            flex-grow: 1;
        }
        
        .room-action {
            margin-top: auto;
        }

        @media (max-width: 900px) {
            .room-grid {
                grid-template-columns: 1fr;
            }
        }
		
		
		
		
		
		/* Sprachwechsler Styling */
.language-switcher .dropdown-content {
    min-width: 160px;
}

.language-switcher .dropdown-content a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Spezielle Farbe für den Sprachbutton im Desktop-Menü */
.language-switcher > a {
    color: var(--primary);
}

/* Anpassung für mobile Ansicht */
@media (max-width: 768px) {
    .language-switcher .dropdown-content img {
        margin-right: 5px;
    }
}