/* marel-style */
/*
Theme Name: MAREL BAU Theme
Theme URI: https://marel-bau.de
Author: MAREL BAU GmbH
Author URI: https://marel-bau.de
Description: Individuelles WordPress Theme für MAREL BAU GmbH
Version: 1.0
Text Domain: marelbau-theme
*/

@font-face {
    font-family: 'Inter';
    src: url('https://marel-bau.de/wp-content/themes/marelbau-theme/assets/fonts/Inter-Variable-latin.woff2') format('woff2'),
         url('https://marel-bau.de/wp-content/themes/marelbau-theme/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Arial auf Inter-Maße skaliert: verhindert Layout-Verschiebung beim Schriftwechsel */
@font-face {
    font-family: 'Inter Fallback';
    src: local('Arial'), local('Helvetica'), local('Liberation Sans');
    ascent-override: 90.49%;
    descent-override: 22.56%;
    line-gap-override: 0%;
    size-adjust: 107.06%;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    max-width: 100%;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: #1d2433;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-snap-type: y proximity;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.container {
    width: min(100% - 48px, 1280px);
    margin: 0 auto;
}

.site-main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

section,
.content-section,
.leistungen-section,
.site-footer {
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.center-heading {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-kicker {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #d7deeb;
    background: #ffffff;
    color: #7b8391;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.section-heading h2 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #1c2434;
}

.section-heading p {
    margin: 0;
    color: #667084;
    font-size: 17px;
    line-height: 1.75;
}

.content-section {
    padding: 95px 0;
    background: #eef3fa;
}

.leistungen-section {
    padding: 95px 0 110px;
    background: #f7f9fd;
}

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

.service-card {
    background: #ffffff;
    border: 1px solid #dfe6f2;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(18, 32, 60, 0.04);
}

.service-card-primary {
    background: linear-gradient(135deg, #2f7cff 0%, #4d8fff 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(47, 124, 255, 0.24);
}

.service-tag {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f7cff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.service-card-primary .service-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.service-card h3 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #1d2433;
}

.service-card-primary h3 {
    color: #ffffff;
}

.service-card p {
    margin: 0 0 18px;
    color: #647084;
    line-height: 1.75;
    font-size: 16px;
}

.service-card-primary p {
    color: rgba(255, 255, 255, 0.92);
}

.service-meta {
    padding-top: 14px;
    border-top: 1px solid #e7edf7;
    color: #8a92a0;
    font-size: 14px;
    font-weight: 500;
}

.service-card-primary .service-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    color: rgba(255, 255, 255, 0.88);
}

.site-footer {
    background: #081427;
    padding: 54px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 28px;
}

.site-footer p,
.site-footer a {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.7;
}

.footer-title {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 700;
}

@media (max-width: 991px) {
    .services-grid,
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    body {
        scroll-snap-type: none;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, 1280px);
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .service-card h3 {
        font-size: 24px;
    }
}

/* marel-base */
@font-face {
    font-family: 'Inter';
    src: url('https://marel-bau.de/wp-content/themes/marelbau-theme/assets/fonts/Inter-Variable-latin.woff2') format('woff2'),
         url('https://marel-bau.de/wp-content/themes/marelbau-theme/assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Inter Fallback', sans-serif;
    color: #1d2433;
    background: #ffffff;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

.container {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
}

.site-main {
    display: block;
}

/* admin bar fix */
body.admin-bar .site-header {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}
/* marel-utilities */
.text-center {
    text-align: center;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.hidden {
    display: none !important;
}
/* marel-top-header */
:root {
    --top-header-height: 44px;
    --top-header-bg: linear-gradient(90deg, #f8fbff 0%, #eef5ff 50%, #f8fbff 100%);
    --top-header-border: #dbe6f3;
    --top-header-text: #3f4755;
    --top-header-muted: #64748b;
    --top-header-blue: #2f7cff;
    --top-header-blue-dark: #175fe6;
    --top-header-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.top-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--top-header-height);
    z-index: 10000;
    background: var(--top-header-bg);
    border-bottom: 1px solid var(--top-header-border);
    box-shadow: var(--top-header-shadow);
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.top-header-bar.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}

.top-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.top-header-side {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 220px;
}

.top-header-left {
    justify-content: flex-start;
}

.top-header-right {
    justify-content: flex-end;
}

.top-header-items {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    overflow: hidden;
}

.top-header-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--top-header-text);
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-header-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -9px;
    width: 1px;
    height: 12px;
    background: #d7e0ec;
    transform: translateY(-50%);
}

.top-header-icon,
.top-header-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.top-header-icon {
    color: var(--top-header-muted);
}

.top-header-icon svg,
.top-header-contact-icon svg {
    display: block;
}

.top-header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.top-header-phone {
    color: #ffffff;
    background: linear-gradient(135deg, var(--top-header-blue) 0%, var(--top-header-blue-dark) 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 4px 14px rgba(47, 124, 255, 0.25);
}

.top-header-phone:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 8px 18px rgba(47, 124, 255, 0.32);
}

.top-header-mail {
    color: var(--top-header-blue-dark);
    background: #ffffff;
    border: 1px solid #d8e5fb;
    box-shadow: 0 2px 8px rgba(47, 124, 255, 0.08);
}

.top-header-mail:hover {
    transform: translateY(-1px);
    background: #f5f9ff;
    border-color: #bfd4fb;
}

.top-header-mail .top-header-contact-icon {
    color: var(--top-header-blue);
}

.top-header-contact-text {
    display: inline-block;
}

/* Admin Bar */
body.admin-bar .top-header-bar {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .top-header-bar {
        top: 46px;
    }
}

/* Laptop / kleiner Desktop */
@media (max-width: 1200px) {
    .top-header-side {
        min-width: auto;
    }

    .top-header-items {
        gap: 10px 14px;
    }

    .top-header-item {
        font-size: 11.5px;
    }

    .top-header-contact {
        padding: 6px 10px;
        font-size: 11.5px;
    }

    .top-header-contact-text {
        max-width: 170px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Tablet */
@media (max-width: 991px) {
    :root {
        --top-header-height: 40px;
    }

    .top-header-inner {
        gap: 12px;
    }

    .top-header-side {
        min-width: auto;
    }

    .top-header-items {
        gap: 8px 12px;
    }

    .top-header-item {
        font-size: 11px;
    }

    .top-header-item:not(:last-child)::after {
        display: none;
    }

    .top-header-contact {
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .top-header-contact-text {
        max-width: 130px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* Mobile komplett aus */
@media (max-width: 640px) {
    :root {
        --top-header-height: 0px;
    }

    .top-header-bar {
        display: none;
    }
}
/* marel-header */
:root {
    --top-header-height: 38px;
    --admin-bar-offset: 0px;
    --site-header-top: var(--top-header-height);
}

body.top-header-hidden {
    --site-header-top: 0px;
}

body.admin-bar {
    --admin-bar-offset: 32px;
}

.site-header {
    position: fixed;
    top: calc(var(--site-header-top) + var(--admin-bar-offset));
    left: 0;
    width: 100%;
    z-index: 9999;
    background: #071734;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition:
        top 0.22s ease,
        transform 0.3s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

/* Startseite transparent */
.home .site-header {
    background: rgba(7, 23, 52, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Alle anderen Seiten direkt blau */
body:not(.home) .site-header {
    background: #071734;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        --admin-bar-offset: 46px;
    }
}

/* Shrink */
.site-header.is-shrunk {
    background: rgba(7, 23, 52, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Desktop container normal */
.header-container {
    max-width: 1280px;
    margin: 0 auto;
    min-height: 68px;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    transition:
        min-height 0.3s ease,
        height 0.3s ease,
        padding 0.3s ease,
        gap 0.3s ease;
}

/* Desktop container shrunk – ca. 10px größer als vorher */
.site-header.is-shrunk .header-container {
    min-height: 42px;
    height: 42px;
    padding: 0 16px;
    gap: 14px;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.site-logo {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 220px;
    max-width: 100%;
    min-height: 46px;
    overflow: hidden;
    transition:
        min-height 0.3s ease,
        height 0.3s ease,
        width 0.3s ease;
}

/* Shrink: Logo klein, aber nicht ultramicro */
.site-header.is-shrunk .site-logo {
    width: 130px;
    min-height: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
}

.site-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    filter: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        max-height 0.3s ease;
}

.site-logo-default {
    max-height: 56px;
    opacity: 1;
    transform: translateY(0);
}

.site-logo-scrolled {
    position: absolute;
    left: 0;
    top: 50%;
    max-height: 30px;
    opacity: 0;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Im Shrink Standardlogo aus, kleines Logo an */
.site-header.is-shrunk .site-logo-default {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    max-height: 22px;
}

.site-header.is-shrunk .site-logo-scrolled {
    opacity: 1;
    transform: translateY(-50%);
    max-height: 22px;
}

.site-header.is-shrunk .site-logo img {
    max-height: 22px;
}

.main-navigation {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: gap 0.3s ease;
}

.site-header.is-shrunk .nav-menu {
    gap: 16px;
}

.nav-menu li {
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.94);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.15;
    text-decoration: none;
    white-space: nowrap;
    transition:
        opacity 0.2s ease,
        color 0.2s ease,
        font-size 0.3s ease,
        line-height 0.3s ease,
        height 0.3s ease;
}

.site-header.is-shrunk .nav-menu a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    font-size: 13px;
    line-height: 1;
    padding: 0;
}

.nav-menu a:hover,
.marel-link:hover {
    opacity: 0.86;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex: 0 0 auto;
    transition: gap 0.3s ease;
}

.site-header.is-shrunk .header-right {
    gap: 10px;
}

.marel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 14px;
    background: #2f7cff;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(47, 124, 255, 0.24);
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        padding 0.3s ease,
        height 0.3s ease,
        font-size 0.3s ease,
        border-radius 0.3s ease;
}

.site-header.is-shrunk .marel-link {
    height: 30px;
    padding: 0 12px;
    font-size: 11px;
    line-height: 1;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(47, 124, 255, 0.2);
}

.marel-link:hover {
    transform: translateY(-1px);
}

.desktop-cta {
    display: inline-flex;
}

.mobile-menu-cta {
    display: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition:
        width 0.3s ease,
        height 0.3s ease,
        border-radius 0.3s ease;
}

.site-header.is-shrunk .menu-toggle {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
    transition:
        transform 0.28s ease,
        opacity 0.28s ease,
        width 0.3s ease;
}

.site-header.is-shrunk .menu-toggle span {
    width: 14px;
}

.site-header.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.site-header.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-header-contacts {
    display: none;
}

.mobile-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mobile-contact-btn:hover {
    transform: translateY(-1px);
}

.mobile-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.mobile-contact-phone {
    background: linear-gradient(135deg, #2f7cff 0%, #175fe6 100%);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(47, 124, 255, 0.22);
}

.mobile-contact-mail {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-service-bar {
    display: none;
}

/* Tablet / kleiner Desktop */
@media (max-width: 991px) {
    .header-container {
        min-height: 62px;
        padding: 6px 20px;
        gap: 18px;
    }

    .site-logo {
        width: 200px;
        min-height: 42px;
    }

    .site-logo-default {
        max-height: 50px;
    }

    .site-logo-scrolled {
        max-height: 28px;
    }

    .nav-menu {
        gap: 18px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .site-header.is-shrunk .header-container {
        min-height: 38px;
        height: 38px;
        padding: 0 12px;
        gap: 10px;
    }

    .site-header.is-shrunk .site-logo {
        width: 110px;
        min-height: 20px;
        height: 20px;
    }

    .site-header.is-shrunk .site-logo img,
    .site-header.is-shrunk .site-logo-default,
    .site-header.is-shrunk .site-logo-scrolled {
        max-height: 20px;
    }

    .site-header.is-shrunk .nav-menu {
        gap: 12px;
    }

    .site-header.is-shrunk .nav-menu a {
        height: 38px;
        font-size: 12px;
    }

    .site-header.is-shrunk .marel-link {
        height: 28px;
        padding: 0 10px;
        font-size: 10px;
    }

    .site-header.is-shrunk .menu-toggle {
        width: 32px;
        height: 32px;
    }

    .site-header.is-shrunk .menu-toggle span {
        width: 12px;
    }
}

/* WP Admin Bar mobil */
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: calc(var(--top-header-height, 44px) + 46px);
    }

    body.admin-bar.top-header-hidden .site-header {
        top: 46px;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .mobile-service-bar,
    .site-header,
    .main-navigation {
        transition:
            transform 0.3s ease,
            top 0.3s ease,
            opacity 0.25s ease,
            background 0.35s ease,
            border-color 0.35s ease,
            box-shadow 0.35s ease,
            backdrop-filter 0.35s ease;
    }

    .mobile-service-bar {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: linear-gradient(90deg, #081a36, #0d2246);
        z-index: 10001;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .mobile-service-bar.is-mobile-hidden {
        transform: translateY(-100%);
    }

    .mobile-service-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 14px;
    }

    .mobile-service-logo {
        display: inline-flex;
        align-items: center;
        justify-content: flex-start;
        flex: 0 0 auto;
        text-decoration: none;
    }

    .mobile-service-logo img {
        display: block;
        width: auto;
        height: 28px;
        max-width: 110px;
    }

    .mobile-service-phone {
        display: flex;
        align-items: center;
        min-width: 0;
        flex: 1 1 auto;
        color: #ffffff;
        text-decoration: none;
    }

    .mobile-service-text {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
        min-width: 0;
    }

    .mobile-service-label {
        font-size: 11px;
        font-weight: 700;
        color: #7fc0ff;
        margin-bottom: 4px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-service-number {
        font-size: 15px;
        font-weight: 700;
        color: #ffffff;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .mobile-service-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    .mobile-service-mail,
    .mobile-service-burger {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 10px;
        color: #ffffff;
        padding: 0;
        cursor: pointer;
        flex-shrink: 0;
    }

    .mobile-service-burger {
        flex-direction: column;
        gap: 4px;
    }

    .mobile-service-burger span {
        display: block;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .site-header.menu-open .mobile-service-burger span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .site-header.menu-open .mobile-service-burger span:nth-child(2) {
        opacity: 0;
    }

    .site-header.menu-open .mobile-service-burger span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .site-header {
        position: fixed;
        top: 58px !important;
        left: 0;
        width: 100%;
        height: 0 !important;
        min-height: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        overflow: visible !important;
        z-index: 9999;
    }

    body.top-header-hidden .site-header {
        top: 58px !important;
    }

    .site-header.is-mobile-hidden {
        transform: translateY(-100%);
    }

    .header-container {
        min-height: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: block !important;
        overflow: visible !important;
    }

    .site-branding,
    .header-right,
    .desktop-cta,
    .menu-toggle,
    .mobile-header-contacts {
        display: none !important;
    }

    .main-navigation {
        position: fixed;
        top: 59px;
        left: 0;
        right: 0;
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 16px 16px 18px;
        background: rgba(7, 23, 52, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-8px);
        z-index: 10000;
    }

    .site-header.menu-open .main-navigation {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        max-width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-menu li:last-child {
        border-bottom: 0;
    }

    .nav-menu a {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px 2px;
        font-size: 15px;
        color: #ffffff;
        height: auto;
    }

    .mobile-menu-cta {
        display: block;
        margin-top: 14px;
    }

    .mobile-menu-cta .marel-link {
        display: flex;
        width: 100%;
        height: auto;
        padding: 13px 16px;
        border-radius: 12px;
        font-size: 14px;
    }

    body.admin-bar .site-header,
    body.admin-bar.top-header-hidden .site-header {
        top: 46px !important;
    }

    body.admin-bar .main-navigation,
    body.admin-bar.top-header-hidden .main-navigation {
        top: 105px;
    }

    body.admin-bar .site-header.is-mobile-hidden,
    body.admin-bar.top-header-hidden .site-header.is-mobile-hidden {
        transform: translateY(calc(-100% - 46px));
    }
}
/* marel-footer */
.site-footer {
    background: #071734;
    color: rgba(255, 255, 255, 0.82);
    padding: 54px 0 26px;
    margin-top: 80px;
}

.footer-container {
    width: min(1240px, calc(100% - 120px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand,
.footer-contact-item {
    min-width: 0;
}

.footer-title {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.1;
    color: #ffffff;
}

.footer-text {
    margin: 0;
    max-width: 360px;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.78);
}

.footer-label {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8eb8ff;
}

.footer-contact-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.86);
}

.site-footer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #8eb8ff;
}

.footer-contact-item a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-top: 22px;
    text-align: center;
}

.footer-copy {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.66);
}

.footer-legal {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-legal a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.86);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 991px) {
    .footer-container {
        width: calc(100% - 64px);
    }

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }
}

@media (max-width: 640px) {
    .footer-container {
        width: calc(100% - 32px);
    }

    .site-footer {
        padding: 42px 0 22px;
        margin-top: 56px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 22px;
    }

    .footer-title {
        font-size: 22px;
    }

    .footer-text,
    .footer-contact-item p,
    .footer-copy,
    .footer-legal a {
        font-size: 14px;
    }
}
/* marel-logolaufband */
.logo-marquee-section{
    margin-top:0px;
    padding:34px 0;
    overflow:hidden;
    position:relative;
}

/* bläulicher Background Glow */

.logo-marquee-section::before{
    content:"";
    position:absolute;
    inset:-160px -25%;
    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(47,124,255,0.20) 0%,
            rgba(47,124,255,0.12) 25%,
            rgba(47,124,255,0.05) 45%,
            rgba(47,124,255,0) 70%
        );
    filter: blur(70px);
    opacity:.75;
    z-index:0;
    pointer-events:none;
    animation:marqueeGlow 16s ease-in-out infinite alternate;
}

@keyframes marqueeGlow{
    0%{
        transform:translateX(-8%);
    }
    100%{
        transform:translateX(8%);
    }
}

.logo-marquee-title{
    text-align:center;
    font-size:14px;
    font-weight:600;
    color:#7a8597;
    margin-bottom:28px;
    letter-spacing:.02em;
    position:relative;
    z-index:2;
}

.logo-marquee{
    position:relative;
    overflow:hidden;
    z-index:2;
}

/* weiche Fade-Kanten */
.logo-marquee::before,
.logo-marquee::after{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    width:140px;
    z-index:3;
    pointer-events:none;
}

.logo-marquee::before{
    left:0;
    background:linear-gradient(to right,#f7f9fd 0%, rgba(247,249,253,0) 100%);
}

.logo-marquee::after{
    right:0;
    background:linear-gradient(to left,#f7f9fd 0%, rgba(247,249,253,0) 100%);
}

.logo-track{
    display:flex;
    align-items:center;
    gap:78px;
    width:max-content;
    will-change:transform;
    transform:translate3d(0,0,0);
}

.logo-item{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .25s ease;
}

.logo-item img{
    display:block;
    height:78px;
    width:auto;
    max-width:280px;
    object-fit:contain;
    opacity:.96;
    transition:
        transform .25s ease,
        filter .25s ease,
        opacity .25s ease;
}

.logo-item:hover img{
    transform:scale(1.08);
    opacity:1;
    filter:drop-shadow(0 12px 28px rgba(47,124,255,0.22));
}

/* TABLET */
@media (max-width:991px){
    .logo-marquee-section{
        margin-top:56px;
        padding:28px 0;
    }

    .logo-track{
        gap:52px;
    }

    .logo-item img{
        height:60px;
        max-width:220px;
    }

    .logo-marquee::before,
    .logo-marquee::after{
        width:80px;
    }
}

/* MOBILE */
@media (max-width:640px){
    .logo-marquee-section{
        margin-top:42px;
        padding:22px 0;
    }

    .logo-marquee-title{
        font-size:13px;
        margin-bottom:20px;
    }

    .logo-track{
        gap:38px;
    }

    .logo-item img{
        height:44px;
        max-width:165px;
    }

    .logo-marquee::before,
    .logo-marquee::after{
        width:42px;
    }
}
/* marel-hero */
/* =========================================================
   HERO WRAPPER
========================================================= */

.hero-cover {
    position: relative;
    width: 100%;
    min-height: 760px;
    overflow: hidden;
    background: #071734;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    will-change: transform;
}

.hero-video {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 760px;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        90deg,
        rgba(7, 23, 52, 0.82) 0%,
        rgba(7, 23, 52, 0.62) 26%,
        rgba(7, 23, 52, 0.30) 54%,
        rgba(7, 23, 52, 0.10) 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(7, 23, 52, 0.02) 0%,
        rgba(7, 23, 52, 0.12) 100%
    );
}

/* =========================================================
   INNER / GRID
========================================================= */

.hero-cover-inner {
    position: relative;
    z-index: 4;
    width: min(1360px, calc(100% - 120px));
    margin-left: auto;
    margin-right: auto;
    min-height: 760px;
    padding-bottom: 104px;
}

.hero-main-grid {
    position: relative;
    min-height: 760px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 34px;
    align-items: end;
}

.hero-main-left {
    width: 100%;
    max-width: 820px;
    padding: 245px 0 28px 0;
}

.hero-slide-wrap {
    position: relative;
    min-height: 320px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =========================================================
   BADGE / BRANDLINE / TEXT
========================================================= */

.hero-cover-badge {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(18, 32, 60, 0.10);
}

.hero-cover-brandline {
    margin: 0 0 18px;
    font-weight: 400;
    letter-spacing: normal;
    max-width: 780px;
    font-size: 17px;
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.hero-accent {
    color: #5aa2ff;
    font-weight: 700;
}

.hero-main-left .hero-slide-title {
    margin: 0 0 18px;
    max-width: 100%;
    font-weight: 700; /* früher h1-Standard */
    font-size: clamp(42px, 4.1vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.05em;
    color: #ffffff;
    text-wrap: balance;
    word-break: keep-all;
    text-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.hero-cover-text {
    margin: 0;
    max-width: 760px;
    font-size: 17px;
    line-height: 1.66;
    color: rgba(255, 255, 255, 0.93);
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.hero-cover-subtext {
    margin: 18px 0 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    line-height: 1.68;
}

.hero-slide::after {
    content: "";
    display: block;
    width: 86px;
    height: 1px;
    margin: 22px 0 0;
    background: rgba(255, 255, 255, 0.24);
}

/* =========================================================
   SIDE CARD
========================================================= */

.hero-side-card {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-bottom: 26px;
}

.hero-side-card-inner {
    width: 100%;
    max-width: 340px;
    padding: 24px 22px 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
    background: rgba(15, 23, 36, 0.42);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-side-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 12px;
    color: #8ebcff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-side-card h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.08;
    letter-spacing: -0.04em;
    max-width: 12ch;
}

.hero-side-card p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 15px;
    line-height: 1.58;
}

.hero-side-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-side-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.hero-side-link:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.hero-side-link-primary {
    background: #2f7cff;
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(47, 124, 255, 0.20);
}

.hero-side-link-primary:hover {
    background: #1f6df0;
    box-shadow: 0 16px 30px rgba(47, 124, 255, 0.24);
}

.hero-side-link-highlight {
    color: #ffffff;
    background: linear-gradient(135deg, #ff3b3b 0%, #ff6b6b 100%);
    border-color: rgba(255, 95, 95, 0.74);
    box-shadow: 0 12px 28px rgba(255, 59, 59, 0.28);
}

.hero-side-link-highlight:hover {
    background: linear-gradient(135deg, #ff2b2b 0%, #ff5a5a 100%);
    border-color: rgba(255, 120, 120, 0.9);
}

/* =========================================================
   ALERT BUTTON
========================================================= */

.hero-alert-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    animation: heroAlertPulse 1.8s infinite;
}

.alert-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.alert-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@keyframes heroAlertPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 40, 40, 0.56);
    }
    40% {
        transform: scale(1.05);
        box-shadow: 0 0 0 14px rgba(255, 40, 40, 0);
    }
    70% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 40, 40, 0);
    }
}

/* =========================================================
   BOTTOM BUTTONS
========================================================= */

.hero-cover-buttons-floating {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        box-shadow 0.25s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-1px);
}

.hero-btn-primary {
    background: #2f7cff;
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(47, 124, 255, 0.20);
}

.hero-btn-primary:hover {
    background: #1f6df0;
    box-shadow: 0 16px 30px rgba(47, 124, 255, 0.24);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.94);
    color: #1d2433;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 20px rgba(18, 32, 60, 0.05);
}

.hero-btn-secondary:hover {
    border-color: #2f7cff;
    background: #f4f8ff;
}

.hero-btn-attention {
    animation: heroButtonBounce 3s ease-in-out infinite;
}

.hero-btn-attention:hover {
    animation-play-state: paused;
}

@keyframes heroButtonBounce {
    0%, 82%, 100% {
        transform: translateY(0);
    }
    86% {
        transform: translateY(-6px);
    }
    90% {
        transform: translateY(0);
    }
    94% {
        transform: translateY(-3px);
    }
}

.mobile-headline {
    display: none;
}

/* =========================================================
   DESKTOP MID
========================================================= */

@media (max-width: 1360px) {
    .hero-cover-inner {
        width: min(1360px, calc(100% - 88px));
    }

    .hero-main-grid {
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 28px;
    }

    .hero-main-left {
        padding: 225px 0 24px 0;
    }

    .hero-side-card {
        padding-bottom: 22px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .hero-cover {
        min-height: 760px;
    }

    .hero-video {
        min-height: 760px;
    }

    .hero-cover-inner {
        width: calc(100% - 64px);
        min-height: 760px;
        padding-bottom: 108px;
    }

    .hero-main-grid {
        min-height: 760px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        align-content: start;
        align-items: start;
    }

    .hero-main-left {
        width: 100%;
        max-width: 100%;
        padding: 168px 0 0 0;
    }

    .hero-cover-badge {
        min-height: 34px;
        padding: 0 13px;
        margin-bottom: 14px;
        font-size: 10px;
    }

    .hero-cover-brandline {
        margin: 0 0 14px;
        max-width: 100%;
        font-size: 15px;
        line-height: 1.58;
    }

    .hero-slide-wrap {
        position: relative;
        min-height: auto;
    }

    /* Nur aktive Slide im Flow */
    .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }

    .hero-slide.active {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-main-left .hero-slide-title {
        margin: 0 0 14px;
        max-width: 100%;
        font-size: clamp(34px, 5vw, 46px);
        line-height: 1.02;
        letter-spacing: -0.04em;
        text-wrap: balance;
        word-break: keep-all;
    }

    .hero-cover-text {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.58;
    }

    .hero-cover-subtext {
        margin-top: 12px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.56;
    }

    .hero-slide::after {
        width: 72px;
        margin-top: 16px;
    }

    .hero-side-card {
        display: block;
        width: 100%;
        margin-top: 0; /* direkt unter dem Subtext */
        padding-bottom: 0;
    }

    .hero-side-card-inner {
        width: 100%;
        max-width: 520px;
        padding: 18px 18px 18px;
        border-radius: 22px;
    }

    .hero-side-kicker {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .hero-side-card h2 {
        margin: 0 0 10px;
        max-width: 100%;
        font-size: 22px;
        line-height: 1.12;
    }

    .hero-side-card p {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.55;
    }

    .hero-side-links {
        gap: 8px;
    }

    .hero-side-link {
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
        border-radius: 12px;
    }

    .hero-cover-buttons-floating {
        bottom: 18px;
        gap: 10px;
    }

    .hero-btn {
        min-height: 46px;
        padding: 0 18px;
        font-size: 13px;
        border-radius: 14px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .desktop-headline {
        display: none;
    }

    .mobile-headline {
        display: inline;
    }

    .hero-cover {
        min-height: 760px;
    }

    .hero-video {
        min-height: 760px;
    }

    .hero-cover-inner {
        width: calc(100% - 32px);
        min-height: 760px;
        padding-bottom: 96px;
    }

    .hero-main-grid {
        min-height: 760px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        align-content: start;
        align-items: start;
    }

    .hero-main-left {
        width: 100%;
        max-width: 100%;
        padding: 146px 0 0 0;
    }

    .hero-cover-badge {
        min-height: 32px;
        padding: 0 12px;
        margin-bottom: 12px;
        font-size: 10px;
    }

    .hero-cover-brandline {
        margin: 0 0 12px;
        max-width: 100%;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-slide-wrap {
        position: relative;
        min-height: auto;
    }

    /* Nur aktive Slide im Flow */
    .hero-slide {
        position: absolute;
        inset: 0;
        opacity: 0;
        transform: translateY(10px);
        pointer-events: none;
    }

    .hero-slide.active {
        position: relative;
        inset: auto;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .hero-main-left .hero-slide-title {
        margin: 0 0 12px;
        max-width: 100%;
        font-size: 32px;
        line-height: 1.04;
        letter-spacing: -0.03em;
        text-wrap: balance;
        word-break: keep-all;
    }

    .hero-cover-text {
        max-width: 100%;
        font-size: 14px;
        line-height: 1.54;
    }

    .hero-cover-subtext {
        margin-top: 12px;
        max-width: 100%;
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-slide::after {
        width: 64px;
        margin-top: 14px;
    }

    .hero-side-card {
        display: block;
        width: 100%;
        margin-top: 0; /* direkt unter dem Subtext */
        padding-bottom: 0;
    }

    .hero-side-card-inner {
        width: 100%;
        max-width: 100%;
        padding: 18px 16px 16px;
        border-radius: 20px;
    }

    .hero-side-kicker {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .hero-side-card h2 {
        margin: 0 0 10px;
        max-width: 100%;
        font-size: 20px;
        line-height: 1.12;
    }

    .hero-side-card p {
        margin: 0 0 14px;
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-side-links {
        gap: 8px;
    }

    .hero-side-link {
        min-height: 42px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 12px;
    }

    .hero-cover-buttons-floating {
        left: 16px;
        right: 16px;
        bottom: 14px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .hero-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
        font-size: 13px;
        text-align: center;
    }

    .alert-icon {
        width: 16px;
        height: 16px;
        flex-basis: 16px;
    }

    .alert-icon svg {
        width: 16px;
        height: 16px;
    }
}
/* marel-leistungen */
.leistungen-section {
    padding: 42px 0 46px;
    background: #f7f9fd;
    position: relative;
    overflow: visible;
}

/* SECTION HEADING */

.section-heading {
    max-width: 1200px;
    margin: 0 auto 24px;
    padding: 0 20px;
    box-sizing: border-box;
}

.center-heading {
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 12px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #d7deeb;
    background: #ffffff;
    color: #7b8391;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(18, 32, 60, 0.04);
}

.section-heading h2 {
    margin: 0 0 10px;
    max-width: 1200px; /* deutlich breiter */
    margin-left: auto;
    margin-right: auto;

    font-size: clamp(24px, 2.8vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #1c2434;

    text-wrap: normal; /* KEIN künstliches umbrechen */
}

.section-heading p {
    margin: 0 auto;
    max-width: 920px; /* auch etwas breiter */
    color: #667084;
    font-size: 14px;
    line-height: 1.55;
}

/* GRIDS */

.services-grid {
    display: grid;
    gap: 16px;
    align-items: stretch;
}

.services-grid-main {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid-alert {
    grid-template-columns: 1fr;
    margin-top: 12px;
}

/* BASE CARD */

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #dfe6f2;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(18, 32, 60, 0.05);
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(40px);
    transform-style: preserve-3d;
    will-change: transform, opacity, box-shadow;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.service-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card-link:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 36px rgba(18, 32, 60, 0.12);
}

.service-card-link::after {
    content: "→";
    position: absolute;
    right: 18px;
    bottom: 14px;
    font-size: 16px;
    color: #98a6bb;
    opacity: 0.6;
    transition: transform 0.22s ease, opacity 0.22s ease;
}

.service-card-link:hover::after {
    transform: translateX(4px);
    opacity: 1;
}

.service-content {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.service-card:hover .service-content {
    transform: translateY(-1px);
}

.service-card:hover h3 {
    transform: translateY(-1px);
}

.service-card h3 {
    transition: transform 0.25s ease;
}

/* SOFT HOVER GLOW */

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(47,124,255,0.08), transparent 42%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

/* TAG */

.service-tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 30px;
    margin-bottom: 12px;
    padding: 0 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #2f7cff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

/* TEXT */

.service-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.14;
    letter-spacing: -0.03em;
    color: #1d2433;
    position: relative;
    z-index: 2;
    text-wrap: balance;
    max-width: 14ch;
}

.service-text {
    margin: 0 0 12px;
    line-height: 1.5;
    font-size: 13px;
    position: relative;
    z-index: 2;
}

.service-text-full {
    color: #647084;
    display: block;
}

.service-text-short {
    display: none;
    color: #647084;
}

.service-meta {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #e7edf7;
    color: #8a92a0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    position: relative;
    z-index: 2;
}

/* STANDARD / ALLROUND */

.service-card:not(.service-card-water):not(.service-card-alert):not(.service-card-fertighaus):not(.service-card-facility):hover {
    border-color: #c8d7ef;
}

/* FACILITY */

.service-card-facility {
    border: 1px solid #dfe8e1;
    background: linear-gradient(135deg, #f6fbf8 0%, #eef7f2 100%);
}

.service-card-facility::before {
    background: radial-gradient(circle at top left, rgba(47,122,79,0.10), transparent 42%);
}

.service-card-facility .service-tag {
    background: #eaf6ee;
    color: #2f7a4f;
}

.service-card-facility h3 {
    color: #1f3d2b;
}

.service-card-facility .service-text-full,
.service-card-facility .service-text-short {
    color: #4d6658;
}

.service-card-facility .service-meta {
    border-top-color: #d7e5db;
    color: #6f8578;
}

.service-card-facility.service-card-link:hover {
    border-color: #86b69a;
    box-shadow: 0 16px 34px rgba(39, 87, 57, 0.10);
}

/* WATER */

.service-card-water {
    background: linear-gradient(135deg, #2f7cff 0%, #5aa2ff 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(47, 124, 255, 0.22);
}

.service-card-water::before {
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25), transparent 50%);
}

.service-card-water .service-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.service-card-water h3,
.service-card-water .service-text-full,
.service-card-water .service-text-short,
.service-card-water .service-meta {
    color: #ffffff;
}

.service-card-water .service-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.service-card-water::after {
    color: rgba(255, 255, 255, 0.92);
}

.service-card-water.service-card-link:hover {
    box-shadow: 0 20px 46px rgba(47,124,255,0.30);
}

/* GLOW / SHINE */

.service-card-glow {
    position: relative;
    overflow: hidden;
}

.service-card-glow::after {
    content: "";
    position: absolute;
    top: -40%;
    left: -70%;
    width: 35%;
    height: 180%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(16deg);
    animation: serviceShineSoft 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes serviceShineSoft {
    0% {
        left: -70%;
        opacity: 0;
    }
    10% {
        opacity: 0.26;
    }
    35% {
        left: 120%;
        opacity: 0.22;
    }
    40% {
        opacity: 0;
    }
    100% {
        left: 120%;
        opacity: 0;
    }
}

/* ALERT */

.service-card-alert {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 20px;
    min-height: auto;
    border-radius: 18px;
    border: 1px solid rgba(255, 60, 60, 0.40);
    background: linear-gradient(135deg, #fff 0%, #fff3f3 100%);
    box-shadow: 0 8px 24px rgba(255, 0, 0, 0.07);
    animation: alertCardPulse 2s infinite;
    cursor: default;
}

.service-card-alert::before {
    background: radial-gradient(circle at top left, rgba(255,60,60,0.10), transparent 42%);
}

.service-alert-content {
    max-width: 520px;
}

.service-card-alert .service-tag {
    background: #fff0f0;
    color: #d92d20;
    margin-bottom: 10px;
}

.service-card-alert h3 {
    margin: 0 0 6px;
    max-width: none;
    font-size: 18px;
    color: #c91f1f;
}

.service-card-alert p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #7a4d4d;
}

.service-alert-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

.alert-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    background: #d92d20;
    box-shadow: 0 8px 18px rgba(217, 45, 32, 0.16);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.alert-btn:hover {
    transform: translateY(-2px);
    background: #b42318;
    box-shadow: 0 12px 24px rgba(217, 45, 32, 0.22);
}

.alert-btn.secondary {
    background: #ffffff;
    color: #d92d20;
    border: 1px solid #f04438;
    box-shadow: 0 6px 16px rgba(240, 68, 56, 0.08);
}

.alert-btn.secondary:hover {
    background: #fff5f5;
}

.alert-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
}

.alert-btn-icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: currentColor;
}

@keyframes alertCardPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.14);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* FERTIGHAUS */

.service-card-fertighaus {
    background: linear-gradient(135deg, #1d2433 0%, #3f4d68 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(31, 39, 57, 0.22);
}

.service-card-fertighaus::before {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.10), transparent 42%);
}

.service-card-fertighaus .service-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.service-card-fertighaus h3,
.service-card-fertighaus .service-text-full,
.service-card-fertighaus .service-text-short,
.service-card-fertighaus .service-meta {
    color: #ffffff;
}

.service-card-fertighaus .service-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.service-card-fertighaus::after {
    color: rgba(255, 255, 255, 0.92);
}

.service-card-fertighaus.service-card-link:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 46px rgba(20,30,50,0.30);
}

/* TRUST */

.trust-extra {
    margin-top: 14px;
    font-size: 12px;
    color: #667084;
    font-weight: 500;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
}

/* LARGE TABLETS / COMPACT DESKTOPS */

@media (max-width: 1280px) {
    .service-card {
        min-height: 200px;
        padding: 17px;
    }

    .service-card h3 {
        font-size: 16px;
        max-width: 13ch;
    }

    .service-text {
        font-size: 13px;
        line-height: 1.46;
    }
}

/* TABLETS / COMPACT */

@media (max-width: 1100px) {
    .services-grid-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .service-card {
        min-height: 210px;
        padding: 18px;
        border-radius: 20px;
    }

    .service-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
        max-width: 13ch;
    }

    .service-text-full {
        display: none;
    }

    .service-text-short {
        display: block;
        font-size: 13px;
        line-height: 1.46;
        margin-bottom: 14px;
    }

    .service-meta {
        font-size: 12px;
    }

    .service-card-alert {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .service-alert-content {
        max-width: 100%;
    }

    .service-alert-actions {
        justify-content: flex-start;
    }
}

/* TABLET */

@media (max-width: 991px) {
    .section-heading {
        margin-bottom: 28px;
        padding: 0 18px;
    }

    .section-heading h2 {
        font-size: clamp(26px, 4.5vw, 34px);
        line-height: 1.08;
        letter-spacing: -0.03em;
    }

    .section-heading p {
        font-size: 14px;
        line-height: 1.56;
    }

    .service-card {
        min-height: 198px;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .leistungen-section {
        padding: 36px 0 46px;
    }

    .section-heading {
        margin: 0 auto 24px;
        padding: 0 16px;
    }

    .section-heading h2 {
        font-size: 26px;
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .section-heading p {
        font-size: 14px;
        line-height: 1.54;
    }

    .services-grid-main,
    .services-grid-alert {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        min-height: auto;
        padding: 18px 16px;
        border-radius: 18px;
    }

    .service-card h3 {
        font-size: 19px;
        max-width: 13ch;
    }

    .service-text-short {
        font-size: 13px;
    }

    .service-card-link::after {
        right: 16px;
        bottom: 14px;
    }

    .service-card-alert {
        padding: 16px;
        border-radius: 16px;
    }

    .service-card-alert h3 {
        font-size: 18px;
    }

    .service-alert-actions {
        width: 100%;
        flex-direction: column;
    }

    .alert-btn {
        width: 100%;
        justify-content: center;
    }

    .trust-extra {
        font-size: 12px;
        line-height: 1.5;
        padding: 0 16px;
    }
}
/* Klickfläche der Kachel: ein Link über die ganze Karte, Linktext = Leistungsname (statt des gesamten Kacheltexts) */

.service-card-cover {
    position: absolute;
    inset: 0;
    z-index: 3; /* über Tag, Titel, Text und Meta (z-index 2) */
    border-radius: inherit;
}

.service-card-cover:focus-visible {
    outline: 2px solid #2f7cff;
    outline-offset: -3px;
}

.service-card-cover-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

/* marel-about */
.about-section {
    position: relative;
    padding: 46px 0 46px;
    background: #f7f9fd;
    overflow: hidden;
}

.about-visual-stage {
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 1s ease;
}

.about-visual-stage.about-visible {
    opacity: 1;
}

.about-media-wide {
    width: 100%;
    display: flex;
    justify-content: center;
}

.about-media-wide img {
    width: min(1260px, 84vw);
    height: auto;
    display: block;
    transform: translateY(14px) scale(1.005);
    transform-origin: center bottom;
    transition: transform 1.4s cubic-bezier(.22, .61, .36, 1), opacity 1.2s ease;
    -webkit-mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 76%,
        rgba(0, 0, 0, 0.72) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 1) 76%,
        rgba(0, 0, 0, 0.72) 90%,
        rgba(0, 0, 0, 0) 100%
    );
    filter: drop-shadow(0 12px 24px rgba(18, 32, 60, 0.05));
}

.about-visual-stage.about-visible .about-media-wide img {
    transform: translateY(0) scale(1.005);
}

.about-card {
    position: relative;
    z-index: 2;
    margin-top: 260px;
    padding: 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 253, 0.97));
    border: 1px solid #e2e8f3;
    box-shadow: 0 12px 30px rgba(18, 32, 60, 0.05);
    opacity: 0;
    transform: translateY(34px) scale(.99);
    transition: opacity 1s cubic-bezier(.22, .61, .36, 1), transform 1s cubic-bezier(.22, .61, .36, 1);
}

.about-card.about-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* TEXT */

.about-content {
    max-width: 790px;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 11px;
    border-radius: 999px;
    border: 1px solid #d7deeb;
    background: rgba(255, 255, 255, 0.94);
    color: #7b8391;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
}

.about-content h2 {
    margin: 0 0 12px;
    font-size: clamp(26px, 2.7vw, 38px);
    line-height: 1.02;
    letter-spacing: -.04em;
    color: #182235;
    max-width: 16ch;
}

.about-text p {
    position: relative;
    margin: 0 0 12px;
    padding-left: 14px;
    color: #58657a;
    font-size: 13px;
    line-height: 1.55;
}

.about-text p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #2f7cff;
    box-shadow: 0 0 6px rgba(47, 124, 255, 0.4);
}

.about-text strong {
    color: #2f7cff;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(47, 124, 255, 0.14);
}

/* STATS */

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.about-stat {
    padding: 11px 10px;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e3e9f3;
    box-shadow: 0 5px 14px rgba(18, 32, 60, 0.04);
    opacity: 0;
    transform: translateY(18px);
    transition: all .8s cubic-bezier(.22, .61, .36, 1);
}

.about-card.about-visible .about-stat {
    opacity: 1;
    transform: translateY(0);
}

.about-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18, 32, 60, 0.06);
    border-color: #cfe0fa;
}

.about-card.about-visible .about-stat:hover {
    transform: translateY(-2px);
}

.about-stat-number {
    font-size: 21px;
    font-weight: 800;
    color: #2f7cff;
    text-shadow: 0 3px 10px rgba(47, 124, 255, 0.12);
}

.about-stat-label {
    font-size: 11px;
    color: #687487;
    font-weight: 600;
    line-height: 1.35;
}

/* TABLET */

@media (max-width: 1000px) {
    .about-section {
        padding: 38px 0 40px;
    }

    .about-media-wide img {
        width: min(1060px, 90vw);
        transform: translateY(10px) scale(1);
    }

    .about-card {
        margin-top: 190px;
        padding: 18px;
        border-radius: 18px;
    }

    .about-content h2 {
        font-size: clamp(24px, 3.8vw, 32px);
        max-width: 100%;
    }

    .about-text p {
        font-size: 13px;
        line-height: 1.52;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .about-section {
        padding: 30px 0 34px;
    }

    .about-media-wide img {
        width: 108vw;
        transform: translateY(6px) scale(1);
    }

    .about-card {
        margin-top: 126px;
        padding: 16px;
        border-radius: 16px;
    }

    .about-kicker {
        margin-bottom: 8px;
        padding: 5px 9px;
        font-size: 9px;
    }

    .about-content h2 {
        margin: 0 0 10px;
        font-size: 24px;
        line-height: 1.05;
        max-width: 100%;
    }

    .about-text p {
        padding-left: 12px;
        margin: 0 0 10px;
        font-size: 12px;
        line-height: 1.5;
    }

    .about-text p::before {
        top: 7px;
        width: 4px;
        height: 4px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 7px;
        margin-top: 12px;
    }

    .about-stat {
        padding: 10px;
        border-radius: 11px;
    }

    .about-stat-number {
        font-size: 20px;
    }

    .about-stat-label {
        font-size: 10px;
        line-height: 1.3;
    }
}
/* marel-kontakt */
#kontakt {
    position: relative;
    padding-top: 36px;
    padding-bottom: 46px;
    background:
        radial-gradient(circle at 15% 18%, rgba(47, 124, 255, 0.05), transparent 30%),
        radial-gradient(circle at 85% 30%, rgba(47, 124, 255, 0.03), transparent 28%),
        linear-gradient(180deg, #eef4fb 0%, #f6f9fd 18%, #f8fbff 52%, #ffffff 100%);
    overflow: hidden;
}

#kontakt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1320px, calc(100% - 80px));
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(223, 230, 242, 0) 0%,
        rgba(223, 230, 242, 0.95) 18%,
        rgba(223, 230, 242, 0.95) 82%,
        rgba(223, 230, 242, 0) 100%
    );
    pointer-events: none;
}

#kontakt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 100%);
    pointer-events: none;
}

.kontakt-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

/* =========================================================
   LEFT SIDE
========================================================= */

.kontakt-content {
    position: relative;
    min-width: 0;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 20px 18px;
    background:
        linear-gradient(135deg, rgba(47,124,255,0.10) 0%, rgba(47,124,255,0.03) 42%, rgba(255,255,255,0.96) 100%);
    border: 1px solid #d8e4f5;
    border-radius: 22px;
    box-shadow: 0 10px 22px rgba(18, 32, 60, 0.05);
    overflow: hidden;
}

.kontakt-content::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47,124,255,0.12) 0%, rgba(47,124,255,0) 72%);
    pointer-events: none;
}

.kontakt-content > * {
    position: relative;
    z-index: 1;
}

.kontakt-content .section-heading {
    margin-bottom: 10px;
    max-width: none;
}

.kontakt-content .section-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(47,124,255,0.12);
    color: #2f7cff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.kontakt-content .section-heading h2 {
    margin: 2px 0 0;
    font-size: clamp(32px, 3.2vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #1d2433;
    max-width: 26ch;
    text-wrap: balance;
}

.kontakt-grid p {
    margin: 0 0 10px;
    color: #586375;
    font-size: 15px;
    line-height: 1.5;
}

.kontakt-intro {
    font-size: 16px;
    color: #1d2433;
    font-weight: 600;
    line-height: 1.55;
    max-width: 100%;
}

.kontakt-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 14px;
}

.kontakt-benefit {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #dfe6f2;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #1d2433;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(18, 32, 60, 0.04);
    transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease;
}

.kontakt-benefit:hover {
    transform: translateY(-1px);
    border-color: #2f7cff;
    background: #f4f8ff;
    box-shadow: 0 8px 18px rgba(47, 124, 255, 0.10);
}

.kontakt-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 12px 0;
}

.kontakt-info-card,
.kontakt-leistungen {
    padding: 14px 14px 13px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid #d9e5f6;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(18, 32, 60, 0.03);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.kontakt-info-card h3,
.kontakt-leistungen h3 {
    margin: 0 0 4px;
    color: #183153;
    font-size: 14px;
    line-height: 1.24;
}

.kontakt-info-card p,
.kontakt-leistungen p {
    margin: 0;
    max-width: 100%;
    font-size: 12px;
    line-height: 1.42;
    color: #5b697c;
}

.kontakt-call-hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    margin-top: 10px;
    padding: 11px 16px;
    border-radius: 13px;
    background: #1d2433;
    border: 1px solid #1d2433;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(19, 28, 44, 0.16);
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.18s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.kontakt-call-hint .kontakt-call-number {
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.kontakt-call-hint:hover {
    background: #ffffff;
    color: #1d2433;
    border-color: #cfd8e6;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(19, 28, 44, 0.10);
}

/* =========================================================
   RIGHT SIDE
========================================================= */

.contact-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid #dfe6f2;
    border-radius: 22px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 22px rgba(18, 32, 60, 0.05);
    transition: all 0.25s ease;
}

.contact-box.is-success {
    border-color: #dbe7fb;
    box-shadow: 0 12px 28px rgba(47, 124, 255, 0.10);
    justify-content: center;
}

.kontakt-content,
.contact-box {
    min-height: 100%;
}

.kontakt-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kontakt-form-fields {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.kontakt-form-fields[hidden],
#kontaktFormFields[hidden] {
    display: none !important;
}

.kontakt-form-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kontakt-form label,
.kontakt-label {
    font-size: 12px;
    font-weight: 700;
    color: #1d2433;
}

.kontakt-form input[type="text"],
.kontakt-form input[type="tel"],
.kontakt-form input[type="email"],
.kontakt-form textarea {
    width: 100%;
    border: 1px solid #d7deea;
    border-radius: 12px;
    background: #ffffff;
    box-sizing: border-box;
    color: #1d2433;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kontakt-form input[type="text"],
.kontakt-form input[type="tel"],
.kontakt-form input[type="email"] {
    height: 40px;
    padding: 0 13px;
    font-size: 13px;
    line-height: 1.4;
}

.kontakt-form textarea {
    min-height: 96px;
    padding: 12px 13px;
    font-size: 13px;
    line-height: 1.4;
    font-family: inherit;
    resize: vertical;
}

.kontakt-form input[type="text"]:focus,
.kontakt-form input[type="tel"]:focus,
.kontakt-form input[type="email"]:focus,
.kontakt-form textarea:focus {
    outline: none;
    border-color: #2f7cff;
    box-shadow: 0 0 0 4px rgba(47, 124, 255, 0.10);
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
    font-family: inherit;
    font-size: 11px;
    line-height: 1.4;
    color: #7a8699;
    letter-spacing: 0;
}

/* =========================================================
   ROW LAYOUT
========================================================= */

.kontakt-row-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.kontakt-row-split > div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kontakt-row-address {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.kontakt-row-address-street {
    margin-bottom: 8px;
    min-width: 0;
}

.kontakt-row-address-plz-city {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 8px;
}

.kontakt-row-address-plz,
.kontakt-row-address-city,
.kontakt-row-contact-email,
.kontakt-row-contact-phone {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kontakt-row-contact {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 8px;
}

/* =========================================================
   START OPTIONS
========================================================= */

.kontakt-start-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 2px;
}

.kontakt-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.kontakt-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.kontakt-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 9px;
    border: 1px solid #d7deea;
    border-radius: 11px;
    background: #f9fbfe;
    color: #1d2433;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    transition: all 0.2s ease;
}

.kontakt-option:hover span {
    border-color: #2f7cff;
    background: #f4f8ff;
}

.kontakt-option input:checked + span {
    border-color: #2f7cff;
    background: #edf4ff;
    color: #1d2433;
    box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.10);
}

/* =========================================================
   ERRORS
========================================================= */

.kontakt-error-message {
    min-height: 13px;
    margin-top: 2px;
    color: #dc2626;
    font-size: 10px;
    line-height: 1.25;
    font-weight: 600;
}

.kontakt-form input.is-invalid,
.kontakt-form textarea.is-invalid {
    border-color: #ef4444;
    background: #fffafa;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08);
}

.kontakt-option.is-invalid span {
    border-color: #ef4444;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}

/* =========================================================
   NOTE / BUTTONS
========================================================= */

.kontakt-note {
    margin: 0;
    color: #586375;
    font-size: 12px;
    line-height: 1.4;
}

.kontakt-note a {
    color: #2f7cff;
    text-decoration: none;
    font-weight: 700;
}

.kontakt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0 14px;
    border: 0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.kontakt-btn:hover {
    transform: translateY(-1px);
    opacity: 0.98;
}

.kontakt-btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.kontakt-btn-primary {
    background: #2f7cff;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(47, 124, 255, 0.15);
}

.kontakt-btn-secondary {
    background: #edf4ff;
    color: #2f7cff;
    box-shadow: inset 0 0 0 1px #cfe0fa;
}

#kontaktSubmitButton {
    margin-top: 2px;
}

/* =========================================================
   SUCCESS
========================================================= */

.kontakt-success-card {
    background: linear-gradient(180deg, #f6fff7 0%, #edf9ef 100%);
    border: 1px solid #cfe8d3;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 8px 18px rgba(74, 130, 83, 0.05);
    animation: kontaktFadeIn 0.3s ease;
}

.kontakt-success-card[hidden],
#kontaktSuccessMessage[hidden] {
    display: none !important;
}

.kontakt-success-badge {
    display: inline-flex;
    margin-bottom: 7px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e4f5e8;
    color: #2f7a3d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.kontakt-success-card h3 {
    margin: 0 0 7px;
    font-size: 20px;
    line-height: 1.06;
    color: #1f2430;
}

.kontakt-success-card p {
    margin: 0 0 8px;
    color: #567064;
    font-size: 13px;
    line-height: 1.42;
}

.kontakt-success-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.kontakt-success-actions .kontakt-btn {
    width: auto;
    min-width: 170px;
}

/* =========================================================
   CALL HINT
========================================================= */

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

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    #kontakt {
        padding-top: 38px;
        padding-bottom: 34px;
    }

    #kontakt::before {
        width: min(1320px, calc(100% - 32px));
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .kontakt-content .section-heading h2 {
        max-width: 100%;
        font-size: clamp(24px, 6vw, 34px);
    }

    .kontakt-info-grid {
        grid-template-columns: 1fr;
    }

    .kontakt-start-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    #kontakt {
        padding-top: 34px;
        padding-bottom: 28px;
    }

    #kontakt::before {
        width: min(1320px, calc(100% - 24px));
    }

    .contact-box,
    .kontakt-content {
        padding: 14px 12px 12px;
        border-radius: 15px;
    }

    .kontakt-content .section-heading h2 {
        font-size: 22px;
        line-height: 1.1;
    }

    .kontakt-grid p {
        font-size: 13px;
    }

    .kontakt-intro {
        font-size: 13px;
    }

    .kontakt-benefits {
        gap: 6px;
        margin: 10px 0 12px;
    }

    .kontakt-benefit {
        width: 100%;
        justify-content: center;
        font-size: 11px;
        min-height: 30px;
        padding: 0 10px;
    }

    .kontakt-info-card,
    .kontakt-leistungen {
        padding: 12px 12px 10px;
        border-radius: 12px;
    }

    .kontakt-info-card h3,
    .kontakt-leistungen h3 {
        font-size: 14px;
    }

    .kontakt-row-split,
    .kontakt-row-contact,
    .kontakt-row-address-plz-city,
    .kontakt-start-grid {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .kontakt-row-address-street {
        margin-bottom: 7px;
    }

    .kontakt-option span {
        min-height: 42px;
        font-size: 12px;
    }

    .kontakt-btn {
        min-height: 42px;
        font-size: 13px;
    }

    .kontakt-success-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .kontakt-success-card h3 {
        font-size: 21px;
    }

    .kontakt-success-actions {
        flex-direction: column;
    }

    .kontakt-success-actions .kontakt-btn {
        width: 100%;
        min-width: 0;
    }

    .kontakt-call-hint {
        width: 100%;
    }
}
/* marel-faq */
.faq-section {
    position: relative;
    padding: 52px 0;
    background:
        radial-gradient(circle at top left, rgba(67, 125, 245, 0.06) 0%, transparent 34%),
        radial-gradient(circle at bottom right, rgba(87, 145, 255, 0.05) 0%, transparent 28%),
        linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
    overflow: hidden;
}

.faq-heading {
    max-width: 980px;
    margin: 0 auto 28px;
}

.faq-heading p {
    max-width: 68ch;
}

/* LIST */

.faq-list {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

/* ITEM */

.faq-item {
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #dbe6f6;
    box-shadow: 0 6px 16px rgba(31, 61, 117, 0.05);
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-1px);
    border-color: #c6d9f8;
}

.faq-item.active {
    border-color: #9fc0f8;
    box-shadow: 0 10px 24px rgba(55, 101, 185, 0.10);
}

/* QUESTION */

.faq-question {
    position: relative;
    width: 100%;
    padding: 16px 48px 16px 16px;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: #1b2432;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    display: block;
    box-sizing: border-box;
}

/* ICON */

.faq-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translateY(-50%);
    background: #eef5ff;
    pointer-events: none;
    flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    background: #3978ee;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.active .faq-icon {
    background: #2f7cff;
}

.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after {
    background: #fff;
}

.faq-item.active .faq-icon::after {
    opacity: 0;
}

/* ANSWER */

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 16px 16px;
    border-top: 1px solid #eef2f8;
}

.faq-answer p {
    margin: 10px 0 0;
    color: #62728b;
    font-size: 14px;
    line-height: 1.6;
}

/* TABLET */

@media (max-width: 991px) {
    .faq-section {
        padding: 42px 0;
    }

    .faq-heading {
        margin-bottom: 22px;
    }

    .faq-question {
        font-size: 15px;
        padding: 14px 44px 14px 14px;
    }

    .faq-answer p {
        font-size: 13px;
    }
}

/* MOBILE */

@media (max-width: 640px) {
    .faq-section {
        padding: 34px 0;
    }

    .faq-heading {
        margin-bottom: 18px;
    }

    .faq-list {
        gap: 10px;
    }

    .faq-item {
        border-radius: 14px;
    }

    .faq-question {
        font-size: 14px;
        padding: 12px 40px 12px 12px;
    }

    .faq-icon {
        width: 18px;
        height: 18px;
        right: 12px;
    }

    .faq-answer-inner {
        padding: 0 12px 14px;
    }

    .faq-answer p {
        font-size: 13px;
        line-height: 1.55;
    }
}
/* marel-referenzen */
/* =========================================================
   REFERENZEN / VIDEO GRID
========================================================= */

.reference-video-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
    width: 100%;
}

.reference-video-card {
    background: #ffffff;
    border: 1px solid #dfe6f2;
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 6px 20px rgba(18, 32, 60, 0.04);
    box-sizing: border-box;
    min-width: 0;
}

.reference-video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 9 / 16;
    background: #e9eef5;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    touch-action: manipulation;
}

.reference-video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(15, 23, 42, 0.20) 0%, transparent 30%),
        linear-gradient(to top, rgba(15, 23, 42, 0.12) 0%, transparent 30%);
    pointer-events: none;
    z-index: 1;
}

.reference-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

@media (hover: hover) {
    .reference-video-frame:hover .reference-video-poster {
        transform: scale(1.03);
    }
}

/* =========================================================
   BUTTONS
========================================================= */

.reference-play-btn,
.reference-expand-btn {
    position: absolute;
    z-index: 3;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.reference-play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
}

.reference-play-btn svg {
    width: 22px;
    height: 22px;
    margin-left: 2px;
    pointer-events: none;
    fill: currentColor;
}

.reference-expand-btn {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
}

.reference-expand-btn svg {
    width: 16px;
    height: 16px;
    pointer-events: none;
    fill: currentColor;
}

@media (hover: hover) {
    .reference-play-btn:hover {
        transform: translate(-50%, -50%) scale(1.05);
    }

    .reference-expand-btn:hover {
        transform: scale(1.05);
    }
}

/* =========================================================
   TEXT BLOCK
========================================================= */

.reference-text-block {
    max-width: 900px;
    margin: 30px auto 0;
    text-align: center;
}

.reference-text-block p {
    margin: 0 0 22px;
    color: #647084;
    line-height: 1.7;
    font-size: 16px;
}

.reference-gallery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    background: #2f7cff;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(47, 124, 255, 0.25);
    transition: 0.2s ease;
}

.reference-gallery-button:hover {
    background: #1f6df0;
    transform: translateY(-2px);
}

/* =========================================================
   MODAL
========================================================= */

.reference-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.reference-video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.reference-video-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 16, 28, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.reference-video-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(92vw, 720px);
    height: min(88vh, 1000px);
    margin: 4vh auto;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.2s ease;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.reference-video-modal-player {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 1;
    background: #000;
    object-fit: contain;
}

.reference-video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10001;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    color: #111827;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
}

/* Wenn Modal offen ist, Seite im Hintergrund sperren */
body.reference-video-modal-open {
    overflow: hidden;
}

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

@media (max-width: 1199px) {
    .reference-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .reference-video-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .reference-video-card {
        padding: 6px;
    }

    .reference-play-btn {
        width: 50px;
        height: 50px;
    }

    .reference-expand-btn {
        width: 34px;
        height: 34px;
    }

    .reference-video-modal {
        z-index: 99999;
    }

    .reference-video-modal-dialog {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        margin: 0;
        border-radius: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .reference-video-modal-player {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .reference-video-modal-close {
        position: fixed;
        top: max(14px, env(safe-area-inset-top));
        right: max(14px, env(safe-area-inset-right));
        width: 48px;
        height: 48px;
        font-size: 30px;
        z-index: 100000;
    }
}
/* marel-funnel */
/* =========================================================
   FULL WIDTH SECTION
========================================================= */

.funnel-check-section {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 42px 18px 54px;
    background:
        radial-gradient(circle at top left, rgba(64, 131, 255, 0.08) 0%, rgba(246, 249, 255, 0) 34%),
        radial-gradient(circle at bottom right, rgba(99, 179, 111, 0.06) 0%, rgba(246, 249, 255, 0) 26%),
        linear-gradient(180deg, #f7faff 0%, #eef4fc 100%);
    overflow: hidden;
}

.funnel-check-shell {
    max-width: 1180px;
    margin: 0 auto;
}

body {
    overflow-x: hidden;
}

/* =========================================================
   CAPACITY STRIP
========================================================= */

.funnel-capacity-strip.clean {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f3;
    box-shadow: 0 10px 24px rgba(30, 60, 120, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.funnel-capacity-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: #55749a;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.funnel-capacity-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: subtlePulse 2s infinite;
}

.funnel-capacity-strip.clean strong {
    font-size: 14px;
    line-height: 1.4;
    color: #1f2937;
}

.funnel-capacity-note {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #6b7280;
}

/* =========================================================
   MAIN CARD LAYOUT
========================================================= */

.funnel-check-card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 18px;
    align-items: stretch;
    transition: grid-template-columns 0.28s ease, gap 0.28s ease;
    overflow: hidden;
}

.funnel-check-content,
.funnel-form-box {
    border-radius: 22px;
    border: 1px solid #e5ecf6;
    box-shadow: 0 14px 32px rgba(40, 70, 120, 0.07);
    min-width: 0;
}

.funnel-check-content,
.funnel-form-box {
    min-height: 420px;
}

/* =========================================================
   LEFT PANEL
========================================================= */

.funnel-check-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 28px 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #2f7cff 0%, #1d4fbf 100%);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        padding 0.25s ease,
        margin 0.25s ease,
        border 0.25s ease,
        box-shadow 0.25s ease,
        min-height 0.25s ease,
        max-height 0.25s ease;
}

.funnel-check-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 36%),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0) 30%);
    pointer-events: none;
}

.funnel-check-content-visual {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.funnel-check-content-inner {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.funnel-check-badge {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.funnel-check-content h2 {
    margin: 0 0 10px;
    max-width: 15ch;
    font-size: clamp(26px, 2.5vw, 38px);
    line-height: 1.02;
    color: #ffffff;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.funnel-highlight {
    display: inline-block;
    background: linear-gradient(135deg, #ffffff 0%, #cfe0ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.funnel-check-content p {
    margin: 0;
    max-width: 52ch;
    font-size: 14px;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.9);
}

/* =========================================================
   CONTACT BAR
========================================================= */

.funnel-check-contactbar {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.funnel-contact-pill {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 72px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    border: 1px solid rgba(203, 217, 242, 0.42);
    background: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 18px rgba(13, 28, 52, 0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
    overflow: hidden;
}

.funnel-contact-pill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
}

.funnel-contact-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(156, 190, 255, 0.7);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 24px rgba(13, 28, 52, 0.14);
}

.funnel-contact-pill span {
    position: relative;
    z-index: 1;
}

.funnel-contact-pill span:not(.funnel-contact-value) {
    margin-bottom: 3px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.funnel-contact-pill .funnel-contact-value {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    color: #ffffff;
    word-break: break-word;
}

/* =========================================================
   FORM BOX
========================================================= */

.funnel-form-box {
    padding: 22px 22px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,251,255,0.98) 100%);
    transition: width 0.28s ease, max-width 0.28s ease, padding 0.28s ease;
}

/* =========================================================
   PROGRESS
========================================================= */

.funnel-form-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.funnel-form-progress span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6edf8;
    color: #6f86a3;
    font-size: 13px;
    font-weight: 800;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.funnel-form-progress span.active {
    color: #ffffff;
    background: linear-gradient(135deg, #3e7cf0 0%, #4d89ff 100%);
    box-shadow: 0 8px 18px rgba(63, 125, 240, 0.20);
    transform: scale(1.04);
}

.funnel-form-progress span.done {
    color: #ffffff;
    background: linear-gradient(135deg, #3e7cf0 0%, #4d89ff 100%);
    box-shadow: 0 8px 18px rgba(63, 125, 240, 0.20);
}

/* =========================================================
   FORM
========================================================= */

.funnel-form {
    position: relative;
}

/* =========================================================
   STEPS
========================================================= */

.funnel-step {
    display: none;
    animation: funnelFadeIn 0.35s ease;
}

.funnel-step.active {
    display: block;
}

.funnel-step h3 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.08;
    color: #1f2430;
}

.funnel-step p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #67809d;
}

/* =========================================================
   DYNAMIC GROUPS / STEP 3
========================================================= */

#funnelDynamicGroups {
    display: block;
}

.funnel-dynamic-group {
    margin-bottom: 16px;
    padding: 14px 14px 4px;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9ff 100%);
    border: 1px solid #e0e9f7;
    box-shadow: 0 6px 14px rgba(50, 90, 150, 0.04);
}

.funnel-dynamic-group:last-child {
    margin-bottom: 18px;
}

.funnel-dynamic-group h4 {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #264261;
}

/* =========================================================
   FIELDS
========================================================= */

.funnel-field {
    margin-bottom: 12px;
    min-width: 0;
}

.funnel-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #274161;
}

.funnel-field small {
    font-size: 11px;
    font-weight: 600;
    color: #7a8fa9;
}

.funnel-field input,
.funnel-field textarea {
    width: 100%;
    border: 1px solid #d4e0f1;
    border-radius: 14px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-sizing: border-box;
    font-size: 14px;
    color: #1f2430;
    font-family: inherit;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease,
        background 0.22s ease;
}

.funnel-field input {
    height: 48px;
    padding: 0 14px;
}

.funnel-field textarea {
    min-height: 120px;
    padding: 14px;
    line-height: 1.5;
    resize: vertical;
}

.funnel-field input::placeholder,
.funnel-field textarea::placeholder {
    color: #88a0bf;
}

.funnel-field input:focus,
.funnel-field textarea:focus {
    outline: none;
    border-color: #4b85f5;
    box-shadow: 0 0 0 4px rgba(75, 133, 245, 0.10);
    transform: translateY(-1px);
}

.funnel-field input.is-invalid,
.funnel-field textarea.is-invalid {
    border-color: #ef4444;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.10);
}

.funnel-field input.is-invalid:focus,
.funnel-field textarea.is-invalid:focus {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.funnel-field-error,
.funnel-step-error {
    min-height: 16px;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 600;
    color: #dc2626;
}

.funnel-field input[readonly] {
    background: #f3f7fd;
    color: #5f6f85;
    cursor: not-allowed;
}

/* =========================================================
   SERVICES
========================================================= */

.funnel-services {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.funnel-services label {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 14px;
    border-radius: 16px;
    border: 1px solid #dbe6f5;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 5px 14px rgba(37, 72, 126, 0.04);
    cursor: pointer;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        background 0.22s ease,
        opacity 0.22s ease;
}

.funnel-services label:hover {
    transform: translateY(-2px);
    border-color: #9dbcf6;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
    box-shadow: 0 10px 22px rgba(63, 125, 240, 0.09);
}

.funnel-services input {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #b8c9e4;
    border-radius: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fc 100%);
    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.funnel-services input::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 5px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg) scale(0);
    transition: transform 0.18s ease;
}

.funnel-services input:checked {
    border-color: #2f7cff;
    background: linear-gradient(135deg, #2f7cff 0%, #5c97ff 100%);
    box-shadow: 0 6px 14px rgba(47, 124, 255, 0.20);
    transform: scale(1.03);
}

.funnel-services input:checked::after {
    transform: rotate(-45deg) scale(1);
}

.funnel-services label:has(input:checked) {
    border-color: #8eb7ff;
    background: linear-gradient(180deg, #f8fbff 0%, #edf4ff 100%);
    box-shadow: 0 12px 24px rgba(47, 124, 255, 0.09);
}

.funnel-services span {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: #24446c;
}

.funnel-services label:has(input:checked) span {
    color: #1f4fa7;
}

/* =========================================================
   FILE UPLOAD
========================================================= */

.funnel-field-upload {
    margin-top: 0;
}

.funnel-upload-box {
    position: relative;
}

.funnel-upload-box input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.funnel-upload-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 58px;
    padding: 11px 13px;
    border-radius: 14px;
    border: 1px dashed #c8d8ef;
    background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease,
        background 0.18s ease;
}

.funnel-upload-trigger:hover {
    transform: translateY(-1px);
    border-color: #a8c2eb;
    background: #ffffff;
    box-shadow: 0 8px 18px rgba(37, 72, 126, 0.06);
}

.funnel-upload-title {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 800;
    color: #2e5fae;
}

.funnel-upload-subtitle {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    color: #7f8fa2;
}

.funnel-file-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 8px;
}

.funnel-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 30px;
    padding: 6px 8px 6px 10px;
    border-radius: 10px;
    background: #f3f7fd;
    border: 1px solid #dbe6f5;
    color: #476382;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.funnel-file-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.funnel-file-remove {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 0;
    border-radius: 50%;
    background: #dfe7f1;
    color: #456381;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, transform 0.18s ease;
}

.funnel-file-remove:hover {
    background: #d3dde9;
    transform: scale(1.04);
}

/* =========================================================
   BUTTONS
========================================================= */

.funnel-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.funnel-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.funnel-btn:hover {
    transform: translateY(-2px);
}

.funnel-btn:active {
    transform: translateY(0);
}

.funnel-btn-primary {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #3d78eb 0%, #4d89ff 100%);
    box-shadow: 0 12px 24px rgba(63, 125, 240, 0.22);
}

.funnel-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120px;
    width: 120px;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.24) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: funnelButtonShine 3s linear infinite;
}

.funnel-btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 16px 30px rgba(63, 125, 240, 0.28);
}

.funnel-btn-secondary {
    color: #2958a7;
    background: linear-gradient(180deg, #edf4ff 0%, #e4efff 100%);
    box-shadow: inset 0 0 0 1px #cfe0fa;
}

.funnel-btn-secondary:hover {
    background: linear-gradient(180deg, #e6f0ff 0%, #dce9ff 100%);
}

/* =========================================================
   SUCCESS
========================================================= */

.funnel-success-message {
    display: none;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    padding: 22px 18px;
    border-radius: 20px;
    border: 1px solid #cfe8d3;
    background: linear-gradient(180deg, #f6fff7 0%, #edf9ef 100%);
    box-shadow: 0 14px 28px rgba(74, 130, 83, 0.07);
}

.funnel-success-message.is-visible {
    display: block;
    animation: funnelSuccessIn 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.funnel-success-message[hidden] {
    display: none !important;
}

.funnel-success-badge {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #e4f5e8;
    color: #2f7a3d;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.funnel-success-message h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.06;
    color: #1f2430;
}

.funnel-success-message p {
    margin: 0 0 10px;
    max-width: 48ch;
    font-size: 14px;
    line-height: 1.55;
    color: #567064;
}

.funnel-spam-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #6b778c;
    background: rgba(255,255,255,0.65);
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.5;
}

.funnel-success-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.funnel-success-contact a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #d7e9db;
    color: #2159c7;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease;
}

.funnel-success-contact a:hover {
    transform: translateY(-1px);
}

.funnel-success-actions {
    margin-top: 14px;
}

/* =========================================================
   BREITE ANSICHT AB STEP 4
========================================================= */

.funnel-check-card.is-step-3 {
    grid-template-columns: 0 minmax(0, 1fr);
    gap: 0;
    align-items: start;
}

.funnel-check-card.is-step-3 .funnel-check-content {
    opacity: 0;
    transform: translateX(-16px);
    pointer-events: none;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
    min-height: 0;
    max-height: 0;
    box-shadow: none;
}

.funnel-check-card.is-step-3 .funnel-form-box {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    padding-top: 16px;
}

/* =========================================================
   STEP 4 GRID
========================================================= */

.funnel-step[data-step="4"] .funnel-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.7fr 0.8fr 0.9fr;
    gap: 10px 10px;
    align-items: start;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-firstname {
    grid-column: 1 / 2;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-lastname {
    grid-column: 2 / 3;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-street {
    grid-column: 1 / 4;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-project-plz {
    grid-column: 4 / 5;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-city {
    grid-column: 5 / 6;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-email {
    grid-column: 1 / 4;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-phone {
    grid-column: 4 / 6;
}

.funnel-step[data-step="4"] .funnel-step-grid .funnel-field-full {
    grid-column: 1 / -1;
}

.funnel-step[data-step="4"] .funnel-step-grid > .funnel-field:not(.funnel-field-full) {
    min-width: 0;
}

/* =========================================================
   MOBILE STICKY CTA
========================================================= */

.mobile-sticky-cta {
    display: none;
}

/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes subtlePulse {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

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

@keyframes funnelSuccessIn {
    0% {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes funnelButtonShine {
    0% {
        left: -120px;
    }
    100% {
        left: calc(100% + 120px);
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {
    .funnel-check-section {
        left: auto;
        right: auto;
        width: auto;
        margin-left: 0;
        margin-right: 0;
        padding: 34px 16px 44px;
    }

    .funnel-check-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .funnel-check-content,
    .funnel-form-box {
        min-height: auto;
    }

    .funnel-check-content {
        padding: 22px 18px 18px;
    }

    .funnel-form-box {
        padding: 18px 16px 16px;
    }

    .funnel-capacity-strip.clean {
        padding: 14px 14px 12px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .funnel-check-content h2 {
        max-width: none;
        font-size: clamp(24px, 4.6vw, 32px);
    }

    .funnel-check-content p {
        font-size: 13px;
        line-height: 1.52;
    }

    .funnel-check-contactbar {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 16px;
    }

    .funnel-contact-pill {
        min-height: 62px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .funnel-contact-pill .funnel-contact-value {
        font-size: 14px;
    }

    .funnel-step h3,
    .funnel-success-message h3 {
        font-size: 22px;
    }

    .funnel-check-card.is-step-3 {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .funnel-check-card.is-step-3 .funnel-check-content {
        display: none;
    }

    .funnel-step[data-step="4"] .funnel-step-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-firstname,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-lastname,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-email,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-phone,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-street,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-project-plz,
    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-city {
        grid-column: auto;
    }

    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-full {
        grid-column: 1 / -1;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
    .funnel-check-section {
        padding: 30px 14px 42px;
    }

    .funnel-check-content {
        padding: 18px 14px 14px;
        border-radius: 18px;
    }

    .funnel-form-box {
        padding: 16px 14px 14px;
        border-radius: 18px;
    }

    .funnel-check-content h2 {
        font-size: 26px;
        line-height: 1.04;
    }

    .funnel-check-content p {
        font-size: 13px;
        line-height: 1.48;
    }

    .funnel-check-badge {
        margin-bottom: 10px;
        padding: 6px 10px;
        font-size: 10px;
    }

    .funnel-step h3,
    .funnel-success-message h3 {
        font-size: 20px;
    }

    .funnel-step p,
    .funnel-success-message p {
        font-size: 13px;
        line-height: 1.48;
    }

    .funnel-form-progress {
        gap: 6px;
        margin-bottom: 12px;
    }

    .funnel-form-progress span {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .funnel-dynamic-group {
        padding: 12px 12px 4px;
        border-radius: 16px;
    }

    .funnel-field label {
        font-size: 12px;
    }

    .funnel-field input {
        height: 44px;
        padding: 0 12px;
        font-size: 14px;
        border-radius: 12px;
    }

    .funnel-field textarea {
        min-height: 110px;
        padding: 12px;
        font-size: 14px;
        border-radius: 12px;
    }

    .funnel-services {
        gap: 8px;
        margin-bottom: 14px;
    }

    .funnel-services label {
        min-height: 48px;
        padding: 0 12px;
        border-radius: 14px;
        gap: 10px;
    }

    .funnel-services span {
        font-size: 13px;
    }

    .funnel-upload-trigger {
        min-height: 54px;
        padding: 10px 12px;
        border-radius: 12px;
    }

    .funnel-file-list {
        grid-template-columns: 1fr;
    }

    .funnel-btn-row,
    .funnel-success-contact {
        flex-direction: column;
    }

    .funnel-check-contactbar {
        grid-template-columns: 1fr;
    }

    .funnel-contact-pill,
    .funnel-btn,
    .funnel-success-contact a {
        width: 100%;
    }

    .funnel-btn {
        min-height: 42px;
        font-size: 13px;
        border-radius: 12px;
    }

    .funnel-success-message {
        padding: 18px 14px;
        border-radius: 16px;
    }

    .funnel-step[data-step="4"] .funnel-step-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .funnel-step[data-step="4"] .funnel-step-grid .funnel-field-full {
        grid-column: auto;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 999;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .mobile-sticky-cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 46px;
        border-radius: 12px;
        text-decoration: none;
        font-size: 12px;
        font-weight: 800;
        box-shadow: 0 10px 24px rgba(18, 32, 60, 0.16);
    }

    .mobile-sticky-cta-call {
        color: #ffffff;
        background: #1d2433;
    }

    .mobile-sticky-cta-form {
        color: #ffffff;
        background: #2f7cff;
    }

    body {
        padding-bottom: 72px;
    }
}

/* =========================================================
   LOW HEIGHT LAPTOPS / MACBOOK 13"
========================================================= */

@media (max-height: 900px) and (min-width: 992px) {
    .funnel-check-section {
        padding-top: 24px;
        padding-bottom: 30px;
    }

    .funnel-capacity-strip.clean {
        margin-bottom: 12px;
        padding: 12px 14px;
    }

    .funnel-capacity-note {
        font-size: 12px;
    }

    .funnel-check-card {
        gap: 14px;
    }

    .funnel-check-content {
        padding: 20px 20px 18px;
    }

    .funnel-form-box {
        padding: 18px 18px 16px;
    }

    .funnel-check-content h2 {
        font-size: clamp(24px, 2vw, 32px);
        margin-bottom: 8px;
    }

    .funnel-check-content p {
        font-size: 13px;
        line-height: 1.45;
    }

    .funnel-check-contactbar {
        margin-top: 14px;
        gap: 8px;
    }

    .funnel-contact-pill {
        min-height: 58px;
        padding: 10px 12px;
    }

    .funnel-form-progress {
        margin-bottom: 12px;
        gap: 6px;
    }

    .funnel-form-progress span {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .funnel-step h3 {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .funnel-step p {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .funnel-field {
        margin-bottom: 10px;
    }

    .funnel-field label {
        margin-bottom: 5px;
        font-size: 12px;
    }

    .funnel-field input {
        height: 42px;
        font-size: 13px;
        padding: 0 12px;
    }

    .funnel-field textarea {
        min-height: 80px;
        font-size: 13px;
        padding: 10px 12px;
    }

    .funnel-services {
        gap: 8px;
        margin-bottom: 14px;
    }

    .funnel-services label {
        min-height: 46px;
        padding: 0 12px;
    }

    .funnel-services span {
        font-size: 13px;
    }

    .funnel-upload-trigger {
        min-height: 50px;
        padding: 9px 11px;
    }

    .funnel-upload-title {
        font-size: 11px;
    }

    .funnel-upload-subtitle {
        font-size: 10px;
    }

    .funnel-file-item {
        min-height: 28px;
        font-size: 10px;
    }

    .funnel-btn {
        min-height: 40px;
        font-size: 13px;
        padding: 0 15px;
    }

    .funnel-step[data-step="4"] .funnel-step-grid {
        grid-template-columns: 1fr 1fr 1.55fr 0.8fr 0.9fr;
        gap: 8px 8px;
    }

    .funnel-check-card.is-step-3 .funnel-form-box {
        padding-top: 14px;
    }
}
/* Upload-Hinweis nimmt nur Platz ein, wenn eine Datei abgelehnt wurde */
#funnelUploadError:empty {
    display: none;
}

