/*** include styles ***/
@import url("pricewidget.css");
@import url("standard.css");
@import url("responsive.css");
@import url("faq.css");

.capsule-map-wrapper {
    margin-top: 20px;
}

.capsule-map {
    width: 97%;
    height: 360px;
    margin: 2% auto;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.map-error {
    color: #b22222;
    font-size: 0.95em;
    padding: 12px;
}

.capsule-map-popup {
    font-size: 12px;
    line-height: 1.35;
    max-width: 180px;
}

.capsule-map-popup strong {
    display: block;
    margin-bottom: 4px;
}

.capsule-map-price {
    font-size: 9px;
}

.capsule-map-price-label {
    font-weight: 600;
}

.capsule-map-error {
    color: #b22222;
}

/* Kapsel-Größen-Selektor Styling */
.capsule-size-selector {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #007bff;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.capsule-size-selector::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.size-options-header {
    text-align: center;
    margin-bottom: 20px;
}

.size-options-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 5px;
}

.popular-badge {
    display: inline-block;
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.size-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.size-option {
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 18px;
    transition: all 0.3s ease;
    position: relative;
}

.size-option:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
    transform: translateY(-2px);
}

.size-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #495057;
    margin-bottom: 8px;
}

.size-dimensions {
    font-size: 1.05em;
    font-weight: 500;
    color: #007bff;
    margin-bottom: 8px;
}

.size-description {
    color: #6c757d;
    font-size: 0.9em;
    line-height: 1.4;
}

.cta-section {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #dee2e6;
}

.cta-text {
    font-size: 1.05em;
    font-weight: 500;
    color: #495057;
    margin-bottom: 12px;
}

.book-now-btn {
    display: inline-block;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.book-now-btn:hover {
    background: linear-gradient(45deg, #0056b3, #004085);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
    text-decoration: none;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .size-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .capsule-size-selector {
        margin: 20px 0;
        padding: 15px;
    }
    
    .size-options-title {
        font-size: 1.2em;
    }
    
    .book-now-btn {
        padding: 10px 25px;
        font-size: 0.95em;
    }
}

/* === Mobile-Fix: Hero-Section nicht von absolute-Header Ã¼berlappen lassen (2026-04-25) === */
@media (max-width: 767px) {
    #hero {
        padding-top: 130px;
        padding-left: 5%;
        padding-right: 5%;
    }
}

@media (max-width: 549px) {
    #hero {
        padding-top: 110px;
    }
    header h1 {
        font-size: 1.8em;
        padding: 30px 15px;
    }
}

@media (max-width: 439px) {
    #hero {
        padding-top: 90px;
    }
    header h1 {
        font-size: 1.3em;
        padding: 22px 12px;
        line-height: 1.1;
    }
    nav#LangNav {
        font-size: 0.9em;
    }
}
/* === /Mobile-Fix === */
/* === Mobile H2 Padding/Size fÃ¼r lange Ãœberschriften (2026-04-27) === */
@media (max-width: 549px) {
    section h2 {
        padding: 25px 15px;
        font-size: 1.6em;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 439px) {
    section h2 {
        padding: 20px 10px;
        font-size: 1.4em;
    }
}
/* === /Mobile H2 === */

/* === Floating Lang-Bubble (nach Scroll) (2026-04-27) === */
.lang-float-bubble {
    position: fixed;
    bottom: 18px;
    left: 18px;
    background: rgba(255,255,255,0.95);
    padding: 5px 11px;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.22);
    z-index: 200;
    font-size: 0.82em;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.lang-float-bubble.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lang-float-bubble a,
.lang-float-bubble a:visited {
    color: #555;
    text-decoration: none;
    padding: 0 3px;
}
.lang-float-bubble a.active,
nav#LangNav a.active {
    color: #007bff;
    font-weight: 700;
    text-decoration: underline;
}
.lang-float-bubble a:hover {
    color: #007bff;
}
/* === /Floating Lang-Bubble === */

/* === Original-Switcher verstecken, nur Floating-Bubble nutzen (2026-04-27) === */
nav#LangNav {
    display: none;
}
.lang-float-bubble {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
/* === /Original hidden === */

/* === Mobile: Galerie als durchgÃ¤ngige Scroll-Leiste statt bxSlider (2026-04-27) === */
@media (max-width: 767px) {
    #gallery.mobile-stripe {
        margin: 12px 0;
        padding: 0;
    }
    #gallery.mobile-stripe .photosets {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 6px;
        padding: 4px 8px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        min-width: 0;
        width: 100%;
    }
    #gallery.mobile-stripe .photos {
        flex: 0 0 auto;
        margin: 0;
        scroll-snap-align: start;
    }
    #gallery.mobile-stripe .photos img {
        display: block;
        height: 110px;
        width: auto;
        max-width: none;
        border-radius: 6px;
    }
    #gallery.mobile-stripe .bx-pager,
    #gallery.mobile-stripe .bx-controls {
        display: none;
    }
}
/* === /Mobile-Stripe === */

/* === Material-Style bxSlider Pager (Pill aktiv, smooth Animation) (2026-04-27) === */
.bx-wrapper .bx-pager {
    text-align: center;
    padding-top: 12px;
}
.bx-wrapper .bx-pager-item {
    display: inline-block;
    margin: 0 4px;
    vertical-align: middle;
}
.bx-wrapper .bx-pager.bx-default-pager a {
    background: #b0b0b0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    text-indent: -9999px;
    display: block;
    outline: 0;
    transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                border-radius 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.bx-wrapper .bx-pager.bx-default-pager a:hover {
    background: #6c6c6c;
}
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
    background: #007bff;
    width: 26px;
    border-radius: 4px;
}
/* === /Material-Pager === */

/* === Capsule-Größe Bilder: 2-Spalten Grid (2026-04-28 clean) === */
.size-option {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title img"
        "dim   img"
        "desc  img";
    gap: 6px 14px;
    align-items: center;
}
.size-option > .size-title       { grid-area: title; }
.size-option > .size-dimensions  { grid-area: dim; }
.size-option > .size-description { grid-area: desc; }
.size-option > img.size-img {
    grid-area: img;
    width: auto;
    height: 130px;
    max-width: 130px;
    object-fit: contain;
    background: #f8f9fa;
    border-radius: 6px;
    align-self: center;
    margin: 0;
    padding: 0;
}
@media (max-width: 549px) {
    .size-option {
        grid-template-columns: 1fr;
        grid-template-areas:
            "img"
            "title"
            "dim"
            "desc";
    }
    .size-option > img.size-img {
        height: 110px;
        max-width: 110px;
        justify-self: center;
    }
}
/* === /Capsule-Größe Bilder === */
