/* ========================================
   CSS RESET & BASIS-STYLES
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* ========================================
   HEADER & NAVIGATION (NEU: groß → klein beim Scroll)
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Anfangszustand (groß) */
.header-banner {
    background-color: #1a237e;
    padding: 34px 0; /* größer */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: padding 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 150px; /* +30% */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Navigation */
.navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navigation a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
}

.navigation a:hover,
.navigation a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1a237e;
    min-width: 200px;
    padding: 10px 0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 0 !important;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 12px 20px;
    border-radius: 0;
    white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Scroll-Zustand (klein) – wird per JS Klasse gesetzt: .header.scrolled */
.header.scrolled {
    box-shadow: 0 10px 26px rgba(0,0,0,0.14);
}

.header.scrolled .header-banner {
    padding: 12px 0; /* schmal */
}

.header.scrolled .logo img {
    height: 100px; /* kleineres Logo */
}

/* Platz für fixed Header (damit Inhalt nicht darunter liegt) */
main {
    padding-top: 170px; /* passend zum großen Header */
    transition: padding-top 0.3s ease;
}

/* Optional: wenn Header klein ist, etwas weniger Abstand */
.header.scrolled ~ main {
    padding-top: 120px;
}

/* ========================================
   LOGO BANNER (Startseite & Über uns)
   ======================================== */

.logo-banner {
    background-color: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-banner.partners {
    background-color: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-banner h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a237e;
    font-size: 1.8rem;
}

.logo-strip {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-strip.six-logos {
    justify-content: center;
}

.logo-item {
    flex: 0 0 auto;
    max-width: 180px;
}

.logo-item img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   4 SPALTEN BEREICH (Startseite)
   ======================================== */

.four-columns {
    padding: 80px 0;
    background-color: #fff;
}

.columns-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.column {
    text-align: center;
    padding: 30px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.column:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.column-icon {
    margin-bottom: 20px;
}

.column-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.column h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.column p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   PRODUKTE SEITEN
   ======================================== */

.products-overview {
    padding: 80px 0;
    background-color: #fff;
}

.products-overview h1 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-card h2 {
    color: #1a237e;
    padding: 20px 20px 10px;
    font-size: 1.4rem;
}

.product-card p {
    padding: 0 20px 25px;
    color: #666;
    font-size: 0.95rem;
}

/* Produkt-Unterseiten */
.product-page {
    padding: 80px 0;
    background-color: #fff;
}

.product-page h1 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.product-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Produkt-Kacheln als Link (z.B. Gebrauchtgeräte -> Kontakt) */
.product-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-item-link:focus {
    outline: 2px solid rgba(26, 35, 126, 0.5);
    outline-offset: 2px;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.05);
}

.product-text {
    padding: 25px;
}

.product-text h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   KONTAKT SEITE
   ======================================== */

.contact-page {
    padding: 80px 0;
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.contact-page h1 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2,
.contact-map h2 {
    color: #1a237e;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #666;
    line-height: 1.8;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

/* ========================================
   ÜBER UNS SEITE
   ======================================== */

.about-hero {
    padding: 40px 0 0;
    background-color: #fff;
}

.hero-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.about-text {
    padding: 60px 0;
    background-color: #fff;
}

.about-text h1 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
}

.text-content p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-additional {
    padding: 40px 0 80px;
    background-color: #fff;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background-color: #1a237e;
    color: #fff;
    padding: 25px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links .separator {
    opacity: 0.6;
}

.footer p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
}

/* ========================================
   LEGAL PAGES (Impressum & Datenschutz)
   ======================================== */

.legal-page {
    padding: 60px 0 80px;
    background-color: #fff;
    min-height: calc(100vh - 200px);
}

.legal-page h1 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 50px;
    font-size: 2.2rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #1a237e;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8eaf6;
}

.legal-section h3 {
    color: #333;
    font-size: 1.1rem;
    margin: 25px 0 15px;
}

.legal-box {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    border-left: 4px solid #1a237e;
}

.legal-box p {
    color: #555;
    line-height: 1.8;
    margin: 0;
}

.legal-box a {
    color: #1a237e;
    text-decoration: underline;
}

.legal-box a:hover {
    color: #0d47a1;
}

.legal-box ul {
    margin: 15px 0 0 20px;
    padding: 0;
}

.legal-box li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.legal-box strong {
    color: #333;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .columns-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-categories,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 18px;
    }

    .navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .navigation a {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    .columns-grid,
    .product-categories,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .hero-image img {
        height: 300px;
    }

    .logo-strip {
        justify-content: center;
    }

    .logo-item {
        max-width: 100px;
    }

    /* kleineres Logo für Mobile */
    .logo img {
        height: 70px;
    }

    main {
        padding-top: 190px; /* wegen höherem Header bei mobile stack */
    }

    .header.scrolled ~ main {
        padding-top: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .logo img {
        height: 60px;
    }

    .product-page,
    .products-overview,
    .contact-page {
        padding: 50px 0;
    }

    .product-page h1,
    .products-overview h1,
    .contact-page h1,
    .about-text h1 {
        font-size: 1.8rem;
    }
}
/* ========================================
   HERO SECTION STARTSEITE
======================================== */

.home-hero {
    position: relative;
    height: 90vh;
    background: url("../images/hero-industrie.jpg") center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-hero.fade-out {
    opacity: 0;
    transform: translateY(-40px);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-slogan {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

/* ========================================
   INTRO TEXTFELD
======================================== */

.intro-text {
    padding: 70px 0;
    background-color: #ffffff;
}

.intro-box {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-box h2 {
    font-size: 2rem;
    color: #1a237e;
    margin-bottom: 20px;
}

.intro-box p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.9;
}
/* ========================================
   ULTRA TECH HERO (Parallax + Motion)
   ======================================== */

.hero-tech {
    position: relative;
    height: min(92vh, 860px);
    width: 100%;
    overflow: hidden;
    background: #0b1026;
}

/* Background Layer (wird per JS bewegt) */
.hero-tech__bg {
    position: absolute;
    inset: -8%;
    background-image: url("../images/industrielle-kennzeichnung-produktionslinie.jpg");
    background-size: cover;
    background-position: center;
    transform: translate3d(0, 0, 0) scale(1.08);
    will-change: transform, opacity;
    filter: saturate(1.05) contrast(1.05);
}

/* Dark overlay + subtle gradient */
.hero-tech__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 500px at 30% 30%, rgba(26,35,126,0.35), transparent 60%),
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

/* Content */
.hero-tech__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
}

.hero-tech__headline {
    color: #fff;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.15;
    font-size: clamp(1.9rem, 3.6vw, 3.4rem);
    margin-bottom: 14px;
    max-width: 980px;
}

.hero-tech__headline span {
    display: inline-block;
    opacity: 0.95;
}

.hero-tech__subline {
    color: rgba(255,255,255,0.88);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.7;
    max-width: 820px;
    margin-bottom: 22px;
}

/* Buttons */
.hero-tech__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-tech__btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    border: 1px solid rgba(255,255,255,0.28);
}

.hero-tech__btn--primary {
    background: #ffffff;
    color: #1a237e;
    border-color: #ffffff;
}

.hero-tech__btn--primary:hover {
    transform: translateY(-2px);
}

.hero-tech__btn--ghost {
    background: transparent;
    color: #fff;
}

.hero-tech__btn--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.5);
}

/* Scroll hint */
.hero-tech__scrollhint {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.85;
}

.hero-tech__scrollhint span {
    display: block;
    width: 22px;
    height: 34px;
    border: 2px solid rgba(255,255,255,0.65);
    border-radius: 20px;
    position: relative;
}

.hero-tech__scrollhint span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 4px;
    height: 6px;
    background: rgba(255,255,255,0.75);
    border-radius: 4px;
    animation: heroScrollDot 1.2s infinite ease-in-out;
}

@keyframes heroScrollDot {
    0% { opacity: 0; transform: translate(-50%, 0); }
    30% { opacity: 1; }
    100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* Mobile tuning */
@media (max-width: 768px) {
    .hero-tech {
        height: 78vh;
    }
}
/* ========================================
   CIJ FEATURE BOXEN (Hervorgehoben)
   ======================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.feature-box {
    position: relative;
    padding: 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
    border: 1px solid #dfe3eb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

/* Blaue Akzentlinie oben */
.feature-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 100%;
    background: #1a237e;
    border-radius: 14px 14px 0 0;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    border-color: #c8d0e6;
}

.feature-box h3 {
    margin-bottom: 12px;
    color: #1a237e;
    font-size: 1.15rem;
}

.feature-box p {
    color: #444;
    line-height: 1.65;
}

@media (max-width: 1000px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}



/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   NAVIGATION: MEGA DROPDOWN OPTIMIERUNGEN
   ============================================================ */

.nav-cta-btn {
    background: rgba(255,255,255,0.15) !important;
    border: 1.5px solid rgba(255,255,255,0.5) !important;
    border-radius: 6px !important;
    font-weight: 600 !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.nav-cta-btn:hover {
    background: rgba(255,255,255,0.28) !important;
    border-color: #fff !important;
}

.dropdown-section-label {
    list-style: none;
    padding: 8px 20px 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.45);
    cursor: default;
}
.dropdown-divider {
    list-style: none;
    height: 1px;
    background: rgba(255,255,255,0.12);
    margin: 6px 12px;
}

/* ============================================================
   GEBRAUCHTGERÄTE SEITE – OPTIMIERT
   ============================================================ */

.gebraucht-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 60%, #283593 100%);
    padding: 52px 0 42px;
    text-align: center;
    color: #fff;
}
.gebraucht-hero h1 { font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; margin-bottom: 14px; }
.gebraucht-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.85); max-width: 660px; margin: 0 auto; line-height: 1.7; }

.gebraucht-usp {
    background: #e8eaf6;
    padding: 18px 0;
    border-bottom: 1px solid #c5cae9;
}
.gebraucht-usp-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}
.gebraucht-usp-item {
    text-align: center;
    padding: 8px 18px;
}
.gebraucht-usp-item strong { display: block; color: #1a237e; font-size: 0.9rem; }
.gebraucht-usp-item span { color: #666; font-size: 0.8rem; }

.gebraucht-process-section { background: #f4f6fb; padding: 56px 0; }
.gebraucht-process-section h2 { text-align: center; color: #1a237e; font-size: 1.65rem; margin-bottom: 10px; }
.gebraucht-process-section > .container > p { text-align: center; color: #666; margin-bottom: 34px; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}
.process-card {
    background: #fff;
    border: 1px solid #dde2f0;
    border-radius: 10px;
    padding: 20px 14px;
    text-align: center;
}
.process-num {
    width: 38px; height: 38px;
    background: #1a237e; color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    margin: 0 auto 10px;
}
.process-card h3 { color: #1a237e; font-size: 0.88rem; margin-bottom: 6px; }
.process-card p { color: #666; font-size: 0.8rem; line-height: 1.5; margin: 0; }

.gebraucht-devices { background: #fff; padding: 60px 0; }
.gebraucht-devices > .container > h2 { color: #1a237e; font-size: 1.65rem; margin-bottom: 8px; }
.gebraucht-devices > .container > p { color: #666; margin-bottom: 28px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.filter-btn {
    padding: 7px 18px;
    border: 1.5px solid #c5cae9;
    background: #fff; color: #1a237e;
    border-radius: 20px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: #1a237e; color: #fff; border-color: #1a237e; }

.device-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.device-card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 12px;
    overflow: hidden; transition: transform 0.22s, box-shadow 0.22s;
}
.device-card:hover { transform: translateY(-5px); box-shadow: 0 12px 34px rgba(0,0,0,0.1); }
.device-card-img { background: #f4f6fb; height: 190px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.device-card-img img { width: 100%; height: 100%; object-fit: cover; }
.device-badge-row { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; align-items: center; }
.device-type { background: #1a237e; color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; text-transform: uppercase; }
.device-status { font-size: 0.72rem; font-weight: 700; padding: 3px 9px; border-radius: 4px; }
.status-avail { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.status-res { background: #fff3e0; color: #e65100; }
.device-body { padding: 16px 18px 20px; }
.device-body h3 { color: #1a237e; font-size: 1.08rem; margin-bottom: 8px; }
.device-specs { list-style: none; padding: 0; margin: 0 0 14px; }
.device-specs li { font-size: 0.84rem; color: #555; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.device-specs li::before { content: "✓ "; color: #1a237e; font-weight: 700; }
.device-cta {
    display: block; text-align: center; background: #1a237e; color: #fff;
    text-decoration: none; padding: 9px 16px; border-radius: 7px;
    font-weight: 700; font-size: 0.88rem; transition: background 0.2s;
}
.device-cta:hover { background: #283593; }

.gebraucht-compare { background: #f4f6fb; padding: 56px 0; }
.gebraucht-compare h2 { text-align: center; color: #1a237e; font-size: 1.6rem; margin-bottom: 30px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.compare-table th { background: #1a237e; color: #fff; padding: 13px 18px; text-align: left; font-size: 0.93rem; }
.compare-table td { padding: 12px 18px; border-bottom: 1px solid #eee; font-size: 0.91rem; color: #444; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:nth-child(even) td { background: #f9f9f9; }
.compare-table td:first-child { font-weight: 600; color: #333; }
.yes { color: #2e7d32; font-weight: 700; }
.no { color: #aaa; }

.gebraucht-anfrage { background: #fff; padding: 60px 0; }
.anfrage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.anfrage-info h2 { color: #1a237e; font-size: 1.5rem; margin-bottom: 14px; }
.anfrage-info p { color: #555; line-height: 1.8; margin-bottom: 14px; }
.anfrage-list { list-style: none; padding: 0; margin: 14px 0 0; }
.anfrage-list li { padding: 8px 0; border-bottom: 1px solid #eee; color: #444; font-size: 0.94rem; }
.anfrage-list li::before { content: "✔ "; color: #1a237e; font-weight: 700; }

.anfrage-form { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 12px; padding: 28px 26px; }
.anfrage-form h3 { color: #1a237e; font-size: 1.15rem; margin-bottom: 18px; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 12px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 600; color: #444; margin-bottom: 4px; }
.fg input, .fg select, .fg textarea {
    width: 100%; padding: 9px 12px;
    border: 1.5px solid #c5cae9; border-radius: 7px;
    font-family: inherit; font-size: 0.91rem; color: #333;
    background: #fff; transition: border-color 0.2s;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { outline: none; border-color: #1a237e; }
.fg textarea { height: 90px; resize: vertical; }
.btn-submit {
    width: 100%; background: #1a237e; color: #fff; border: none;
    padding: 12px; border-radius: 8px; font-family: inherit;
    font-size: 0.97rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s; margin-top: 4px;
}
.btn-submit:hover { background: #283593; }

/* ============================================================
   BRANCHEN SEITEN
   ============================================================ */

.branch-hero {
    background: linear-gradient(135deg, #0d1452 0%, #1a237e 55%, #283593 100%);
    padding: 56px 0 46px; text-align: center; color: #fff;
}
.branch-hero h1 { font-size: clamp(1.8rem,3.2vw,2.7rem); font-weight: 800; margin-bottom: 14px; }
.branch-hero p { font-size: 1.06rem; color: rgba(255,255,255,0.84); max-width: 680px; margin: 0 auto 22px; line-height: 1.72; }
.branch-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.branch-tag { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.3); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 0.81rem; font-weight: 500; }

.branch-body { background: #fff; padding: 58px 0; }
.branch-wrap { max-width: 980px; margin: 0 auto; }
.branch-wrap h2 { color: #1a237e; font-size: 1.5rem; margin: 34px 0 13px; padding-bottom: 7px; border-bottom: 2px solid #e8eaf6; }
.branch-wrap h2:first-child { margin-top: 0; }
.branch-wrap p { color: #555; line-height: 1.85; margin-bottom: 14px; font-size: 1.01rem; }
.branch-wrap ul { margin: 10px 0 18px 20px; }
.branch-wrap ul li { color: #555; margin-bottom: 8px; line-height: 1.65; font-size: 0.97rem; }

.branch-tech-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin: 22px 0 32px; }
.btc { background: #f4f6fb; border: 1px solid #dde2f0; border-radius: 10px; padding: 20px 16px; border-top: 4px solid #1a237e; transition: transform 0.2s, box-shadow 0.2s; }
.btc:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(0,0,0,0.08); }
.btc h3 { color: #1a237e; font-size: 1rem; margin-bottom: 8px; }
.btc p { font-size: 0.89rem; color: #555; margin: 0; line-height: 1.6; }

.norm-box { background: #f0f2fa; border-left: 4px solid #1a237e; border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 20px 0; }
.norm-box h3 { color: #1a237e; margin: 0 0 9px; font-size: 1rem; }
.norm-box ul { margin: 0 0 0 18px; padding: 0; }
.norm-box li { color: #444; margin-bottom: 6px; font-size: 0.93rem; }

.branch-cta { background: #1a237e; color: #fff; border-radius: 12px; padding: 26px 28px; margin-top: 38px; text-align: center; }
.branch-cta h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.branch-cta p { color: rgba(255,255,255,0.8); margin-bottom: 16px; font-size: 0.96rem; line-height: 1.65; }
.btn-white { display: inline-block; background: #fff; color: #1a237e; font-weight: 700; padding: 11px 26px; border-radius: 8px; text-decoration: none; font-size: 0.95rem; transition: background 0.2s, transform 0.2s; }
.btn-white:hover { background: #e8eaf6; transform: translateY(-2px); }

.branch-faq { margin-top: 34px; }
.branch-faq h2 { color: #1a237e; font-size: 1.45rem; margin-bottom: 16px; border-bottom: 2px solid #e8eaf6; padding-bottom: 7px; }
.faq-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 600; position: relative; color: #1a237e; font-size: 0.95rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; opacity: 0.65; }
.faq-item[open] summary::after { content: "–"; }
.faq-content { padding: 0 18px 14px; line-height: 1.68; color: #555; font-size: 0.94rem; }

/* Branchen Overview-Kacheln */
.branch-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 40px; }
.branch-tile {
    background: #fff; border: 1px solid #dde2f0; border-radius: 10px;
    padding: 26px 18px 20px; text-align: center; text-decoration: none;
    color: inherit; transition: transform 0.22s, box-shadow 0.22s, border-color 0.22s; display: block;
}
.branch-tile:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(26,35,126,0.12); border-color: #1a237e; }
.branch-tile-icon { font-size: 2.2rem; margin-bottom: 10px; display: block; }
.branch-tile h3 { color: #1a237e; font-size: 1rem; margin-bottom: 7px; }
.branch-tile p { color: #777; font-size: 0.82rem; line-height: 1.5; }

/* ============================================================
   STARTSEITE: BRANCHEN TEASER SEKTION
   ============================================================ */
.home-branch { padding: 68px 0; background: #f4f6fb; }
.home-branch h2 { text-align: center; color: #1a237e; font-size: 1.9rem; margin-bottom: 10px; }
.home-branch > .container > p { text-align: center; color: #666; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .branch-tech-grid { grid-template-columns: 1fr 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: repeat(3,1fr); }
    .device-grid { grid-template-columns: 1fr 1fr; }
    .anfrage-grid { grid-template-columns: 1fr; }
    .gebraucht-usp-grid { flex-direction: row; }
}
@media (max-width: 768px) {
    .branch-tech-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .device-grid { grid-template-columns: 1fr; }
    .compare-table { font-size: 0.8rem; }
    .compare-table th, .compare-table td { padding: 9px 11px; }
    .form-row2 { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .branch-grid { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Download-Dropdown rechtsbündig ──────────────────────────────── */
.dropdown-menu--right {
  right: 0;
  left: auto;
}
