/*
Theme Name: B2B Haendlerseite
Description: A dynamic WordPress theme converted from static HTML using JetEngine.
Author: Dhaval Panchal <dhaval.panchal@brodos.net>
Version: 1.0.0
*/

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/Montserrat-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('assets/fonts/Montserrat-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('assets/fonts/Montserrat-Bold.woff2') format('woff2');
}

:root {
    --brand-color: #0069b4;
    --brand-secondary-color: #0069b4;
    --brand-color-dark: #005996;
    --dark: #000;
    --text: #000;
    --muted: #ededed;
    --shadow: 0 0 16px rgba(0, 0, 0, 0.22);
    --soft-shadow: 0 0 4px 0 #ddd;
    --radius: 4px;
    --shell: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background-color: #ffffff;
}

/* Adjust scroll padding for WordPress Admin Bar */
html:has(body.admin-bar) {
    scroll-padding-top: 132px;
}

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

    html:has(body.admin-bar) {
        scroll-padding-top: 102px;
    }
}

@media (max-width: 782px) {
    html:has(body.admin-bar) {
        scroll-padding-top: 116px;
    }
}

body {
    margin: 0;
    color: var(--text);
    background: #fff;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 18px;
    line-height: 1.5;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

:focus-visible {
    outline: 2px solid var(--brand-color, #0069b4);
    outline-offset: 2px;
}

.shell {
    width: min(var(--shell), calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20000;
    background-color: #ffffff !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    background-image: none !important;
    mix-blend-mode: normal !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* Adjust sticky top position when WordPress Admin Bar is present */
.admin-bar .site-header {
    top: 32px;
}

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

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

.brand {
    margin-right: 16px;
}

.brand img {
    width: 160px;
    height: 80px;
    object-fit: contain;
}

.site-nav {
    /* display: flex; */
    /* align-items: center; */
    /* gap: 34px; */
    /* margin-left: auto; */
    font-size: 16px;
    flex: 1;
}

/* On desktop the inner wrapper elements are transparent to layout */
.nav-menu-wrap {
    display: contents;
}

.site-nav ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 34px;
    font-size: 16px;
    line-height: 1;

    li {}
}


.site-nav a {
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--brand-color);
}

.button {
    display: inline-flex;
    /* min-height: 48px; */
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--radius);
    padding: 12px 24px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
    line-height: 1.2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    gap: 8px;
    position: relative;
}

.button:hover,
.button:focus-visible {
    /* transform: translateY(-1px); */
    background: var(--dark);
}

.button-primary {
    background: var(--brand-color);
    color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
    background: var(--dark);
}

.button-secondary {
    border: 1px solid #fff;
    color: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: #fff;
    color: var(--brand-color);

    svg path {
        fill: var(--brand-color);
    }
}

.button-white {
    background: #fff;
    color: var(--brand-color);
}

.button-white:hover,
.button-white:focus-visible {
    background: var(--dark);
    color: #fff;
}

.button-external {
    padding-right: 56px;

    svg {
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
}

.menu-toggle {
    display: none;
    border: none;
    background: transparent;
    padding: 8px;
    cursor: pointer;
    color: var(--text);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: #f0f0f0;
}

/* Hamburger icon bars — animate to X when open */
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
}

.menu-icon span {
    display: block;
    height: 2px;
    background: #000;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        width 0.3s ease;
    width: 100%;
}

/* Animate hamburger → X when nav is open */
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- Nav Overlay Backdrop ---- */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 19998;
    opacity: 0;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.nav-overlay.is-visible {
    display: block;
}

.nav-overlay.is-active {
    opacity: 1;
}

/* ---- Nav close button (inside the panel) ---- */
.nav-close {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text);
    padding: 8px;
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
    line-height: 0;
}

.nav-close:hover {
    background: #f0f0f0;
}

/* ---- Nav header row (logo placeholder + close button) ---- */
.nav-header {
    display: none;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 16px 14px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

/* ---- Nav footer: social icons + Adminbereich ---- */
.nav-footer {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    border-top: 1px solid #eee;
    margin-top: auto;
    flex-shrink: 0;
}

.nav-social {
    /* social menu from shortcode renders .brodos-social-menu */
}

.nav-social .brodos-social-menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-social .brodos-social-menu ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-color);
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
    border-bottom: none;
}

.nav-social .brodos-social-menu ul li a:hover {
    background: var(--brand-color);
    transform: translateY(-2px);
}

.nav-social .brodos-social-menu ul li a:hover svg path {
    fill: #fff;
}

.nav-social .brodos-social-menu ul li a svg {
    width: 24px;
    height: 24px;
}

.nav-admin-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.2s ease;
    border-bottom: none !important;
}

.nav-admin-link:hover {
    color: var(--brand-color);
}

.section {
    padding: 96px 0;
}

.section-white {
    background: #fff;
}

.section-blue {
    background: linear-gradient(180deg, var(--brand-color) 0%, var(--brand-secondary-color) 100%);
    color: #fff;
}

.hero {
    padding: 0;
    position: relative;
}

.hero-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    justify-content: space-between;
}

.hero-copy {
    display: grid;
    gap: 24px;
}

.hero-copy .button {
    justify-self: start;
}

.button-group {
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
}

.hero-copy h1 {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
}

.hero-copy p {
    margin: 0;
}

.hero-copy-content p {
    margin: 0 0 12px;
}

.hero-media {
    /* overflow: hidden; */
}

.hero-media img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: var(--radius);
    border: 1px solid #ddd;
}

.eyebrow {
    margin: 0 0 8px;
    font-weight: 600;
    line-height: 1.2;
}

.eyebrow-inverse {
    color: #fff;
}

.section-heading {
    max-width: 717px;
    margin-bottom: 56px;
}

.section-heading.narrow {
    /* max-width: 645px; */
}

.section-heading h2,
.about-intro h2,
.contact-intro h2 {
    margin: 0 0 16px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
}

.section-heading p,
.about-intro p,
.contact-intro p {
    margin: 0 0 12px;
}

.section-heading-inverse {
    color: #fff;
}

.tab-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.tab {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.tab:hover {
    background: transparent;
}

.tab.is-active {
    font-weight: 600;
}

.tab-divider {
    width: 2px;
    height: 40px;
    background: #b7b7b7;
}

.solution-grid {
    /* display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px; */
}

/* Override Splide defaults when slider is NOT initialized */
.solution-grid-splide:not(.splide) .splide__track {
    overflow: visible;
}

.solution-grid-splide:not(.splide) .splide__list.solution-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;

    .image-card {
        width: calc(25% - 12px);
    }
}

/* Override Splide defaults when slider is NOT initialized - Services */
.service-grid-splide:not(.splide) .splide__track {
    overflow: visible;
}

.service-grid-splide:not(.splide) .splide__list.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;

    .service-card {
        width: calc(25% - 12px);
    }
}

.image-card,
.team-card,
.branch-card,
.service-card,
.contact-card,
.method-card {
    border-radius: var(--radius);
    background: #fff;
    /* box-shadow: var(--soft-shadow); */
    border: 1px solid #ddd;
    overflow: hidden;
}

.image-card {
    /* min-height: 450px;
	overflow: hidden; */
}

.image-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.image-card div {
    padding: 28px 16px 24px;
}

.image-card h3,
.team-card h3,
.branch-card h3,
.service-card h3 {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
}

.image-card h3 {
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.service-card h3 {
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 56px;
    word-break: break-word;
}

.branch-card h3 {
    height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.image-card p,
.service-card p,
.branch-card p {
    margin: 24px 0 0;
    font-size: 16px;
    line-height: 1.5;
}

.pager {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 32px 0 42px;
}

.dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #e0e0e0;
}

.dot.active {
    background: var(--brand-color);
}

.dot.dark {
    background: #515151;
}

.dot.light {
    background: #eee;
}

.section-cta {
    max-width: 650px;
    margin-top: 40px;
}

.section-cta p {
    margin: 0 0 24px;
}

.banner {
    margin: 64px 0 0;
    border-radius: var(--radius);
    overflow: hidden;

    &.client-banner {
        margin: 0 0 64px;
    }
}

.banner img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
}

.partners-section {
    background-color: var(--muted);
    padding: 15px 0;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 64px;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 150px;
    max-height: 100px;
    object-fit: contain;
}

.loesungen-intro {
    display: grid;
    grid-template-columns: 1fr 410px;
    justify-content: space-between;
    gap: 40px;
    align-items: start;
}

.business-customers-grid {
    display: flex;
    justify-content: flex-end;
    gap: 40px;

    .business-customer-logo {
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            display: block;
            max-width: 165px;
            height: 80px;
            object-fit: contain;
        }
    }
}

.services-section {
    background: linear-gradient(180deg, #ededed 0%, #fff 100%);
}

.service-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(4, 1fr); */
    /* gap: 24px 16px; */
}

.service-card {
    position: relative;
    /* min-height: 241px; */
    padding: 16px 16px 24px;
    border-top-right-radius: 36px;
}

.service-card img {
    background-color: var(--brand-color);
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
}

.service-card p {
    margin-top: 16px;
}

.branchen_partners_grid {
    margin-bottom: 16px;
    background-color: #fff;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    justify-content: space-around;
    gap: 16px;
    align-items: center;

    .branchen_partner_logo {
        img {
            display: block;
            width: 150px;
            object-fit: contain;
            aspect-ratio: 1;
        }
    }
}

.branch-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(4, 1fr); */
    /* gap: 16px; */
}

.branch-grid-splide:not(.splide) .splide__track {
    overflow: visible;
}

.branch-grid-splide:not(.splide) .splide__list.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;

    .branch-card {
        width: calc(25% - 12px);
    }
}

.branch-card {
    padding: 16px;
    color: #000;
    display: flex;
    flex-direction: column;
}

.branch-card h3 {
    color: var(--brand-color);
}

.branch-card p {
    flex: 1;
    margin-top: 16px;
    margin-bottom: 32px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.tags span {
    background-color: #ededed;
    padding: 4px 8px;
    font-size: 10px;
    line-height: 1.6;
    border-radius: 2px;
}

.section-cta-inverse {
    color: #fff;
}

.about-intro,
.contact-intro,
.review-heading {
    display: grid;
    grid-template-columns: minmax(0, 645px) minmax(280px, 363px);
    justify-content: space-between;
    gap: 56px;
    align-items: start;
}

.about-intro img,
.contact-intro img {
    width: 363px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid #ddd;
    aspect-ratio: 4 / 3;
}

.team-grid-splide {
    margin-top: 64px;
}

.team-grid-splide:not(.splide) .splide__list.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;

    .team-card {
        width: calc(25% - 12px);
    }
}

.team-grid {
    /* display: grid; */
    /* grid-template-columns: repeat(4, 1fr); */
    /* gap: 16px; */

    &:not(:has(.is-active)) {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}



.team-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.team-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.team-card div {
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.team-card .role {
    margin: 4px 0 16px;
    font-size: 14px;
    line-height: 1.6;
    min-height: 3.2em;
}

.team-card .quote {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    word-break: break-word;
}

.team-card .linkedIn {
    margin: 16px 0 0;
    font-size: 0;
    line-height: 0;

    a {
        -webkit-transition: all 300ms ease-in-out;
        -moz-transition: all 300ms ease-in-out;
        -ms-transition: all 300ms ease-in-out;
        -o-transition: all 300ms ease-in-out;
        transition: all 300ms ease-in-out;

        &:hover {
            svg path {
                fill: var(--brand-color);
            }
        }
    }
}

.review-section {
    padding-top: 96px;
    padding-bottom: 96px;
}

.review-heading {
    align-items: center;
}

.review-heading .section-heading {
    margin-bottom: 0;
}

.rating-badge {
    width: 350px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background-color: #fff;
    margin-left: auto;
    text-align: center;
}

.google-review-badge {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.gr-left {
    display: flex;
    align-items: center;
}

.gr-left svg {
    width: 90px;
    height: 90px;
}

.gr-logo {
    width: 28px;
    height: 28px;
    display: block;
}

.gr-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
}

.gr-rating-line {
    display: flex;
    align-items: baseline;
    margin-bottom: 2px;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
}

.gr-score {
    font-size: 72px;
    font-weight: 700;
    color: #ff7a00;
    line-height: 0.8;
}

.gr-text {
    font-size: 12px;
    color: #777777;
}

.gr-stars-line {
    font-size: 24px;
    line-height: 1.2;
}

.gr-star {
    margin-right: 1px;
}

.gr-star-full {
    color: #ff7a00;
}

.gr-star-half {
    background: linear-gradient(90deg, #ffb400 50%, #e0e0e0 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #ffb400;
}

.gr-star-empty {
    color: #e0e0e0;
}

.gr-count {
    font-size: 18px;
    color: #404040;
    line-height: 20px;
}

.gr-close {
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    background: transparent;
    color: #c0c0c0;
    font-size: 14px;
    cursor: pointer;
    line-height: 1;
    padding: 6px;
    margin: 0;
}

.gr-close:hover {
    color: #888888;
}

.google-review-badge-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    max-width: 250px;
    gap: 20px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.testimonial-card {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #EDEDED 0%, #FFFFFF 100%);
    border-radius: var(--radius);
    overflow: hidden;
}

.testimonial-logo {
    display: flex;
    align-items: center;
    height: 100%;
    background-color: #fff;
}

.testimonial-logo img {
    aspect-ratio: 1;
    object-fit: contain;
    padding: 20px;
    margin: auto;
    width: 180px;
}

.testimonial-body {
    display: inline-flex;
    width: calc(100% - 180px);
    padding: 16px;
    vertical-align: top;
    flex-direction: column;
}

.testimonial-body h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--dark);
}

.testimonial-position {
    margin: 2px 0 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
}

.testimonial-quote {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--dark);
}

.contact-section {
    padding-top: 96px;
}

.contact-card {
    max-width: 1120px;
    margin-top: 92px;
    padding: 80px 100px;
}

.contact-card h2 {
    margin: 0 0 40px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

.method-card {
    min-height: 120px;
    border: 1px solid transparent;
    padding: 20px 16px;
    cursor: pointer;
    text-align: left;
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.25);
}

.method-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-color);
    font-size: 18px;
    line-height: 1.4;
}

.method-card span {
    display: block;
    font-size: 16px;
    color: var(--dark);
}

.method-card.is-active {
    border-color: var(--brand-color);
    box-shadow: 0 0 10px rgba(0, 105, 180, 0.32);
}

.contact-tab-panel {
    display: none;
}

.contact-tab-panel.is-active {
    display: block;
}

.calendly-widget-container {
    min-height: 650px;
    border-radius: var(--radius);
    overflow: hidden;
    margin: 0 -75px;
    width: calc(100% + 150px);
}

.direct-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 36px;
    align-items: center;
}

.direct-contact strong {
    flex-basis: 100%;
}

.direct-contact a {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

.direct-contact img {
    width: 22px;
    height: 22px;
}

.contact-card hr {
    height: 1px;
    border: 0;
    margin: 52px 0;
    background: #bdbdbd;
}

.form-grid {
    display: grid;
    grid-template-columns: 310px 1fr;
    grid-template-rows: 1fr 1fr;
    grid-template-areas:
        "one two"
        "three two";
    gap: 68px;
}

fieldset {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

fieldset.topic-list {
    display: flex;
    flex-direction: column;
    grid-area: one;

}

.fields {
    grid-area: two;
}

.trust-certificate {
    grid-area: three;
    margin-top: auto;

    img {
        max-width: 200px;
    }
}

legend,
.fields h3 {
    margin: 0 0 28px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
}

.topic-list label,
.fields label.privacy {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.fields label.privacy {
    align-items: flex-start;
}

.topic-list label:not(.privacy) {
    cursor: pointer;
}

input[type="checkbox"] {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    accent-color: var(--brand-color);
    margin: 0;
}

.fields label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
}

.fields label.option-item-checkbox {
    display: flex;
    gap: 12px;
}

.fields input,
.fields select,
.fields textarea {
    width: 100%;
    border: 1px solid rgb(0 0 0 / 30%);
    border-radius: 4px;
    padding: 10px 12px;
    background: #fff;
}

.fields select {
    appearance: base-select;

    &::picker-icon {
        content: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2020%2012%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M19.513%200.439185C19.2317%200.157978%2018.8502%200%2018.4525%200C18.0547%200%2017.6733%200.157978%2017.392%200.439185L9.96697%207.86418L2.54197%200.439184C2.25906%200.165946%201.88016%200.0147546%201.48687%200.0181726C1.09357%200.0215895%200.717351%200.179342%200.439239%200.457455C0.161126%200.735567%200.00337501%201.11179-0.0000429966%201.50508C-0.003461%201.89838%200.147731%202.27728%200.420968%202.56018L8.90647%2011.0457C9.18776%2011.3269%209.56922%2011.4849%209.96697%2011.4849C10.3647%2011.4849%2010.7462%2011.3269%2011.0275%2011.0457L19.513%202.56018C19.7942%202.27889%2019.9521%201.89743%2019.9521%201.49968C19.9521%201.10194%2019.7942%200.720476%2019.513%200.439185Z%22%20fill%3D%22currentColor%22/%3E%3C/svg%3E");
        inline-size: 20px;
        /* block-size: 12px; */
        color: currentColor;
        transition: 0.2s rotate;
        transform: rotate(0deg);
        transition: transform 200ms ease, color 200ms ease;
        transform-origin: 50% 50%;
    }

    &:open::picker-icon {
        /* rotate: 180deg; */
        transform: rotate(180deg);
    }
}

.fields textarea {
    resize: vertical;
}

.split-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.privacy {
    max-width: 560px;
    margin: 40px auto 24px;
    font-size: 16px;

    input {
        width: auto;
    }
}

.privacy a {
    text-decoration: underline;
}

.hint {
    margin: 0 0 32px;
    font-size: 16px;
}

.submit-button {
    display: flex;
    width: fit-content;
    /* margin: 0 auto; */
}

.form-status {
    margin: 18px 0 0;
    color: var(--brand-color);
    text-align: center;
    font-weight: 600;
}

.site-footer {
    background: linear-gradient(180deg, var(--brand-color) 0%, var(--brand-secondary-color) 100%);
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 40px;
    padding: 40px 0;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col--info {
    gap: 2px;
}

.footer-shop-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.footer-col--links {
    gap: 6px;
}

.footer-col--links li {
    list-style: none;
}

.footer-col--links a {
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

.footer-col--links a:hover,
.footer-col--links a:focus-visible {
    text-decoration: underline;
}

.footer-col--contact {
    gap: 8px;
}

.footer-col--contact a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.footer-col--contact a:hover,
.footer-col--contact a:focus-visible {
    text-decoration: underline;
}

.footer-col--contact svg {
    flex-shrink: 0;
}

.footer-col--info {
    grid-column: 1;
    grid-row: 1;
}

.footer-col--links {
    grid-column: 2;
    grid-row: 1;
}

.footer-col--contact {
    grid-column: 1;
    grid-row: 2;
}

.footer-col--copyright {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-end;
}

.footer-col--admin {
    grid-column: 3;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.footer-col--admin a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
}

.footer-col--admin a:hover,
.footer-col--admin a:focus-visible {
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid rgba(0, 105, 180, 0.45);
    outline-offset: 3px;
}

.splide__arrows {
    display: none;
}

.splide__pagination {
    position: relative;
    margin-top: 20px;
    font-size: 0;
    line-height: 0;

    li {
        width: 50px;
        height: 50px;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
    }

    button {
        transform: scale(1) !important;
        opacity: 1 !important;
        width: 18px;
        height: 18px;
        padding: 0 !important;
        margin: 0 !important;
        background-color: #E4E4E3;

        &.is-active {
            background-color: var(--brand-color);

            .section-blue & {
                background-color: #404040;
            }
        }
    }
}


.page-description {
    max-width: calc(200% / 3);
    margin-bottom: 96px;

    p {
        margin: 0;

        &+p {
            margin-top: 16px;
        }
    }
}


.brodos-page-title-wrapper {
    background-color: var(--brand-color);
    padding: 50px 0;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;

    .brodos-site-title {
        font-size: 18px;
        margin: 0 0 8px;

        a {
            text-decoration: none;
        }
    }

    .brodos-page-title {
        font-size: 36px;
        margin: 0;
        font-weight: 600;
    }
}


/* Mobilfunk Bedarfsanalyse Form Styles */
.section-mobilfunk-bedarfsanalyse .page-description {
    margin-bottom: 0;
}

.section-mobilfunk-bedarfsanalyse {
    /* padding: 60px 0 0; */
    padding-bottom: 0;
}

.bedarfsanalyse-form {
    /* margin-top: 40px; */
}

.bedarfsanalyse-section {
    padding: 60px 0;
}

.bedarfsanalyse-section h3 {
    margin: 0 0 32px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 600;
    color: #000;
}

/* Section specific styling */
.bedarfsanalyse-section.section-grey {
    background-color: #f7f7f7;
}

.bedarfsanalyse-section.section-blue-bg {
    background-color: var(--brand-color);
    color: #fff;
}

.bedarfsanalyse-section.section-blue-bg h3 {
    color: #fff;
}

.bedarfsanalyse-section .fields-section {
    max-width: 700px;
}

/* Custom checkbox / group lists */
.custom-options-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 24px;
}

.custom-options-group .group-label {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 8px;
}

.options-list.horizontal {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px 48px;
}

.option-item-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 400;
    user-select: none;
}

.option-item-checkbox input[type="checkbox"] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    accent-color: var(--brand-color);
    cursor: pointer;
}

/* Situation grid */
.situation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.question-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.question-block .question-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    color: #000;
}

.options-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
}

.options-flex-vertical {
    display: flex;
    flex-direction: column;
    gap: 24px 48px;
}

/* Improvements styling (blue bg) */
.section-subtitle {
    font-size: 18px;
    margin: -20px 0 32px;
    opacity: 0.9;
}

.improvements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 40px;
    margin-bottom: 32px;
}

.improvements-col {
    display: flex;
    flex-direction: column;
    gap: 24px 48px;
}

.option-item-checkbox-white {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: #fff;
    user-select: none;
}

.option-item-checkbox-white input[type="checkbox"] {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    accent-color: #fff;
    cursor: pointer;
}

.textarea-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 32px;
}

.white-label {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.textarea-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    padding: 12px;
    background: #fff;
    color: #000;
    font-size: 18px;
    resize: vertical;
}

/* File Upload styling */
.upload-subtitle {
    font-size: 18px;
    margin: -16px 0 24px;
    color: #4f4f4f;
    max-width: 800px;
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.file-upload-btn {
    position: relative;
    display: inline-block;
    background-color: var(--brand-color);
    color: #fff;
    border: 2px solid var(--brand-color);
    padding: 10px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
    text-align: center;
}

.file-upload-btn:hover {
    background-color: var(--brand-color-dark);
    border-color: var(--brand-color-dark);
}

.file-upload-btn input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-name {
    font-size: 16px;
    color: #777;
    font-style: italic;
}

/* Submit Section */
.submit-box-wrapper {
    margin-top: 40px;
}

.submit-box {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    padding: 32px 40px;
    background: #fff;
    max-width: 680px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.submit-box .privacy {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.45;
}

.submit-box .privacy a {
    color: var(--brand-color);
    text-decoration: underline;
}

.submit-box .hint {
    margin-bottom: 24px;
}

.grecaptcha-badge {
    visibility: hidden;
}

/* Media Query Breakpoints */

@media (min-width: 1801px) {}

@media (max-width: 1800px) {}

@media (min-width: 1601px) {}

@media (max-width: 1600px) {}

@media (min-width: 1401px) {}

@media (max-width: 1400px) {}

@media (max-width: 1225px) {
    .hero-grid {
        grid-template-columns: 1fr 420px 1px;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (min-width: 1201px) {}

@media (max-width: 1200px) {
    .section:not(.section-mobilfunk-bedarfsanalyse):not(.partners-section) {
        padding: 80px 0;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-card {
        margin-top: 80px;
        padding: 40px 40px;
    }

    .form-grid {
        gap: 40px;
    }

    .calendly-widget-container {
        margin: 0 -30px;
        width: calc(100% + 60px);
    }

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

    .page-description {
        margin-bottom: 40px;
    }


    body {}


    .hero-media,
    .about-intro img,
    .contact-intro img {
        width: 100%;
        /* height: 320px; */
    }

    .solution-grid,
    .branch-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-grid {
        grid-auto-columns: calc((100% - 16px) / 2);
    }

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

    .form-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas:
            "one"
            "two"
            "three";

        height: auto;
    }

    .contact-card hr {
        margin: 36px 0;
    }

    .contact-card h2 {
        margin: 0 0 32px;
        font-size: 32px;
    }

    .topic-list label,
    .fields label.privacy {
        margin-left: 0;
    }

    .partners-section {
        padding: 25px 0;
    }
}

@media (max-width: 1100px) {}

@media (min-width: 1025px) and (max-width: 1200px) {}

@media (min-width: 1025px) {}

@media (max-width: 1024px) {
    .header-inner {
        gap: 18px;
    }

    .site-nav ul {
        gap: 12px 18px;
    }

    .header-cta {
        padding-inline: 16px;
        /* font-size: 16px; */
    }

    .bedarfsanalyse-section .fields-section {
        max-width: none;
    }

    .solution-grid-splide:not(.splide) .splide__list.solution-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 1024px) and (min-width: 768px) {}

@media (max-width: 860px) {
    .splide.is-initialized {
        width: calc(100% + 32px);
        margin-left: -16px;
    }

    .brand img {
        width: 120px;
        height: 60px;
    }

    .site-header {}

    .header-inner {
        min-height: 70px;
    }

    .brand img {
        width: 120px;
    }

    .menu-toggle {
        width: 48px;
        height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        /* padding: 0 8px 0 16px; */
        color: #000;
    }

    .menu-label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        white-space: nowrap;
    }

    .menu-icon {
        display: grid;
        gap: 5px;
        width: 24px;
    }

    .menu-icon span {
        display: block;
        height: 2px;
        background: #000;
    }

    .site-nav {
        top: 70px;
    }

    .hero {
        background: linear-gradient(180deg, var(--brand-color) 0%, var(--brand-secondary-color) 100%);
    }

    .hero-grid {
        width: 100%;
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0;
    }

    .hero-media {
        order: -1;
        width: calc(100% + 32px);
        margin-left: -16px;
        border-radius: 0;
    }

    .hero-media img {
        object-fit: cover;
        object-position: center;
        border: none;
        border-radius: 0;
    }

    .button-group {
        flex-direction: row;
        align-items: flex-start;
    }

    .hero-copy h1 {
        font-size: 26px;
        line-height: 1.2;
    }

    .hero-copy p {
        font-size: 16px;
        line-height: 1.5;
    }

    .hero-copy .eyebrow {
        margin-bottom: 0;
        line-height: 1.5;
    }

    .hero-copy {
        /* width: min(370px, 100%); */
        gap: 24px;
        padding: 24px 0;
    }

    .hero-copy .button {
        /* width: 100%; */
        /* justify-self: stretch; */
        font-size: 16px;
    }

    .section:not(.section-mobilfunk-bedarfsanalyse):not(.partners-section) {
        padding: 40px 0;
    }

    .section-heading {
        max-width: none;
        margin-bottom: 0;

        .narrow {
            max-width: none;
        }
    }

    .section-heading h2,
    .about-intro h2,
    .contact-intro h2 {
        font-size: 26px;
        line-height: 1.2;
    }

    .section-heading p,
    .about-intro p,
    .contact-intro p {
        font-size: 16px;
        margin: 0;

        &+p,
        &+a {
            margin-top: 12px;
        }
    }

    .business-customers-grid {
        justify-content: center;
        gap: 48px;
    }

    .eyebrow {
        font-size: 16px;
        line-height: 1.5;
    }

    .tab-row {
        gap: 16px;
        margin: 24px 0 12px;
    }

    .tab-divider {
        height: 32px;
    }

    .solution-grid,
    .service-grid,
    .branch-grid,
    .team-grid {
        /* width: 100%; */
        /* margin-left: 0; */
        /* display: flex; */
        /* grid-template-columns: none; */
        /* gap: 16px; */
        /* overflow-x: auto; */
        /* overflow-y: visible; */
        /* padding: 0 0 18px; */
        /* scroll-snap-type: none; */
        /* scrollbar-width: none; */
    }

    .solution-grid::-webkit-scrollbar,
    .service-grid::-webkit-scrollbar,
    .branch-grid::-webkit-scrollbar,
    .team-grid::-webkit-scrollbar {
        display: none;
    }

    .image-card,
    .service-card,
    .branch-card,
    .team-card {
        scroll-snap-align: start;
    }

    .image-card {
        flex: 0 0 274px;
        min-height: 450px;
    }

    .image-card img {
        height: 181px;
    }

    .image-card div {
        padding: 22px 16px 16px;
    }

    .image-card p {
        margin-top: 44px;
        font-size: 16px;
    }

    .pager {
        display: none;
    }

    .section-cta {
        max-width: none;
        margin-top: 24px;
    }

    .section-cta p {
        font-size: 16px;
    }

    .section-cta .button {
        /* width: 100%; */
        font-size: 16px;
    }

    .banner img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .partners-section {
        padding: 25px 0;
    }

    .partners-grid {
        gap: 24px;
    }

    .partner-logo {
        width: calc(33.33% - 24px);
    }

    .partner-logo img {
        /* max-height: 60px; */
        /* max-width: 100px; */
    }

    .loesungen-intro {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .services-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .service-grid {
        margin-top: 0;
    }

    .service-card {
        flex: 0 0 330px;
        min-height: 184px;
        /* padding: 24px 92px 24px 24px; */
        border-top-right-radius: 46px;
    }

    .service-card img {
        top: 16px;
        right: 16px;
        width: 60px;
        height: 60px;
    }

    .service-card p {
        margin-top: 24px;
        font-size: 16px;
    }

    .branch-card {
        flex: 0 0 274px;
        min-height: 450px;
        padding: 28px 24px 24px;
    }

    .branch-card p {
        margin-top: 22px;
        font-size: 16px;
    }

    .about-intro,
    .contact-intro,
    .review-heading {
        gap: 24px;
        grid-template-columns: 1fr;
    }

    .about-intro img,
    .contact-intro img {
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
    }

    .team-grid {
        margin-top: 32px;
    }

    .team-card {
        flex: 0 0 274px;
        min-height: 450px;
    }

    .team-card img {
        height: 181px;
    }

    .team-card div {
        padding: 16px;
    }

    .team-card .role,
    .team-card .quote {
        font-size: 16px;
    }

    .review-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .rating-badge {
        /* width: 242px; */
        margin-left: 0;
    }

    .contact-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .contact-card {
        margin-top: 24px;
        padding: 0;
        box-shadow: none;
    }

    .contact-card h2 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.5;
    }

    .method-grid {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 24px;
    }

    .method-card {
        min-height: auto;
        padding: 14px 16px;
    }

    .method-card strong,
    .method-card span {
        font-size: 16px;
    }

    .direct-contact {
        gap: 12px;
        font-size: 14px;
    }

    .direct-contact img {
        width: 18px;
        height: 18px;
    }

    .contact-card hr {
        margin: 24px 0;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    legend,
    .fields h3 {
        margin-bottom: 16px;
        font-size: 18px;
        line-height: 1.5;
    }

    .topic-list label,
    .privacy {
        gap: 16px;
        margin-bottom: 12px;
        font-size: 16px;
    }

    .fields {
        /* max-width: 330px; */
    }

    .fields input,
    .fields select {
        height: 45px;
    }

    .fields input,
    .fields select,
    .fields textarea {
        border: 1px solid rgba(0, 0, 0, 0.3);
        border-radius: 4px;
    }

    .split-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .privacy {
        /* max-width: 330px; */
        margin: 32px 0 24px;
    }

    .hint {
        text-align: left;
    }

    .footer-grid {
        padding: 28px 0;
    }

    body {
        font-size: 16px;
    }

    .shell {
        width: min(100% - 32px, var(--shell));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 126px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    /* Full-screen slide-in nav panel from top to bottom */
    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
        /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18); */
        z-index: 19999;
        transform: translateY(-100%);
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
    }

    .site-nav.is-open {
        transform: translateY(0);
    }

    /* Stagger nav links sliding down */
    .site-nav.is-open ul li {
        animation: navItemSlideIn 0.35s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    /* Fallback */
    .site-nav.is-open ul li:nth-child(1) {
        animation-delay: 0.1s;
    }

    .site-nav.is-open ul li:nth-child(2) {
        animation-delay: 0.15s;
    }

    .site-nav.is-open ul li:nth-child(3) {
        animation-delay: 0.20s;
    }

    .site-nav.is-open ul li:nth-child(4) {
        animation-delay: 0.25s;
    }

    .site-nav.is-open ul li:nth-child(5) {
        animation-delay: 0.30s;
    }

    .site-nav.is-open ul li:nth-child(6) {
        animation-delay: 0.35s;
    }

    .site-nav.is-open ul li:nth-child(7) {
        animation-delay: 0.40s;
    }

    .site-nav.is-open ul li:nth-child(8) {
        animation-delay: 0.45s;
    }

    /* Modern browsers */
    @supports (animation-delay: calc(sibling-index() * 1ms)) {
        .site-nav.is-open ul li {
            animation-delay: calc(0.1s + (sibling-index() - 1) * 0.05s);
        }
    }

    @keyframes navItemSlideIn {
        from {
            opacity: 0;
            transform: translateY(-14px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Show nav header (with close button) and footer inside the panel */
    .nav-header {
        display: flex;
    }

    .nav-close {
        display: flex;
    }

    .nav-footer {
        display: flex;
    }

    .nav-menu-wrap {
        display: block;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
    }

    /* Nav menu list inside panel */
    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 0;
    }

    .site-nav a {
        padding: 18px 20px;
        border-bottom: 1px solid #eee;
        display: block;
        font-size: 18px;
        font-weight: 500;
        transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    }

    .site-nav a:hover {
        color: var(--brand-color);
        background: #f8f8f8;
        padding-left: 28px;
    }

    .site-nav .nav-admin-link {
        padding: 8px 0;
        font-size: 14px;
        background: transparent;
        border-bottom: none;
    }

    .header-cta {
        display: none;
    }

    .hero-copy h1,
    .section-heading h2,
    .about-intro h2,
    .contact-intro h2,
    .contact-card h2 {
        font-size: 30px;
    }

    .section:not(.section-mobilfunk-bedarfsanalyse):not(.partners-section) {
        padding: 40px 0;
    }

    .page-description {
        margin-bottom: 32px;
        max-width: none;
    }

    .tab-row {
        margin-left: 0;
    }

    .solution-grid,
    .service-grid,
    .branch-grid,
    .team-grid,
    .method-grid,
    .split-fields {
        grid-template-columns: 1fr;
    }

    .image-card,
    .team-card,
    .branch-card,
    .service-card {
        min-height: auto;
    }

    .image-card p {
        margin-top: 22px;
    }

    .contact-card {
        padding: 40px 16px;
    }

    legend,
    .fields h3 {
        /* font-size: 26px; */
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 0;
    }

    .footer-col--info,
    .footer-col--links,
    .footer-col--contact,
    .footer-col--copyright,
    .footer-col--admin {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-col--copyright {
        justify-content: flex-start;
    }

    .footer-col--admin {
        display: none;
    }

    .brodos-page-title-wrapper {
        padding: 32px 0;

        .brodos-site-title {
            font-size: 16px;
        }

        .brodos-page-title {
            font-size: 32px;
        }
    }

    .branchen_partners_grid {
        margin-top: 24px;
    }

    .bedarfsanalyse-section {
        padding: 40px 0;
    }

    .bedarfsanalyse-section h3 {
        margin: 0 0 16px;
    }

    .situation-grid {
        gap: 20px 30px;
    }

    .options-list.horizontal,
    .options-flex-vertical,
    .options-grid-2col,
    .improvements-col {
        gap: 12px 24px;
    }

    .submit-box {
        padding: 20px 30px;
    }

    .calendly-widget-container {
        margin: 0 -8px;
        width: calc(100% + 16px);
    }

    .trust-certificate {
        margin-top: 16px;

        img {
            margin: auto;
        }
    }

    .banner,
    .team-grid-splide,
    .contact-card,
    .testimonial-grid,
    .service-grid-wrapper,
    .solution-grid-wrapper {
        margin-top: 24px;
    }

    .banner.client-banner {
        margin-top: 0;
        margin-bottom: 24px;
    }

    .business-customers-grid {

        .business-customer-logo {

            img {
                max-height: 100px;
                max-width: 125px;
            }
        }
    }

    .testimonial-logo img {
        padding: 10px 0;
    }

    .branchen_partners_grid {
        .branchen_partner_logo {
            img {
                width: 120px;
            }
        }
    }

    .splide__pagination {
        display: none;
    }

    .team-grid-splide:not(.splide) .splide__list.team-grid,
    .service-grid-splide:not(.splide) .splide__list.service-grid,
    .solution-grid-splide:not(.splide) .splide__list.solution-grid,
    .branch-grid-splide:not(.splide) .splide__list.branch-grid {
        justify-content: flex-start;
        margin-left: -16px !important;
        padding: 0 16px !important;
        width: calc(100% + 32px);
        overflow-x: auto;
    }
}

@media (min-width: 768px) {}

@media (max-width: 767px) {

    .situation-grid,
    .improvements-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .file-upload-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .submit-box {
        padding: 24px;
    }

    body {}

    .hero-grid,
    .about-intro,
    .contact-intro,
    .review-heading {
        grid-template-columns: 1fr;
    }

    .button-group {
        flex-direction: column;
        /* align-items: stretch; */
    }

    .solution-grid-splide:not(.splide) .splide__list.solution-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .branchen_partners_grid {
        flex-wrap: wrap;
    }

    .section-cta .button {
        /* width: 100%; */
    }

    .business-customers-grid {

        .business-customer-logo {

            img {
                max-width: 80px;
                height: 60px;
            }
        }
    }

    .button.tab {
        padding-left: 0;
        padding-right: 0;
        width: auto;
    }

    .partner-logo {
        width: calc(50% - 12px);
    }
}

@media (max-width: 520px) {
    .hero-grid {
        /* padding: 48px 0; */
    }

    .hero-media {
        /* height: 240px; */
    }

    .direct-contact {
        align-items: flex-start;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .rating-badge {
        width: 100%;
    }

    .testimonial-card {
        flex-direction: column;
    }

    .testimonial-body {
        width: 100%;
    }

    .submit-box {
        padding: 15px;
    }
}

@media (max-width: 479px) {}

@media (max-width: 430px) {
    .shell {
        width: min(370px, calc(100% - 32px));
    }
}

@media (max-width: 415px) {}

/* ==========================================================================
   Page Title Banner (Subpages Hero)
   ========================================================================== */
.page-title-banner {
    background-color: var(--brand-color, #0073e6);
    color: #ffffff;
    padding: 50px 0 55px;
}

.page-title-banner .shell {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-title-eyebrow {
    display: block;
    font-size: 1.125rem;
    /* 18px */
    font-weight: 500;
    color: #ffffff;
    opacity: 0.95;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.page-title-heading {
    font-size: 2.625rem;
    /* 42px */
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* ==========================================================================
   Impressum Page Layout & Typography
   ========================================================================== */
.section-impressum {
    padding: 60px 0 90px;
    background-color: #ffffff;
}

.impressum-content-wrap {
    display: flex;
    flex-direction: column;
    gap: 64px;
    max-width: calc(200% / 3);
}

.impressum-block {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.impressum-heading {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.impressum-details {
    font-size: 18px;
    line-height: 1.5;

    p {
        margin-block-start: 0;
        margin-block-end: 1.5em;

        &:last-child {
            margin-block-end: 0;
        }
    }

    a {
        text-decoration: underline;
        text-underline-offset: 3px;
        transition: color 0.2s ease, text-decoration-color 0.2s ease;

        &:hover {
            color: var(--brand-color);
            text-decoration-color: var(--brand-color);
        }
    }
}

@media (max-width: 768px) {
    .page-title-banner {
        padding: 36px 0 40px;
    }

    .page-title-eyebrow {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .page-title-heading {
        font-size: 2rem;
    }

    .section-impressum {
        padding: 40px 0 60px;
    }

    .impressum-content-wrap {
        gap: 36px;
    }

    .impressum-heading {
        font-size: 1.375rem;
        margin-bottom: 18px;
    }
}

/* =============================================================================
   Form Success State & Error Status
   ============================================================================= */

/* Inline error message inside the form */
.form-status.is-error {
    color: #c0392b;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 8px;
}

/* Success overlay — sits as a sibling next to the <form> inside .contact-tab-panel */
.form-success {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    animation: fsSlideIn 0.35s ease both;
}

.form-success[hidden] {
    display: none;
}

@keyframes fsSlideIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 480px;
    gap: 16px;
}

/* Circular icon ring */
.form-success__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--brand-color) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    animation: fsPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

@keyframes fsPop {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success__icon svg {
    width: 36px;
    height: 36px;
    color: var(--brand-color);
    stroke: var(--brand-color);
}

/* Headline */
.form-success__headline {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
    line-height: 1.25;
}

/* Body text */
.form-success__text {
    font-size: 18px;
    color: var(--text);
    margin: 0;
    line-height: 1.5;
}

/* CTA button — reuses existing .button.button-primary styles,
   but ensure it is always visible even if no external styles are loaded */
.form-success__cta {
    margin-top: 8px;
}

@media (max-width: 767px) {
    .form-success {
        padding: 32px 16px;
    }

    .form-success__icon {
        width: 60px;
        height: 60px;
    }

    .form-success__icon svg {
        width: 28px;
        height: 28px;
    }

    .form-success__headline {
        font-size: 20px;
    }

    .form-success__text {
        font-size: 16px;
    }

    .brodos-page-title-wrapper {
        .brodos-page-title {
            font-size: 30px;
        }
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 95px;
    right: 34px;
    z-index: 99;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top:hover,
.back-to-top:focus {
    background-color: var(--brand-color-dark);
}

.back-to-top.is-visible:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--brand-color-dark);
    outline-offset: 2px;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Adjust on smaller screens */
@media (max-width: 767px) {
    .back-to-top {
        /* bottom: 20px; */
        /* right: 20px; */
        /* width: 44px; */
        /* height: 44px; */
    }

    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (orientation: landscape) and (height <=480px),
(width <=480px) {
    .back-to-top {
        right: 20px;
    }
}

/* ==========================================
   INTERSECTION OBSERVER SCROLL ANIMATIONS
   ========================================== */

[data-animate],
.animate-on-scroll {
    opacity: 0;
    will-change: transform, opacity;
    transition-property: transform, opacity;
    transition-duration: var(--anim-duration, 1s);
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--anim-delay, 0s);
}

/* Direction Variants */
[data-animate="fade-up"],
.animate-fade-up {
    transform: translateY(35px);
}

[data-animate="fade-left"],
.animate-fade-left {
    transform: translateX(-35px);
}

[data-animate="fade-right"],
.animate-fade-right {
    transform: translateX(35px);
}

[data-animate="zoom-in"],
.animate-zoom-in {
    transform: scale(0.92);
}

[data-animate="pop-in"],
.animate-pop-in {
    transform: scale(0.85);
}

/* Revealed State */
[data-animate].is-visible,
.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Micro-animations inside revealed items */
.service-card.is-visible img {
    animation: iconPulse 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: calc(var(--anim-delay, 0s) + 0.15s);
}

@keyframes iconPulse {
    0% {
        transform: scale(0.7);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Accessibility Override */
@media (prefers-reduced-motion: reduce) {

    [data-animate],
    .animate-on-scroll {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Home Page Popup Modal --- */
.b2b-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.b2b-popup-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

.b2b-popup-modal {
    background: #fff;
    width: 100%;
    max-width: 750px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    transition: transform 0.4s ease;
}

.b2b-popup-overlay.is-visible .b2b-popup-modal {
    transform: translateY(0);
}

.b2b-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, transform 0.2s;
}

.b2b-popup-close:hover {
    background: #f8f8f8;
    transform: scale(1.05);
}

.b2b-popup-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    align-items: stretch;
}

.b2b-popup-left {
    background-color: #0066b3;
    color: #fff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 407px;
}

.b2b-popup-header {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 35px;
}

.b2b-popup-logo {
    height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
}

.b2b-popup-separator {
    background-color: rgba(255, 255, 255, 0.4);
    width: 1px;
    height: 18px;
}

.b2b-popup-brand {
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
}

.b2b-popup-tagline {
    font-size: 10px;
    letter-spacing: 10%;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 600;
}

.b2b-popup-title {
    font-size: 26px;
    line-height: 1.2;
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.b2b-popup-text {
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 16px;
    color: #F0F8FF;
    margin-top: 16px;

    strong {
        font-weight: 500;
        display: block;
        margin-bottom: 4px;
    }
}

.b2b-popup-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.b2b-popup-button-primary {
    background: #fff;
    color: var(--brand-color);
    text-align: center;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
    border: 1px solid #fff;
    font-size: 14px;
    line-height: 1;

    &:hover {
        border-color: var(--dark);
        background: var(--dark);
        color: #fff;
    }
}

.b2b-popup-button-secondary {
    background: var(--brand-color);
    color: #fff;
    text-align: center;
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #fff;
    transition: background-color 0.2s, color 0.2s;
    font-size: 14px;
    line-height: 1;

    &:hover {
        background: #fff;
        color: var(--brand-color);
    }
}

.b2b-popup-right {
    position: relative;
    min-height: 400px;
    width: 343px;
}

.b2b-popup-right img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 900px) {
    .b2b-popup-modal {
        width: 340px;
    }

    .b2b-popup-content {
        flex-direction: column-reverse;
    }

    .b2b-popup-right {
        min-height: 200px;
        width: 100%;
    }

    .b2b-popup-left {
        padding: 32px 24px;
        width: 100%;
    }

    .b2b-popup-title {
        font-size: 20px;
    }

    .b2b-popup-actions {
        max-width: 100%;
    }
}