:root {
    --primary-dark: #1d3c43;
    --accent-orange: #f47b20;
    --light-bg: #f7f9fa;
    --white: #ffffff;
    --text-dark: #1f1f1f;
    --text-grey: #5a5a5a;
    --font-stack: 'Open Sans', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-stack); color: var(--text-dark); line-height: 1.6; background: var(--light-bg); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

.cta-button { display: inline-block; padding: 12px 28px; font-weight: 700; border-radius: 5px; transition: 0.3s; font-size: 1rem; text-align: center; cursor: pointer; }
.primary-btn { background: var(--accent-orange); color: var(--white); border: 2px solid var(--accent-orange); }
.primary-btn:hover { background: #d66b1b; border-color: #d66b1b; }
.secondary-btn { background: var(--white); color: var(--text-dark); border: 2px solid var(--white); }
.secondary-btn:hover { background: transparent; color: var(--white); }
.small-btn { padding: 8px 20px; font-size: 0.9rem; }
.full-width-btn { width: 100%; }

.header { background: var(--primary-dark); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-img { max-height: 65px; width: auto; }
.header-right { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--white); font-weight: 600; margin-left: 20px; }
.nav-links a:hover { color: var(--accent-orange); }
.phone-btn { background: var(--accent-orange); color: var(--white); display: flex; align-items: center; gap: 8px; }

.hero { background: var(--primary-dark); background-image: url('img/hero-bg.jpg'); background-size: cover; background-position: center; padding: 120px 0; min-height: 500px; text-align: center; color: var(--white); position: relative; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(29, 60, 67, 0.75); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; font-weight: 800; }
.hero .highlight-text { color: var(--accent-orange); }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }
.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-bottom: 35px; }
.hero-tags { display: flex; justify-content: center; gap: 25px; flex-wrap: wrap; font-size: 0.95rem; }

.orange-tag-bar { background: var(--accent-orange); width: 100%; padding: 18px 0; }
.tag-inner { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; }
.tag-item { color: var(--white); font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: 10px; cursor: default; }

.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }

.service-grid-section { padding: 60px 0; background: var(--white); position: relative; }
.service-header { position: relative; margin-bottom: 40px; text-align: center; }
.orange-badge { display: inline-block; background: var(--accent-orange); color: #fff; padding: 8px 16px; border-radius: 30px; font-weight: 700; font-size: 0.9rem; margin-bottom: 15px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); border: 1px solid #eaeaea; border-radius: 8px; overflow: hidden; transition: 0.3s; }
.service-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.08); transform: translateY(-5px); }
.card-image { width: 100%; height: 180px; background-size: cover; background-position: center; }
.card-body { padding: 25px; }

.card-body h3 { font-size: 1.4rem; color: var(--text-dark); margin-bottom: 8px; font-weight: 700; }
.card-body .service-subtitle { display: inline-block; background: var(--accent-orange); color: #fff; font-size: 0.85rem; font-weight: 700; padding: 2px 14px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px; }
.card-body p { font-size: 0.95rem; color: var(--text-grey); line-height: 1.5; margin-top: 5px; }

.about-section { padding: 60px 0; background: var(--light-bg); text-align: center; }
.about-title { font-size: 1.8rem; margin-bottom: 10px; }
.about-subtitle { color: var(--text-grey); margin-bottom: 40px; }
.mini-grid-three { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin: 0 auto; max-width: 1000px; }
.mini-card { flex: 1 1 200px; max-width: 280px; background: var(--white); padding: 30px 20px; border-radius: 8px; border: 1px solid #eaeaea; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: 0.3s; }
.mini-card:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.mini-icon { color: var(--accent-orange); font-size: 2.2rem; margin-bottom: 15px; }
.mini-card h4 { font-size: 1.1rem; margin-bottom: 5px; }
.mini-card p { font-size: 0.9rem; color: var(--text-grey); }

.quick-section, .reviews-section, .faq-section, .contact-main-section { padding: 60px 0; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.quick-card { background: var(--white); padding: 25px; border-radius: 8px; text-align: center; }
.quick-card.dark-card { background: var(--primary-dark); color: var(--white); }
.quick-icon { font-size: 2rem; margin-bottom: 10px; color: var(--accent-orange); }
.quick-card.dark-card .quick-icon { color: var(--white); }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.review-card { background: var(--white); padding: 20px; border-radius: 8px; border: 1px solid #eaeaea; }
.reviewer { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.r-stars { color: var(--accent-orange); margin-bottom: 10px; }
.badge-date { font-size: 0.8rem; color: var(--text-grey); font-weight: 400; }
.reviews-section .stars { text-align: center; color: var(--accent-orange); font-size: 1.2rem; margin-bottom: 30px; }

.accordion-container { max-width: 800px; margin: 0 auto; }
.accordion-item { border: 1px solid #eaeaea; margin-bottom: 15px; border-radius: 6px; overflow: hidden; }
.accordion-header { background: var(--light-bg); padding: 18px 25px; width: 100%; border: none; text-align: left; font-weight: 700; font-size: 1.05rem; cursor: pointer; display: flex; justify-content: space-between; }
.accordion-body { background: var(--white); max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 25px; }
.accordion-body p { padding: 20px 0; color: var(--text-grey); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-box, .contact-form-box { background: var(--white); padding: 30px; border-radius: 10px; border: 1px solid #eaeaea; }
.info-row { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.info-icon { color: var(--accent-orange); font-size: 1.5rem; }
.phone-link { font-weight: 700; color: var(--primary-dark); font-size: 1.1rem; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; }
.success-box { background: #d4edda; color: #155724; padding: 12px; border-radius: 6px; margin-bottom: 15px; }
.error-box { background: #f8d7da; color: #721c24; padding: 12px; border-radius: 6px; margin-bottom: 15px; }

.comparison-wrapper { background: var(--white); padding: 0 0 60px 0; }
.img-comp-container { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); background: #dcdcdc; min-height: 300px; touch-action: none; }
.img-comp-images { position: relative; display: flex; width: 100%; height: auto; }
.img-comp-img-left { display: block; width: 100%; height: auto; object-fit: cover; background: #cfcfcf; min-height: 300px; }
.img-comp-overlay { position: absolute; top: 0; left: 0; width: 50%; height: 100%; overflow: hidden; z-index: 10; border-right: 4px solid var(--accent-orange); box-sizing: border-box; }
.img-comp-img-right { display: block; height: 100%; width: auto; max-width: none; object-fit: cover; position: relative; background: #bababa; min-height: 300px; }
.img-comp-handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: var(--accent-orange); border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; z-index: 25; box-shadow: 0 4px 12px rgba(0,0,0,0.3); pointer-events: none; }
.img-comp-slider { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 30; margin: 0; padding: 0; touch-action: none; }
@media (max-width: 768px) { .img-comp-handle { width: 40px; height: 40px; font-size: 1rem; } }

.footer { background: var(--primary-dark); color: #b0c4c9; padding-top: 50px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 15px; }
.footer-col a { color: #b0c4c9; transition: 0.3s; }
.footer-col a:hover { color: var(--accent-orange); }
.footer-cta-col .footer-form-cta { background: rgba(255,255,255,0.08); padding: 15px; border-radius: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 15px 0; text-align: center; font-size: 0.9rem; }

@media (max-width: 992px) { .contact-grid, .footer-grid { grid-template-columns: 1fr; } .reviews-grid { grid-template-columns: 1fr 1fr; } .tag-inner { gap: 20px; } }
@media (max-width: 768px) { .header-content { flex-direction: column; gap: 10px; } .header-right { width: 100%; justify-content: space-between; } .hero h1 { font-size: 2rem; } .reviews-grid { grid-template-columns: 1fr; } .mini-grid-three { flex-direction: column; align-items: center; } .mini-card { flex: 1 1 100%; max-width: 100%; } }

/* --- MODALS (POPUP FENSTER) --- */
.modal-overlay {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6); /* Abdunkelung im Hintergrund */
    backdrop-filter: blur(3px); /* Leichter Weichzeichner */
    align-items: center;
    justify-content: center;
}

/* Der weiße Kasten im Popup */
.modal-content {
    background-color: #fff;
    margin: 20px;
    padding: 30px;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    max-height: 80vh; /* Verhindert, dass es zu lang wird */
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

/* Schließen-Button (X) oben rechts */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-btn:hover {
    color: var(--accent-orange);
}

.modal-content h2 {
    margin-top: 0;
    color: var(--primary-dark);
    margin-bottom: 20px;
}
.modal-content p {
    color: var(--text-grey);
    line-height: 1.6;
}

/* Sanfte Einblende-Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}