/* Glas Meitinger B2B: all styling is scoped to .gm-b2b */
.gm-b2b {
    --gm-ink: #17324b;
    --gm-blue: #12517d;
    --gm-light: #edf4f8;
    --gm-muted: #586c7a;
    --gm-border: #dbe5eb;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--gm-ink);
    line-height: 1.6;
    background: #fff
}

.gm-b2b * {
    box-sizing: border-box
}

.gm-b2b a {
    color: inherit
}

.gm-b2b h1,
.gm-b2b h2,
.gm-b2b h3,
.gm-b2b p {
    margin: 0
}

.gm-b2b p {
    text-align: left;
    hyphens: auto;
}

.gm-b2b h1 {
    font-size: clamp(2.1rem, 4.3vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -.035em
}

.gm-b2b h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.16;
    letter-spacing: -.025em
}

.gm-b2b h3 {
    font-size: 1.13rem;
    line-height: 1.3
}

.gm-b2b p+p {
    margin-top: 1rem
}

.gm-b2b .gm-b2b-wrap {
    max-width: 1200px;
    margin: auto;
    padding: 0 26px
}

.gm-b2b .gm-b2b-section {
    padding: 76px 0
}

.gm-b2b .gm-b2b-eyebrow {
    color: var(--gm-blue);
    font-weight: 700;
    font-size: .76rem;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin-bottom: 12px
}

.gm-b2b .gm-b2b-lead {
    font-size: 1.13rem;
    color: #3e5364;
    max-width: 780px
}

.gm-b2b .gm-b2b-intro {
    max-width: 780px;
    margin-top: 20px
}

.gm-b2b .gm-b2b-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gm-blue);
    color: white;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 4px;
    font-weight: 700;
    margin-top: 24px;
    transition: background .2s
}

.gm-b2b .gm-b2b-button:hover,
.gm-b2b .gm-b2b-button:focus-visible {
    background: #0a3859;
    color: #fff
}

.gm-b2b .gm-b2b-hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(13, 39, 57, .75), rgba(13, 39, 57, .12)), linear-gradient(135deg, #35576a, #a6bac4);
    color: white
}

.gm-b2b .gm-b2b-hero .gm-b2b-wrap {
    width: 100%
}

.gm-b2b .gm-b2b-hero-panel {
    max-width: 640px;
    padding: 40px;
    background: rgba(255, 255, 255, .94);
    color: var(--gm-ink);
    border-radius: 6px
}

.gm-b2b .gm-b2b-hero-panel p {
    margin-top: 18px
}

.gm-b2b .gm-b2b-hero-panel .gm-b2b-eyebrow {
    margin: 0 0 12px
}

.gm-b2b .gm-b2b-grid {
    display: grid;
    gap: 22px
}

.gm-b2b .gm-b2b-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr))
}

.gm-b2b .gm-b2b-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.gm-b2b .gm-b2b-grid-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr))
}

.gm-b2b .gm-b2b-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center
}

.gm-b2b .gm-b2b-benefits {
    margin-top: 38px
}

.gm-b2b .gm-b2b-benefit {
    border-left: 1px solid var(--gm-border);
    padding: 8px 16px
}

.gm-b2b .gm-b2b-symbol {
    font-size: 1.65rem;
    color: var(--gm-blue);
    margin-bottom: 12px;
    display: block
}

.gm-b2b .gm-b2b-benefit p,
.gm-b2b .gm-b2b-card p {
    font-size: .94rem;
    color: var(--gm-muted);
    margin-top: 8px
}

.gm-b2b .gm-b2b-alt {
    background: #f3f7f9
}

.gm-b2b .gm-b2b-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 32px
}

.gm-b2b .gm-b2b-head>p {
    max-width: 450px;
    color: var(--gm-muted)
}

.gm-b2b .gm-b2b-card {
    background: #fff;
    border: 1px solid var(--gm-border);
    border-radius: 5px;
    overflow: hidden;
    height: 100%
}

.gm-b2b .gm-b2b-card-body {
    padding: 18px
}

.gm-b2b .gm-b2b-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(135deg, #d8e7ed, #9eb8c6);
    color: #33566d;
    font-size: .8rem;
    text-align: center;
    padding: 16px;
    letter-spacing: .04em
}

.gm-b2b .gm-b2b-product .gm-b2b-image {
    min-height: 145px
}

.gm-b2b .gm-b2b-product .gm-b2b-card-body {
    padding: 14px
}

.gm-b2b .gm-b2b-product h3 {
    font-size: .95rem
}

.gm-b2b .gm-b2b-note {
    font-size: .85rem;
    color: var(--gm-muted);
    margin-top: 22px
}

.gm-b2b .gm-b2b-band {
    background: var(--gm-light)
}

.gm-b2b .gm-b2b-photo {
    min-height: 330px;
    background: linear-gradient(135deg, #c9dce5, #7e9cae);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #23485d;
    text-align: center;
    padding: 30px;
    border-radius: 5px
}

.gm-b2b .gm-b2b-contact {
    background: var(--gm-light)
}

.gm-b2b .gm-b2b-contact-box {
    background: white;
    border: 1px solid var(--gm-border);
    padding: 26px;
    border-radius: 6px
}

.gm-b2b .gm-b2b-contact-box strong {
    display: block;
    margin-bottom: 12px
}

.gm-b2b .gm-b2b-contact-box p {
    font-size: .95rem;
    color: var(--gm-muted)
}

.gm-b2b .gm-b2b-contact-box a {
    color: var(--gm-blue)
}

.gm-b2b .gm-b2b-form-placeholder {
    margin-top: 18px;
    padding: 18px;
    background: #f4f7f9;
    border: 1px dashed #aebfc9;
    border-radius: 4px;
    color: #3b5568;
    font-size: .94rem
}

.gm-b2b .gm-b2b-foot {
    border-top: 1px solid var(--gm-border);
    padding: 18px 0;
    font-size: .85rem;
    color: var(--gm-muted)
}

@media(max-width:980px) {
    .gm-b2b .gm-b2b-grid-4 {
        grid-template-columns: repeat(2, 1fr)
    }

    .gm-b2b .gm-b2b-grid-6 {
        grid-template-columns: repeat(3, 1fr)
    }

    .gm-b2b .gm-b2b-grid-3 {
        grid-template-columns: repeat(2, 1fr)
    }

    .gm-b2b .gm-b2b-split {
        gap: 28px
    }

    .gm-b2b .gm-b2b-section {
        padding: 58px 0
    }
}

@media(max-width:650px) {
    .gm-b2b .gm-b2b-wrap {
        padding: 0 18px
    }

    .gm-b2b .gm-b2b-hero {
        min-height: 480px
    }

    .gm-b2b .gm-b2b-hero-panel {
        padding: 24px
    }

    .gm-b2b .gm-b2b-grid-4,
    .gm-b2b .gm-b2b-grid-3,
    .gm-b2b .gm-b2b-grid-6,
    .gm-b2b .gm-b2b-split {
        grid-template-columns: 1fr
    }

    .gm-b2b .gm-b2b-head {
        display: block
    }

    .gm-b2b .gm-b2b-head>p {
        margin-top: 14px
    }

    .gm-b2b .gm-b2b-photo {
        min-height: 210px
    }

    .gm-b2b .gm-b2b-benefit {
        padding-left: 18px
    }

    .gm-b2b .gm-b2b-section {
        padding: 44px 0
    }
}


/* B2B – Hero mit eigenem Werkstattbild */

.gm-b2b .gm-b2b-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 540px;
    padding: 70px 0;

    background-image:
        linear-gradient(90deg,
            rgba(8, 31, 51, 0.32) 0%,
            rgba(8, 31, 51, 0.08) 70%,
            transparent 100%),
        url("https://www.glas-ab-werk.de/wp-content/uploads/2026/10/b2b_glasserei_werkstatt.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.gm-b2b .gm-b2b-hero-panel {
    max-width: 530px;
    padding: 38px 42px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 6px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
}

.gm-b2b .gm-b2b-hero h1 {
    margin: 12px 0 18px;
    line-height: 1.12;
}

.gm-b2b .gm-b2b-hero-panel>.gm-b2b-button,
.gm-b2b .gm-b2b-hero-panel>p>.gm-b2b-button {
    margin-top: 12px;
}

/* Tablet */
@media (max-width: 900px) {
    .gm-b2b .gm-b2b-hero {
        min-height: 470px;
        padding: 45px 0;
    }

    .gm-b2b .gm-b2b-hero-panel {
        max-width: 500px;
        padding: 30px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .gm-b2b .gm-b2b-hero {
        min-height: auto;
        padding: 200px 15px 25px;
        background-position: center top;
    }

    .gm-b2b .gm-b2b-hero-panel {
        max-width: 100%;
        padding: 24px;
        background: rgba(255, 255, 255, 0.97);
    }

    .gm-b2b .gm-b2b-hero h1 {
        font-size: clamp(28px, 7vw, 36px);
    }
}

/* B2B – Bildbereich Glaslösungen */

.gm-b2b .gm-b2b-photo-alltag {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 6px;
    padding: 0;
}

.gm-b2b .gm-b2b-photo-alltag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .gm-b2b .gm-b2b-photo-alltag {
        height: 240px;
    }
}

/* B2B – Branchenbilder */

.gm-b2b .gm-b2b-grid-3 .gm-b2b-image {
    width: 100%;
    height: 190px;
    padding: 0;
    overflow: hidden;
    background: #eef3f6;
}

.gm-b2b .gm-b2b-grid-3 .gm-b2b-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

/* Dezenter Hover-Effekt */
@media (hover: hover) {
    .gm-b2b .gm-b2b-grid-3 .gm-b2b-card:hover img {
        transform: scale(1.035);
    }
}

.gm-b2b .gm-b2b-grid-3 .gm-b2b-card-body h3 {
    margin-bottom: 10px;
}

.gm-b2b .gm-b2b-grid-3 .gm-b2b-card-body p {
    margin-top: 0;
    line-height: 1.6;
}

/* B2B – Produktkategorien */

.gm-b2b .gm-b2b-grid-6 .gm-b2b-image {
    width: 100%;
    height: 175px;
    padding: 0;
    overflow: hidden;
    background: #f3f6f8;
}

.gm-b2b .gm-b2b-grid-6 .gm-b2b-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.gm-b2b .gm-b2b-grid-6 .gm-b2b-card-body {
    padding: 15px 12px;
}

.gm-b2b .gm-b2b-grid-6 .gm-b2b-card-body h3 {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Tablet */
@media (max-width: 900px) {
    .gm-b2b .gm-b2b-grid-6 .gm-b2b-image {
        height: 190px;
    }
}

/* Smartphone */
@media (max-width: 600px) {
    .gm-b2b .gm-b2b-grid-6 .gm-b2b-image {
        height: 160px;
    }
}

/* B2B – Regionale Zusammenarbeit */

.gm-b2b .gm-b2b-photo-regional {
    width: 100%;
    height: 320px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #eaf0f4;
}

.gm-b2b .gm-b2b-photo-regional img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .gm-b2b .gm-b2b-photo-regional {
        height: 240px;
    }
}

/* B2B – Geschäftskundenkonditionen */

.gm-b2b .gm-b2b-photo-konditionen {
    width: 100%;
    height: 320px;
    padding: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #eaf0f4;
}

.gm-b2b .gm-b2b-photo-konditionen img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .gm-b2b .gm-b2b-photo-konditionen {
        height: 240px;
    }
}