  
/* ============================================================
   COMPENSER.DE – Zusatz-CSS
   GeneratePress / GenerateBlocks Premium
   Bereinigt: 27.10.2026
   ============================================================ */

/* 1. Allgemeines und Anker-Navigation */

.site-info {
    display: none;
}

/* Freiraum unter dem fixierten GenerateBlocks-Header */
html {
    scroll-padding-top: 120px;
}

h3 a {
    text-decoration: none;
}


/* 2. Klassische GeneratePress-Navigation (falls verwendet) */

.main-navigation .main-nav ul li.kontakt-button > a {
    display: inline-block;
    position: relative;
    padding: 8px 18px;
    border-radius: 0;
    background-color: #253d71;
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.main-navigation .main-nav ul li.kontakt-button > a:hover {
    background-color: #1e3260;
    color: #fff;
}


/* 3. Farbflächen über die gesamte Bildschirmbreite */

.full-blue-section,
.full-gray-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-top: 80px;
    padding-bottom: 80px;
}

.full-blue-section {
    background-color: #253d71;
}

.full-gray-section {
    background-color: #f3f3f3;
}

.full-blue-section > .gb-inside-container,
.full-blue-section > .wp-block-group__inner-container,
.full-gray-section > .gb-inside-container,
.full-gray-section > .wp-block-group__inner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* 4. Logo-Slider */

.logo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.logo-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

.logo-track img {
    width: auto;
    height: 50px;
    object-fit: contain;
}

/* Abstand am Ende der Slider-Spur wie im bisherigen CSS */
.logo-track::after {
    content: "";
    display: flex;
    gap: 50px;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Bewegungsanimation bei entsprechender Systemeinstellung reduzieren */
@media (prefers-reduced-motion: reduce) {
    .logo-track {
        animation: none;
        will-change: auto;
    }
}


/* 5. Horizontale Scrollbar */

.scrollbar-horizontal {
    overflow-x: auto;
    overflow-y: hidden;
}

.scrollbar-horizontal::-webkit-scrollbar {
    height: 6px;
}

.scrollbar-horizontal::-webkit-scrollbar-track {
    background: rgba(37, 61, 113, 0.15);
    border-radius: 999px;
}

.scrollbar-horizontal::-webkit-scrollbar-thumb {
    background-color: #253d71;
    border-radius: 999px;
    opacity: 0.7;
}

.scrollbar-horizontal:hover::-webkit-scrollbar-thumb {
    opacity: 0.9;
}


/* 6. Download-Tabellen / TablePress */

.downloads-table {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    border-collapse: collapse;
}

.downloads-table td {
    padding: 18px 15px;
    vertical-align: middle;
    border-bottom: 1px solid #eaeaea;
}

.downloads-table .dl-icon {
    width: 20px;
    max-width: 20px;
    max-height: 20px;
    height: auto;
}

.downloads-table td img {
    max-width: 40px;
    max-height: 50px;
    height: auto;
}

.downloads-table .dl-title {
    font-weight: 600;
    font-size: 16px;
}

.downloads-table .dl-date {
    font-size: 14px;
    color: #777;
}

.downloads-table .dl-button {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    background: #000;
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.downloads-table .dl-button:hover {
    background: #333;
}

.downloads-table thead tr.row-1 {
    background-color: #253d71;
}

.downloads-table thead tr.row-1 th {
    background-color: #253d71 !important;
    color: #fff !important;
}

.downloads-table thead tr.row-1 th .dt-column-title {
    color: #fff !important;
}


/* 7. Formulare */

/* Globale Textarea- und Dateifeld-Regeln bleiben erhalten,
   damit Kontakt- und Fragebogenformulare unverändert aussehen. */

.gp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.gp-col label,
.gp-mini-form label {
    display: block;
    margin-bottom: 18px;
    font-weight: 500;
}

.gp-col input,
.gp-col select,
.gp-mini-form input[type="text"],
.gp-mini-form input[type="email"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0;
    margin-top: 6px;
    font-size: 15px;
}

textarea {
    min-height: 160px;
}

.gp-accept {
    margin: 25px 0;
    font-size: 14px;
}

.gp-submit input[type="submit"],
.gp-mini-form .gp-submit input[type="submit"] {
    padding: 12px 28px;
    border: none;
    border-radius: 0;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 15px;
}

.gp-submit input[type="submit"]:hover,
.gp-mini-form .gp-submit input[type="submit"]:hover {
    background: #333;
}

.gp-mini-form {
    max-width: 500px;
}

.gp-mini-form .gp-accept {
    margin: 20px 0;
    font-size: 14px;
}


/* 8. Startseite: klassische Header-Ebenen + Hero */

/* Nur relevant, falls der klassische GeneratePress-Header benutzt wird. */

.home .site-header,
.home .main-navigation,
.home .inside-header {
    position: relative;
    z-index: 9999 !important;
}

.home .gbp-section {
    position: relative;
    z-index: 1;
}

/* Die alten pointer-events:none-Regeln wurden entfernt.
   Buttons und Formularfelder in der Hero-Section bleiben bedienbar. */


/* 9. Produktbilder ohne Verzerrung */

.gb-grid-wrapper img,
.gb-block-image img,
.wp-block-image img {
    width: 100%;
    height: auto !important;
    object-fit: contain;
}

.gb-grid-wrapper .gb-block-image img,
.gb-grid-wrapper figure img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.gb-grid-wrapper .gb-block-image,
.gb-grid-wrapper figure {
    align-self: start !important;
    justify-self: start !important;
}


/* 10. WP Download Manager / W3 Eden: eckige Bedienelemente */

/* Die früheren vielen Einzelregeln sind in einer Regel zusammengefasst. */

.w3eden,
.w3eden *,
.w3eden *::before,
.w3eden *::after,
.wpdm-lp,
.wpdm-lp *,
.wpdm-lp *::before,
.wpdm-lp *::after,
[id^="wpdm"],
[id^="wpdm"] *,
[class*="wpdm"],
[class*="wpdm"] *,
[class*="w3eden"],
[class*="w3eden"] *,
[id^="email_lock_"],
.package-title,
.package-title *,
.file-icon,
.file-icon img {
    border-radius: 0 !important;
}


/* 11. Suchergebnisse */

body.search .site-main {
    max-width: 1080px;
    margin: 80px auto;
}

body.search .site-content {
    max-width: 1080px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

body.search #primary,
body.search .content-area {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.search .page-header,
body.search article,
body.search .entry-header,
body.search .entry-title,
body.search .entry-summary,
body.search .entry-content {
    text-align: left;
}

body.search .inside-article {
    margin-left: 0;
    margin-right: 0;
}

body.search .paging-navigation,
body.search .pagination,
body.search .nav-links {
    text-align: left;
}

body.search .nav-links {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
}


/* 12. Beitragsbreite */

.single-post .inside-article,
.single-wpdmpro .inside-article {
    max-width: 1080px;
    margin-inline: auto;
}


/* 13. Mobilgeräte */

@media (max-width: 768px) {
    html {
        scroll-padding-top: 90px;
    }

    .gp-form-grid {
        grid-template-columns: 1fr;
    }

    .entry-content > .gb-container > .gb-inside-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.search .site-content {
        padding-left: 16px;
        padding-right: 16px;
    }
}
