/* Modern CSS für Ferienwohnung Bodenseeblick - Cache Buster v5 */

/* CSS Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c4e5e 0%, #1a3a4a 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Banner Styles */
.banner {
    background: url('../images/titelbild_1920-k.jpg') center center/cover no-repeat;
    color: white;
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 2rem;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    background: linear-gradient(135deg, rgba(44, 78, 94, 0.4) 0%, rgba(26, 58, 74, 0.4) 100%);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.star-rating {
    margin-bottom: 0.5rem;
}

.star {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0 0.1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.8));
}

.banner h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.9);
    color: white;
    line-height: 1.2;
}

.banner p {
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    color: white;
    margin: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.logo p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* Main Content */
.main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* Sections */
.welcome-section,
.description-section,
.cta-section {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.welcome-section h2,
.cta-section h2 {
    color: #2c4e5e;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.welcome-section p,
.description-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Gallery Styles */
.gallery-section,
.interior-gallery {
    margin: 3rem 0;
}

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

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 78, 94, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin: 10px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #2c4e5e 0%, #1a3a4a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1a3a4a 0%, #2c4e5e 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 78, 94, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c4e5e;
    border-color: #2c4e5e;
}

.btn-secondary:hover {
    background: #2c4e5e;
    color: white;
    transform: translateY(-2px);
}

.cta-buttons {
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #2c4e5e;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
}

.lightbox-close:hover {
    opacity: 0.7;
}

#lightbox-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.lightbox-btn {
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    font-size: 30px;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-btn:hover {
    background: rgba(255,255,255,0.5);
}

/* Impressum Styles */
.impressum-content {
    padding: 2rem 0;
}

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

.impressum-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid #2c4e5e;
}

.impressum-card h2 {
    color: #2c4e5e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.impressum-card p {
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.impressum-card p:last-child {
    margin-bottom: 0;
}

.impressum-card strong {
    color: #2c4e5e;
    font-weight: 600;
}

/* Pricing Styles */
.pricing-content {
    padding: 2rem 0;
}

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

.pricing-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.pricing-card.main-season {
    border-top: 5px solid #e74c3c;
}

.pricing-card.off-season {
    border-top: 5px solid #3498db;
}

.pricing-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    text-align: center;
}

.pricing-header h2 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.season-period {
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

.pricing-details {
    padding: 2rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.person-count {
    font-weight: 500;
    color: #333;
}

.price-amount {
    text-align: right;
}

.currency {
    font-size: 0.9rem;
    color: #6c757d;
    vertical-align: top;
}

.amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2c4e5e;
    margin: 0 0.2rem;
}

.period {
    font-size: 0.9rem;
    color: #6c757d;
}

.price-note {
    color: #6c757d;
    font-style: italic;
}

.pricing-info {
    margin: 3rem 0;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #17a2b8;
}

.info-card h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.5;
}

.info-card li:last-child {
    border-bottom: none;
}

.pricing-notes {
    margin: 2rem 0;
}

.note-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #ffc107;
}

.note-card h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
}

.note-card p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Directions Styles */
.address-section {
    margin: 2rem 0;
}

.address-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-left: 5px solid #2c4e5e;
}

.address-icon {
    background: #2c4e5e;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-info h2 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.address-info p {
    margin: 0.3rem 0;
    color: #666;
}

.directions-content {
    margin: 3rem 0;
}

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

.route-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.route-header {
    background: linear-gradient(135deg, #2c4e5e 0%, #1a3a4a 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.route-icon {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.route-subtitle {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.route-steps {
    padding: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #2c4e5e;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.important-notes {
    margin: 3rem 0;
}

.note-card.important {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-left: 5px solid #f39c12;
    padding: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.note-icon {
    background: #f39c12;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.note-content h3 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.note-content p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

.map-section {
    margin: 3rem 0;
}

.map-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.map-container h2 {
    background: #2c4e5e;
    color: white;
    margin: 0;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    margin: 3rem 0;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid #17a2b8;
}

.contact-card h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-card p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Video Section Styles */
.video-section {
    margin: 3rem 0;
}

.video-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    text-align: center;
}

.video-container h2 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.video-container p {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.video-info p {
    margin: 0.5rem 0;
    color: #333;
}

.video-info a {
    color: #2c4e5e;
    text-decoration: none;
    font-weight: 600;
}

.video-info a:hover {
    text-decoration: underline;
}

/* City Info Styles */
.city-info {
    margin: 3rem 0;
}

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

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid #17a2b8;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.info-icon {
    color: #2c4e5e;
    margin: 0 auto 1rem auto;
    font-size: 3rem;
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

.info-icon i {
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    color: #2c4e5e !important;
}

.info-card h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #2c4e5e;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .logo {
        text-align: center;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .welcome-section h2,
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .welcome-section p,
    .description-section p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        margin: 10px auto;
        max-width: 200px;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .logo h1 {
        font-size: 1rem;
    }
    
    .logo p {
        font-size: 0.8rem;
    }
    
    .welcome-section,
    .description-section,
    .cta-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .star {
        font-size: 0.9rem;
    }
    .banner {
        min-height: 300px;
        padding-bottom: 1rem;
    }
    .banner-content {
        padding: 0.6rem 1.2rem;
    }
    .banner h1 {
        font-size: 1.2rem;
    }
    .banner p {
        font-size: 0.75rem;
    }
}

@media (max-width: 360px) {
    .banner-content {
        padding: 0.5rem 1rem;
    }
    .banner h1 {
        font-size: 1.1rem;
    }
    .banner p {
        font-size: 0.7rem;
    }
    .star {
        font-size: 0.8rem;
    }
}

/* Animationen */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-section,
.gallery-section,
.description-section,
.interior-gallery,
.cta-section {
    animation: fadeInUp 0.6s ease-out;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus Styles für bessere Accessibility */
a:focus,
button:focus {
    outline: 2px solid #2c4e5e;
    outline-offset: 2px;
}

/* Page-specific Styles */

/* Page Header */
.page-header {
    text-align: center;
    margin: 2rem 0 3rem 0;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-header h1 {
    color: #2c4e5e;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Booking Section */
.booking-section {
    margin: 3rem 0;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.booking-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-info h2 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.contact-item i {
    color: #2c4e5e;
    width: 20px;
}

.calendar-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.calendar-wrapper {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.calendar-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/* Responsive iframe für kleinere Bildschirme */
@media (max-width: 768px) {
    .calendar-wrapper iframe {
        height: 500px;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .calendar-wrapper iframe {
        height: 450px;
        min-height: 350px;
    }
}

.calendar-legend {
    text-align: center;
}

.calendar-legend h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
}

/* Booking Actions */
.booking-actions {
    margin: 1.5rem 0;
    text-align: center;
}

.booking-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
}

.booking-actions .btn:hover {
    background: linear-gradient(135deg, #138496, #117a8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
    color: white;
    text-decoration: none;
}

.booking-actions .btn i {
    font-size: 1.1rem;
}

.legend-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 3px;
}

.legend-color.available {
    background-color: #28a745;
}

.legend-color.booked {
    background-color: #dc3545;
}

.legend-color.blocked {
    background-color: #6c757d;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.info-card i {
    font-size: 3rem;
    color: #2c4e5e;
    margin-bottom: 1rem;
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
}

/* Spezifische Regel für Icons in Info-Karten */
.info-section .info-card .info-icon i,
.info-section .info-card i {
    background: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    color: #2c4e5e !important;
    font-size: 3rem !important;
}

/* ULTRA-SPEZIFISCHE REGEL - Entfernt alle blauen Kreise */
.info-section .info-card .info-icon,
.info-section .info-card .info-icon i,
.info-section .info-card i,
.info-card .info-icon,
.info-card .info-icon i,
.info-card i,
.info-icon,
.info-icon i {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
    color: #2c4e5e !important;
    font-size: 3rem !important;
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 auto 1rem auto !important;
    border: none !important;
    box-shadow: none !important;
}

.info-card h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
}

/* Zentrierte Überschriften für Info-Sektion */
.info-section .info-card h3 {
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    line-height: 1.2;
}

/* Spezielle Zentrierung für längere Texte */
.info-section .info-card h3:first-child {
    text-align: center !important;
    display: block;
    width: 100%;
}

/* Contact Section */
.contact-section {
    margin: 3rem 0;
}

/* Modern Contact Form Styles */
.modern-contact-form {
    background: linear-gradient(145deg, #ffffff, #f8fafb);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(23, 162, 184, 0.1);
}

.modern-contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #17a2b8, #138496, #20c997, #17a2b8);
    background-size: 300% 100%;
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 300% 0; }
    50% { background-position: -300% 0; }
}

.form-row {
    display: block;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: #2c4e5e;
    font-size: 1rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.25rem 1.5rem;
    border: 2px solid #e8f4f8;
    border-radius: 14px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #17a2b8;
    box-shadow: 0 0 0 4px rgba(23, 162, 184, 0.12), 0 6px 25px rgba(23, 162, 184, 0.2);
    transform: translateY(-1px);
    background: #fafcff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.95rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
    line-height: 1.6;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.08), rgba(32, 201, 151, 0.05));
    border-radius: 14px;
    border: 2px solid rgba(23, 162, 184, 0.15);
    backdrop-filter: blur(10px);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #374151;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: #17a2b8;
    transform: scale(1.1);
    border-radius: 4px;
}

.checkbox-label a {
    color: #17a2b8;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    padding-bottom: 1px;
}

.checkbox-label a:hover {
    border-bottom-color: #17a2b8;
    color: #138496;
}

.modern-submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.5rem 2.5rem;
    background: linear-gradient(135deg, #17a2b8, #138496, #20c997);
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 35px rgba(23, 162, 184, 0.35);
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s;
}

.modern-submit-btn:hover {
    background: linear-gradient(135deg, #138496, #117a8b, #1ea085);
    transform: translateY(-2px);
    box-shadow: 0 14px 45px rgba(23, 162, 184, 0.45);
}

.modern-submit-btn:hover::before {
    left: 100%;
}

.modern-submit-btn:active {
    transform: translateY(-1px);
}

.modern-submit-btn i {
    font-size: 1.2rem;
}

/* Form Validation */
.form-group input:invalid:not(:placeholder-shown),
.form-group select:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group select:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #38a169;
    box-shadow: 0 0 0 4px rgba(56, 161, 105, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-contact-form {
        padding: 2rem 1.5rem;
        border-radius: 18px;
        margin-bottom: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1rem 1.25rem;
        border-radius: 12px;
        font-size: 0.95rem;
    }
    
    .modern-submit-btn {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        margin-top: 1.5rem;
    }
    
    .checkbox-group {
        padding: 1.25rem;
        margin-top: 1.25rem;
    }
}

@media (max-width: 480px) {
    .modern-contact-form {
        padding: 1.5rem 1rem;
        margin: 0 -0.5rem;
        border-radius: 16px;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
        border-radius: 10px;
        font-size: 0.9rem;
    }
    
    .modern-submit-btn {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        margin-top: 1.25rem;
    }
    
    .checkbox-group {
        padding: 1rem;
        margin-top: 1rem;
    }
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form-container,
.contact-info-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form-container h2,
.contact-info-container h2 {
    color: #2c4e5e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-wrapper {
    border-radius: 10px;
    overflow: hidden;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-details .contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c4e5e;
}

.contact-details .contact-item i {
    font-size: 1.5rem;
    color: #2c4e5e;
    margin-right: 1rem;
}

.contact-details .contact-item h3 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
}

.contact-details .contact-item a {
    color: #2c4e5e;
    text-decoration: none;
}

.contact-details .contact-item a:hover {
    text-decoration: underline;
}

/* Quick Contact */
.quick-contact {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.quick-contact h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
    text-align: center;
}

.quick-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    text-decoration: none;
    color: #2c4e5e;
    transition: all 0.3s ease;
    min-width: 80px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.quick-btn i {
    font-size: 1.5rem;
}

.quick-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contact Gallery */
.contact-gallery {
    margin: 3rem 0;
}

.contact-gallery h2 {
    text-align: center;
    color: #2c4e5e;
    margin-bottom: 2rem;
}

/* Additional Info */
.additional-info {
    margin: 3rem 0;
}

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

/* Wohnung Page Styles */

/* Overview Section */
.overview-section {
    margin: 3rem 0;
}

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

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.overview-card i {
    font-size: 3rem;
    color: #2c4e5e;
    margin-bottom: 1rem;
}

.overview-card h3 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
}

.overview-card p {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

/* Room Gallery */
.room-gallery {
    margin: 3rem 0;
}

.room-gallery h2 {
    text-align: center;
    color: #2c4e5e;
    margin-bottom: 2rem;
}

.gallery-info {
    text-align: center;
    color: white;
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Equipment Section */
.equipment-section {
    margin: 3rem 0;
}

.equipment-section h2 {
    text-align: center;
    color: #2c4e5e;
    margin-bottom: 2rem;
}

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

.equipment-category {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.equipment-category h3 {
    color: #2c4e5e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.equipment-category ul {
    list-style: none;
    padding: 0;
}

.equipment-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.equipment-category li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.equipment-category li:last-child {
    border-bottom: none;
}

/* Location Section */
.location-section {
    margin: 3rem 0;
}

.location-section h2 {
    text-align: center;
    color: #2c4e5e;
    margin-bottom: 2rem;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.location-text h3 {
    color: #2c4e5e;
    margin-bottom: 1rem;
}

.location-text p {
    margin-bottom: 2rem;
    line-height: 1.8;
    color: #666;
}

.location-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.feature-item i {
    color: #2c4e5e;
    width: 20px;
}

.location-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Responsive Design für neue Seiten */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .legend-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .quick-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .location-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .banner h1 {
        font-size: 2rem;
    }
    
    .banner p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .booking-info,
    .contact-form-container,
    .contact-info-container {
        padding: 1.5rem;
    }
    
    .info-grid,
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-details .contact-item {
        padding: 0.75rem;
    }
    
    .banner h1 {
        font-size: 1.5rem;
    }
    
    .banner p {
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .lightbox {
        display: none;
    }
    
    .main {
        padding: 0;
    }
    
    .gallery-item {
        break-inside: avoid;
    }
    
    .booking-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Combined Page Header and Address Styles */
.page-header-address {
    margin: 3rem 0;
}

.header-address-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.header-content h1 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.header-content p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.address-info {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.address-icon {
    background: #17a2b8;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-details h2 {
    color: #2c4e5e;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.address-details p {
    color: #666;
    margin: 0.25rem 0;
    line-height: 1.4;
}

/* Light Orange Background Note Card */
.note-card.orange-background {
    background: linear-gradient(135deg, #ffe4d1 0%, #ffd4b3 100%);
    color: #8b4513;
    border: 2px solid #ffb366;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(255, 179, 102, 0.2);
}

.note-card.orange-background h3 {
    color: #8b4513;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.note-card.orange-background p {
    color: #8b4513;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

.note-card.orange-background strong {
    color: #8b4513;
    font-weight: 700;
}

/* Responsive Design for Header-Address */
@media (max-width: 768px) {
    .header-address-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }
    
    .header-content h1 {
        font-size: 2rem;
    }
    
    .address-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .address-icon {
        align-self: center;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: white !important;
    stroke-width: 2.5;
    fill: none;
    color: white;
}

.back-to-top svg polyline {
    stroke: white !important;
    stroke-width: 2.5;
    fill: none;
}

/* Cache buster - Back to Top button added - Arrow fix v2 */
