/* ========================================
   Fa. Munz D/M/H Fertigungstechnik
   Steel Industrial Template Style
   Inspired by TemplateMonster #55571
   ======================================== */

@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: 60px;
    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: 35px;
}

.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;
}

/* ===== DROPDOWN NAV ===== */
.has-dropdown {
    position: relative;
}

.has-dropdown > a::after {
    content: '▾';
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.6;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    border-top: 2px solid #8b1a2b;
    list-style: none;
    z-index: 100000;
}

.has-dropdown:hover .dropdown {
    display: block;
}

.dropdown li {
    height: auto;
}

.dropdown a {
    padding: 12px 20px !important;
    font-size: 0.85rem !important;
    height: auto !important;
    border-bottom: 1px solid #f0f0f0 !important;
    white-space: nowrap;
    display: block !important;
}

.dropdown a:hover {
    background: rgba(139, 26, 43, 0.05) !important;
    color: #8b1a2b !important;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
    color: #777;
    border-bottom: 1px solid #e8e8e8;
}

.breadcrumb a {
    color: #555;
    font-weight: 500;
}

.breadcrumb a:hover {
    color: #8b1a2b;
}

.breadcrumb span {
    margin: 0 8px;
    color: #bbb;
}

/* ===== LANDINGPAGE HERO ===== */
.lp-hero {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

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

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

.lp-hero h1 {
    color: #fff;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.lp-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    max-width: 600px;
}

/* ===== RELATED SERVICES GRID ===== */
.related-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.related-card {
    display: block;
    padding: 25px;
    background: #f5f7fa;
    border-left: 4px solid #8b1a2b;
    text-decoration: none;
    transition: all 0.3s;
}

.related-card:hover {
    background: #eef1f5;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.related-card h4 {
    color: #8b1a2b;
    margin-bottom: 6px;
    font-size: 1rem;
    text-transform: uppercase;
}

.related-card p {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0;
}

/* ===== LANDINGPAGE QUICK-FACTS ===== */
.lp-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #8b1a2b;
}

.lp-fact {
    padding: 18px 25px;
    text-align: center;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.15);
}

.lp-fact:last-child {
    border-right: none;
}

.lp-fact-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.lp-fact h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ===== LANDINGPAGE CTA-BOX ===== */
.lp-cta-box {
    background: linear-gradient(135deg, #8b1a2b 0%, #7a1525 100%);
    padding: 45px 40px;
    text-align: center;
    color: #fff;
}

.lp-cta-box h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.lp-cta-box p {
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lp-cta-box .btn {
    background: #fff;
    color: #8b1a2b;
    font-size: 0.95rem;
    padding: 15px 45px;
    font-weight: 700;
}

.lp-cta-box .btn:hover {
    background: #f0f0f0;
    color: #7a1525;
    transform: translateY(-2px);
}

/* 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 SLIDER ===== */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active { opacity: 1; }

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
}

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

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

.camera-caption.caption-blue {
    background: rgba(100, 18, 30, 0.88);
}

.camera-caption.caption-dark {
    background: rgba(44, 52, 59, 0.85);
}

.camera-caption h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

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

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

.camera-caption .arrow-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all 0.3s;
}

.camera-caption .arrow-link:hover {
    background: #fff;
    color: #8b1a2b;
}

/* Slider dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: #8b1a2b;
}

/* ===== 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; }

/* ===== IMAGE BLOCKS (4er Grid) ===== */
.img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.img-grid.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.img-block {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.img-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.img-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
    z-index: 1;
    transition: background 0.3s;
}

.img-block:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 70%);
}

.img-block-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    color: #fff;
}

.img-block-caption h3 {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 8px;
}

.img-block-caption p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 10px;
}

.img-block .arrow-link {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #8b1a2b;
    color: #fff;
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s;
}

.img-block:hover .arrow-link {
    background: #7a1525;
}

/* ===== 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;
}

/* ===== PARALLAX SECTIONS ===== */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    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;
}

/* ===== PRODUCT LIST ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px 30px;
}

.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;
}

/* ===== 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;
}

/* ===== 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;
}

/* ===== 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; }

/* ===== 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; }

/* ===== 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::before {
    content: '';
    position: absolute;
    inset: 0;
    background: none;
}

.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;
}

/* ===== LEISTUNGEN DETAIL ===== */
.service-section {
    margin-bottom: 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.service-detail-grid.reverse {
    direction: rtl;
}

.service-detail-grid.reverse > * {
    direction: ltr;
}

.service-text h3 {
    font-size: 1.6rem;
    color: #8b1a2b;
    margin-bottom: 15px;
}

.service-text p {
    margin-bottom: 10px;
}

.service-list {
    list-style: none;
    margin-top: 15px;
}

.service-list li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: #555;
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8b1a2b;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1;
    top: 8px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.4s;
    border: 1px solid #e0e0e0;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: #8b1a2b;
}

/* ===== ÜBER UNS ===== */
.machine-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 25px;
}

.machine-card {
    background: #fff;
    padding: 30px;
    text-align: center;
    border-bottom: 3px 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);
}

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

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

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

.iso-badge {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    margin-top: 20px;
}

.iso-badge img { height: 55px; width: auto; }
.iso-badge span { font-weight: 700; font-family: 'Jura', sans-serif; color: #151515; }

/* ===== 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;
}

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

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

/* ===== 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 (WOW-style) ===== */
.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);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .img-grid { grid-template-columns: 1fr; }
    .text-columns { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-grid.reverse { direction: ltr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .machine-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 60vh; min-height: 400px; }
    h1 { font-size: 2rem; }
    .camera-caption h2 { font-size: 1.4rem; }
    .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; }

    /* Dropdown mobile */
    .has-dropdown > a::after { content: '▾'; }
    .dropdown {
        position: static;
        box-shadow: none;
        border-top: none;
        display: none;
        background: #f9f9f9;
    }
    .has-dropdown.open > .dropdown { display: block; }
    .dropdown a { padding-left: 35px !important; font-size: 0.8rem !important; }

    /* Landingpage hero mobile */
    .lp-hero { height: 250px; }
    .lp-hero h1 { font-size: 1.6rem; }
    .related-services { grid-template-columns: 1fr; }
    .lp-facts { grid-template-columns: 1fr; }
    .lp-fact { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 12px 20px; }
    .lp-fact:last-child { border-bottom: none; }
    .lp-cta-box { padding: 30px 20px; }
    .lp-cta-box h2 { font-size: 1.4rem; }

    .hero-slider { height: 50vh; min-height: 350px; }
    .camera-caption { padding: 20px 25px; }
    .camera-caption h2 { font-size: 1.2rem; }
    .camera-caption h2 span { font-size: 1rem; }

    .section-md { padding: 40px 0; }
    .section-lg { padding: 60px 0; }
    .products-grid { grid-template-columns: 1fr; }

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

    /* Sticky CTA Mobile: Platz für die Leiste */
    footer { padding-bottom: 60px; }
}

/* ===== 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-anfrage {
    background: #fff;
    color: #8b1a2b !important;
}

.sticky-cta-btn.cta-anfrage: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); }
}

/* ===== WIZARD (Sofort-Angebot) ===== */
.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 0;
}

.wizard-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.wizard-nr {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
}

.wizard-step.active .wizard-nr {
    background: #8b1a2b;
    color: #fff;
}

.wizard-step.done .wizard-nr {
    background: #28a745;
    color: #fff;
}

.wizard-label {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.wizard-step.active .wizard-label { color: #8b1a2b; font-weight: 600; }
.wizard-step.done .wizard-label { color: #28a745; }

.wizard-line {
    flex: 1;
    height: 3px;
    background: #e0e0e0;
    max-width: 80px;
    margin: 0 10px;
    margin-bottom: 20px;
}

.wizard-panel { display: none; }
.wizard-panel.active { display: block; animation: fadeIn 0.3s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Upload Zone */
.upload-zone {
    border: 3px dashed #ccc;
    border-radius: 12px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafafa;
}

.upload-zone:hover, .upload-zone.drag-over {
    border-color: #8b1a2b;
    background: #fef5f6;
}

.upload-icon { font-size: 3rem; margin-bottom: 10px; }
.upload-text { color: #777; margin: 0; }

.upload-files { margin-top: 15px; }

.upload-file {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #f5f7fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 8px;
}

.upload-file-icon { font-size: 1.3rem; }
.upload-file-name { flex: 1; font-size: 0.9rem; color: #333; }
.upload-file-name small { color: #999; }

.upload-file-remove {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
}

.upload-file-remove:hover { color: #dc3545; }

/* Wizard Fields */
.wizard-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.wizard-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.wizard-field input,
.wizard-field select,
.wizard-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.wizard-field input:focus,
.wizard-field select:focus,
.wizard-field textarea:focus {
    border-color: #8b1a2b;
    outline: none;
}

/* Analyse Animation */
.analyse-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid #e0e0e0;
    border-top-color: #8b1a2b;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.analyse-bar-wrap {
    width: 100%;
    max-width: 400px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    margin: 20px auto 0;
    overflow: hidden;
}

.analyse-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #8b1a2b, #28a745);
    border-radius: 4px;
    transition: width 0.3s;
}

/* Ergebnis */
.ergebnis-icon {
    width: 80px;
    height: 80px;
    background: #d4edda;
    color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .wizard-fields { grid-template-columns: 1fr; }
    .wizard-label { font-size: 0.7rem; }
    .wizard-nr { width: 34px; height: 34px; font-size: 0.85rem; }
    .wizard-line { max-width: 40px; }
    .upload-zone { padding: 30px 15px; }
}

/* ===== PROMO OVERLAY POPUP ===== */
.promo-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}
.promo-overlay.open {
    opacity: 1;
    visibility: visible;
}
.promo-popup {
    background: #fff;
    max-width: 480px;
    width: 90%;
    padding: 45px 40px 35px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s;
}
.promo-overlay.open .promo-popup {
    transform: scale(1);
}
.promo-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.promo-close:hover { color: #333; }
.promo-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: #8b1a2b;
}
.promo-popup h3 {
    font-family: 'Jura', sans-serif;
    font-size: 1.6rem;
    color: #151515;
    margin-bottom: 12px;
}
.promo-popup p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}
.promo-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    background: #8b1a2b;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 6px;
    text-align: center;
    transition: background 0.3s;
}
.promo-btn:hover { background: #a02035; }

@media (max-width: 600px) {
    .promo-popup { padding: 35px 25px 28px; }
    .promo-popup h3 { font-size: 1.3rem; }
    .promo-icon { font-size: 2.8rem; }
}

/* ===== FAQ SECTION ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 0;
}
.faq-item summary {
    font-family: 'Jura', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: #151515;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    color: #8b1a2b;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: 15px;
    transition: transform 0.3s;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    padding: 0 0 18px;
    color: #555;
    line-height: 1.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; }
@media (max-width: 600px) {
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-banner { padding-bottom: 70px; }
}
