/* ========================================
   Munz Bauservice
   Ein Unternehmen der Munz-Gruppe
   Steel Industrial Template Style
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Jura:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #fff; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a { color: #7a1525; text-decoration: none; transition: all 0.3s; }
a:hover { color: #8b1a2b; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Jura', sans-serif;
    color: #151515;
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 15px; }
.fw-light { font-weight: 300; }
.text-white { color: #fff !important; }
.text-orange { color: #8b1a2b; }

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

/* ===== HEADER / NAVIGATION ===== */
.page-header {
    position: relative;
    z-index: 1000;
}

/* Top bar */
.navbar-top {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e8e8e8;
}

.navbar-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand img {
    height: 200px;
    width: auto;
}

.contact-header {
    text-align: right;
}

.contact-header h5 {
    font-size: 0.85rem;
    color: #777;
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-header .phone {
    font-family: 'Jura', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #151515;
}

.contact-header .hours {
    font-size: 0.85rem;
    color: #777;
}

.contact-header .hours span { color: #555; }

/* Main navbar */
.navbar-main {
    background: #fff;
    border-bottom: 2px solid #8b1a2b;
    position: sticky;
    top: 0;
    z-index: 99999;
    transition: box-shadow 0.3s;
}

.navbar-main.scrolled {
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 55px;
}

.nav-brand-mobile {
    display: none;
}

.nav-brand-mobile img {
    height: 60px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    height: 100%;
}

.nav-links li {
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #333;
    padding: 0 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    height: 100%;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #8b1a2b;
    background: rgba(139, 26, 43, 0.05);
    border-bottom-color: #8b1a2b;
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    transition: all 0.3s;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 70vh;
    min-height: 450px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-color: #1a1a2e;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,26,46,0.75) 0%, rgba(139,26,43,0.5) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-caption {
    max-width: 600px;
    padding: 35px 40px;
    background: rgba(139, 26, 43, 0.88);
    color: #fff;
}

.hero-caption h1 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.hero-caption h1 span {
    display: block;
    font-weight: 300;
    font-size: 1.4rem;
}

.hero-caption p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 15px;
    line-height: 1.6;
}

.hero-caption .btn {
    background: #fff;
    color: #8b1a2b;
}

.hero-caption .btn:hover {
    background: #f0f0f0;
    color: #7a1525;
}

/* ===== SECTIONS ===== */
.section-md { padding: 70px 0; }
.section-sm { padding: 40px 0; }
.section-lg { padding: 100px 0; }

.bg-default { background: #fff; }
.bg-gray { background: #f5f7fa; }
.bg-dark { background: #272d33; color: #fff; }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: #fff; }

/* ===== TEXT SECTIONS ===== */
.section-title-bar {
    margin-bottom: 30px;
}

.section-title-bar h2 {
    font-size: 2rem;
    color: #1a1a2e;
}

.section-title-bar h2 span {
    font-weight: 300;
}

.text-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* ===== ABOUT SECTION (Bild + Text) ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-grid img {
    width: 100%;
    height: auto;
}

/* ===== SERVICE CARDS ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-left: 4px solid #8b1a2b;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #8b1a2b;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-card h4 {
    color: #8b1a2b;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.service-card p {
    font-size: 0.9rem;
    color: #777;
}

/* ===== PARALLAX SECTIONS ===== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.parallax-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.caption-box {
    max-width: 550px;
    padding: 35px 40px;
    background: rgba(122, 21, 37, 0.88);
    color: #fff;
}

.caption-box h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.caption-box h2 span {
    display: block;
    font-weight: 300;
    font-size: 1.3rem;
}

.caption-box p {
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 35px;
    background: #7a1525;
    color: #fff;
    font-family: 'Jura', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background: #272d33;
    color: #fff;
    transform: translateY(-2px);
}

.btn-orange {
    background: #8b1a2b;
}

.btn-orange:hover {
    background: #7a1525;
}

/* ===== PAGE HEADER (Unterseiten) ===== */
.page-banner {
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f0f2f5 0%, #e8ecf1 50%, #dce3eb 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.page-banner p {
    color: #555;
    font-size: 1.1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info dl {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 20px;
}

.contact-info dt {
    font-weight: 700;
    color: #151515;
}

.contact-info dd {
    color: #555;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadbdc;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #151515;
    margin-bottom: 15px;
    transition: border-color 0.3s;
    background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #8b1a2b;
}

.contact-form textarea { min-height: 150px; resize: vertical; }

/* ===== MAP ===== */
.map-container {
    height: 350px;
    background: #ddd;
    overflow: hidden;
}

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

/* ===== LEGAL ===== */
.legal-content h3 {
    font-size: 1.2rem;
    color: #8b1a2b;
    margin-top: 25px;
    margin-bottom: 10px;
}

.legal-content p { margin-bottom: 10px; }

.legal-content ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 10px;
}

/* ===== PRODUCT LIST ===== */
.product-list {
    list-style: none;
}

.product-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e8e8e8;
}

.product-list li a {
    color: #555;
    font-weight: 500;
    position: relative;
    padding-left: 20px;
    display: block;
}

.product-list li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: #8b1a2b;
    font-weight: 700;
    font-size: 1.1rem;
}

.product-list li a:hover {
    color: #7a1525;
}

/* ===== FOOTER ===== */
.footer-main {
    background: #2c2c2c;
    padding: 50px 0;
    color: #b0bec5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-main h2 {
    color: #fff;
    font-size: 1.8rem;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.footer-main dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 15px;
}

.footer-main dt {
    color: #fff;
    font-weight: 600;
}

.footer-main dd {
    color: #b0bec5;
}

.footer-main a {
    color: #b0bec5;
}

.footer-main a:hover {
    color: #8b1a2b;
}

.footer-bottom {
    background: #222;
    padding: 15px 0;
    text-align: center;
    color: #777;
    font-size: 0.85rem;
}

.footer-bottom a {
    color: #b0bec5;
}

.footer-bottom a:hover { color: #8b1a2b; }

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.open { display: flex; }

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
}

/* ===== ANIMATIONS ===== */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.from-left {
    transform: translateX(-40px);
}

.animate.from-right {
    transform: translateX(40px);
}

.animate.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== STICKY CTA (Mobile) ===== */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #8b1a2b;
    box-shadow: 0 -3px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .sticky-cta { display: flex; }
}

.sticky-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 10px;
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.sticky-cta-btn:hover { background: rgba(255,255,255,0.1); color: #fff !important; }

.sticky-cta-btn.cta-kontakt {
    background: #fff;
    color: #8b1a2b !important;
}

.sticky-cta-btn.cta-kontakt:hover {
    background: #f0f0f0;
    color: #8b1a2b !important;
}

.sticky-cta-btn span { font-size: 1.2rem; }

/* ===== FLOATING CTA (Desktop) ===== */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99998;
    background: #8b1a2b;
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(139,26,43,0.4);
    transition: all 0.3s;
    animation: cta-pulse 2s ease-in-out infinite;
}

.floating-cta:hover {
    background: #7a1525;
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(139,26,43,0.5);
    animation: none;
}

@media (min-width: 769px) {
    .floating-cta { display: inline-flex; align-items: center; gap: 6px; }
}

@keyframes cta-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(139,26,43,0.4); }
    50% { box-shadow: 0 4px 30px rgba(139,26,43,0.7); }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a2e;
    color: #ccc;
    padding: 14px 0;
    z-index: 9999;
    font-size: 0.85rem;
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-inner p { margin: 0; }
.cookie-inner a { color: #fff; text-decoration: underline; }
.cookie-btn {
    background: #8b1a2b;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 600;
    transition: background 0.3s;
}
.cookie-btn:hover { background: #a02035; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .text-columns { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .hero-section { height: 60vh; min-height: 400px; }
    h1 { font-size: 2rem; }
    .page-banner { height: 220px; }
    .page-banner h1 { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .navbar-top .container { flex-direction: column; gap: 10px; text-align: center; }
    .contact-header { text-align: center; }

    .nav-links {
        display: none;
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #fff !important;
        border-top: 1px solid #e0e0e0;
        box-shadow: 0 5px 15px rgba(0,0,0,0.15);
        z-index: 9999;
        opacity: 1 !important;
    }

    .nav-links.open { display: flex; }
    .nav-links li { background: #fff; }
    .nav-links a { padding: 15px 20px; border-bottom: 1px solid #f0f0f0; display: block; background: #fff !important; }
    .nav-toggle { display: flex; }
    .nav-brand-mobile { display: block; }

    .hero-section { height: 50vh; min-height: 350px; }
    .hero-caption { padding: 20px 25px; }
    .hero-caption h1 { font-size: 1.4rem; }
    .hero-caption h1 span { font-size: 1rem; }

    .section-md { padding: 40px 0; }
    .section-lg { padding: 60px 0; }

    .footer-main dl {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    footer { padding-bottom: 60px; }
}

@media (max-width: 600px) {
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-banner { padding-bottom: 70px; }
}
