/* Black Ram – site styles. Shared by all pages. Fonts are served locally (no Google Fonts). */

/* Brand colours (Brand Guidelines Black Ram): Black #090E11, Cloud Dancer #F3F2EF, Excalibur #7A767B.
   Accent = Black (buttons, links, numbers, icons, highlight in the IT map); change only these lines. */
:root {
  --accent: #090E11;       /* main accent: Black */
  --accent-dark: #2B2F33;  /* hover */
  --accent-tint: #EAE8E4;  /* light background behind numbers and icons (Cloud Dancer, a shade darker) */
  --accent-glow: rgba(122,118,123,.75); /* glow around the highlighted part in the graphic (Excalibur) */
  --excalibur: #7A767B;    /* brand grey: lines and large text only (contrast on white < 4.5:1) */
  --surface-dark: #1E2327; /* large dark areas (hero, page heads, bands): softer than Black */
}

/* ---------- Fonts (Roboto, Apache License 2.0, see assets/fonts/LICENSE-Roboto.txt) ---------- */
@font-face { font-family: Roboto; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto-regular.woff) format("woff"); }
@font-face { font-family: Roboto; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/roboto-italic.woff) format("woff"); }
@font-face { font-family: Roboto; font-style: normal; font-weight: 900; font-display: swap; src: url(/assets/fonts/roboto-black.woff) format("woff"); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #F8F7F5; color: #090E11; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.bt, .bt p, .bt a, .bt span, .bt li, .bt button { font-family: Roboto, system-ui, sans-serif; }
.bt h1, .bt h2, .bt h3, .bt h4 { font-family: Roboto, system-ui, sans-serif; padding: 0; margin: 0; }
.bt p { padding: 0; margin: 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
section { scroll-margin-top: 140px; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; color: #090E11; padding: 12px 18px; border-radius: 0 0 12px 0; }
.skip:focus { left: 0; }

/* ---------- Shared components ---------- */
.bt .bt-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #57545A; margin-bottom: 14px; }
.bt .bt-eyebrow.on-dark { color: #A9A5AA; }
.bt .bt-eyebrow.on-blue { color: #A9A5AA; }
.bt .bt-pill { color: #A9A5AA; border: 1px solid rgba(169,165,170,.45); padding: 8px 14px; border-radius: 999px; margin-bottom: 28px; }
.bt .bt-h1 { font-size: 64px; line-height: 1.04; font-weight: 700; letter-spacing: -.02em; color: #fff; margin-bottom: 26px; }
.bt .bt-h1 span { color: #8E8A8F; } /* Excalibur, slightly lighter for contrast on the dark surface (4.5:1) */
.bt .bt-lead { font-size: 19px; line-height: 1.6; color: #DEDCD8; max-width: 560px; }
.bt .bt-h2 { font-size: 44px; line-height: 1.1; letter-spacing: -.01em; color: #090E11; }
.bt .bt-h2.light { color: #fff; }
.bt .bt-h2.small { font-size: 38px; }
.bt .bt-muted { font-size: 16px; line-height: 1.6; color: #57545A; }
.bt .bt-intro { font-size: 17px; line-height: 1.6; color: #57545A; margin: 14px 0 40px; max-width: 720px; }
.bt .bt-intro.on-dark { color: #DEDCD8; margin-bottom: 0; max-width: 640px; }
.bt .bt-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.bt .bt-btn { display: inline-block; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; transition: opacity .2s; }
.bt .bt-btn:hover { opacity: .85; }
.bt .bt-btn-primary { background: var(--accent); color: #fff; }
.bt .bt-btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.bt .bt-btn-white { background: #fff; color: #090E11; }
.bt .bt-btn-navy { background: #090E11; color: #fff; }
.hero .bt-btn-primary { background: #fff; color: #090E11; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #F3F2EF; border-bottom: 3px solid #090E11; color: #090E11; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 14px; color: #090E11; text-decoration: none; }
.brand-logo { height: 68px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; font-weight: 500; }
.nav a { color: #090E11; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: #090E11; }
.nav .nav-cta { background: var(--accent); color: #fff; padding: 11px 20px; border-radius: 999px; font-weight: 600; }
.nav .nav-cta:hover { color: #fff; background: var(--accent-dark); }
.menu-btn { display: none; background: none; border: 1px solid rgba(9,14,17,.4); color: #090E11; border-radius: 10px; width: 46px; height: 46px; cursor: pointer; }

/* ---------- Home: hero, benefits, offer ---------- */
.hero { background: var(--surface-dark); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero-media { position: relative; }
.bt-heroimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 24px; }
.bt .bt-badge { position: absolute; z-index: 2; left: -24px; bottom: 28px; margin: 0; display: inline-flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 16px; padding: 18px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.bt .bt-badge strong { font-family: Roboto, system-ui, sans-serif; font-size: 26px; color: #090E11; }
.bt .bt-badge span { font-size: 14px; color: #57545A; }
.benefits { background: #fff; border-bottom: 1px solid #E3E1DD; }
.benefits .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 40px; padding-bottom: 40px; }
.bt .bt-benefit { display: flex; gap: 14px; align-items: flex-start; }
.bt .bt-ico { color: var(--accent); flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-tint); display: flex; align-items: center; justify-content: center; }
.bt .bt-b-t { font-weight: 600; font-size: 16px; color: #090E11; }
.bt .bt-b-d { font-size: 14px; color: #57545A; line-height: 1.5; margin-top: 4px; }
.leist-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; padding-top: 112px; margin-bottom: 48px; }
.leist-head > div { max-width: 640px; }
.leist-head p { max-width: 380px; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 20px; }
.bt .bt-card { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 280px; background: #fff; border: 1px solid #E3E1DD; border-radius: 20px; padding: 28px; text-decoration: none; transition: box-shadow .2s, transform .2s; }
.bt .bt-card:hover { box-shadow: 0 16px 40px rgba(9,14,17,.1); transform: translateY(-2px); }
.bt .bt-num { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: Roboto, system-ui, sans-serif; font-weight: 700; font-size: 18px; }
.bt .bt-card h3 { font-size: 22px; line-height: 1.2; color: #090E11; }
.bt .bt-card p { font-size: 15px; line-height: 1.6; color: #57545A; flex-grow: 1; }
.bt .bt-more { font-size: 15px; font-weight: 600; color: var(--accent); }
.bt-card h3, .bt-pbtn { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
.bt .bt-chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: #fff; border: 1px solid #E3E1DD; border-radius: 20px; padding: 24px 28px; }
.bt .bt-chips strong { font-size: 15px; color: #090E11; margin-right: 8px; }
.bt .bt-chips span, .bt .bt-chips a { background: #F1EFEC; border-radius: 999px; padding: 8px 16px; font-size: 14px; color: #2B2D31; text-decoration: none; }
.bt .bt-chips a:hover { background: var(--accent-tint); color: var(--accent); }

/* ---------- Home: interactive building section (.bt-haus) ---------- */
.haus-wrap { padding-top: 112px; padding-bottom: 112px; }
.bt-haus .bh-grid { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.bt-haus .bh-svgbox { flex: 3 1 520px; min-width: 0; align-self: center; border: 2px solid var(--accent); border-radius: 24px; overflow: hidden; box-shadow: 0 12px 32px rgba(9,14,17,.08); }
.bt-haus svg { display: block; width: 100%; height: auto; }
.bt-haus .bh-side { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.bt-haus .bh-panel { display: grid; background: var(--surface-dark); color: #fff; border-radius: 24px; padding: 28px; }
.bt-haus .bh-state { grid-area: 1 / 1; visibility: hidden; opacity: 0; transition: opacity .25s; display: flex; flex-direction: column; }
.bt-haus .bh-state.on { visibility: visible; opacity: 1; }
.bt-haus .bh-n { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A9A5AA; }
.bt-haus .bh-t { font-family: Roboto, system-ui, sans-serif; font-size: 26px; line-height: 1.2; color: #fff; margin: 10px 0 12px; padding: 0; }
.bt-haus .bh-d { font-size: 15px; line-height: 1.6; color: #DEDCD8; padding: 0; margin: 0; }
.bt-haus .bh-l { margin-top: auto; padding-top: 16px; font-size: 15px; font-weight: 600; color: #A9A5AA; text-decoration: none; }
.bt-haus .bh-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bt-haus .bt-pbtn { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 14px; background: #fff; color: #090E11; border: 1px solid #E3E1DD; font: 500 14px Roboto, system-ui, sans-serif; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.bt-haus .bt-pbtn:hover { border-color: #BDB9BD; }
.bt-haus .bt-pbtn span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #090E11; border: 2px solid #090E11; }
.bt-haus .bt-pbtn.on { background: var(--accent-tint); border-color: var(--accent); }
.bt-haus .bt-pbtn.on span { background: var(--accent); border-color: var(--accent); color: #fff; }
.bt-haus .btp, .bt-haus .btm { cursor: pointer; transition: opacity .25s; }
.bt-haus .btp.dim { opacity: .25; }
.bt-haus .btp.on .f { fill: var(--accent); }
.bt-haus .btp.on .s { stroke: var(--accent); }
.bt-haus .btp.on { filter: drop-shadow(0 0 6px var(--accent-glow)); }
.bt-haus .btm circle { fill: #fff; stroke: #090E11; stroke-width: 2; transition: fill .2s; }
.bt-haus .btm text { fill: #090E11; font-family: Roboto, system-ui, sans-serif; }
.bt-haus .btm:hover circle { fill: var(--accent-tint); }
.bt-haus .btm.on circle { fill: var(--accent); stroke: var(--accent); }
.bt-haus .btm.on text { fill: #fff; }
.bt-haus .bh-lbl { font-family: Roboto, system-ui, sans-serif; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; fill: #6B676C; }

/* ---------- Home: flood protection ---------- */
.hws { padding-top: 112px; }
/* full-width band; content lines up with .wrap (1240px, 32px padding); photo at most 500px (its native width) */
.hws-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 500px); gap: 56px; align-items: center; background: var(--surface-dark); padding: 88px max(32px, calc((100vw - 1240px) / 2 + 32px)); }
.bt .bt-hws-text p { font-size: 17px; line-height: 1.6; color: #DEDCD8; margin-top: 18px; }
.hws-img { max-width: 500px; }
.hws-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }

/* ---------- Home: regions (.bt-reg) ---------- */
.regions { background: var(--surface-dark); }
.regions .wrap { padding-top: 112px; padding-bottom: 112px; }
.bt-reg { color: #fff; }
.br-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.br-card { background: #fff; color: #090E11; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 16px 40px rgba(0,0,0,.18); }
.br-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; background: #F3F2EF; }
.br-card .bc-body { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; flex-grow: 1; padding: 22px 24px 26px; font-size: 15px; line-height: 1.55; color: #57545A; }
.bt .bc-region { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #090E11; }
.bt .br-card h3 { font-size: 22px; line-height: 1.2; color: #090E11; margin-top: 8px; }
.bt .br-card .bc-role { color: #57545A; }
.br-card address { font-style: normal; margin: 12px 0; }
.bt .br-card a { color: #090E11; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; }
.bt .br-card a:hover { color: #090E11; }
.bt .br-card .bc-more { margin-top: auto; padding-top: 16px; color: var(--accent); font-weight: 600; }
.br-hq { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; background: #2C3237; border-radius: 24px; padding: 28px 32px; }
.bt .br-hq-k { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A9A5AA; }
.bt .br-hq-t { font-family: Roboto, system-ui, sans-serif; font-size: 24px; font-weight: 700; color: #fff; margin-top: 4px; }
.br-hq-links { display: flex; flex-wrap: wrap; gap: 12px; }
.bt .br-hq-links a { padding: 12px 22px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); color: #fff; font-weight: 600; text-decoration: none; }
.bt .br-hq-links a:hover { background: rgba(255,255,255,.1); }

/* ---------- Home: jobs teaser ---------- */
.jobs .wrap { padding-top: 96px; padding-bottom: 96px; }
.bt .bt-job { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; background: #fff; border: 1px solid #E3E1DD; border-radius: 28px; padding: 52px; }
.bt .bt-job > div { max-width: 640px; }
.bt .bt-job .bt-muted { font-size: 17px; margin-top: 12px; }

/* ---------- Sub pages ---------- */
.page-head { background: var(--surface-dark); color: #fff; }
.page-head .wrap { padding-top: 72px; padding-bottom: 72px; }
.bt .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #C9C6C2; margin-bottom: 18px; }
.bt .crumbs a { color: #C9C6C2; text-decoration: none; }
.bt .crumbs a:hover { color: #fff; }
.bt .page-title { font-size: 52px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; color: #fff; max-width: 900px; }
.bt .page-lead { font-size: 18px; line-height: 1.6; color: #DEDCD8; max-width: 760px; margin-top: 20px; }
.page-body .wrap { padding-top: 72px; padding-bottom: 96px; }
.page-body .wrap > * + * { margin-top: 56px; }

.bt .prose { max-width: 780px; }
.bt .prose h2 { font-size: 30px; line-height: 1.2; color: #090E11; margin: 40px 0 14px; }
.bt .prose h2:first-child { margin-top: 0; }
.bt .prose h3 { font-size: 21px; line-height: 1.3; color: #090E11; margin: 28px 0 10px; }
.bt .prose p, .bt .prose li { font-size: 16px; line-height: 1.7; color: #33353A; }
.bt .prose p + p { margin-top: 14px; }
.bt .prose ul { margin: 12px 0 0; padding-left: 22px; }
.bt .prose li + li { margin-top: 6px; }
.bt .prose a { color: var(--accent); }
.bt .prose address { font-style: normal; font-size: 16px; line-height: 1.7; color: #33353A; }
.bt .prose .stand { margin-top: 40px; font-size: 14px; color: #6B676C; }
.bt mark.todo { background: #FFE8A3; color: #5C4200; padding: 2px 6px; border-radius: 6px; }

.topic { background: #fff; border: 1px solid #E3E1DD; border-radius: 28px; padding: 44px; }
.topic + .topic { margin-top: 24px; }
.bt .topic h2 { font-size: 30px; line-height: 1.2; color: #090E11; margin-bottom: 18px; }
.bt .topic .prose p { max-width: 780px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.gallery a { display: block; border-radius: 16px; overflow: hidden; background: #E3E1DD; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s; }
.gallery a:hover img { transform: scale(1.03); }

.files { display: grid; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.bt .file { display: flex; align-items: center; gap: 14px; background: #F8F7F5; border: 1px solid #E3E1DD; border-radius: 16px; padding: 14px 18px; text-decoration: none; color: #090E11; font-size: 15px; font-weight: 500; line-height: 1.4; transition: border-color .2s, background .2s; }
.bt .file:hover { border-color: var(--accent); background: #fff; }
.bt .file .ext { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: #090E11; border-radius: 8px; padding: 6px 8px; }
.bt .file .size { margin-left: auto; flex: none; font-size: 13px; color: #6B676C; }
.bt .group-title { font-size: 26px; color: #090E11; margin-bottom: 4px; }

.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.topic-grid .bt-card { min-height: 0; padding: 0; overflow: hidden; gap: 0; }
.topic-grid .bt-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.topic-grid .bt-card .tc-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 26px 26px; flex-grow: 1; }

.team-group + .team-group { margin-top: 56px; }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.person { background: #fff; border: 1px solid #E3E1DD; border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #E3E1DD; }
.person .p-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: #57545A; }
.bt .person h3 { font-size: 19px; color: #090E11; }
.bt .person .role { color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.bt .person a { color: #090E11; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.bt .person a:hover { color: var(--accent); }

.job-card { background: #fff; border: 1px solid #E3E1DD; border-radius: 28px; padding: 44px; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
.job-card + .job-card { margin-top: 24px; }
.bt .job-card h2 { font-size: 28px; line-height: 1.2; color: #090E11; margin-bottom: 8px; }
.bt .job-card h3 { font-family: Roboto, system-ui, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 22px 0 6px; }
.bt .job-card p { font-size: 16px; line-height: 1.65; color: #33353A; }
.job-contact { background: #F8F7F5; border-radius: 20px; padding: 28px; align-self: start; font-size: 15px; line-height: 1.6; color: #33353A; }
.bt .job-contact a { color: var(--accent); font-weight: 600; text-decoration: none; }

.region { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; align-items: start; }
.region-contact { background: #fff; border: 1px solid #E3E1DD; border-radius: 24px; overflow: hidden; }
.region-contact img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.region-contact .rc-body { padding: 24px 26px 28px; font-size: 15px; line-height: 1.6; color: #57545A; }
.bt .region-contact h2 { font-size: 22px; color: #090E11; margin-bottom: 2px; }
.bt .region-contact a { color: var(--accent); font-weight: 600; text-decoration: none; }
.services { background: #fff; border: 1px solid #E3E1DD; border-radius: 24px; padding: 36px 40px; }
.bt .services h2 { font-size: 28px; color: #090E11; margin-bottom: 20px; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-list > li { border-bottom: 1px solid #EFEDEA; padding-bottom: 10px; font-size: 16px; font-weight: 600; color: #090E11; }
.service-list > li:last-child { border-bottom: 0; padding-bottom: 0; }
.bt .service-list a { color: #090E11; text-decoration: none; }
.bt .service-list a:hover { color: var(--accent); }
.service-list ul { margin: 6px 0 0; padding-left: 20px; }
.service-list ul li { font-size: 15px; font-weight: 400; color: #57545A; line-height: 1.6; }
.region-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.bt .region-nav a { padding: 10px 20px; border-radius: 999px; border: 1px solid #D8D5D0; color: #090E11; text-decoration: none; font-size: 15px; font-weight: 600; background: #fff; }
.bt .region-nav a[aria-current="page"] { background: #090E11; border-color: #090E11; color: #fff; }

.cta-band { background: var(--surface-dark); border-radius: 28px; padding: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.bt .cta-band h2 { font-size: 30px; line-height: 1.2; color: #fff; }
.bt .cta-band p { color: #DEDCD8; margin-top: 8px; font-size: 16px; line-height: 1.6; }
.bt .cta-band .bt-btns { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #F3F2EF; border-top: 3px solid #090E11; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; padding-top: 48px; padding-bottom: 40px; font-size: 14px; line-height: 1.6; color: #57545A; }
.foot-brand { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot-logo { height: 48px; width: auto; }
.foot-brand strong { color: #090E11; }
.foot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.foot-copy { font-size: 13px; color: #6B676C; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; }
.site-footer a { color: #57545A; text-decoration: none; }
.site-footer a:hover { color: #090E11; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards, .benefits .wrap, .team-grid, .br-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topic-grid, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .brand-logo { height: 60px; }
  .bt .bt-h1 { font-size: 44px; } .bt .bt-h2 { font-size: 32px; } .bt .bt-h2.small { font-size: 30px; } .bt .page-title { font-size: 38px; }
  .bt .bt-badge { left: 12px; bottom: 12px; }
  .bt .bt-job, .topic, .job-card, .cta-band { padding: 32px; }
  .bt .bt-card { min-height: 0; }
  .job-card, .region { grid-template-columns: minmax(0, 1fr); }
  .region-contact { display: grid; grid-template-columns: 160px minmax(0, 1fr); }
  .region-contact img { height: 100%; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #F3F2EF; border-bottom: 3px solid #090E11; padding: 8px 24px 24px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(9,14,17,.15); }
  .nav .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .site-header.open .nav { display: flex; }
  .hero .wrap, .hws-box { grid-template-columns: minmax(0, 1fr); }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; gap: 40px; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hws-box { gap: 32px; padding: 56px 20px; }
  .hws { padding-top: 72px; }
  .page-head .wrap { padding-top: 48px; padding-bottom: 48px; }
  .page-body .wrap { padding-top: 48px; padding-bottom: 72px; }
}
@media (max-width: 700px) { .foot-meta { align-items: flex-start; } }
@media (max-width: 560px) {
  .cards, .benefits .wrap, .topic-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .bt-haus .bh-list { grid-template-columns: minmax(0, 1fr); }
  .region-contact { grid-template-columns: minmax(0, 1fr); }
  .br-cards { grid-template-columns: minmax(0, 1fr); }
  .br-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); }
  .br-card img { height: 100%; aspect-ratio: auto; }
  .br-card .bc-body { padding: 18px 20px 20px; }
  .bt .file .size { display: none; }
}
@media (max-width: 480px) { .brand-logo { height: 50px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Black Ram additions ---------- */
/* IT map: labels inside highlighted parts turn light */
.bt-haus .btp .t { font-family: Roboto, system-ui, sans-serif; font-size: 10.5px; font-weight: 900; letter-spacing: .1em; fill: #57545A; transition: fill .2s; }
.bt-haus .btp.on .t { fill: #fff; }
/* square photo in the focus band */
.hws-img.square img { aspect-ratio: 1; }
/* hero: brand claim below the buttons */
.bt .hero-claim { font-size: 13px; font-weight: 900; letter-spacing: .3em; text-transform: uppercase; color: #A9A5AA; margin-top: 40px; }

/* contact cards (home, one location) */
.ct-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.ct-card { background: #fff; color: #090E11; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; color: #57545A; box-shadow: 0 16px 40px rgba(0,0,0,.25); }
.ct-card .bt-ico { margin-bottom: 10px; }
.bt .ct-card h3 { font-size: 20px; line-height: 1.2; color: #090E11; }
.ct-card address { font-style: normal; }
.bt .ct-card a { color: #090E11; font-weight: 900; text-decoration: none; overflow-wrap: anywhere; }
.bt .ct-card a:hover { text-decoration: underline; }

/* process steps (offer page) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { background: #fff; border: 1px solid #E3E1DD; border-radius: 20px; padding: 28px; font-size: 15px; line-height: 1.6; color: #57545A; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); font-weight: 900; font-size: 18px; margin-bottom: 16px; }
.bt .steps h3 { font-size: 20px; line-height: 1.25; color: #090E11; margin-bottom: 8px; }
.section-title { margin-bottom: 24px; }

/* technology list on detail pages */
.tech { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tech .topic { padding: 36px; }
.tech .topic + .topic { margin-top: 0; }
.bt .tech .topic h2 { font-size: 26px; }

@media (max-width: 1080px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .ct-cards, .tech { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* home: "So arbeiten wir" below the offer cards (one-pager) */
.offer-steps { margin-top: 72px; }

/* home: coffee invitation below the contact section, cut-out mug with animated steam (CSS only) */
/* desktop: the photo stands flush with the bottom of the buttons and reaches 150px above the text;
   it is absolutely positioned so that the text alone defines the row height */
.coffee-box { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: end; padding-top: 208px; padding-bottom: 104px; }
.coffee-media { position: relative; align-self: stretch; min-height: 280px; }
.coffee-photo { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); height: calc(100% + 150px); width: auto; aspect-ratio: 840 / 1020; border-radius: 24px; overflow: hidden; box-shadow: 0 20px 50px rgba(9,14,17,.18); }
.coffee-photo img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
/* in the photo the mug body spans 30%–80% of the width and its rim lies at 25.6% of the height;
   the steam covers 10%–90% of the body (35%–75%) and rises from the rim */
.steam { position: absolute; z-index: 2; bottom: calc(74.4% - 4px); left: 35%; width: 40.4%; height: auto; overflow: visible; pointer-events: none; }
/* soft haze only: each veil has its own pace, size and drift (custom properties), drifting up and slightly right */
.steam path { fill: none; stroke: url(#steamFade); stroke-linecap: round; transform-box: fill-box; transform-origin: 30% 100%; opacity: 0; animation: steam-haze 16s cubic-bezier(.37, 0, .3, 1) infinite; }
.steam .v1 { stroke-width: 26; animation-duration: 14.5s; animation-delay: -2s;   --dx: 22px; --dy: -42px; --tilt: 5deg;  --peak: .5;  --grow: 1.3; }
.steam .v2 { stroke-width: 36; animation-duration: 18s;   animation-delay: -9.5s; --dx: 34px; --dy: -50px; --tilt: 8deg;  --peak: .42; --grow: 1.45; }
.steam .v3 { stroke-width: 30; animation-duration: 16s;   animation-delay: -5.5s; --dx: 16px; --dy: -38px; --tilt: 3deg;  --peak: .55; --grow: 1.25; }
.steam .v4 { stroke-width: 40; animation-duration: 20s;   animation-delay: -14s;  --dx: 40px; --dy: -46px; --tilt: 10deg; --peak: .38; --grow: 1.5; }
.steam .v5 { stroke-width: 24; animation-duration: 13.5s; animation-delay: -7s;   --dx: 26px; --dy: -34px; --tilt: 6deg;  --peak: .48; --grow: 1.3; }
.steam .v6 { stroke-width: 46; animation-duration: 22s;   animation-delay: -17s;  --dx: 30px; --dy: -30px; --tilt: 4deg;  --peak: .32; --grow: 1.6; }
@keyframes steam-haze {
  0%   { opacity: 0; transform: translate(0, 28px) rotate(0deg) scale(.75, .7); }
  30%  { opacity: var(--peak); }
  60%  { opacity: calc(var(--peak) * .7); transform: translate(calc(var(--dx) * .45), calc(var(--dy) * .3)) rotate(calc(var(--tilt) * .5)) scale(1, 1); }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--tilt)) scale(var(--grow), calc(var(--grow) * .9)); }
}
.bt .coffee-text .bt-muted { font-size: 17px; margin-top: 18px; max-width: 520px; }
.bt .coffee-addr { margin-top: 14px; font-size: 15px; font-weight: 900; color: #090E11; }
.bt .bt-btn-outline { border: 1px solid #BDB9BD; color: #090E11; }
.bt .bt-btn-outline:hover { border-color: #090E11; opacity: 1; }
@media (max-width: 900px) {
  .coffee-box { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 64px; padding-bottom: 72px; }
  .coffee-media { position: static; min-height: 0; max-width: 340px; width: 100%; margin: 0 auto; }
  .coffee-photo { position: relative; left: auto; transform: none; width: 100%; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .steam path { animation: none; opacity: .3; } }
