/* ============================================
   Baumpflege Schröder - Website Styles
   ============================================ */

:root {
    --bps-green-dark: #2d5016;
    --bps-green: #4a7c2e;
    --bps-green-light: #6ba33e;
    --bps-brown-dark: #3e2723;
    --bps-brown: #5d4037;
    --bps-brown-light: #8d6e63;
    --bps-cream: #faf8f5;
    --bps-white: #ffffff;
    --bps-text: #333333;
    --bps-text-light: #666666;
    --bps-orange: #e67e22;
    --bps-red: #c0392b;
    --bps-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --bps-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
    --bps-radius: 8px;
    --bps-transition: 0.3s ease;
    --bps-mobile-menu-bg: rgba(45,80,22,0.85);
    --bps-mobile-menu-bg-hover: rgba(45,80,22,0.95);
    --bps-footer-link: #dff7c8;
    --bps-footer-link-hover: #ffffff;
}

/* Reset & Base */
.bps-site * { box-sizing: border-box; }
.bps-site { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--bps-text); line-height: 1.6; }
.bps-site img { max-width: 100%; height: auto; }
.bps-site a { color: var(--bps-green); text-decoration: none; transition: color var(--bps-transition); }
.bps-site a:hover { color: var(--bps-green-light); }

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

/* Header */
.bps-header {
    background: var(--bps-white);
    box-shadow: var(--bps-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.bps-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.bps-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--bps-green-dark);
}
.bps-logo-icon { font-size: 3rem; }
.bps-logo-text { font-size: 0.9rem; line-height: 1.2; color: var(--bps-brown-dark); }
.bps-logo-text strong { color: var(--bps-green-dark); font-size: 1.4rem; }

/* Navigation */
.bps-menu {
    list-style: none;
    display: flex;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.bps-menu li { position: relative; }
.bps-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--bps-text);
    font-weight: 500;
    border-radius: var(--bps-radius);
    transition: all var(--bps-transition);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
.bps-menu li a:hover,
.bps-menu li.current-menu-item > a {
    background: var(--bps-green);
    color: var(--bps-white);
    border-color: var(--bps-green);
}

/* Dropdown */
.bps-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bps-white);
    box-shadow: var(--bps-shadow-hover);
    border-radius: var(--bps-radius);
    min-width: 220px;
    padding: 8px 0;
    list-style: none;
    z-index: 100;
}
.bps-menu li:hover > .sub-menu { display: block; }
.bps-menu .sub-menu a {
    padding: 8px 20px;
    border-radius: 0;
}

/* Mobile Menu Toggle */
.bps-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.bps-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bps-brown-dark);
    border-radius: 2px;
    transition: var(--bps-transition);
}

/* Hero */
.bps-hero {
    background: linear-gradient(135deg, var(--bps-green-dark) 0%, var(--bps-green) 100%);
    color: var(--bps-white);
    padding: 80px 20px;
    text-align: center;
}
.bps-hero h1 {
    font-size: 2.5rem;
    margin: 0 0 16px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.bps-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 24px;
}
.bps-hero-sauna {
    background: linear-gradient(135deg, var(--bps-brown-dark) 0%, var(--bps-brown) 100%);
}
.bps-hero-huepfburg {
    background: linear-gradient(135deg, var(--bps-orange) 0%, #f39c12 100%);
}
.bps-hero-kontakt {
    background: linear-gradient(135deg, var(--bps-green) 0%, var(--bps-green-light) 100%);
}
.bps-hero-impressum {
    background: var(--bps-brown);
    padding: 50px 20px;
}
.bps-hero-galerie {
    background: linear-gradient(135deg, var(--bps-green-dark) 0%, var(--bps-brown) 100%);
}

/* Sections */
.bps-section {
    padding: 60px 0;
}
.bps-section h2 {
    font-size: 1.8rem;
    color: var(--bps-green-dark);
    margin: 0 0 24px;
    text-align: center;
}
.bps-section + .bps-section {
    border-top: 1px solid #eee;
}

/* Services Grid */
.bps-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.bps-service-card {
    background: var(--bps-white);
    border: 1px solid #e8e8e8;
    border-radius: var(--bps-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all var(--bps-transition);
}
.bps-service-card:hover {
    box-shadow: var(--bps-shadow-hover);
    transform: translateY(-2px);
}
.bps-service-icon { font-size: 2.5rem; margin-bottom: 16px; }
.bps-service-card h3 { color: var(--bps-green-dark); margin: 0 0 12px; }
.bps-service-card p { color: var(--bps-text-light); margin: 0; }

/* Vermietungen Grid */
.bps-vermietungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}
.bps-vermietung-card {
    background: var(--bps-cream);
    border-radius: var(--bps-radius);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--bps-transition);
}
.bps-vermietung-card:hover { box-shadow: var(--bps-shadow-hover); }
.bps-vermietung-card h3 { font-size: 1.4rem; margin: 0 0 16px; }
.bps-vermietung-sauna { border-left: 4px solid var(--bps-brown); }
.bps-vermietung-huepfburg { border-left: 4px solid var(--bps-orange); }

/* CTA Box */
.bps-cta-box {
    background: var(--bps-cream);
    border-left: 4px solid var(--bps-green);
    padding: 24px 32px;
    border-radius: var(--bps-radius);
}
.bps-cta-box h2 { text-align: left; color: var(--bps-green); margin-bottom: 8px; font-size: 1.3rem; }
.bps-cta-box p { margin: 0; }

/* Content Grid (2 col) */
.bps-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.bps-content-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.bps-content-image {
    border-radius: var(--bps-radius);
    object-fit: cover;
    width: 100%;
    height: 200px;
}

/* Sidebar layout (Kontakt) */
.bps-content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.bps-contact-box {
    background: var(--bps-cream);
    padding: 24px;
    border-radius: var(--bps-radius);
}
.bps-contact-box h3 { color: var(--bps-green-dark); margin: 0 0 12px; }

/* Pricing Table */
.bps-pricing-table {
    max-width: 600px;
    margin: 0 auto;
}
.bps-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}
.bps-price-row:last-child { border-bottom: none; }
.bps-price-highlight { background: var(--bps-cream); border-radius: var(--bps-radius); }
.bps-price-label { font-weight: 500; }
.bps-price-value { font-weight: 700; color: var(--bps-green-dark); font-size: 1.1rem; }
.bps-price-note { font-weight: 400; font-size: 0.85rem; color: var(--bps-text-light); display: block; }

/* Gallery */
.bps-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.bps-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--bps-radius);
    cursor: pointer;
    transition: all var(--bps-transition);
}
.bps-gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: var(--bps-shadow-hover);
}

/* Lightbox */
.bps-lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.bps-lightbox.active { display: flex; }
.bps-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--bps-radius);
}
.bps-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}
.bps-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    background: rgba(255,255,255,0.1);
    border: none;
    padding: 10px 16px;
    border-radius: var(--bps-radius);
}
.bps-lightbox-prev { left: 20px; }
.bps-lightbox-next { right: 20px; }

/* Buttons */
.bps-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--bps-radius);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--bps-transition);
    border: none;
    cursor: pointer;
}
.bps-btn-primary {
    background: var(--bps-green);
    color: var(--bps-white);
}
.bps-btn-primary:hover {
    background: var(--bps-green-dark);
    color: var(--bps-white);
}
.bps-btn-secondary {
    background: var(--bps-cream);
    color: var(--bps-green-dark);
    border: 2px solid var(--bps-green);
}
.bps-btn-secondary:hover {
    background: var(--bps-green);
    color: var(--bps-white);
}

/* Contact Form */
.bps-contact-form { max-width: 600px; }
.bps-form-group { margin-bottom: 20px; }
.bps-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--bps-brown-dark);
}
.bps-form-group input,
.bps-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: var(--bps-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--bps-transition);
}
.bps-form-group input:focus,
.bps-form-group textarea:focus {
    outline: none;
    border-color: var(--bps-green);
    box-shadow: 0 0 0 3px rgba(74,124,46,0.1);
}

/* Alerts */
.bps-alert {
    padding: 16px 20px;
    border-radius: var(--bps-radius);
    margin-bottom: 24px;
    font-weight: 500;
}
.bps-alert-success { background: #e7f7ec; color: #14532d; border: 1px solid #b7e4c7; font-weight: 700; }
.bps-alert-error { background: #fdecec; color: #7f1d1d; border: 1px solid #f7c9c9; font-weight: 700; }

/* Highlight & Warning */
.bps-highlight {
    background: var(--bps-cream);
    padding: 16px 20px;
    border-radius: var(--bps-radius);
    border-left: 4px solid var(--bps-green);
}
.bps-warning {
    background: #fff3cd;
    padding: 16px 20px;
    border-radius: var(--bps-radius);
    border-left: 4px solid var(--bps-orange);
    color: #856404;
}

/* Feature List */
.bps-feature-list { padding-left: 20px; }
.bps-feature-list li { margin-bottom: 8px; }

/* Contact Section */
.bps-section-contact { text-align: center; background: var(--bps-cream); padding: 50px 0; border-radius: var(--bps-radius); margin: 0 0 40px; }
.bps-contact-info { margin: 20px 0; }

/* Legal */
.bps-section-legal h3 { color: var(--bps-brown-dark); margin-top: 32px; }

/* Hide WordPress Page Titles */
.entry-title,
.page-title,
.post-title,
h1.entry-title,
h1.page-title,
.article-title,
.single-title { display: none !important; }

/* Hide WordPress admin bar on frontend */
.bps-site #wpadminbar { display: none !important; }
html { margin-top: 0 !important; }

/* Ensure header shows on all pages */
.bps-header { display: block !important; }

/* Full width without theme interference */
.bps-site .site-content,
.bps-site #content,
.bps-site .site-main { padding: 0 !important; margin: 0 !important; }

/* Footer */
.bps-footer {
    background: var(--bps-brown-dark);
    color: var(--bps-cream);
    padding: 50px 0 0;
}
.bps-footer h3 { color: var(--bps-white); margin: 0 0 12px; font-size: 1.1rem; }
.bps-footer-col:first-child p { font-size: 0.8rem; line-height: 1.4; }
.bps-footer-col:first-child p strong { font-size: 0.85rem; }
.bps-footer a { color: var(--bps-footer-link); transition: color .2s ease, text-decoration-color .2s ease; text-decoration: underline; text-decoration-color: rgba(255,255,255,0.25); text-underline-offset: 2px; }
.bps-footer a:hover { color: var(--bps-footer-link-hover); text-decoration-color: currentColor; }
.bps-footer ul { list-style: none; padding: 0; margin: 0; }
.bps-footer li { margin-bottom: 6px; }
.bps-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}
.bps-footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bps-footer-col ul {
    margin-top: 2px;
}

@media (max-width: 900px) {
    .bps-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .bps-footer-grid {
        grid-template-columns: 1fr;
    }
}
.bps-footer-bottom {
    margin-top: 20px;
    padding: 12px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    .bps-menu-toggle { display: flex; }
    .bps-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bps-white); box-shadow: var(--bps-shadow); }
    .bps-nav.active { display: block; }
    .bps-menu { flex-direction: column; padding: 12px; }
    .bps-menu .sub-menu { position: static; box-shadow: none; padding-left: 16px; display: block; }
    
    .bps-hero { padding: 50px 20px; }
    .bps-hero h1 { font-size: 1.8rem; }
    
    .bps-content-grid { grid-template-columns: 1fr; }
    .bps-content-images { grid-template-columns: 1fr 1fr; }
    
    .bps-services-grid { grid-template-columns: 1fr 1fr; }
    .bps-vermietungen-grid { grid-template-columns: 1fr; }
    
    .bps-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    
    .bps-price-row { flex-direction: column; text-align: center; gap: 4px; }
}

@media (max-width: 480px) {
    .bps-services-grid { grid-template-columns: 1fr; }
    .bps-content-images { grid-template-columns: 1fr; }
    .bps-hero h1 { font-size: 1.5rem; }
}

/* Compact sections */
.bps-section-compact { padding: 30px 0; }
.bps-section-compact h2 { font-size: 1.4rem; margin-bottom: 16px; }

/* Questions List - wie Leistungen */
.bps-section-questions { padding: 20px 0 !important; text-align: center !important; }
.bps-section-questions > div > div { background: var(--bps-white); border: 1px solid #e8e8e8; border-radius: var(--bps-radius); padding: 32px 24px; text-align: center; transition: all var(--bps-transition); }
.bps-section-questions > div > div:hover { box-shadow: var(--bps-shadow-hover); transform: translateY(-2px); }
.bps-question-icon { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.bps-section-questions > div > div p { font-size: 1rem; color: #333; margin: 0; line-height: 1.5; }

/* Quicklinks Buttons */
.bps-section-quicklinks { padding: 20px 0; text-align: center; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.bps-section-quicklinks .bps-btn { font-size: 1.1rem; padding: 14px 28px; box-shadow: 0 4px 15px rgba(0,0,0,0.15); transition: all 0.3s ease; }
.bps-section-quicklinks .bps-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

/* Hüpfburgen Grid - 3 Spalten */
.bps-huepfburg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
@media (max-width: 1100px) { .bps-huepfburg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .bps-huepfburg-grid { grid-template-columns: 1fr; } }

/* Hüpfburg Card mit Wackel-Effekt */
.bps-huepfburg-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.12); transition: all 0.3s ease; }
.bps-huepfburg-card:hover { transform: rotate(1deg) scale(1.02); box-shadow: 0 12px 35px rgba(0,0,0,0.2); }

/* Bild-Wrapper */
.bps-huepfburg-img-wrap { position: relative; height: 220px; overflow: hidden; background: #f5f5f5; }
.bps-huepfburg-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.bps-huepfburg-card:hover .bps-huepfburg-img { transform: scale(1.08); }

/* Overlay mit Button */
.bps-huepfburg-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); display: flex; justify-content: center; opacity: 0; transition: opacity 0.3s ease; }
.bps-huepfburg-card:hover .bps-huepfburg-overlay { opacity: 1; }
.bps-huepfburg-infos-btn { padding: 12px 28px; background: #e67e22; color: #fff; border: none; border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4); }
.bps-huepfburg-infos-btn:hover { background: #d35400; transform: scale(1.08); }

/* Info unter dem Bild */
.bps-huepfburg-info { padding: 16px; text-align: center; }
.bps-huepfburg-info h3 { margin: 0 0 8px; font-size: 1.15rem; color: #333; }
.bps-huepfburg-info p { margin: 0; color: #666; font-size: 0.9rem; }

/* Modal */
.bps-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); backdrop-filter: blur(4px); }
.bps-modal-content { background-color: #fff; margin: 90px auto 24px; padding: 30px; border-radius: 16px; width: 90%; max-width: 600px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); position: relative; animation: modalSlideIn 0.3s ease; max-height: calc(100vh - 120px); overflow-y: auto; }
@keyframes modalSlideIn { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bps-modal-close { position: absolute; right: 20px; top: 15px; font-size: 28px; font-weight: bold; color: #aaa; cursor: pointer; transition: color 0.3s; }
.bps-modal-close:hover { color: #333; }
.bps-modal-body h3 { color: var(--bps-green); margin-top: 20px; margin-bottom: 12px; font-size: 1.1rem; border-bottom: 2px solid #eee; padding-bottom: 8px; }
.bps-modal-body h3:first-child { margin-top: 0; }
.bps-modal-body ul { list-style: none; padding: 0; margin: 0; }
.bps-modal-body li { padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.bps-modal-body li:last-child { border-bottom: none; }
.bps-service-card { padding: 20px 16px; }
.bps-service-icon { font-size: 1.8rem; margin-bottom: 8px; }
.bps-service-card h3 { font-size: 1rem; margin-bottom: 6px; }
.bps-service-card p { font-size: 0.85rem; }

/* Staggered gallery animation */
.bps-gallery-staggered .bps-gallery-item { opacity: 0; animation: fadeInUp 0.5s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.bps-gallery-staggered .bps-gallery-item img { height: 150px; }

/* Contact grid */
.bps-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: stretch; }
.bps-contact-form-wrapper .bps-contact-form { max-width: 100%; }
.bps-contact-form-wrapper { display: flex; flex-direction: column; }
.bps-map { height: 100%; }
.bps-map iframe { width: 100%; height: 100%; border-radius: 12px; }

.bps-map-consent {
    min-height: 250px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.bps-map-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bps-map-overlay {
    position: absolute;
    inset: 0;
    background: rgba(20, 20, 20, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.bps-map-consent:hover .bps-map-overlay,
.bps-map-consent:focus-within .bps-map-overlay {
    opacity: 1;
}

.bps-map-overlay-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 14px 16px;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.bps-map-overlay-card p {
    margin: 0 0 8px;
    color: #444;
    line-height: 1.35;
}

.bps-map-consent .bps-map-load-btn {
    margin-top: 4px;
    padding: 8px 14px;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .bps-map-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(20,20,20,0.1) 0%, rgba(20,20,20,0.35) 100%);
    }
    .bps-map-overlay-card {
        max-width: 92%;
        padding: 12px;
    }
}

.bps-google-reviews {
    text-align: center;
    margin-top: 16px;
}

.bps-reviews-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.bps-reviews-link:hover {
    background: #f5f5f5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bps-stars {
    color: #ffa500;
    font-size: 18px;
}

.bps-reviews-text {
    font-size: 14px;
}
.bps-contact-info-compact p { margin: 8px 0; font-size: 0.9rem; }

/* Vermietungen compact */
.bps-vermietung-card { padding: 24px 20px; }
.bps-vermietung-card h3 { font-size: 1.2rem; }
.bps-vermietung-card p { font-size: 0.9rem; }

@media (max-width: 768px) {
    .bps-contact-grid { grid-template-columns: 1fr; }
}

/* Burger Menu */
.bps-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}
.bps-burger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--bps-brown-dark);
    border-radius: 2px;
    transition: var(--bps-transition);
}
.bps-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.bps-burger.active span:nth-child(2) { opacity: 0; }
.bps-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Header scrolled */
.bps-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
.bps-header.scrolled .bps-header-inner { padding: 8px 20px; }

@media (max-width: 900px) {
    .bps-burger {
        display: flex;
        position: relative;
        z-index: 10005;
        pointer-events: auto;
    }

    /* Mobile: Navigation nur über Burger, standardmäßig komplett versteckt */
    .bps-header-fixed .bps-nav {
        position: fixed;
        top: 68px;
        right: 12px;
        left: auto !important;
        width: max-content;
        min-width: 190px;
        max-width: 78vw;
        height: auto;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
        display: flex !important;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
        transform: translateY(-8px) scale(0.98);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.22s ease, opacity 0.22s ease, visibility 0.22s ease;
        z-index: 10002;
    }

    .bps-header-fixed .bps-nav.active {
        transform: translateY(0) scale(1);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .bps-header-fixed .bps-nav a,
    .bps-header-fixed .bps-header-btn {
        display: block;
        width: 190px;
        max-width: 78vw;
        padding: 11px 14px;
        margin: 0;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.35);
        background: var(--bps-mobile-menu-bg);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        color: #fff !important;
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
        text-decoration: none;
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

    .bps-header-fixed .bps-nav a:hover,
    .bps-header-fixed .bps-header-btn:hover {
        background: var(--bps-mobile-menu-bg-hover);
        transform: none;
    }

    .bps-nav .sub-menu { display: none; }
    .bps-header-inner { padding: 12px 16px !important; }
}

/* Fix: Kontaktformular kompakter */
/* Contact Form - compact and modern */
.bps-contact-form { 
    max-width: 100%; 
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8e8e8;
}
.bps-contact-form .bps-form-group { 
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bps-contact-form .bps-form-group label { 
    font-size: 0.85rem; 
    font-weight: 600;
    color: #444;
    min-width: 80px;
    text-align: right;
    margin: 0;
}
.bps-contact-form .bps-required {
    color: #b91c1c;
    font-weight: 700;
}
.bps-contact-form .bps-form-group input,
.bps-contact-form .bps-form-group textarea { 
    flex: 1;
    padding: 8px 12px; 
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
    transition: all 0.2s ease;
}
.bps-contact-form .bps-form-group input:focus,
.bps-contact-form .bps-form-group textarea:focus {
    border-color: #4a7c2e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 124, 46, 0.1);
    outline: none;
}
.bps-contact-form .bps-form-group textarea { 
    height: 70px !important;
    min-height: 70px !important; 
    max-height: 70px !important;
    resize: none; 
}
.bps-contact-form .bps-btn { 
    padding: 10px 24px; 
    font-size: 0.95rem;
    border-radius: 6px;
    width: auto;
    margin-top: 8px;
    margin-left: 92px;
}

.bps-form-consent {
    align-items: flex-start !important;
}

.bps-form-consent label {
    text-align: left !important;
    min-width: 0 !important;
    flex: 1;
    font-weight: 500;
}

.bps-form-consent input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

/* Fix: Hero Button sichtbar */
.bps-hero .bps-btn-primary {
    background: #fff !important;
    color: var(--bps-green-dark) !important;
    border: 2px solid #fff;
}
.bps-hero .bps-btn-primary:hover {
    background: var(--bps-green-light) !important;
    color: #fff !important;
}


/* Header Buttons - desktop */
.bps-header-fixed .bps-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bps-header-fixed .bps-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.38);
    background: rgba(255,255,255,0.16);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transition: all 0.2s ease;
}

.bps-header-fixed .bps-header-btn:hover,
.bps-header-fixed .bps-header-btn:focus-visible {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.65);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

/* Fixed Header */
.bps-header-fixed {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, var(--bps-green-dark) 0%, var(--bps-green) 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.bps-header-fixed .bps-logo-text,
.bps-header-fixed .bps-logo-icon { color: #fff !important; }
.bps-header-fixed .bps-burger span { background: #fff; }

.bps-main-content {
    margin-top: 80px; /* Space for fixed header */
}

/* Hero Text in Header */
.bps-header-fixed .bps-header-tagline { font-size: 0.85rem; margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.3); }
.bps-header-fixed .bps-hero-tagline {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* ============================================
   MODERN SLIDESHOW - Redesign v2
   ============================================ */
.bps-slideshow-section { 
    margin-top: 80px;
    margin-bottom: 30px;
    width: 100%;
}

.bps-slideshow {
    position: relative;
    width: 80%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    background: #f0f0f0;
}

.bps-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bps-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bps-slide.active {
    opacity: 1 !important;
    z-index: 2;
}

/* Modern Navigation Arrows */
.bps-slideshow-prev,
.bps-slideshow-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(255,255,255,0.92) !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 100 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px !important;
    color: #2d5016 !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
    opacity: 0.8 !important;
    visibility: visible !important;
}

.bps-slideshow:hover .bps-slideshow-prev,
.bps-slideshow:hover .bps-slideshow-next {
    opacity: 1 !important;
}

.bps-slideshow-prev:hover,
.bps-slideshow-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.bps-slideshow-prev { left: 16px; }
.bps-slideshow-next { right: 16px; }

.bps-slideshow-dots {
    display: none !important;
}

.bps-dot {
    width: 8px;
    height: 8px;
    min-width: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.bps-dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.bps-dot.active {
    background: #fff;
    transform: scale(1.3);
}

.bps-slideshow-link {
    text-align: center;
    margin-top: 24px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .bps-slideshow { width: 90%; max-width: none; aspect-ratio: 4 / 3; height: auto; border-radius: 12px; }
    .bps-slideshow-section { margin-top: 50px; }
    .bps-slideshow-prev, .bps-slideshow-next { 
        width: 40px; 
        height: 40px; 
        font-size: 18px;
        opacity: 1;
    }
    .bps-slideshow-prev { left: 10px; }
    .bps-slideshow-next { right: 10px; }
    .bps-header-fixed .bps-logo-text { display: none; }
    .bps-header-fixed .bps-header-tagline { display: none; }
    .bps-header-fixed .bps-logo { flex-direction: row; gap: 8px; }
    .bps-header-fixed .bps-logo-icon { font-size: 1.8rem; }
}

/* Fixed Header - white text */
.bps-header-fixed { background: linear-gradient(135deg, #2d5016 0%, #4a7c2e 100%) !important; }
.bps-header-fixed .bps-logo { color: #fff !important; }
.bps-header-fixed .bps-logo-text { color: #fff !important; }
.bps-header-fixed .bps-logo-text strong { color: #fff !important; }
.bps-header-fixed .bps-logo-icon { color: #fff !important; }
.bps-header-fixed .bps-nav a { color: #fff !important; }
.bps-header-fixed .bps-burger span { background: #fff !important; }

/* Page-specific header colors */
body.page-bps-sauna .bps-header-fixed { background: linear-gradient(135deg, #5d4037 0%, #8d6e63 100%) !important; }
body.page-bps-huepfburgen .bps-header-fixed { background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%) !important; }
body.page-bps-galerie .bps-header-fixed,
body.page-bps-startseite .bps-header-fixed,
body.home .bps-header-fixed { background: linear-gradient(135deg, #2d5016 0%, #5d8a3c 100%) !important; }
body.page-bps-impressum .bps-header-fixed { background: linear-gradient(135deg, #5d4037 0%, #8d6e63 100%) !important; }

body.page-bps-sauna { --bps-mobile-menu-bg: rgba(93,64,55,0.9); --bps-mobile-menu-bg-hover: rgba(93,64,55,0.98); }
body.page-bps-huepfburgen { --bps-mobile-menu-bg: rgba(230,126,34,0.88); --bps-mobile-menu-bg-hover: rgba(230,126,34,0.98); }
body.page-bps-galerie { --bps-mobile-menu-bg: rgba(45,80,22,0.86); --bps-mobile-menu-bg-hover: rgba(45,80,22,0.96); }
body.page-bps-impressum { --bps-mobile-menu-bg: rgba(93,64,55,0.88); --bps-mobile-menu-bg-hover: rgba(93,64,55,0.98); }

/* Startseite - default green */


/* Startseite Fragen-Boxen: wie Leistungen, aber 3 Spalten */
.bps-services-grid-questions {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
}

.bps-services-grid-questions .bps-service-card {
    padding: 14px 12px;
}

.bps-services-grid-questions .bps-service-icon {
    margin-bottom: 6px;
}

.bps-services-grid-questions .bps-service-card p {
    margin: 0;
    line-height: 1.4;
}

.bps-questions-title {
    margin-top: 38px;
    margin-bottom: 20px;
}

body.page-bps-startseite .bps-slideshow-section,
body.home .bps-slideshow-section {
    margin-top: 24px;
    margin-bottom: 12px;
}

.bps-section-after-slideshow {
    padding-top: 14px;
}

.bps-btn-gallery-overlay {
    padding: 8px 14px;
    font-size: 0.9rem;
    background: rgba(250, 248, 245, 0.92);
    border-color: rgba(45, 80, 22, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.bps-btn-gallery-overlay:hover {
    background: rgba(45, 80, 22, 0.92);
}

@media (max-width: 900px) {
    .bps-services-grid-questions {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }
}

@media (max-width: 600px) {
    .bps-services-grid-questions {
        grid-template-columns: 1fr;
    }
}


/* Hüpfburgen Intro */
.bps-huepfburgen-intro { padding-bottom: 16px; }
.bps-huepfburg-intro-lead { text-align: center; max-width: 820px; margin: 0 auto 16px; font-size: 1.08rem; color: #444; }
.bps-huepfburg-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; max-width: 920px; margin: 0 auto; }
.bps-huepfburg-benefit { background: #fff; border: 1px solid #ececec; border-radius: 10px; padding: 10px 12px; font-size: 0.95rem; }

/* tighter spacing before cards */
.bps-huepfburgen-intro + .bps-section { padding-top: 22px; }

/* Sauna: pricing left and compact slideshow right */
.bps-pricing-table-left { margin: 0; max-width: 100%; }
.bps-slideshow-compact { width: 100%; max-width: 100%; aspect-ratio: auto; margin-top: 8px; }
.bps-slideshow-compact .bps-slideshow-prev,
.bps-slideshow-compact .bps-slideshow-next { width: 42px !important; height: 42px !important; font-size: 18px !important; }

@media (max-width: 900px) {
  .bps-huepfburg-benefits { grid-template-columns: 1fr; }
}


/* Footer page colors */
body.page-bps-sauna .bps-footer { background: linear-gradient(135deg, #5d4037 0%, #8d6e63 100%); }
body.page-bps-huepfburgen .bps-footer { background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%); }
body.page-bps-startseite .bps-footer,
body.home .bps-footer,
body.page-bps-galerie .bps-footer { background: linear-gradient(135deg, #2d5016 0%, #5d8a3c 100%); }
body.page-bps-impressum .bps-footer { background: linear-gradient(135deg, #5d4037 0%, #8d6e63 100%); }


/* Page heading color overrides */
body.page-bps-huepfburgen .bps-section h2,
body.page-bps-huepfburgen .bps-section h1,
body.page-bps-sauna .bps-section h2,
body.page-bps-sauna .bps-section h1 { color: #222 !important; }


/* Mobile menu hard fallback (force visible when active) */
@media (max-width: 900px) {
  #bps-nav { display: none !important; }
  #bps-nav.active {
    display: flex !important;
    position: fixed !important;
    top: 68px !important;
    right: 12px !important;
    left: auto !important;
    width: max-content !important;
    min-width: 190px !important;
    max-width: 78vw !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 10050 !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #bps-nav.active a {
    display: block !important;
    width: 190px !important;
    max-width: 78vw !important;
    padding: 11px 14px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(255,255,255,0.35) !important;
    background: var(--bps-mobile-menu-bg, rgba(45,80,22,0.88)) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
  }
}


/* Native mobile menu (details/summary) */
.bps-mobile-menu { display: none; }
.bps-mobile-menu > summary { list-style: none; }
.bps-mobile-menu > summary::-webkit-details-marker { display: none; }

@media (max-width: 900px) {
  .bps-nav { display: none !important; }
  .bps-mobile-menu { display: block; position: relative; z-index: 10060; }
  .bps-mobile-menu .bps-burger { display: flex; }
  .bps-mobile-menu-panel {
    position: fixed;
    top: 68px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 10061;
  }
  .bps-mobile-menu[open] .bps-mobile-menu-panel { display: flex; }
  .bps-mobile-menu-panel .bps-header-btn {
    width: 190px;
    max-width: 78vw;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.35);
    background: var(--bps-mobile-menu-bg, rgba(45,80,22,0.88));
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  }
}


/* Contact info contrast for sauna/huepfburgen */
body.page-bps-sauna .bps-section-contact .bps-contact-info a,
body.page-bps-huepfburgen .bps-section-contact .bps-contact-info a {
  color: #222 !important;
  font-weight: 600;
}
body.page-bps-sauna .bps-section-contact .bps-contact-info a:hover,
body.page-bps-huepfburgen .bps-section-contact .bps-contact-info a:hover {
  color: #000 !important;
}


/* Mobile modal offset below fixed header */
@media (max-width: 900px) {
  .bps-modal-content {
    margin: 90px auto 24px !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
  .bps-modal-close {
    top: 12px;
    right: 14px;
    z-index: 2;
  }
}


/* Sauna info layout */
.bps-sauna-points { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:14px 0 10px; }
.bps-sauna-point { background:#fff; border:1px solid #ececec; border-radius:10px; padding:10px 12px; font-size:.95rem; }
.bps-sauna-actions { margin-top:14px; }
body.page-bps-sauna .bps-price-value, body.page-bps-sauna .bps-price-label { color:#222 !important; }
@media (max-width: 800px){ .bps-sauna-points{ grid-template-columns:1fr; } }


.bps-highlight-sauna { border-left-color: #5d4037 !important; }

.bps-content-grid-sauna { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; max-width: 1120px; margin: 0 auto; justify-content: center; }
.bps-content-grid-sauna .bps-content-main { display:flex; flex-direction:column; justify-content:flex-start; }
.bps-content-grid-sauna .bps-content-images { height: 100%; display:flex; align-items:flex-start; justify-content:center; }
.bps-content-grid-sauna .bps-slideshow-compact { width: 78%; min-width: 280px; max-width: 560px; height: auto; min-height: 0; aspect-ratio: 4 / 3; }

.bps-btn-sauna { background:#5d4037; color:#fff; border:2px solid #5d4037; }
.bps-btn-sauna:hover { background:#4a322c; color:#fff; border-color:#4a322c; }

.bps-slideshow-overlay-cta { position:absolute; right:14px; bottom:14px; z-index:120; }
.bps-slideshow-overlay-cta .bps-btn { box-shadow:0 6px 16px rgba(0,0,0,.25); }


/* Sauna main block centering */
body.page-bps-sauna .bps-section > .bps-content-grid-sauna { margin-left: auto; margin-right: auto; }

/* Page-specific contact form button colors */
body.page-bps-sauna .bps-contact-form .bps-btn-primary,
.bps-contact-theme-sauna .bps-contact-form .bps-btn-primary {
  background: linear-gradient(135deg, #5d4037 0%, #8d6e63 100%) !important;
  border-color: #5d4037 !important;
  color: #fff !important;
}
body.page-bps-sauna .bps-contact-form .bps-btn-primary:hover,
.bps-contact-theme-sauna .bps-contact-form .bps-btn-primary:hover {
  background: linear-gradient(135deg, #4a322c 0%, #6d5248 100%) !important;
  border-color: #4a322c !important;
}
body.page-bps-huepfburgen .bps-contact-form .bps-btn-primary,
.bps-contact-theme-huepfburgen .bps-contact-form .bps-btn-primary {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%) !important;
  border-color: #e67e22 !important;
  color: #fff !important;
}
body.page-bps-huepfburgen .bps-contact-form .bps-btn-primary:hover,
.bps-contact-theme-huepfburgen .bps-contact-form .bps-btn-primary:hover {
  background: linear-gradient(135deg, #d35400 0%, #e67e22 100%) !important;
  border-color: #d35400 !important;
}

/* Sauna mobile layout fixes */
@media (max-width: 900px) {
  .bps-content-grid-sauna {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .bps-content-grid-sauna .bps-content-main,
  .bps-content-grid-sauna .bps-content-images {
    width: 100%;
  }
  .bps-content-grid-sauna .bps-sauna-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .bps-content-grid-sauna .bps-sauna-point {
    padding: 10px;
    font-size: 0.92rem;
  }
  .bps-content-grid-sauna .bps-slideshow-compact {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
  }
  body.page-bps-sauna .bps-slideshow-compact .bps-slide img {
    object-fit: contain;
    background: #f5f5f5;
  }

  .bps-contact-form {
    padding: 14px;
  }
  .bps-contact-form .bps-form-group {
    display: block;
  }
  .bps-contact-form .bps-form-group label {
    text-align: left;
    min-width: 0;
    margin-bottom: 6px;
  }
  .bps-contact-form .bps-btn {
    width: 100%;
    margin-left: 0;
  }
}
