/* ============================================================
   style_main.css
   BoltMaster GmbH — Inner Page Styles
   Covers: Engineering / Anwendungen / Fertigung / Prozess
   ============================================================ */


/* ============================================================
   SHARED — 頁面容器與背景
   ============================================================ */

.bm-engineering,
.bm-anwendungen,
.bm-fertigung,
.bm-prozess,
.bm-insights,
.bm-kontakt {
    width: 100%;
    color: var(--bm-text);
    overflow: hidden;
    position: relative;
    z-index: 0;
    background: #fff;
}
.bm-engineering:before {
    content: "";
    position: absolute;
    top: 540px;
    left: 1920px;
    width: 2130px;
    height: calc(100% + 100px);
    transform-origin: top left;
    transform: skewx(-37.5deg);
    background-color: #eee;
    z-index: -1;
}

/* ============================================================
   SHARED — Hero（共用左文右圖版型）
   ============================================================ */

.bm-eng-hero,
.bm-anw-hero,
.bm-fert-hero,
.bm-proz-hero, 
.bm-kont-hero {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: grid;
    grid-template-columns: min(50%, calc(min(1240px, 100%) / 2)) 1fr;
    align-items: center;
    gap: 0;
    overflow: hidden;
    background-color: #090C0E;
}
.bm-proz-hero {
    min-height: 500px;
}
.bm-hero-actions a {
    color: #fff;
}

/* Hero copy */
.bm-eng-hero-copy,
.bm-anw-hero-copy,
.bm-fert-hero-copy,
.bm-proz-hero-copy,
.bm-kont-hero-copy {
    padding: 80px 60px 80px max(20px, calc((100vw - 1240px) / 2 + 20px));
}

/* Hero image panel */
.bm-eng-hero-img,
.bm-anw-hero-img,
.bm-fert-hero-img,
.bm-proz-hero-img {
    position: relative;
    height: 520px;
    overflow: hidden;
}
.bm-proz-hero-img {
    height: 500px;
}
.bm-eng-hero-img img,
.bm-anw-hero-img img,
.bm-fert-hero-img img,
.bm-proz-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 圖片左側淡入遮罩 */
.bm-eng-hero-img::after,
.bm-anw-hero-img::after,
.bm-fert-hero-img::after,
.bm-proz-hero-img::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}
.bm-eng-hero-img::after {
    background: linear-gradient(to right, #0f141a 0%, transparent 30%);
}
.bm-anw-hero-img::after,
.bm-fert-hero-img::after,
.bm-proz-hero-img::after {
    background: linear-gradient(to right, #0f141a 0%, transparent 28%);
}

/* Hero 背景圖 */
.bm-eng-hero {
    background-image: url('../images/engineering-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.bm-anw-hero {
    background-image: url('../images/anwendungen-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.bm-fert-hero {
    background-image: url('../images/fertigung-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.bm-proz-hero {
    background-image: url('../images/prozess-hero.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Hero 遮色片 */
.bm-eng-hero::before,
.bm-anw-hero::before,
.bm-fert-hero::before,
.bm-proz-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.55);
    z-index: 0;
    pointer-events: none;
}
.bm-eng-hero > *,
.bm-anw-hero > *,
.bm-fert-hero > *,
.bm-proz-hero > * {
    position: relative;
    z-index: 1;
}

/* Hero：左文右空 */
.bm-eng-hero,
.bm-anw-hero,
.bm-fert-hero,
.bm-proz-hero {
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 80px 0;
}
.bm-eng-hero-copy,
.bm-anw-hero-copy,
.bm-fert-hero-copy,
.bm-proz-hero-copy {
    max-width: min(700px, 55%);
    margin-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding: 0;
    text-align: left;
}


/* ============================================================
   SHARED — Section / Grid / Lead（共用內容區塊）
   ============================================================ */

.bm-eng-section,
.bm-fert-section,
.bm-proz-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}
.bm-anw-section {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 0;
    overflow: hidden;
}
.bm-eng-section:first-of-type {
    border-top: none;
}

/* Two-column grid */
.bm-eng-grid,
.bm-anw-grid,
.bm-fert-grid,
.bm-anw-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.bm-eng-grid.full,
.bm-fert-grid.full {
    grid-template-columns: 1fr;
    max-width: 900px;
    row-gap: 0;
}

/* RTL reversed grid（Anwendungen 用）*/
.bm-anw-grid.reversed {
    direction: rtl;
}
.bm-anw-grid.reversed > * {
    direction: ltr;
}

/* Image panel */
.bm-anw-img-panel,
.bm-fert-img-panel {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bm-fert-img-panel {
    height: 340px;
}
.bm-anw-img-panel img,
.bm-fert-img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.95;
}

/* Lead text */
.bm-eng-lead,
.bm-anw-lead,
.bm-fert-lead,
.bm-proz-lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--bm-muted);
    margin: 18px 0 0;
}
.bm-proz-lead {
    line-height: 1.75;
    margin: 16px 0 0;
}

/* ============================================================
   ENGINEERING PAGE（engineering.html）
   ============================================================ */

/* List */
.bm-eng-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bm-eng-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--bm-muted);
    padding: 14px 18px;
    border-left: 25px solid #d82634;
    background: rgba(255, 255, 255, 0.03);
}
.bm-eng-list li::before {
    content: '—';
    color: #fff;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Section 背景 */
.section_cold-forming {
    background-image: url(../images/bg_black_triangle.png), url(../images/engineering_bg.webp);
    background-repeat: no-repeat;
    background-position: left -1px top -1px, left bottom;
    background-size: 15vw auto, 86% auto;
}
.bm-engineering .bm-eng-section.section_tooling {
    border-top: 0;
}
.section_production {
    background-color: #0c1016;
    background-image: url(../images/engineering_bg_2.webp);
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 100%;
}
section.bm-eng-section.section_manufacturability {
    background-color: rgba(200, 200, 200, 0.2);
}
.section_engineering .bg-eng-quote p {
    font-size: 24px;
}

/* ul_title */
p.ul_title {
    font-size: 23px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 12px;
    font-weight: bold;
}
.bm-section-bk p.ul_title {
    color: #fff;
}

/* 右側圖片區 */
.bm-eng-right {
    margin-top: 103px;
    box-sizing: border-box;
    padding: 35px 35px 35px 0;
}
.bm-eng-img {
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-bottom: 0%;
}
.bm-eng-img img {
    display: block;
    height: auto;
    position: relative;
    z-index: 1;
    border: 10px solid #f4f4f4;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}
.bm-eng-img img:first-child {
    width: 88%;
}
.bm-eng-img img:nth-child(2) {
    width: 72%;
    margin: -8% 0 0 auto;
    z-index: 2;
}
.bm-eng-img::before {
    content: "";
    display: block;
    position: absolute;
    background-color: #e9e8e8;
    top: -35px;
    left: 35px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    box-sizing: border-box;
}
.bm-eng-img::after {
    content: "";
    display: block;
    position: absolute;
    border: 9px solid #000;
    top: 10%;
    left: -25px;
    width: 100%;
    height: 84%;
    pointer-events: none;
    z-index: -1;
    box-sizing: border-box;
}

/* Quote block */
.bm-eng-quote {
    background: #0f141a;
    margin: 28px 0 0;
    position: relative;
    padding: 48px 48px 48px 64px;
    border-left: 4px solid #d82634;
    clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 48px, 100% 100%, 0 100%);
}
.bm-eng-quote::before {
    content: "\201C";
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 72px;
    line-height: 1;
    color: #d82634;
    font-family: Georgia, serif;
    pointer-events: none;
}
.bm-eng-quote p {
    font-size: 19px;
    line-height: 1.7;
    color: var(--bm-text);
    margin: 0;
}
.bm-eng-quote .bm-eng-sub {
    margin-top: 16px;
    font-size: 15px;
    color: var(--bm-muted);
}

/* Keyword row */
.bm-eng-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0 0;
}
.bm-eng-keyword {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 18px;
    border: 1px solid rgba(196, 138, 58, 0.35);
    color: var(--bm-accent);
    font-size: 26px;
    font-family: var(--bm-font-display);
    letter-spacing: 0em;
}

/* 階梯縮排斜體 */
.bm-eng-lead-stair {
    font-style: italic;
    margin-top: 28px;
}
.bm-eng-lead-stair span {
    display: block;
}
.bm-eng-lead-stair span:nth-child(1) { padding-left: 0; }
.bm-eng-lead-stair span::first-letter { text-transform: uppercase; }
.bm-eng-lead-stair span:nth-child(2) { padding-left: 1em; }
.bm-eng-lead-stair span:nth-child(3) { padding-left: 2em; }
.bm-eng-lead-stair span:nth-child(4) { padding-left: 3em; }
.bm-eng-lead-stair span:nth-child(5) { padding-left: 4em; }

/* --- Engineering 白底覆寫 --- */

.bm-engineering .bm-eng-section {
    border-top-color: rgba(0, 0, 0, 0.09);
}
.bm-engineering .bm-eng-section .bm-title {
    color: #111823;
    font-size: clamp(28px, 3.5vw, 48px);
    margin-top: 18px;
}
.bm-engineering .bm-eng-section.bm-section-bk .bm-title {
    color: #ffffff;
}
.bm-engineering .bm-eng-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    justify-self: start;
    line-height: 1.2;
}
.bm-section-bk.bm-eng-section .bm-kicker {
    color: var(--bm-brand-red);
    border: 1px solid rgba(var(--bm-brand-red-rgb), 0.4);
    background: rgba(12, 16, 22, 0.72);
}
.bm-engineering .bm-eng-section .bm-copy,
.bm-engineering .bm-eng-section .bm-copy p {
    color: #4a5568;
}
.bm-engineering .bm-eng-lead {
    color: #222;
    font-size: 25px;
}
.bm-engineering .section_engineering .bm-eng-lead {
    padding-left: 15%;
}
.bm-engineering .section_engineering .bm-eng-lead2 {
    padding-left: 0%;
    font-style: normal;
}
.bm-engineering .bm-section-bk .bm-eng-lead {
    color: var(--bm-muted);
}
.bm-engineering .bm-eng-list li {
    color: #fff;
    background: #232323;
}
.bm-engineering .bm-eng-list li p{
    margin: 0;
}
.bm-engineering .bm-eng-quote p {
    color: #ffffff;
    font-size: 30px;
    line-height: 1.5;
}
.bm-engineering .bm-eng-quote .bm-eng-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 25px;
}
.bm-engineering .bm-eng-keyword {
    color: #fff;
    background: #d82634;
    -webkit-clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    animation: kwHighlight 8s infinite;
}
.bm-engineering .bm-eng-keyword:nth-child(1) { animation-delay: 0s; }
.bm-engineering .bm-eng-keyword:nth-child(2) { animation-delay: 2s; }
.bm-engineering .bm-eng-keyword:nth-child(3) { animation-delay: 4s; }
.bm-engineering .bm-eng-keyword:nth-child(4) { animation-delay: 6s; }

@keyframes kwHighlight {
    0%, 5%   { background: #d82634; }
    8%, 22%  { background: #0f141a; }
    25%, 100%{ background: #d82634; }
}

/* --- Engineering RWD --- */

@media (max-width: 768px) {
    p.ul_title {
        font-size: 17px;
    }
    .bm-eng-list li {
        font-size: 15px;
        padding: 7px 10px;
        border-left: 15px solid #d82634;
    }
    .bm-eng-right {
        margin-top: 0px;
        padding: 15px 15px 15px 0;
    }
    .bm-eng-img {
        padding-bottom: 5%;
    }
    .bm-eng-img img:first-child {
        width: 90%;
    }
    .bm-eng-img img:nth-child(2) {
        width: 78%;
        margin-top: -9%;
        border-width: 6px;
    }
    .bm-eng-img::before {
        top: -15px;
        left: 15px;
    }
    .bm-eng-img::after {
        border: 4px solid #e9e8e8;
        top: 8%;
        left: -10px;
        height: 94%;
    }
    .bm-eng-quote {
        padding: 30px 20px 30px 15px;
    }
    .bm-eng-quote::before {
        left: 4px;
        top: 8px;
        font-size: 40px;
    }
    .bm-engineering .bm-eng-quote p {
        font-size: 16px;
    }
    .bm-engineering .bm-eng-quote .bm-eng-sub {
        font-size: 14px;
    }
    .bm-eng-keyword {
        font-size: 18px;
        padding: 8px 5px;
        flex: 1 1 calc(44% - 0px);
    }
    .bm-engineering .bm-eng-lead {
        font-size: 16px;
    }
    .bm-engineering .section_engineering .bm-eng-lead {
        padding-left: 2%;
    }
}


/* ============================================================
   ANWENDUNGEN PAGE（anwendungen.html）
   ============================================================ */

/* Lead box */
.bm-anw-leadBox {
    margin-top: 40px;
    margin-left: 10px;
    border-left: 4px solid #111823;
    padding: 0 30px;
    position: relative;
}
.bm-anw-leadBox::before {
    content: "";
    position: absolute;
    left: -10px;
    width: 16px;
    height: 16px;
    background: #d82634;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    pointer-events: none;
    top: var(--dot-top, -10px);
    transition: top 0.15s linear;
}
.bm-risk-table-wrap {
    margin-top: 42px;
    max-width: 880px;
    overflow-x: auto;
    position: relative;
    padding-top: 14px;
}
.bm-risk-table-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 275px;
    height: 4px;
    background: #111823;
}
.bm-risk-table-wrap::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 272px;
    width: 12px;
    height: 12px;
    background: #d82634;
    transform: rotate(45deg);
}
.bm-risk-table-title {
    margin: 4px 7px 16px;
    padding-left: 15px;
    font-size: 25px;
    line-height: 1.35;
    color: #111823;
    font-weight: 700;
    border-left: 7px solid #d82634;
}
.bm-risk-table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.10);
    border-top: 4px solid #d82634;
    border-left: 4px solid #d82634;
}
.bm-risk-table th,
.bm-risk-table td {
    border: 1px solid rgba(17, 24, 35, 0.2);
    padding: 18px 22px;
    text-align: left;
    vertical-align: top;
}
.bm-risk-table th {
    background: #111823;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.bm-risk-table td {
    color: #222;
    font-size: 17px;
    line-height: 1.5;
}
.bm-risk-table td:first-child {
    border-left: 4px solid rgba(17, 24, 35, 0.2);
}
.bm-risk-table tbody tr:hover td:first-child {
    border-left-color: #d82634;
}
.bm-risk-table tbody tr:nth-child(even) {
    background: #f6f7f9;
}

/* List */
.bm-anw-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-anw-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--bm-muted);
    padding: 12px 18px;
    border-left: 2px solid rgba(196, 138, 58, 0.5);
    background: rgba(255, 255, 255, 0.03);
}
.bm-anw-list li::before {
    content: '—';
    color: var(--bm-accent);
    flex-shrink: 0;
}

/* Section 裝飾斜線 */
.section-introduction::before {
    content: "";
    position: absolute;
    top: 0%;
    right: -47%;
    width: 100%;
    height: 33%;
    background: #111823;
    transform: translateY(100%) rotate(-60deg);
    pointer-events: none;
    z-index: -1;
}
.section-introduction::after {
    content: "";
    position: absolute;
    top: 0%;
    right: -48%;
    width: 100%;
    height: 17px;
    background: #111823;
    transform: translateY(100%) rotate(-60deg);
    pointer-events: none;
    z-index: -1;
}
.section-t-bolt {
    background-color: #eee;
}
.section-t-bolt .bm-anw-grid {
    grid-template-columns: 35fr 65fr;
}
.section-hammerkopf {
    overflow: visible;
}
.section-hammerkopf::before {
    content: "";
    position: absolute;
    display: block;
    width: 9.5vw;
    height: 21vw;
    max-width: 185px;
    top: -3.05vw;
    left: 0;
    background-image: url(../images/bg_black.png);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: 100% auto;
    pointer-events: none;
}
.section-hammerkopf .bm-anw-grid {
    grid-template-columns: 60fr 40fr;
    align-items: center;
}
.bm-anwendungen .section-hammerkopf .bm-anw-img-panel {
    background: #fff;
    border: 0;
}
.section-hammerkopf .bm-anw-img-panel {
    position: relative;
    overflow: visible;
    background: #fff;
    border: 2px solid #292929;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    z-index: 2;
    padding: 10px;
}
.section-hammerkopf .bm-anw-img-panel .item {
    padding: 10px;
    background-color: #fff;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    border: 2px solid #292929;
}
.section-hammerkopf .bm-anw-img-panel::after {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #222;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    top: 20px;
    left: 20px;
    z-index: -1;
    pointer-events: none;
}
.section-t-bolt::before {
    content: "";
    position: absolute;
    top: 0%;
    right: -29%;
    width: 100%;
    height: 200px;
    background: #fff;
    transform: translateY(100%) rotate(-60deg);
    pointer-events: none;
    z-index: -1;
}
.section-t-bolt::after {
    content: "";
    position: absolute;
    top: 0%;
    left: -40%;
    width: 100%;
    height: 200px;
    background: #fff;
    transform: translateY(-100%) rotate(-60deg);
    pointer-events: none;
    z-index: -1;
}
.section-kundenspezifische {
    background-image: url(../images/anwendungen_bg2.webp), url(../images/anwendungen_bg1.webp);
    background-repeat: no-repeat;
    background-position: right bottom, left bottom;
    background-size: 20% auto, 46.8% auto;
}
.section-kundenspezifische .bm-anw-grid {
    align-items: center;
}

/* section-hochfeste */
.section-hochfeste {
    position: relative;
    overflow: hidden;
}
.section-hochfeste::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/anwendungen_bg3.webp');
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    filter: opacity(0.28);
    z-index: -1;
}
.section-hochfeste .bm-shell {
    position: relative;
    z-index: 5;
}
.section-hochfeste::before,
.section-hochfeste::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.section-hochfeste .section-hochfeste-img {
    position: relative;
    top: 50px;
    left: -20%;
    width: 100%;
    z-index: 2;
}
.section-hochfeste .section-hochfeste-img::before {
    content: "";
    position: absolute;
    background-color: #111823;
    width: 15%;
    height: 10%;
    left: -12px;
    bottom: -6px;
    display: block;
    pointer-events: none;
    z-index: -1;
    border-bottom: 5px solid #d82664;
    border-left: 5px solid #d82634;
}
.section-hochfeste .section-hochfeste-img img {
    width: 100%;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.section-hochfeste .right {
    margin-top: 36px;
}

/* --- Anwendungen 白底覆寫 --- */

.bm-anwendungen .bm-anw-section {
    border-top-color: rgba(0, 0, 0, 0.09);
}
.bm-anwendungen .bm-anw-section .bm-title {
    color: #111823;
    font-size: clamp(26px, 3.2vw, 44px);
    margin-top: 18px;
}
.bm-anwendungen .section-introduction .bm-title {
    font-size: clamp(28px, 3.5vw, 48px);
}
.bm-anwendungen h2 .f_red {
    color: var(--bm-brand-red);
}
.bm-anw-subtitle {
    font-size: 15px;
    color: var(--bm-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 20px 0 8px;
}
.bm-anwendungen .bm-anw-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    line-height: 1.2;
}
.bm-anwendungen .bm-anw-lead {
    color: #222;
    font-size: 25px;
}
.bm-anwendungen .bm-anw-list li {
    color: #fff;
    background: #232323;
    border-left: 25px solid #d82634;
}
.bm-anwendungen .bm-anw-list li::before {
    color: #fff;
}
.bm-anwendungen .bm-anw-list li p{
    margin: 0;
}
.bm-anwendungen .bm-anw-img-panel {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.10);
}
.bm-anwendungen .bm-anw-section.bm-section-bk {
    background-color: #0f141a;
}
.bm-anwendungen .bm-anw-section.bm-section-bk .bm-title {
    color: #fff;
}
.bm-anwendungen .bm-anw-section.bm-section-bk .bm-anw-lead {
    color: var(--bm-muted);
}
.bm-anwendungen .bm-anw-section.bm-section-bk .bm-kicker {
    color: var(--bm-brand-red);
    border: 1px solid rgba(var(--bm-brand-red-rgb), 0.4);
    background: rgba(12, 16, 22, 0.72);
}

/* --- Anwendungen RWD --- */

@media (max-width: 1600px) {
    .section-introduction::before {
        right: -55%;
        top: 0%;
        width: 90%;
        height: 30%;
    }
    .section-introduction::after {
        right: -56%;
        top: 0%;
        width: 90%;
    }
}

@media (max-width: 900px) {
    .bm-anw-grid.reversed {
        direction: ltr;
    }
    .section-introduction::before {
        right: -55%;
        width: 80%;
        height: 25%;
    }
    .section-introduction::after {
        right: -56%;
        width: 80%;
    }
    .section-t-bolt .bm-anw-grid {
        grid-template-columns: 1fr;
    }
    .section-hammerkopf .bm-anw-grid {
        grid-template-columns: 1fr;
    }
    .section-kundenspezifische .bm-anw-grid {
        grid-template-columns: 1fr;
    }
    .section-hochfeste .bm-anw-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bm-anw-section {
        padding: 50px 0;
    }
    .bm-anwendungen .bm-anw-lead {
        font-size: 16px;
    }
    .bm-risk-table-wrap {
        margin-top: 30px;
    }
    .bm-risk-table-title {
        font-size: 19px;
    }
    .bm-risk-table {
        min-width: 560px;
    }
    .bm-risk-table th,
    .bm-risk-table td {
        padding: 13px 14px;
    }
    .bm-risk-table th {
        font-size: 15px;
    }
    .bm-risk-table td {
        font-size: 14px;
    }
    .section-introduction::before {
        top: auto;
        bottom: -30px;
        right: -130px;
        width: 180px;
        height: 100px;
        transform: rotate(-60deg);
    }
    .section-introduction::after {
        top: auto;
        bottom: 40px;
        right: -75px;
        width: 180px;
        height: 8px;
        transform: rotate(-60deg);
    }
    .section-t-bolt::before {
        top: auto;
        bottom: -30px;
        right: -50px;
        left: auto;
        width: 180px;
        height: 100px;
        transform: rotate(-60deg);
    }
    .section-t-bolt::after {
        bottom: auto;
        top: -30px;
        left: -90px;
        right: auto;
        width: 180px;
        height: 100px;
        transform: rotate(-60deg);
    }
    .section-t-bolt .bm-anw-grid {
        grid-template-columns: 1fr;
    }
    .section-hammerkopf .bm-anw-grid {
        grid-template-columns: 1fr;
    }
    .bm-anwendungen .bm-anw-img-panel {
        width: 70%;
        margin: 0 auto;
    }
    .bm-anwendungen .bm-anw-list li {
        font-size: 14px;
        padding: 7px 10px;
        border-left: 15px solid #d82634;
    }
    .section-hochfeste .section-hochfeste-img {
        top: 30px;
        left: 0%;
        width: 75%;
        margin: 0 auto;
    }
    .section-hochfeste .right {
        margin-top: 0px;
    }
}


/* ============================================================
   FERTIGUNG PAGE（fertigung.html）
   ============================================================ */

/* List */
.bm-fert-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-fert-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
    color: var(--bm-muted);
    padding: 12px 18px;
    border-left: 2px solid rgba(216, 38, 52, 0.5);
    background: rgba(255, 255, 255, 0.03);
}
.bm-fert-list li::before {
    content: '—';
    color: var(--bm-brand-red);
    flex-shrink: 0;
}

/* Quote block */
.bm-fert-quote {
    border-left: 3px solid var(--bm-brand-red);
    padding: 22px 28px;
    background: rgba(216, 38, 52, 0.06);
    margin: 24px 0 0;
}
.bm-fert-quote p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--bm-text);
    margin: 0;
}

/* Stats row */
.bm-fert-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 28px 0 0;
}
.bm-fert-stat {
    background: rgba(255, 255, 255, 0.03);
    padding: 24px 20px;
    text-align: center;
}
.bm-fert-stat strong {
    display: block;
    font-size: 32px;
    font-family: var(--bm-font-display);
    color: var(--bm-brand-red);
    margin-bottom: 6px;
}
.bm-fert-stat span {
    font-size: 14px;
    color: var(--bm-muted);
}

/* Bridge 全幅收尾 */
.bm-fert-section-bridge {
    padding: 80px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    background: #f6f7f9;
}

/* --- Fertigung 白底覆寫 --- */

.bm-fertigung .bm-fert-section {
    border-top-color: rgba(0, 0, 0, 0.09);
}
.bm-fertigung .bm-fert-section .bm-title {
    color: #111823;
    font-size: clamp(28px, 3.5vw, 48px);
    margin-top: 18px;
}
.bm-fertigung .bm-fert-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    justify-self: start;
    line-height: 1.2;
}
.bm-fertigung .bm-fert-lead {
    color: #222;
}
.bm-fertigung .bm-fert-list li {
    color: #fff;
    background: #232323;
    border-left: 25px solid #d82634;
}
.bm-fertigung .bm-fert-list li::before {
    color: #fff;
}
.bm-fertigung .bm-fert-list li p{
    margin: 0;
}
.bm-fertigung .bm-fert-img-panel {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.10);
}
.bm-production-table-wrap {
    margin-top: 36px;
    max-width: 900px;
    overflow-x: auto;
    position: relative;
    padding-top: 14px;
}
.bm-production-table-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 365px;
    height: 4px;
    background: #111823;
}
.bm-production-table-wrap::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 362px;
    width: 12px;
    height: 12px;
    background: #d82634;
    transform: rotate(45deg);
}
.bm-production-table-title {
    margin: 4px 7px 16px;
    padding-left: 15px;
    font-size: 25px;
    line-height: 1.35;
    color: #111823;
    font-weight: 700;
    border-left: 7px solid #d82634;
}
.bm-production-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #fff;
    border-top: 4px solid #d82634;
    border-left: 4px solid #d82634;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}
.bm-production-table th,
.bm-production-table td {
    border: 1px solid rgba(17, 24, 35, 0.2);
    padding: 17px 22px;
    text-align: left;
    vertical-align: top;
}
.bm-production-table th {
    background: #111823;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.bm-production-table td {
    color: #222;
    font-size: 17px;
    line-height: 1.5;
}
.bm-production-table tbody tr:nth-child(even) {
    background: #f6f7f9;
}
.bm-production-table td:first-child {
    border-left: 4px solid rgba(17, 24, 35, 0.2);
}
.bm-production-table tbody tr:hover td:first-child {
    border-left-color: #d82634;
}
.bm-production-table-wrap-dark .bm-production-table-title {
    color: #111823;
}

/* section-manufacturing */
.section-manufacturing {
    border: 0;
    padding: 0;
}
.section-manufacturing .bm-bg {
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% auto;
    overflow: hidden;
}
.section-manufacturing .bm-bg1 {
    background-color: #15191C;
    background-image: url(../images/fertigung_bg1.webp);
    padding: 100px 0 50px;
    background-size: auto 100%;
    text-align: center;
}
.section-manufacturing .bm-bg1 .bm-fert-grid.full {
    margin: 0 auto;
}
.bm-fertigung .section-manufacturing .bm-bg1 .bm-kicker {
    justify-self: center;
}
.section-manufacturing .bm-bg1 p {
    color: #fff;
}
.section-manufacturing .bm-bg2 {
    background-image: url(../images/fertigung_bg2.webp);
    background-color: #d0d4d6;
    padding: 10px 0 100px;
}
.bm-fertigung .section-manufacturing .bm-bg2 .bm-fert-list {
    flex-wrap: wrap;
    flex-direction: row;
}
.bm-fertigung .section-manufacturing .bm-bg2 .bm-fert-list li {
    width: calc((100% - 30px) / 4);
    box-sizing: border-box;
}
.bm-fertigung .section-manufacturing .bm-bg2 .bm-fert-list li p{
    margin: 0;
}
.bm-fertigung .section-manufacturing.bm-fert-section .bm-title {
    color: #fff;
}

/* section-engineering（白底風格，Fertigung 內使用）*/
.bm-fertigung .section-engineering {
    background-color: #fff;
    overflow: hidden;
    border: 0;
    padding: 125px 0;
}
.bm-fertigung .section-engineering .bm-eng-grid.full {
    margin: auto;
    max-width: 1100px;
}
.section-engineering .bm-eng-lead {
    text-align: center;
}
.section-engineering .bm-eng-lead.bm-eng-lead-stair span {
    padding-left: 0;
}
.bm-fertigung .section-engineering::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    transform-origin: top right;
    transform: skewX(-70deg);
    background-color: #eee;
    z-index: 0;
    pointer-events: none;
}
.bm-fertigung .section-engineering::before {
    content: '';
    position: absolute;
    top: -1px;
    right: 0;
    width: 30%;
    height: 40%;
    background: #232323;
    clip-path: polygon(100% 0, 0 0, 100% 40%);
    z-index: 1;
    pointer-events: none;
}
.bm-fertigung .section-engineering .bm-shell {
    position: relative;
    z-index: 1;
}
.bm-fertigung .section-engineering .bm-title {
    color: #111823;
    font-size: clamp(28px, 3.5vw, 48px);
    margin-top: 18px;
}
.bm-fertigung .section-engineering .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    justify-self: start;
}
.bm-fertigung .section-engineering .bm-eng-quote p {
    color: #fff;
    font-size: 30px;
    line-height: 1.5;
}
.bm-fertigung .section-engineering .bm-eng-quote .bm-eng-sub {
    color: rgba(255, 255, 255, 0.55);
    font-size: 25px;
}
.bm-fertigung .section-engineering .bm-eng-keyword {
    color: #fff;
    background: #d82634;
    -webkit-clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
    animation: kwHighlight 8s infinite;
}
.bm-fertigung .section-engineering .bm-eng-keyword:nth-child(1) { animation-delay: 0s; }
.bm-fertigung .section-engineering .bm-eng-keyword:nth-child(2) { animation-delay: 2.67s; }
.bm-fertigung .section-engineering .bm-eng-keyword:nth-child(3) { animation-delay: 5.33s; }
.bm-fertigung .section-engineering .bm-eng-lead {
    color: #222;
    font-size: 25px;
    margin-top: 50px;
}
.bm-fertigung .section-engineering .bm-hero-actions a {
    color: #fff;
}

/* section-coldforming */
.section-coldforming {
    position: relative;
    border: 0;
}
.section-coldforming::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 38%;
    height: 100%;
    background-image: url(../images/fertigung_img1.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.section-coldforming .bm-shell {
    box-sizing: border-box;
}
.section-coldforming .bm-fert-grid {
    grid-template-columns: 1fr;
    margin-left: 40%;
}

/* section-tooling 灰底線條區塊 */
.section-tooling {
    background-color: #e8eaed;
    z-index: 1;
}
.section-tooling::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent 0,
        transparent calc(100% / 7 - 1px),
        rgba(0, 0, 0, 0.08) calc(100% / 7 - 1px),
        rgba(0, 0, 0, 0.08) calc(100% / 7)
    );
    z-index: 0;
    pointer-events: none;
}
.section-tooling .bm-shell {
    position: relative;
    z-index: 1;
}
.section-tooling .bm-fert-img-panel {
    height: auto;
    margin-top: 54px;
    position: relative;
    z-index: 1;
    background: #e8eaed;
}
.section-tooling .bm-fert-img-panel img {
    opacity: 1;
}

/* section-reliability 三角形裝飾 */
.section-reliability {
    overflow: hidden;
}
.section-reliability-bg {
    position: absolute;
    top: 0;
    left: 14.2%;
    width: 21.2%;
    height: 100%;
    background-image: url(../images/fertigung_img3.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
}
.section-reliability::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    height: 100%;
    background: #d82634;
    clip-path: polygon(100% 0, 0 0, 100% 75%);
    z-index: 0;
    pointer-events: none;
}
.section-reliability::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30%;
    height: 100%;
    background: #232323;
    clip-path: polygon(100% 100%, 0 100%, 100% 65%);
    z-index: 0;
    pointer-events: none;
}
.section-reliability .bm-shell {
    position: relative;
    z-index: 1;
}
.section-reliability .bm-fert-grid {
    grid-template-columns: 1fr;
    padding-left: 22vw;
}

/* --- Fertigung RWD --- */

@media (max-width: 1600px) {
    .section-coldforming .bm-fert-grid {
        margin-left: 42%;
    }
.section-reliability .bm-fert-grid {
    padding-left: 24vw;
}
.section-reliability-bg {
    left: 0%;
    width: 21.2%;
}
}

@media (max-width: 1200px) {
    .bm-fertigung .section-manufacturing .bm-bg2 .bm-fert-list li {
        width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 900px) {
    .bm-fert-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-manufacturing .bm-bg1 {
        padding: 50px 0 25px;
    }
    .section-manufacturing .bm-bg2 {
        padding: 5px 0 50px;
    }
    .bm-fertigung .section-manufacturing .bm-bg2 .bm-fert-list li {
        width: 100%;
    }
    .section-coldforming .bm-fert-grid {
        margin-left: 0%;
        margin-top: 50px;
    }
    .section-coldforming::before {
        width: 100%;
        height: 100px;
        display: block;
        top: -40px;
    }
    .section-tooling .bm-fert-img-panel {
        margin-top: 0px;
    }
    .bm-fertigung .section-engineering .bm-eng-quote p{
        font-size: 16px;
    }
    .bm-fertigung .section-engineering .bm-eng-quote .bm-eng-sub {
        font-size: 14px;
    }
    .section-engineering .bm-eng-keyword {
        flex: 1 1 100%;
    }
    .section-reliability .bm-fert-grid {
        padding-left: 7.5vw;
        padding-right: 20px;
    }
    .section-reliability-bg {
        width:4%;
    }
    .bm-fertigung .bm-fert-list li{
        font-size: 15px;
        padding: 7px 10px;
        border-left: 15px solid #d82634;
    }
    .bm-production-table-wrap {
        margin-top: 28px;
    }
    .bm-production-table-title {
        font-size: 19px;
    }
    .bm-production-table {
        min-width: 590px;
    }
    .bm-production-table th,
    .bm-production-table td {
        padding: 13px 14px;
    }
    .bm-production-table th {
        font-size: 15px;
    }
    .bm-production-table td {
        font-size: 14px;
    }
    .bm-fertigung .section-engineering .bm-eng-lead {
        font-size: 16px;
        margin-top: 50px;
    }
    .bm-fertigung .section-engineering {
        padding: 45px 0;
    }
    .bm-fertigung .section-engineering::before {
        width: 10%;
        height: 40%;
    }
    .section-reliability::after {
        width: 10%;
        height: 100%;
    }
    .section-reliability::before {
        width: 7%;
    }
    .bm-fertigung .section-engineering::after {
        right: -30%;
    }
}


/* ============================================================
   PROZESS PAGE（prozess.html）
   ============================================================ */

/* Introduction */
.bm-proz-intro {
}
.bm-proz-key-sentence {
    margin: 34px 0 0;
    padding: 20px 26px;
    border-left: 5px solid #d82634;
    background: #f6f7f9;
    color: #111823;
    font-size: clamp(24px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 700;
    font-family: var(--bm-font-display);
}

/* 橫向5步驟流程圖 */
.bm-proz-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    margin-left: -50px;
    position: relative;
    overflow: visible;
}
.bm-proz-flow::before {
    display: none;
}
.bm-proz-table-wrap,
.bm-proz-risk-table-wrap {
    margin-top: 56px;
    max-width: 920px;
    overflow-x: auto;
    position: relative;
    padding-top: 14px;
}
.bm-proz-risk-table-wrap {
    margin: 24px 0 40px 190px;
}
.bm-proz-table-wrap::before,
.bm-proz-risk-table-wrap::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 285px;
    height: 4px;
    background: #111823;
}
.bm-proz-table-wrap::after,
.bm-proz-risk-table-wrap::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 282px;
    width: 12px;
    height: 12px;
    background: #d82634;
    transform: rotate(45deg);
}
.bm-proz-table-title {
    margin: 4px 7px 16px;
    padding-left: 15px;
    font-size: 25px;
    line-height: 1.35;
    color: #111823;
    font-weight: 700;
    border-left: 7px solid #d82634;
}
.bm-proz-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #fff;
    border-top: 4px solid #d82634;
    border-left: 4px solid #d82634;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}
.bm-proz-table th,
.bm-proz-table td {
    border: 1px solid rgba(17, 24, 35, 0.2);
    padding: 17px 22px;
    text-align: left;
    vertical-align: top;
}
.bm-proz-table th {
    background: #111823;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}
.bm-proz-table td {
    color: #222;
    font-size: 17px;
    line-height: 1.5;
}
.bm-proz-table tbody tr:nth-child(even) {
    background: #f6f7f9;
}
.bm-proz-table td:first-child {
    border-left: 4px solid rgba(17, 24, 35, 0.2);
}
.bm-proz-table tbody tr:hover td:first-child {
    border-left-color: #d82634;
}

/* 每個步驟：疊加效果 */
.bm-proz-step {
    position: relative;
    flex: 0 0 auto;
    margin-right: -30px;
}
.bm-proz-step:nth-child(1) { z-index: 1; }
.bm-proz-step:nth-child(2) { z-index: 2; }
.bm-proz-step:nth-child(3) { z-index: 3; }
.bm-proz-step:nth-child(4) { z-index: 4; }
.bm-proz-step:nth-child(5) { z-index: 5; margin-right: 0; }


/* 六角形外層（紅色邊框效果）*/
.bm-proz-hex {
    width: 252px;
    height: 262px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}
.bm-proz-step:hover .bm-proz-hex .bm-proz-step-title,
.bm-proz-step.active .bm-proz-hex .bm-proz-step-title {
    color: #fff;
}
.bm-proz-step:hover .bm-proz-hex .bm-proz-step-desc,
.bm-proz-step.active .bm-proz-hex .bm-proz-step-desc {
    color: #fff;
}
.bm-proz-step:hover .bm-proz-hex .bm-proz-icon-slot,
.bm-proz-step.active .bm-proz-hex .bm-proz-icon-slot {
    filter: brightness(2);
}
.bm-proz-hex::before{
    content: "";
    display: block;
    position: absolute;
    top: 20px;
    left: 23px;
    width: 301px;
    height: 274px;
    background-image: url(../images/prozess_graybg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 0;
    transition: filter 0.3s;
}
.bm-proz-step:hover .bm-proz-hex::before,
.bm-proz-step.active .bm-proz-hex::before {
    filter: brightness(0.1);
}
.bm-proz-hex::after{
    content: "";
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 300px;
    height: 262px;
    background-image: url(../images/prozess_redline.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
    transition: filter 0.3s;
}
.bm-proz-step:hover .bm-proz-hex::after,
.bm-proz-step.active .bm-proz-hex::after {
    filter: brightness(0.1);
}
.bm-proz-step:last-child .bm-proz-hex::after {
    background-image: url(../images/prozess_redline_end.png);
}


/* 六角形內層（深色底）*/
.bm-proz-hex-body {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 2;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 21px 0px 21px 46px;
    box-sizing: border-box;
    text-align: center;
}

/* Icon */
.bm-proz-icon-slot {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 5px;
    flex-shrink: 0;
}
.bm-proz-icon-slot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bm-proz-step-title {
    font-size: 18px;
    font-family: var(--bm-font-display);
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 1.35;
}
.bm-proz-step-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* 舊版箭頭（已不使用，保留 selector 避免報錯）*/
.bm-proz-arrow {
    display: none;
    position: absolute;
    top: 43px;
    right: -18px;
    width: 36px;
    height: 2px;
    background: #111823;
    z-index: 2;
    font-size: 0;
}
.bm-proz-arrow::after {
    content: '';
    position: absolute;
    right: -1px;
    top: -5px;
    border: 6px solid transparent;
    border-left: 9px solid #111823;
}
.bm-proz-step:last-child .bm-proz-arrow {
    display: none;
}

/* 詳細步驟區塊 — 左欄數字串起的垂直線 */
.section-proz-details .bm-shell {
    position: relative;
}
.section-proz-details .bm-shell::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 15px;
    background: #111823;
    pointer-events: none;
    z-index: 0;
}

/* 詳細步驟區塊 */
.bm-proz-detail-grid {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    align-items: start;
    padding: 36px 20px 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
}
.bm-proz-detail-grid::before{
    content: "";
    display: block;
    position: absolute;
    top: 30px;
    left: 100px;
    width: calc(100% - 100px);
    height: 86px;
    background-color: #f6f7f9;
    pointer-events: none;
    z-index: -1;
}
.bm-proz-detail-grid:first-child {
    border-top: none;
}
.bm-proz-step-num-lg {
    position: relative;
    z-index: 1;
    font-size: 80px;
    font-family: var(--bm-font-display);
    font-weight: 700;
    color: rgba(196, 138, 58, 0.18);
    line-height: 1;
    letter-spacing: -0.04em;
}
.bm-proz-step-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--bm-accent);
    font-family: var(--bm-font-display);
    margin-bottom: 8px;
}
.bm-proz-step-h {
    font-size: clamp(22px, 2.5vw, 32px);
    font-family: var(--bm-font-display);
    color: var(--bm-text);
    margin: 0 0 16px;
    font-weight: 600;
}

/* 步驟清單 */
.bm-proz-list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bm-proz-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    color: var(--bm-muted);
    padding: 10px 16px;
    border-left: 2px solid rgba(196, 138, 58, 0.4);
    background: rgba(255, 255, 255, 0.025);
}
.bm-proz-list li::before {
    content: '—';
    color: var(--bm-accent);
    flex-shrink: 0;
}

/* Final Statement */
.bm-proz-final {
    padding: 100px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}
.bm-proz-final-title {
    font-size: clamp(36px, 5vw, 68px);
    font-family: var(--bm-font-display);
    font-weight: 700;
    color: var(--bm-text);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}
.bm-proz-final-title strong {
    color: var(--bm-brand-red);
}
.bm-proz-final-img {
    width: min(800px, 92%);
    margin: 18px auto 42px;
    padding: 10px;
    border-left: 5px solid #d82634;
    border-top: 5px solid #d82634;
    background: #fff;
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.16);
    position: relative;
    transform: rotate(-0.6deg);
}
.bm-proz-final-img::before {
    content: "";
    position: absolute;
    right: -16px;
    bottom: -16px;
    width: 95%;
    height: 95%;
    border-right: 5px solid #232323;
    border-bottom: 5px solid #232323;
    z-index: -1;
}
.bm-proz-final-img::after {
    content: "";
    position: absolute;
    top: -12px;
    right: -6px;
    width: 42px;
    height: 42px;
    background: #d82634;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    pointer-events: none;
}
.bm-proz-final-img:hover {
    transform: rotate(0deg) translateY(-4px);
    transition: transform 0.25s ease;
}
.bm-proz-final-img img {
    display: block;
    width: 100%;
    height: auto;
    filter: saturate(1.04) contrast(1.03);
}
.bm-proz-final p {
    font-size: 18px;
    color: var(--bm-muted);
    line-height: 1.75;
    max-width: 680px;
    margin: 0 auto 16px;
}

/* Hero actions spacing */
.bm-proz-hero .bm-hero-actions {
    margin-top: 32px;
}

/* Introduction title */
.bm-proz-intro .bm-title {
    font-size: clamp(28px, 3.5vw, 46px);
    margin-top: 18px;
}

/* Step 詳細區塊：標題後第一個 lead 不要額外上距 */
.bm-proz-step-h + .bm-proz-lead {
    margin-top: 0;
}

/* Final CTA 按鈕區 */
.bm-proz-final-actions {
    margin-top: 44px;
}
.bm-proz-final-actions a.bm-button-primary{
    color: #fff;
}
/* --- Prozess 白底覆寫 --- */

.bm-prozess .bm-proz-section {
    border-top-color: rgba(0, 0, 0, 0.09);
}
.bm-prozess .section-proz-details {
    background-image: url(../images/prozess_stepbg1.webp), url(../images/prozess_stepbg2.webp);
    background-repeat: repeat-x;
    background-size: 50% auto;
    background-position: top center, bottom center;
    z-index: 0;
    border: 0;
}
.bm-prozess .bm-proz-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    justify-self: start;
    line-height: 1.2;
}
.bm-prozess .bm-proz-section .bm-title {
    color: #111823;
    font-size: clamp(28px, 3.5vw, 48px);
    margin-top: 18px;
}
.bm-prozess .bm-proz-lead {
    color: #222;
}
.bm-prozess .bm-proz-step-title {
    color: #111823;
}
.bm-prozess .bm-proz-step-desc {
    color: #555;
}
.bm-prozess .bm-proz-no {
    background: #d82634;
}
.bm-prozess .bm-proz-no span {
    background: #111823;
}
.bm-prozess .bm-proz-step:hover .bm-proz-no {
    filter: brightness(1.15);
}
.bm-prozess .bm-proz-detail-grid {
    border-top-color: rgba(0, 0, 0, 0.08);
}
.bm-prozess .bm-proz-step-h {
    color: #111823;
}
.bm-prozess .bm-proz-step-label {
    color: #d82634;
    border: 1px solid #d82634;
    border-radius: 999px;
    justify-self: start;
    padding: 3px 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--bm-font-display);
    line-height: 1.3;
    margin: 5px 0 0;
}
.bm-prozess .bm-proz-step-num-lg {
    color: #d82634;
    width: 100px;
    text-align: center;
}
.bm-prozess .bm-proz-step-num-lg::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-bottom: 86px solid #111823;
    border-left: 100px solid transparent;
    pointer-events: none;
    z-index: -1;
}
.bm-prozess .bm-proz-list li {
    color: #fff;
    background: #232323;
    border-left: 25px solid #d82634;
}
.bm-prozess .bm-proz-list li::before {
    color: #fff;
}
.bm-prozess .bm-proz-list li p{
    margin: 0;
}
.bm-prozess .bm-proz-final {
    border-top-color: rgba(0, 0, 0, 0.09);
    background: #f6f7f9;
}
.bm-prozess .bm-proz-final-title {
    color: #111823;
}
.bm-prozess .bm-proz-final p {
    color: #222;
}

/* --- Prozess RWD --- */

@media (max-width: 1240px) {
    .bm-proz-flow {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    .bm-proz-step {
        flex: 0 0 calc(33.33% - 12px);
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .bm-proz-hero {
        grid-template-columns: 1fr;
    }
    .bm-proz-hero-copy {
        padding: 60px 0 40px;
    }
    .bm-proz-hero-img {
        height: 280px;
    }
    .bm-proz-key-sentence {
        padding: 16px 18px;
        font-size: 22px;
    }
    .bm-proz-step {
        flex: 0 0 100%;
        justify-content: center;
        margin-right: 0;
    }
    .bm-proz-table-wrap,
    .bm-proz-risk-table-wrap {
        margin-top: 34px;
    }
    .bm-proz-risk-table-wrap {
        margin-left: 40px;
        margin-bottom: 30px;
    }
    .bm-proz-table-title {
        font-size: 19px;
    }
    .bm-proz-table {
        min-width: 590px;
    }
    .bm-proz-table th,
    .bm-proz-table td {
        padding: 13px 14px;
    }
    .bm-proz-table th {
        font-size: 15px;
    }
    .bm-proz-table td {
        font-size: 14px;
    }
    .bm-proz-final-img {
        margin-bottom: 24px;
        padding: 8px;
        border-left-width: 4px;
        border-top-width: 4px;
        transform: none;
    }
    .bm-proz-final-img::before {
        right: -10px;
        bottom: -10px;
    }
    .bm-proz-final-img::after {
        top: -10px;
        right: 18px;
        width: 38px;
        height: 38px;
    }
    .bm-proz-detail-grid {
        grid-template-columns: 40px 1fr;
        gap: 16px;
        margin: 0 -12px;
    }
    .bm-proz-step-num-lg {
        font-size: 30px;
    }
    .section-proz-details .bm-shell::before {
        left: 28px;
        width: 2px;
    }
    .bm-prozess .bm-proz-step-num-lg {
        width:40px;
    }
    .bm-prozess .bm-proz-step-num-lg::before {
        border-bottom: 36px solid #111823;
        border-left: 40px solid transparent;
    }
    .bm-proz-detail-grid::before {
        left: 40px;
        width: calc(100% - 40px);
        height: 75px;
    }
    .bm-prozess .bm-proz-list li {
        font-size: 15px;
        padding: 7px 10px;
        border-left: 15px solid #d82634;
    }
}


/* ============================================================
   INSIGHTS PAGE（newslist.html / news.html）
   Technical Insights — 技術文章列表 + 單篇
   ============================================================ */

.bm-insights {
    background: #fff;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ── Hero ── */
.bm-ins-hero,
.bm-ins-article-hero {
    display: flex;
    align-items: center;
    min-height: 520px;
    padding: 80px 0;
    background-color: #090C0E;
    background-image: url('../images/news_hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.bm-ins-hero::before,
.bm-ins-article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.58);
    z-index: 0;
    pointer-events: none;
}
.bm-ins-hero > *,
.bm-ins-article-hero > * {
    position: relative;
    z-index: 1;
}
.bm-ins-hero-copy,
.bm-ins-article-hero-copy {
    max-width: min(660px, 55%);
    margin-left: max(20px, calc((100vw - 1240px) / 2 + 20px));
    padding: 0;
}

/* ── Sections ── */
.bm-ins-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
}
.bm-ins-section:first-of-type {
    border-top: none;
}

/* ── Kicker / Title 白底覆寫 ── */
.bm-article-title{
    margin-bottom: 40px;
}
.bm-ins-article-hero .bm-kicker,
.bm-ins-cta .bm-kicker {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.75);
}
.bm-insights .bm-ins-section .bm-title {
    color: #111823;
    font-size: clamp(28px, 3.5vw, 48px);
    margin-top: 18px;
}

/* ── Intro two-column ── */
.bm-ins-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── Lead text ── */
.bm-ins-lead {
    font-size: 18px;
    line-height: 1.75;
    color: #2d3748;
    margin: 18px 0 0;
    word-spacing: normal;
    letter-spacing: normal;
}

/* ── Intro list ── */
.bm-ins-list {
    list-style: none;
    margin: 20px 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-ins-list li {
    font-size: 18px;
    color: #fff;
    background: #232323;
    border-left: 22px solid #d82634;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bm-ins-list li::before {
    content: '—';
    color: #fff;
    flex-shrink: 0;
}
.bm-ins-intro-media {
    margin: 36px 0 0;
    position: relative;
    max-width: 720px;
    padding: 12px 12px 0 0;
}
.bm-ins-section--intro .bm-ins-intro-grid > div:first-child .bm-ins-intro-media {
    margin-top: 52px;
}
.bm-ins-intro-media::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    background: #232323;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    z-index: 0;
}
.bm-ins-intro-media::after {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -10px;
    width: 34%;
    height: 20px;
    background: #d82634;
    z-index: 0;
}
.bm-ins-intro-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    box-shadow: 0 22px 36px rgba(17, 24, 35, 0.18);
}

/* ══════════════════════════════════════
   KONTAKT PAGE
   ══════════════════════════════════════ */

/* Hero */
.bm-kont-hero {
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 100px 0;
    background-color: #090C0E;
    background-image: url('../images/contact_hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
.bm-kont-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 20, 0.10);
    z-index: 0;
    pointer-events: none;
}
.bm-kont-hero > * { position: relative; z-index: 1; }
.bm-kont-hero-copy {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    text-align: center;
}
.bm-kont-section .bm-kicker {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.75);
}
.bm-kont-hero .bm-title {
    color: #fff;
    font-size: clamp(28px, 3.8vw, 52px);
    margin-top: 14px;
}
.bm-kont-hero .bm-title .f_red, .bm-kont-section .f_red{
    color: #d82634;
}
.bm-kont-hero-sub {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.72);
}

/* Sections */
.bm-kont-section {
    padding: 100px 0;
    border-top: 1px solid rgba(0,0,0,0.09);
}
.bm-kont-section--intro {
    background-color: #fff;
    position: relative;
}
.bm-kont-section--intro::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url(../images/contact_bg.webp);
    background-repeat: no-repeat;
    background-size: 20% auto;
    background-position: left -8% bottom -100px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
.bm-kont-section--intro > * {
    position: relative;
    z-index: 1;
}
.bm-kont-section--info {
    background-color: #f7f7f7;
    background-image: url(../images/contact_bg3left.svg), url(../images/contact_bg3right.svg);
    background-repeat: no-repeat, no-repeat;
    background-size: 50%, 50%;
    background-position: left -15% bottom 50%, right -25% top 50%;
}
.bm-kont-section--form  { 
    background-color: #fff;
    background-image: url(../images/contact_bg2.webp);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right;
 }

.bm-kont-section .bm-title {
    color: #111823;
    font-size: clamp(26px, 3.2vw, 44px);
    margin-top: 16px;
}
.bm-kontakt .bm-kont-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    justify-self: start;
    line-height: 1.2;
}

/* Intro two-col */
.bm-kont-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* Intro list */
.bm-kont-lead {
    font-size: 18px;
    line-height: 1.75;
    color: #2d3748;
    margin: 0 0 16px;
}
.bm-kont-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.bm-kont-list li {
    font-size: 17px;
    color: #fff;
    background: #232323;
    border-left: 22px solid #d82634;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.bm-kont-list li::before {
    content: '—';
    color: #fff;
    flex-shrink: 0;
}
.bm-kont-emphasis {
    margin: 44px 0 0;
    padding: 26px 30px 26px 34px;
    position: relative;
    max-width: 560px;
    background: #111823;
    color: #fff;
    font-family: var(--bm-font-display);
    font-size: clamp(22px, 2.1vw, 34px);
    font-weight: 600;
    line-height: 1.35;
    clip-path: polygon(0 0, calc(100% - 42px) 0, 100% 42px, 100% 100%, 0 100%);
}
.bm-kont-emphasis::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: #d82634;
}
.bm-kont-emphasis::after {
    content: "";
    position: absolute;
    right: 24px;
    bottom: 0;
    width: 34%;
    height: 5px;
    background: #d82634;
}
.bm-kont-section--technical {
    background: #f6f7f9;
    position: relative;
    overflow: hidden;
}
.bm-kont-section--technical::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 0;
    width: 46%;
    height: 100%;
    background: #fff;
    clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}
.bm-kont-section--technical > * {
    position: relative;
    z-index: 1;
}
.bm-kont-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.bm-kont-tech-media {
    position: relative;
    padding: 12px 0 0 12px;
}
.bm-kont-tech-media::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: calc(100% - 14px);
    height: calc(100% - 14px);
    background: #232323;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
}
.bm-kont-tech-media::after {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -10px;
    width: 34%;
    height: 20px;
    background: #d82634;
}
.bm-kont-tech-media img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    position: relative;
    z-index: 1;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 88% 100%, 0 100%);
    box-shadow: 0 22px 36px rgba(17, 24, 35, 0.16);
}
.bm-kontakt .bm-kont-tech-list,
.bm-kontakt .bm-kont-project-list {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
    counter-reset: kontList;
}
.bm-kontakt .bm-kont-tech-list {
    grid-template-columns: 1fr 1fr;
}
.bm-kontakt .bm-kont-tech-list li,
.bm-kontakt .bm-kont-project-list li {
    min-height: 58px;
    padding: 14px 16px 14px 62px;
    background: #fff;
    border: 1px solid rgba(17, 24, 35, 0.12);
    border-left: 5px solid #d82634;
    color: #111823;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    display: flex;
    align-items: center;
    position: relative;
    box-shadow: 0 14px 28px rgba(17, 24, 35, 0.08);
}
.bm-kontakt .bm-kont-tech-list li::before,
.bm-kontakt .bm-kont-project-list li::before {
    counter-increment: kontList;
    content: counter(kontList, decimal-leading-zero);
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: #d82634;
    color: #fff;
    font-family: var(--bm-font-display);
    font-size: 13px;
    font-weight: 700;
    display: grid;
    place-items: center;
}
.bm-kont-projects {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 56px;
    align-items: start;
    background: #111823;
    padding: 42px;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 54px) 0, 100% 54px, 100% 100%, 0 100%);
}
.bm-kont-projects::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 10px;
    height: 100%;
    background: #d82634;
}
.bm-kont-projects .bm-title {
    color: #fff;
}
.bm-kont-projects .bm-kicker {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.24);
    color: rgba(255,255,255,0.78);
}
.bm-kontakt .bm-kont-project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
}
.bm-kontakt .bm-kont-project-list li {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    border-left-color: #d82634;
    color: #fff;
    box-shadow: none;
    text-transform: uppercase;
    word-break: break-all;
}

/* Info cards */
.bm-kont-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.bm-kont-info-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.10);
    padding: 36px 32px;
    position: relative;
}
.bm-kont-info-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 50px 50px 0 0;
    border-color: #222 transparent transparent transparent;
}
.bm-kont-info-card::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 50px 50px;
    border-color: transparent transparent #d82634 transparent;
}
.bm-kont-info-card .bm-kicker {
    margin-bottom: 14px;
}
.bm-kont-info-name {
    font-family: var(--bm-font-display);
    font-size: 22px;
    font-weight: 600;
    color: #111823;
    margin: 0 0 8px;
}
.bm-kont-info-name a {
    color: #d82634;
    text-decoration: none;
}
.bm-kont-info-name a:hover { text-decoration: underline; }
.bm-kont-info-detail {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Form */
.bm-kont-form-header {
    margin-bottom: 48px;
}
.bm-kont-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.bm-kont-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.bm-kont-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bm-kont-label {
    font-family: var(--bm-font-display);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #374151;
}
.bm-kont-label span { color: #d82634; }
.bm-kont-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(0,0,0,0.18);
    background: #fafafa;
    font-size: 16px;
    color: #111823;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}
.bm-kont-input:focus { border-color: #d82634; background: #fff; }
.bm-kont-textarea { resize: vertical; min-height: 160px; }

/* Hint block */
.bm-kont-hint {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    padding: 16px 20px;
    background: #f3f4f6;
    border-left: 4px solid #d82634;
}
.bm-kont-hint p { margin: 0 0 4px; }
.bm-kont-hint p:last-child { margin: 0; }
.bm-kont-hint a { color: #d82634; text-decoration: none; }
.bm-kont-hint a:hover { text-decoration: underline; }
.bm-kont-hint-types { font-style: italic; }

/* Captcha */
.bm-kont-captcha-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.bm-kont-input--captcha { max-width: 200px; }
.bm-kont-captcha-img {
    height: 44px;
    cursor: pointer;
    border: 1px solid rgba(0,0,0,0.12);
}

/* Actions */
.bm-kont-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.bm-kont-actions button.bm-button-primary{
    color: #fff;
    cursor: pointer;
}
.bm-kont-actions button.bm-button-ghost{
    color: #0f141a;
    cursor: pointer;
}

/* ── Article card grid ── */
.bm-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    margin-top: 48px;
}
.bm-article-card {
    border: 1px solid rgba(0, 0, 0, 0.10);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color 0.2s;
    background-color: #fff;
}
.bm-article-card:hover {
    border-color: rgba(216, 38, 52, 0.4);
}
.bm-article-card-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #6b7280;
    font-family: var(--bm-font-display);
}
.bm-article-card-meta span{
    font-weight: bold;
    font-size: 1.5em;
}
.bm-article-card-title {
    font-family: var(--bm-font-display);
    font-size: 28px;
    font-weight: 600;
    color: #111823;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.bm-article-card-desc {
    font-size: 16px;
    line-height: 1.75;
    color: #4a5568;
    flex: 1;
}
.bm-article-card-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #d82634;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    align-self: flex-start;
}
.bm-article-card-link::after {
    content: '→';
    transition: transform 0.2s;
}
.bm-article-card-link:hover::after {
    transform: translateX(4px);
}
.bm-article-card-link:hover {
    color: #111823;
}

/* ── Pagination ── */
.bm-insights .bm-ins-section .bm-kicker {
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    line-height: 1.2;
}
.bm-ins-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 56px 0 0;
}
.bm-ins-pagination a {
    padding: 6px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    color: #4a5563;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s;
}
.bm-ins-pagination a:hover,
.bm-ins-pagination a.cur {
    background: #d82634;
    border-color: #d82634;
    color: #fff;
}

/* ── CTA block（深色）── */
.bm-ins-cta {
    background: #0c1016;
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}
.bm-ins-cta::before {
    content: "";
    position: absolute;
    top: 0%;
    right: -45%;
    width: 100%;
    height: 200px;
    background: #232323;
    transform: translateY(100%) rotate(-60deg);
    pointer-events: none;
    z-index: 0;
}
.bm-ins-cta::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 77%;
    height: 10%;
    background: #fff;
    clip-path: polygon(0% 100%, 0 0, 100% 0%);
    z-index: 0;
    pointer-events: none;
}
.bm-ins-cta-inner {
    padding: 0 max(20px, calc((100vw - 1240px) / 2 + 20px));
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.bm-ins-cta .bm-title {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 44px);
    margin-top: 18px;
}
.bm-ins-cta-body {
    color: var(--bm-muted);
    font-size: 19px;
    line-height: 1.75;
    margin-top: 24px;
}
.bm-ins-cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}
.bm-ins-cta-actions a{
    color: #fff;
}
/* ── Single article body ── */
.bm-article-layout {
    max-width: none;
    margin: 0;
}
.bm-article-date {
    letter-spacing: 0.1em;
    background: #f6f7f9;
    border-color: rgba(15, 20, 26, 0.2);
    color: #4a5563;
    margin: 0;
    line-height: 1.5;
}
.bm-article-img{
    width: 100%;
    text-align: center;
}
.bm-article-ico {
    max-width: 100%;
    width: auto;
    max-height: 480px;
    margin: 0 auto;
    display: block;
}
.bm-article-img:has(img[src$="nopic.png"]) {
    display: none;
}
.bm-article-ico[src=""],
.bm-article-img:has(img[src=""]) {
    display: none;
}
.bm-article-body {
    max-width: none;
    font-size: 18px;
    line-height: 1.9;
    color: #2d3748;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 6px solid rgba(15, 20, 26, 0.16);
    position: relative;
    text-align: left;
    background: #fff;
}
.bm-article-body::before{
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: -6px;
    width: 2%;
    height: 6px;
    background-color: #232323;
    pointer-events: none;
}
.bm-article-body::after{
    content: "";
    display: block;
    position: absolute;
    left: 2%;
    top: -6px;
    width: 20%;
    height: 6px;
    background-color: #d82634;
    pointer-events: none;
}
.bm-article-body p {
    margin: 0 0 24px;
    max-width: none;
}
.bm-article-body hr {
    display: block;
    width: 100%;
    max-width: none;
    height: 1px;
    margin: 48px 0 24px;
    border: 0;
    background: rgba(15, 20, 26, 0.16);
}
.bm-article-figure {
    margin: 34px 0 44px;
}
.bm-article-figure img,
.bm-article-body img {
    display: block;
    max-width: 100%;
    height: auto;
}
.bm-article-figure img {
    width: min(680px, 100%);
}
.bm-article-body h1 {
    max-width: none;
    color: #111823;
    font-family: var(--bm-font-display);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: 0;
    margin: 0 0 44px;
}
.bm-article-body h2 {
    color: #111823;
    font-size: clamp(24px, 2.5vw, 34px);
    line-height: 1.25;
    margin: 0 0 22px;
    font-family: var(--bm-font-display);
    font-weight: 600;
    letter-spacing: 0;
}
.bm-article-body h1 + h2,
.bm-article-body h2:first-child {
    margin-top: 0;
}
.bm-article-body h3 {
    color: #111823;
    font-size: clamp(18px, 2vw, 24px);
    margin: 36px 0 14px;
}
.bm-article-body ul,
.bm-article-body ol {
    list-style: none;
    max-width: none;
    padding: 0;
    margin: 4px 0 32px;
}
.bm-article-body li {
    position: relative;
    margin-bottom: 12px;
    padding: 11px 16px 11px 42px;
    color: #243040;
    background: #f6f7f9;
    border-left: 4px solid #d82634;
    line-height: 1.55;
}
.bm-article-body li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 1.35em;
    width: 7px;
    height: 7px;
    background: #d82634;
}
.bm-article-nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    margin-top: 64px;
}
.bm-article-nav a {
    color: #d82634;
    font-size: 15px;
    text-decoration: none;
    max-width: 45%;
}
.bm-article-nav a:hover {
    color: #111823;
}
.bm-article-nav-prev { text-align: left; }
.bm-article-nav-next { text-align: right; margin-left: auto; }

/* ── bm-ins-section--intro 左側裝飾三角（仿 section-reliability，鏡射至左邊）── */
.bm-ins-section--intro {
    overflow: hidden;
    position: relative;
    background-image: url(../images/news_bg.webp);
    background-repeat: no-repeat;
    background-size: 25% 100%;
    background-position: center right; 
}
.bm-ins-section--intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 10%;
    height: 100%;
    background: #232323;
    clip-path: polygon(0 0, 100% 0, 0 60%);
    z-index: 0;
    pointer-events: none;
}
.bm-ins-section--intro::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 6%;
    height: 100%;
    background: #d82634;
    clip-path: polygon(0 100%, 100% 100%, 0 5%);
    z-index: 0;
    pointer-events: none;
}

/* bm-ins-section--intro 內的 grid：左小右大 */
.bm-ins-section--intro .bm-ins-intro-grid {
    grid-template-columns: 1fr 1fr;
}
section.bm-ins-section.bm-ins-section--articles {
    background: #f6f7f9;
    position: relative;
}
/* bm-article-card-desc：最多顯示 5 行 */
.bm-article-card-desc {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 8.75em;
}
.bm-insights .bm-ins-cta::after {
   display: none;
}
/* ── Responsive ── */
@media (max-width: 1450px) {
    .bm-ins-section--intro {
        padding-left: 6%;
        padding-right: 6%;
    }
}
@media (max-width: 768px) {
    .bm-ins-section--intro .bm-ins-intro-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
    .bm-ins-list li{
        font-size: 15px;
        padding: 7px 10px;
        border-left: 15px solid #d82634;
    }
    .bm-ins-intro-media {
        margin-top: 24px;
        padding: 8px 8px 0 0;
    }
    .bm-ins-section--intro .bm-ins-intro-grid > div:first-child .bm-ins-intro-media {
        margin-top: 24px;
        margin-bottom: 28px;
    }
    .bm-ins-intro-media::before {
        width: calc(100% - 12px);
        height: calc(100% - 12px);
    }
    .bm-ins-intro-media::after {
        right: 12px;
        bottom: -12px;
        height: 12px;
    }
    .bm-ins-section.bm-ins-section--intro {
        padding: 40px 20px 40px 5%;
    }
    .bm-ins-section--intro::before {
        width: 5%;
        clip-path: polygon(0 0, 100% 0, 0 30%);
    }
    .bm-ins-section--intro::after {
        width: 4%;
        clip-path: polygon(0 100%, 100% 100%, 0 15%);
    }
    .bm-article-card-title {
        font-size: 18px;
    }
    .bm-article-card-desc {
        font-size: 14px;
        margin: 0;
    }
    .bm-article-card {
        padding: 20px 10px;
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .bm-article-card-meta{
        margin: 0;
    }
    .bm-article-card-title,
    .bm-article-card-desc,
    .bm-article-card-link {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .bm-article-card-link {
        margin-top: 0px;
    }
    .bm-article-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 18px;
    }
    .bm-ins-cta-inner {
        padding: 0 20px;
    }
    .bm-ins-cta::before {
        top: 60%;
        right: -80%;
        width: 150%;
        height: 70px;
    }
    .bm-ins-cta {
        padding: 40px 0;
    }
    .bm-ins-cta-body {
        font-size: 16px;
    }
    .bm-ins-pagination a {
        padding: 3px 7px;
        font-size: 12px;
    }
    .bm-article-layout,
    .bm-article-body,
    .bm-article-body h1,
    .bm-article-body h2,
    .bm-article-body p,
    .bm-article-body ul,
    .bm-article-body ol {
        max-width: 100%;
    }
    .bm-article-body {
        margin-top: 28px;
        padding-top: 30px;
        font-size: 16px;
        line-height: 1.75;
    }
    .bm-article-body h1 {
        font-size: 30px;
        line-height: 1.18;
        margin-bottom: 28px;
    }
    .bm-article-body h2 {
        font-size: 23px;
        margin: 44px 0 16px;
        padding-top: 22px;
    }
    .bm-article-body p {
        margin-bottom: 18px;
    }
    .bm-article-body hr {
        margin: 34px 0 18px;
    }
    .bm-article-body li {
        padding: 10px 12px 10px 34px;
        margin-bottom: 10px;
    }
    .bm-article-body li::before {
        left: 15px;
        width: 6px;
        height: 6px;
    }
    .bm-article-nav{display: none;}
}


/* ============================================================
   SHARED — Responsive
   ============================================================ */

@media (max-width: 1600px) {
    .bm-shell {
        box-sizing: border-box;
    }
}

@media (max-width: 900px) {
    .bm-eng-hero,
    .bm-anw-hero,
    .bm-fert-hero,
    .bm-proz-hero,
    .bm-ins-hero {
        grid-template-columns: 1fr;
    }
    .bm-eng-hero-copy,
    .bm-anw-hero-copy,
    .bm-fert-hero-copy, 
    .bm-proz-hero-copy,
    .bm-ins-hero-copy {
        padding: 60px 0 40px;
    }
    .bm-eng-hero-img,
    .bm-anw-hero-img,
    .bm-fert-hero-img,
    .bm-proz-hero-img,
    .bm-ins-hero-img {
        height: 300px;
    }
    .bm-eng-grid,
    .bm-anw-grid,
    .bm-fert-grid,
    .bm-anw-intro-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
    }
    .bm-engineering, .bm-anwendungen, .bm-fertigung, .bm-prozess, .bm-insights, .bm-kontakt {
        margin-top: 60px;
    }
    .bm-eng-hero-copy, .bm-anw-hero-copy, .bm-fert-hero-copy, .bm-proz-hero-copy, .bm-ins-hero-copy, .bm-ins-article-hero-copy, .bm-kont-hero-copy {
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }
    .bm-eng-hero, .bm-anw-hero, .bm-fert-hero, .bm-proz-hero, .bm-ins-hero, .bm-ins-article-hero, .bm-ins-hero-copy, .bm-kont-hero {
        min-height: auto;
        padding: 20px 0;
        background-position: bottom right;
        background-size: 100%;
    }
    .bm-eng-hero-copy, .bm-anw-hero-copy, .bm-fert-hero-copy, .bm-kont-hero-copy {
        padding: 20px 0 20px;
    }
    .bm-eng-section, .bm-fert-section, .bm-proz-section, .bm-ins-section, .bm-kont-section {
        padding: 40px 0;
    }
    .bm-eng-lead, .bm-anw-lead, .bm-fert-lead, .bm-proz-lead, .bm-ins, .bm-kont-lead {
        font-size: 16px;
    }
    .bm-copy, .bm-copy p {
        font-size: 16px;
    }
    .bm-kicker {
        padding: 2px 16px;
        letter-spacing: 0.08em;
    }
    .bm-button, .bm-button:link, .bm-button:visited {
        min-height: 40px;
    }
    /* Contact */
    .bm-kont-hero {
        padding: 20px 20px;
        box-sizing: border-box;
        background-size: cover;
    }
    .bm-kont-hero-copy {
        max-width: 100%;
        margin-left: 0;
    }
    .bm-kont-intro-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .bm-kont-emphasis {
        margin-top: 24px;
        padding: 20px 20px 20px 24px;
        font-size: 20px;
        clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
    }
    .bm-kont-section--technical::before {
        width: 80%;
        opacity: 0.65;
    }
    .bm-kont-tech-grid,
    .bm-kont-projects {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .bm-kontakt .bm-kont-tech-list,
    .bm-kontakt .bm-kont-project-list {
        grid-template-columns: 1fr;
        margin-top: 22px;
    }
    .bm-kont-projects {
        margin-top: 48px;
        padding: 28px 20px;
        clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
    }
    .bm-kontakt .bm-kont-project-list {
        margin-top: 0;
    }
    .bm-kontakt .bm-kont-tech-list li,
    .bm-kontakt .bm-kont-project-list li {
        min-height: 0;
        padding: 12px 12px 12px 56px;
        font-size: 15px;
    }
    .bm-kont-tech-media {
        padding: 8px 0 0 8px;
    }
    .bm-kont-tech-media::before {
        width: calc(100% - 10px);
        height: calc(100% - 10px);
    }
    .bm-kont-tech-media::after {
        left: -6px;
        bottom: -8px;
        height: 14px;
    }
    .bm-kont-info-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .bm-kont-form-row {
        grid-template-columns: 1fr;
    }
    .bm-kont-section--form {
        background-size: 40% 100%;
        background-position: right -5vw bottom;
    }
    .bm-ins-lead {
        font-size: 16px;
    }
}
