@import url('https://fonts.googleapis.com/css2?family=Doppio+One&family=Nunito+Sans:wght@300;400;600;700&family=Baumans&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

/* =========================================================
   Pfalz Zaun – 1:1 Nachbau
   Fonts: Doppio One (Headings), Nunito Sans (Body)
   ========================================================= */

:root {
    --green: #88bc49;
    --green-dark: #6f9e38;
    --header-bg: #202020;
    --dark: #202020;
    --dark-2: #202020;
    --mid: #313131;
    --text-light: #f2f2f2;
    --text-muted: #8c8c8c;
    --white: #ffffff;
    --ghost-bg: rgba(255, 255, 255, 0.06);

    --maxw: 1440px;
    --header-h: 124px;

    --fs-title: 53px;
    --fs-title-hero: 53px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
    font-family: "Nunito Sans", sans-serif;
    font-weight: 400;
    font-size: 20px;
    color: var(--text-light);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--white); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 40px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--green); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---------- Titles ---------- */
.section-title {
    font-family: "Doppio One", sans-serif;
    font-weight: 400;
    color: var(--green);
    font-size: var(--fs-title);
    line-height: 1.15;
    margin-bottom: 28px;
}

.lead {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 22px;
    max-width: 1100px;
}
.lead:last-child { margin-bottom: 0; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.5); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
}

.logo img { width: 280px; max-width: 60vw; }

.main-nav > ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 34px;
}
.main-nav ul { list-style: none; }
.main-nav a {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 400;
    padding: 8px 0;
    display: inline-block;
}
.main-nav a:hover,
.main-nav .has-dropdown:hover > a { color: var(--white); }

/* Active nav item (green underline) */
.main-nav > ul > li > a.active {
    color: var(--green);
    position: relative;
}
.main-nav > ul > li > a.active::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--green);
}

.main-nav .fa-chevron-down { font-size: 12px; }

/* Dropdown */
.has-dropdown { position: relative; }
/* invisible hover-bridge so the menu doesn't close in the gap */
.has-dropdown::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 100%;
    height: 18px;
}
.dropdown {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--header-bg);
    min-width: 230px;
    padding: 6px 0;
    display: none;
    box-shadow: 0 16px 34px rgba(0,0,0,.55);
    border-top: 3px solid var(--green);
    z-index: 1200;
}
.dropdown li { display: block; }
.dropdown a {
    display: block;
    padding: 11px 22px;
    font-size: 15px;
    color: var(--white);
    white-space: nowrap;
}
.dropdown a:hover { background: rgba(136,188,73,0.16); color: var(--green); }
.has-dropdown:hover .dropdown,
.has-dropdown.open .dropdown {
    display: block;
}

/* Burger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
.nav-toggle span {
    width: 30px; height: 3px; background: var(--white);
    border-radius: 2px; transition: all .3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================
   HERO / SLIDER
   ========================================================= */
.hero {
    position: relative;
    margin-top: var(--header-h);
    background: var(--dark);
    overflow: hidden;
}
.hero-slider { position: relative; }

.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: fadeIn .6s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Hero is full-bleed: image flush to the right edge, text aligned to the container on the left */
.hero .hero-grid {
    max-width: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    min-height: 620px;
}
.hero-text {
    padding: 70px 70px 70px max(40px, calc((100vw - var(--maxw)) / 2 + 40px));
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-text .section-title { margin-bottom: 28px; font-size: var(--fs-title-hero); }
.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 560px;
}
.hero-image {
    position: relative;
}
.hero-image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
}

/* Arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.35);
    color: #fff;
    border: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease;
    z-index: 5;
}
.hero-arrow:hover { background: var(--green); }
.hero-arrow.prev { left: 20px; }
.hero-arrow.next { right: 20px; }

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 18px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 5;
}
.hero-dots button {
    width: 11px; height: 11px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease;
}
.hero-dots button.active { background: var(--green); transform: scale(1.15); }

/* =========================================================
   SECTIONS
   ========================================================= */
/* Full-bleed: break sections out of any constraining wrapper so their
   background spans the full viewport width (needed inside Joomla's content column). */
.hero,
.section,
.divider-band,
.site-footer {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.section { padding: 80px 0; }
.section--dark { background: var(--dark); }
.section--mid { background: var(--mid); }

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 44px;
}
.portfolio-item {
    overflow: hidden;
    background: #2a2a2a;
}
.portfolio-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform .5s ease;
}
.portfolio-item:hover img { transform: scale(1.05); }

/* Buttons */
.btn {
    display: inline-block;
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    padding: 22px 28px;
    text-align: center;
    cursor: pointer;
    border: 0;
    border-radius: 1px;
    transition: all .2s ease;
    line-height: 1;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: var(--ghost-bg); color: var(--text-light); }
.btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: 15px; }

.btn-row {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-top: 50px;
    flex-wrap: wrap;
}

/* Green diagonal divider band */
.divider-band {
    height: 78px;
    background: linear-gradient(-2deg, var(--green-dark) 0 50%, var(--green) 50% 100%);
}
.divider-band--slim { height: 42px; }

/* ---------- Portfolio intro + category buttons ---------- */
.portfolio-intro { text-align: center; }
.section-title--light { color: var(--white); }
.cat-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 980px;
    margin: 34px auto 0;
}
.cat-buttons a {
    background: var(--green);
    color: #fff;
    font-family: "Doppio One", sans-serif;
    font-size: 20px;
    text-align: center;
    padding: 20px 16px;
    border-radius: 1px;
    transition: background .2s ease;
}
.cat-buttons a:hover { background: var(--green-dark); color: #fff; }
@media (max-width: 900px) { .cat-buttons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cat-buttons { grid-template-columns: 1fr; } }

/* Gray secondary button (Kontakt) */
.btn--gray { background: #525151; color: #fff; }
.btn--gray:hover { background: #666565; color: #fff; }

/* Video embeds (Torantriebe) */
.video-stack { display: grid; gap: 18px; }
.video-embed { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Portfolio product sections ---------- */
.cat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.cat-row--reverse .cat-text { order: 2; }
.cat-row--reverse .cat-media { order: 1; }
.cat-text p { font-size: 18px; color: var(--text-light); margin-bottom: 16px; line-height: 1.7; }
.cat-cta-label {
    font-family: "Doppio One", sans-serif;
    color: var(--green);
    font-size: 22px;
    margin: 26px 0 16px;
}
.cat-media .cat-main { width: 100%; height: 380px; object-fit: cover; }
.cat-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.cat-thumbs img { width: 100%; height: 165px; object-fit: cover; }
.cat-catalog { margin: 18px 0 4px; }
.cat-catalog a { color: var(--green); font-size: 17px; }
.cat-catalog i { margin-right: 8px; }

/* Hersteller / manufacturer logos */
.hersteller-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 44px;
    margin-top: 44px;
    background: #fff;
    padding: 34px 30px;
    border-radius: 2px;
}
.hersteller-grid img { height: 54px; width: auto; object-fit: contain; }

@media (max-width: 768px) {
    .cat-row { grid-template-columns: 1fr; gap: 26px; }
    .cat-row--reverse .cat-text { order: 2; }
    .cat-row--reverse .cat-media { order: 1; }
    .cat-media .cat-main { height: 240px; }
    .hersteller-grid { gap: 28px; padding: 24px 18px; }
    .hersteller-grid img { height: 40px; }
}

/* Kontakt */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.contact-address {
    font-style: normal;
    font-size: 21px;
    line-height: 1.75;
    color: var(--text-light);
    margin-top: 30px;
}
.contact-logo { text-align: right; }
.contact-logo img { width: 340px; max-width: 100%; display: inline-block; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
    background: var(--dark-2);
    border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    padding-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}
.copyright, .footer-links { font-size: 14px; color: var(--text-muted); }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--green); }
.agency-branding {
    text-align: center;
    padding: 16px 40px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.agency-branding p { font-size: 14px; color: var(--text-muted); margin: 0; }
.agency-branding a { color: var(--green); }
.agency-branding a:hover { color: var(--white); }
.agency-branding .fa-heart { color: red; }

/* =========================================================
   CONTENT PAGES (Datenschutz, Impressum, Stubs)
   ========================================================= */
.page-head { margin-top: var(--header-h); padding: 70px 0 10px; background: var(--dark); }
.content-page { padding-top: 30px; }
.content-page .container { max-width: 1000px; }
.content-page h3 {
    font-family: "Doppio One", sans-serif;
    font-weight: 400;
    color: var(--green);
    font-size: 26px;
    margin: 40px 0 14px;
}
.content-page p { font-size: 18px; color: var(--text-muted); margin-bottom: 16px; }
.content-page a { color: var(--green); }
.content-page ul.plain { list-style: none; margin: 10px 0 20px; }
.content-page ul.plain li { font-size: 18px; color: var(--text-muted); margin-bottom: 6px; }
.placeholder-note {
    background: rgba(136,188,73,0.12);
    border-left: 3px solid var(--green);
    padding: 14px 18px;
    color: var(--text-light);
    font-size: 16px;
    margin: 20px 0;
}

/* Category blocks for Inspirationen stub */
.cat-block { margin-bottom: 60px; }
.cat-block img { width: 100%; height: 380px; object-fit: cover; margin-top: 18px; }
@media (max-width: 768px) {
    .cat-block img { height: 220px; }
    .content-page p, .content-page ul.plain li { font-size: 16px; }
}

/* ---------- Sub-page full-width hero ---------- */
.page-hero {
    margin-top: var(--header-h);
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.page-hero img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Über uns two-column ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.about-grid .col-left .section-title { margin-bottom: 30px; }
.about-grid p { font-size: 20px; color: var(--text-light); margin-bottom: 22px; }
.about-grid .col-right p:first-child { margin-top: 8px; }
.about-sub-title {
    font-family: "Doppio One", sans-serif;
    font-weight: 400;
    color: var(--green);
    font-size: 34px;
    margin: 50px 0 18px;
}
.about-logo { margin-top: 26px; }
.about-logo img { width: 300px; max-width: 100%; }
.uwe-photo { width: 100%; height: auto; display: block; }
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 0; }
    .about-grid p { font-size: 17px; }
    .page-hero { height: 240px; }
    .about-sub-title { font-size: 26px; }
}

/* ---------- Kategorie-Auswahl (Portfolio) ---------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 46px;
}
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    height: 260px;
    background: #2a2a2a;
}
.category-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.category-card:hover img { transform: scale(1.06); }
.category-card .cat-label {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 18px 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: #fff;
    font-family: "Doppio One", sans-serif;
    font-size: 24px;
}
.category-card:hover .cat-label { color: var(--green); }
@media (max-width: 1024px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .category-grid { grid-template-columns: 1fr; gap: 16px; }
    .category-card { height: 220px; }
}

/* ---------- Utilities ---------- */
.container--wide { max-width: var(--maxw); }
.text-center { text-align: center; }
.pt-0 { padding-top: 0 !important; }
.mt-lg { margin-top: 50px; }
.btn-row--left { justify-content: flex-start; }
.center-block { margin-left: auto; margin-right: auto; }

/* 404 */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    margin-top: var(--header-h);
}
.error-code { font-size: 110px; }
@media (max-width: 768px) { .error-code { font-size: 76px; } }

/* =========================================================
   REQUEST FORM
   ========================================================= */
.request-form { max-width: 640px; margin-top: 30px; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 16px; color: var(--text-light); margin-bottom: 8px; }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    background: #2a2a2a;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-light);
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    padding: 13px 15px;
    border-radius: 2px;
    transition: border-color .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { outline: none; border-color: var(--green); }
.form-row textarea { resize: vertical; }
.form-row.invalid input,
.form-row.invalid textarea { border-color: #e05555; }
.field-error { display: block; color: #e88; font-size: 14px; margin-top: 6px; min-height: 0; }
.form-success {
    margin-top: 20px;
    background: rgba(136,188,73,0.15);
    border-left: 3px solid var(--green);
    padding: 14px 18px;
    color: var(--text-light);
    font-size: 16px;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1500;
    background: rgba(20,20,20,0.97);
    border-top: 2px solid var(--green);
    padding: 18px 30px;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { font-size: 15px; color: var(--text-muted); max-width: 900px; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    :root { --header-h: 100px; --fs-title: 40px; --fs-title-hero: 40px; }
    .logo img { width: 220px; }
    .main-nav a { font-size: 16px; }
    .main-nav > ul { gap: 24px; }
    .hero .hero-grid { min-height: 480px; }
    .hero-image img { min-height: 480px; }
}

@media (max-width: 768px) {
    :root { --header-h: 84px; --fs-title: 32px; --fs-title-hero: 32px; }

    .nav-toggle { display: flex; }

    .main-nav {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 82%;
        max-width: 340px;
        background: var(--header-bg);
        padding: calc(var(--header-h) + 20px) 0 40px;
        transform: translateX(100%);
        transition: transform .35s ease;
        overflow-y: auto;
        box-shadow: -8px 0 30px rgba(0,0,0,.5);
    }
    .main-nav.open { transform: translateX(0); }
    .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .main-nav a { padding: 16px 26px; font-size: 19px; display: block; }

    .dropdown {
        position: static;
        display: block;
        transform: none;
        box-shadow: none; border: 0;
        background: rgba(255,255,255,0.04);
        max-height: 0; overflow: hidden;
        transition: max-height .3s ease;
        padding: 0;
    }
    .has-dropdown.open .dropdown { max-height: 500px; padding: 4px 0; transform: none; }
    .has-dropdown::after { display: none; }
    .dropdown a { padding-left: 42px; font-size: 16px; }

    .hero .hero-grid { grid-template-columns: 1fr; min-height: 0; }
    .hero-text { padding: 40px 20px 34px; order: 2; }
    .hero-text p { font-size: 18px; max-width: none; }
    .hero-image { order: 1; }
    .hero-image img { min-height: 260px; height: auto; }
    .hero-arrow { width: 40px; height: 40px; }
    .hero-arrow.prev { left: 8px; }
    .hero-arrow.next { right: 8px; }

    .section { padding: 55px 0; }
    .portfolio-grid { grid-template-columns: 1fr; gap: 18px; }
    .portfolio-item img { height: 240px; }
    .lead { font-size: 18px; }

    .btn-row { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-logo { text-align: left; margin-top: 20px; }
    .contact-logo img { width: 260px; }
    .contact-address { font-size: 18px; }

    .footer-inner { flex-direction: column; align-items: flex-start; }

    .divider-band { height: 50px; }

    .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-actions { justify-content: center; }
}

@media (min-width: 769px) {
    .main-nav { display: block !important; }
}

/* ============================================================
   1:1 Layout Angleichung Portfolio + Unternehmen (Original Quix)
   ============================================================ */
.page-hero{width:100vw;position:relative;left:50%;right:50%;margin-left:-50vw;margin-right:-50vw;height:340px;overflow:hidden;margin-bottom:0}
.page-hero img{width:100%;height:100%;object-fit:cover;display:block}

/* Intro-Kategorie-Buttons: Reihe 1 (4) + Reihe 2 (3), volle Breite */
.portfolio-intro{text-align:center}
.cat-buttons{display:flex;flex-direction:column;gap:22px;max-width:1170px;margin:40px auto 0}
.cat-btn-row{display:flex;gap:22px}
.cat-btn-row a{flex:1;text-align:center;background:var(--green);color:#fff;padding:22px 12px;border-radius:4px;font-size:19px;font-weight:600;text-decoration:none;transition:background .2s;line-height:1.2}
.cat-btn-row a:hover{background:#7aad3d;color:#fff}

/* Produkt-Sektion: zentrierte h2, 2-Spalten-Text, 3-Bilder-Reihe, CTA-Zeile */
.prod .container{max-width:1200px}
.prod .section-title{text-align:center;margin:0 auto 38px}
.prod-text{display:grid;grid-template-columns:2fr 1fr;gap:56px;margin-bottom:44px;align-items:start}
.prod-text-main p{margin:0 0 18px}
.prod-text-side p{margin:0 0 18px}
.prod-text-side img{width:100%;border-radius:4px;display:block}
.prod-images{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-bottom:38px}
.prod-images img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:4px;display:block}
.video-row{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-bottom:38px}
.prod-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;flex-wrap:wrap}
.prod-cta h3{color:var(--green);font-size:26px;margin:0;font-weight:600}
.prod-cta .btn-row{display:flex;gap:16px}
.cat-catalog a{display:inline-flex;align-items:center;gap:10px;color:var(--green);text-decoration:none;font-weight:600}
.cat-catalog a i{color:var(--green)}

/* Unternehmen: Uwe-Sektion Text links, Foto rechts */
.about-uwe{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.about-uwe .uwe-photo{width:100%;border-radius:4px;display:block}

@media(max-width:900px){
 .prod-text{grid-template-columns:1fr;gap:24px}
 .prod-images{grid-template-columns:1fr;gap:18px}
 .video-row{grid-template-columns:1fr}
 .cat-btn-row{flex-wrap:wrap}
 .cat-btn-row a{flex:1 1 42%}
 .prod-cta{flex-direction:column;align-items:flex-start;gap:16px}
 .about-uwe{grid-template-columns:1fr}
 .page-hero{height:200px}
}

/* === Fix 2: Uwe 3-Spalten + Torantriebe Katalog-Thumb === */
.about-uwe{grid-template-columns:1fr 1fr 1fr;gap:40px;align-items:start}
.about-uwe .uwe-title .about-sub-title{margin-top:0}
.prod-text-side .cat-thumb-label{color:var(--green);font-weight:600;margin:0 0 12px}
.prod-text-side img.cat-thumb{width:auto;max-width:210px;max-height:290px;height:auto;border-radius:4px;display:block}
@media(max-width:900px){.about-uwe{grid-template-columns:1fr;gap:24px}}

/* === Fix 3: Inspirationen Karten (Label weiss, Bilder sichtbar) === */
.cat-label{color:#fff !important}
.category-card{background:#2a2a2a;display:block;opacity:1}
.category-card img{width:100%;height:100%;object-fit:cover;display:block;opacity:1}

/* === Fix 4: Reveal immer sichtbar (Animation feuerte nicht -> Inhalt blieb unsichtbar) === */
.reveal{opacity:1 !important;transform:none !important;visibility:visible !important}

/* === Fix 5: Button-Schrift lesbar (gruen-auf-gruen behoben) === */
.btn--green{color:#fff !important}
.content-page a.btn--green{color:#fff !important}

/* === Filter-Galerie (dynamisch aus /images/galerie/) === */
.qxg-filters{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 30px}
.qxg-fbtn{background:#2a2a2a;color:#fff;border:1px solid #444;padding:10px 24px;border-radius:4px;cursor:pointer;font-size:16px;font-family:inherit;transition:.2s}
.qxg-fbtn:hover{border-color:var(--green)}
.qxg-fbtn.is-active{background:var(--green);border-color:var(--green);color:#fff}
.qxg-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.qxg-item{margin:0;position:relative;cursor:pointer;overflow:hidden;border-radius:4px;background:#2a2a2a}
.qxg-item img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block;transition:transform .3s}
.qxg-item:hover img{transform:scale(1.06)}
.qxg-cap{position:absolute;left:0;right:0;bottom:0;padding:9px 12px;background:linear-gradient(to top,rgba(0,0,0,.82),transparent);color:#fff;font-size:14px}
.qxg-lightbox{position:fixed;inset:0;background:rgba(0,0,0,.92);display:none;align-items:center;justify-content:center;z-index:99999;padding:24px;cursor:zoom-out}
.qxg-lightbox.open{display:flex}
.qxg-lightbox img{max-width:95%;max-height:95%;object-fit:contain}
@media(max-width:900px){.qxg-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.qxg-grid{grid-template-columns:1fr}}
