/* IsoProfil relaunch – WordPress theme (generated from the prototype by src/theme_assets.py).
   Every value mirrors the Elementor Site Settings on staging (kit #6) – see /build/global-settings.md.
   Desktop values read from staging, tablet/mobile type sizes read from staging CSS (post-8, post-282). */

/* Roboto, hosted with the theme (assets/fonts, licence in LICENSE.txt) instead of Google Fonts */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/roboto-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Global Colors (Elementor slot names in comments) */
  --c-primary: #001C31;        /* Primary */
  --c-secondary: #4CB4E7;      /* Secondary */
  --c-text: #757D80;           /* Text */
  --c-accent: #B2EC28;         /* Accent (staging: #B2EC28EE) */
  --c-accent-hover: #A3D330;   /* custom: CTA Hover */
  --c-dark: #001E2D;           /* custom: Navy Dark */
  --c-white: #FFFFFF;          /* custom: White */
  --c-tint: rgba(140, 163, 175, .2); /* custom: Tint #8CA3AF33 */
  --c-chip: #E8EDEF;           /* chip / list background (staging icon-list) */
  --c-border: #E8ECF2;
  --c-line: #8CA3AF;

  --ff: "Roboto", Arial, Helvetica, sans-serif;

  /* Layout */
  --container: 1280px;
  --pad-x: 10px;
  --sec-y: 80px;               /* staging: spacer 50 + gap 20 + padding 10 */
  --gap: 20px;
  --r-s: 5px;
  --r: 10px;
  --r-l: 20px;
  --shadow: 0 4px 21.5px -3px rgba(0, 0, 0, .14);

  /* Type scale – desktop */
  --fs-h1: 80px;  --lh-h1: 86px;
  --fs-h1p: 55px; --lh-h1p: 60px;
  --fs-h2: 50px;  --lh-h2: 55px;
  --fs-h2s: 45px; --lh-h2s: 55px;
  --fs-h3: 25px;  --lh-h3: 30px;
  --fs-h4: 24px;  --lh-h4: 30px;
  --fs-ib: 26px;
  --fs-stat: 65px;
  --fs-stat-l: 22px;
}

@media (max-width: 1024px) {
  :root {
    --pad-x: 20px; --sec-y: 64px;
    --fs-h1: 70px;  --lh-h1: 70px;
    --fs-h1p: 45px; --lh-h1p: 52px;
    --fs-h2: 39px;  --lh-h2: 45px;
    --fs-h2s: 36px; --lh-h2s: 44px;
    --fs-h3: 22px;  --lh-h3: 28px;
    --fs-h4: 22px;  --lh-h4: 28px;
    --fs-ib: 24px;
    --fs-stat: 55px; --fs-stat-l: 17px;
  }
}

@media (max-width: 767px) {
  :root {
    --sec-y: 50px;
    --fs-h1: 51px;  --lh-h1: 57px;
    --fs-h1p: 32px; --lh-h1p: 40px;
    --fs-h2: 32px;  --lh-h2: 40px;
    --fs-h2s: 28px; --lh-h2s: 36px;
    --fs-h4: 20px;  --lh-h4: 26px;
    --fs-ib: 22px;
    --fs-stat: 44px; --fs-stat-l: 16px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--ff);
  font-size: 16px;
  line-height: 22px;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; } /* staging: no underlined links (only the „Alle … anzeigen“ text button) */
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; padding: 10px 14px; border-radius: var(--r-s); background: var(--c-white); color: var(--c-primary); }
.skip:focus { left: 12px; }

.wrap { max-width: calc(var(--container) + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.sec { position: relative; padding-block: var(--sec-y); }
.stack { display: flex; flex-direction: column; gap: var(--gap); align-items: flex-start; }

.h1 { font-size: var(--fs-h1);  line-height: var(--lh-h1);  font-weight: 800; color: var(--c-primary); }
.h1p { font-size: var(--fs-h1p); line-height: var(--lh-h1p); font-weight: 800; color: var(--c-primary); }
.h2 { font-size: var(--fs-h2);  line-height: var(--lh-h2);  font-weight: 600; color: var(--c-primary); }
.h2s { font-size: var(--fs-h2s); line-height: var(--lh-h2s); font-weight: 600; color: var(--c-primary); }
.h3 { font-size: var(--fs-h3);  line-height: var(--lh-h3);  font-weight: 800; color: var(--c-primary); }
.h4 { font-size: var(--fs-h4);  line-height: var(--lh-h4);  font-weight: 800; color: var(--c-primary); }
.eyebrow { font-size: 16px; line-height: 22px; font-weight: 600; color: var(--c-secondary); }

.txt { font-size: 16px; line-height: 22px; color: var(--c-text); }
.txt p + p { margin-top: 14px; }
.txt a { color: var(--c-secondary); }
.txt a:hover { color: var(--c-primary); }
.txt strong { color: var(--c-primary); font-weight: 600; }
.bullets { font-weight: 600; line-height: 24px; color: var(--c-primary); }

.head-c { display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; margin-bottom: 40px; }
.head-c .txt { max-width: 600px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 15px 28px;
  border: 1px solid var(--c-accent); border-radius: var(--r-s);
  background: var(--c-accent); color: var(--c-primary);
  font: 700 16px/1.15 var(--ff); text-transform: uppercase; text-decoration: none; text-align: center;
  cursor: pointer; transition: background-color .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.btn--ghost { background: transparent; border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.btn--white { background: var(--c-white); border-color: var(--c-white); text-transform: none; }
.btn--white:hover { background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.btn--navy { min-height: 28px; padding: 6px 34px; font-size: 12px; background: var(--c-primary); border-color: var(--c-primary); color: var(--c-white); }
.btn--navy:hover { background: var(--c-dark); border-color: var(--c-dark); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 20px; }
.link { color: var(--c-secondary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--c-primary); }

.sq {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 48px; height: 48px; border: 0; border-radius: var(--r-s);
  background: var(--c-accent); color: var(--c-primary); cursor: pointer; text-decoration: none;
  transition: background-color .2s;
}
.sq:hover { background: var(--c-accent-hover); }
.sq svg { width: 22px; height: 22px; }

/* ---------- Header (global) ---------- */
.site-header { position: sticky; top: 0; z-index: 60; height: 0; display: flow-root; /* keeps the 18 px top margin of .hdr inside – without it the margin collapses and pushes the page down (white strip above the hero) */ }
.site-header > .wrap { position: relative; }
.hdr {
  position: relative; margin-top: 18px; min-height: 64px;
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 22px;
  background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow);
}
.hdr__logo { flex: none; }
.hdr__logo img { width: 215px; height: auto; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: center; gap: 4px; }
.nav__link { display: block; padding: 10px 10px; color: var(--c-primary); font-weight: 500; font-size: 16px; text-decoration: none; border-radius: var(--r-s); white-space: nowrap; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--c-secondary); }
.nav__plus { width: 26px; height: 26px; border: 0; border-radius: var(--r-s); background: var(--c-chip); color: var(--c-primary); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.nav__plus svg { width: 12px; height: 12px; transition: transform .2s; }
.nav__plus[aria-expanded="true"] svg { transform: rotate(45deg); }

.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 0; border-radius: var(--r-s); background: transparent; color: var(--c-primary); font-weight: 600; cursor: pointer; }
.lang__btn svg { width: 16px; height: 16px; }
.lang__menu { position: absolute; top: calc(100% + 12px); right: 0; min-width: 190px; padding: 8px; list-style: none; margin: 0; background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.lang__menu:not(.is-open) { display: none; }
.lang__menu li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: var(--r-s); color: var(--c-primary); font-weight: 500; }
.lang__menu li[aria-disabled="true"] { color: var(--c-text); opacity: .55; cursor: not-allowed; }
.lang__menu small { font-size: 12px; }
.hdr__cta { min-height: 48px; padding: 12px 26px; }
.hdr__burger { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: var(--r-s); background: var(--c-chip); color: var(--c-primary); align-items: center; justify-content: center; cursor: pointer; }
.hdr__burger svg { width: 24px; height: 24px; }

.mega, .drop, .mnav { background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.mega__col ul, .mnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.drop a, .mnav a { display: block; padding: 7px 10px; border-radius: var(--r-s); color: var(--c-primary); font-weight: 500; text-decoration: none; }
.drop a:hover, .mnav a:hover { background: var(--c-chip); }
/* Mega menu Produkte – as designed on staging (header template #234: 7be8aeb › 406d3cd), client 15.09.2026:
   panel attached below the header bar, image card 305 px with „Anfrage stellen“, columns Material / Form/Bauart / Einsatzbereich */
.hdr { z-index: 2; }
.mega { position: absolute; z-index: 1; left: var(--pad-x); right: var(--pad-x); top: 54px; /* .wrap starts at the bar (18 px) → panel from 72 px, 10 px under the bar, content 12 px below it */ display: grid; grid-template-columns: 305px repeat(3, minmax(0, 1fr)); gap: 20px; padding: 22px 12px 12px; border-radius: 0 0 var(--r) var(--r); }
.mega:not(.is-open) { display: none; }
.mega__visual { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 15px; border-radius: var(--r); background: var(--c-chip) center / cover no-repeat; }
.mega__visual::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: url("../img/image-overlay.svg") center / cover no-repeat; }
.mega .mega__cta { position: relative; width: 100%; min-height: 0; justify-content: center; padding: 12px 24px; border: 0; border-radius: var(--r-s); background: var(--c-secondary); color: var(--c-primary); font-size: 16px; line-height: 22px; font-weight: 700; text-transform: none; letter-spacing: normal; }
.mega .mega__cta:hover { background: rgba(76, 180, 231, .85); }
.mega__col { display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.mega__head { padding-left: 21px; font-size: 16px; line-height: 22px; font-weight: 400; color: var(--c-text); }
.mega__col ul { gap: 6px; }
.mega__col a { display: block; padding: 14px 20px; border-radius: var(--r); color: var(--c-primary); font-size: 16px; line-height: 16px; font-weight: 500; text-decoration: none; }
.mega__col a:hover { background: var(--c-chip); }
.mnav__head { padding: 12px 10px 2px; font-size: 14px; line-height: 20px; color: var(--c-text); }
.drop { position: absolute; top: calc(100% + 22px); left: -10px; min-width: 290px; list-style: none; margin: 0; padding: 12px; }
.drop:not(.is-open) { display: none; }
.has-drop:hover > .drop { display: block; }
.has-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; }
.drop .sub a { padding-left: 28px; font-weight: 400; font-size: 15px; }
.drop--news { left: auto; right: -10px; width: 420px; }
.drop--news a { line-height: 20px; }

.mnav { position: absolute; left: var(--pad-x); right: var(--pad-x); top: 92px; max-height: calc(100vh - 110px); overflow: auto; padding: 16px; }
.mnav:not(.is-open) { display: none; }
.mnav details { border-bottom: 1px solid var(--c-border); }
.mnav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 12px 10px; color: var(--c-primary); font-weight: 600; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary svg { width: 14px; height: 14px; transition: transform .2s; }
.mnav details[open] summary svg { transform: rotate(180deg); }
.mnav details > div { padding: 0 0 12px; display: grid; gap: 12px; }
.mnav > ul > li > a { padding: 12px 10px; font-weight: 600; border-bottom: 1px solid var(--c-border); border-radius: 0; }
.mnav__foot { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.mnav__lang { display: flex; gap: 14px; color: var(--c-primary); font-weight: 600; }
.mnav__lang span[aria-disabled="true"] { opacity: .45; }

@media (max-width: 1320px) {
  .hdr__logo img { width: 180px; }
  .nav__link { padding: 10px 7px; font-size: 15px; }
  .hdr__cta { padding: 12px 18px; font-size: 14px; }
}
@media (max-width: 1180px) {
  .nav, .lang, .hdr__cta { display: none; }
  .hdr__burger { display: inline-flex; }
  .mega { display: none !important; }
}

/* ---------- Side contact bar (global, desktop + tablet) ---------- */
.side-contact { position: fixed; right: 20px; top: 42%; z-index: 55; display: flex; flex-direction: column; gap: 6px; padding: 10px; background: var(--c-white); border-radius: var(--r); box-shadow: var(--shadow); }
.side-contact a { position: relative; display: flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: var(--r-s); color: var(--c-primary); text-decoration: none; }
.side-contact a:hover { background: var(--c-chip); }
.side-contact a:first-child { background: var(--c-accent); }
.side-contact svg { width: 24px; height: 24px; }
.side-contact .tip { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%); white-space: nowrap; padding: 9px 12px; border-radius: var(--r-s); background: var(--c-primary); color: var(--c-white); font-size: 14px; line-height: 18px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.side-contact a:hover .tip, .side-contact a:focus-visible .tip { opacity: 1; }
@media (max-width: 767px) { .side-contact { display: none; } }

/* ---------- Hero (home) + stats band ----------
   Client 15.09.2026: hero boxed to 1920 px, hero + stats band fill the window, H1 and buttons stay above the caption band of the video.
   Video 1920×1080 (cover): caption band at y 948–1048 → band top in the hero = 408·s + H/2 with s = max(W/1920, H/1080);
   padding-bottom keeps the buttons 40 px above it. Hero height 560–1260 px (above 1080 px the video is scaled up by max. 17 %).
   Elementor: build/layout-fixes.md F2 */
:root { --stats-h: 182px; } /* min height of the stats band = value used in the hero height */
@media (max-width: 1024px) { :root { --stats-h: 190px; } }
@media (max-width: 767px) { :root { --stats-h: 280px; } }
.hero { --hero-h: clamp(560px, calc(100svh - var(--stats-h)), 1260px); position: relative; max-width: 1920px; margin-inline: auto; min-height: var(--hero-h); display: flex; align-items: flex-end; padding: 150px 0 max(60px, calc(var(--hero-h) / 2 - max(0.2125 * min(100vw, 1920px), 0.3778 * var(--hero-h)) + 40px)); background: var(--c-tint); overflow: hidden; }
@media (max-width: 767px) { .hero { padding-top: 110px; } }
.hero + .stats { display: flex; align-items: center; min-height: var(--stats-h); }
.hero + .stats > .wrap { width: 100%; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: var(--c-white) url("../img/hero-overlay.svg") center / cover no-repeat; opacity: .5; }
.hero .wrap { position: relative; width: 100%; }
.hero__title { max-width: 620px; }
.hero__title .hl { color: var(--c-secondary); }
.hero__title sup { font-size: .5em; line-height: 0; vertical-align: .95em; color: var(--c-secondary); }
.hero .btn-row { margin-top: 34px; }

/* ---------- Stats band ---------- */
.stats { background: var(--c-secondary); padding-block: 30px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { padding: 10px; text-align: center; }
.stat__num { display: inline-flex; align-items: flex-start; font-size: var(--fs-stat); line-height: 1; font-weight: 800; color: var(--c-white); letter-spacing: -.02em; }
.stat__suf { margin-left: 5px; font-size: 40px; line-height: 1; color: var(--c-accent); }
.stat__label { display: block; margin-top: 10px; font-size: var(--fs-stat-l); line-height: 1.2; font-weight: 700; color: var(--c-accent); }
@media (max-width: 767px) {
  .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .stat__suf { font-size: 28px; }
}

/* ---------- Split: text + image ---------- */
.split { display: grid; grid-template-columns: minmax(0, 693fr) minmax(0, 567fr); gap: 20px; align-items: center; }
.split--rev { grid-template-columns: minmax(0, 567fr) minmax(0, 693fr); }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 10px; max-width: 640px; }
.split--rev .split__text { margin-left: auto; }
.split__media { position: relative; padding: 10px; }
.split__media img, .split__media .ph { width: 100%; aspect-ratio: 547 / 498; object-fit: cover; border-radius: var(--r); }
.split__media img { object-position: 50% 15%; } /* a portrait taller than its box keeps the head in (only such images move) */
@media (max-width: 767px) {
  .split, .split--rev { grid-template-columns: minmax(0, 1fr); }
  .split--rev .split__text { margin-left: 0; }
  .split > .split__media { order: -1; }   /* the picture above its heading, also when it stands right on desktop (user 14.10.2026) */
}

/* ---------- 3 columns: Kompetenzfelder ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.kf { display: flex; flex-direction: column; gap: 20px; }
.kf__img { position: relative; aspect-ratio: 407 / 300; border-radius: var(--r); overflow: hidden; }
.kf__img img { width: 100%; height: 100%; object-fit: cover; }
.ib { display: flex; align-items: center; gap: 15px; }
.ib__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-s); background: var(--c-accent); color: var(--c-primary); }
.ib__icon svg { width: 26px; height: 26px; }
.ib__title { font-size: var(--fs-ib); line-height: 1.2; font-weight: 700; color: var(--c-primary); }
@media (max-width: 767px) { .grid3 { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

/* ---------- Referenzen slider ---------- */
.refs { position: relative; }
.refs__nav { position: absolute; top: 0; left: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 10px 24px 20px 10px; background: var(--c-white); border-radius: 0 0 var(--r-l) 0; }
.refs__count { font-size: var(--fs-h2); line-height: 1; font-weight: 700; color: var(--c-primary); }
.refs__count small { margin-left: 3px; font-size: 22px; font-weight: 400; }
.refs__arrows { display: flex; gap: 8px; }
.ref { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-height: 460px; }
.ref:not(.is-active) { display: none; }
.ref__text { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 20px; padding: 190px 10px 10px; }
.ref__sub { font-size: 25px; line-height: 30px; font-weight: 600; color: var(--c-primary); }
.ref__media { position: relative; padding: 10px; }
.ref__media img, .ref__media .ph { width: 100%; height: 100%; min-height: 430px; aspect-ratio: 610 / 430; object-fit: cover; border-radius: var(--r-l); }
@media (max-width: 767px) {
  .refs__nav { position: static; padding: 0 0 20px; }
  .ref { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ref__media { order: -1; padding: 0; }
  .ref__media img, .ref__media .ph { min-height: 0; height: auto; }
  .ref__text { padding: 0; }
}

/* ---------- Teaser cards ---------- */
.teaser { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 408px; padding: 22px; border-radius: var(--r); overflow: hidden; color: var(--c-white); text-decoration: none; }
.teaser__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/Group-28.svg") center / cover no-repeat, linear-gradient(180deg, rgba(0, 28, 49, 0) 35%, rgba(0, 28, 49, .8) 100%); }
.teaser:hover .teaser__bg { transform: scale(1.04); }
.pill { align-self: flex-start; padding: 9px 24px; border-radius: var(--r-s); background: var(--c-white); color: var(--c-primary); font-size: 14px; line-height: 18px; font-weight: 800; text-transform: uppercase; }
.teaser__body { display: flex; align-items: flex-end; gap: 16px; }
.teaser__txt { display: flex; flex-direction: column; gap: 14px; max-width: 290px; }
.teaser .h3, .teaser p { color: var(--c-white); }
.teaser .sq { margin-left: auto; width: 50px; height: 50px; }

/* ---------- Split with accordion ---------- */
.split-acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; align-items: center; }
.collage { display: grid; grid-template-columns: 224fr 274fr; gap: 20px; align-items: start; padding-right: 30px; }
.collage__top { grid-column: 1 / -1; margin-left: 19%; aspect-ratio: 402 / 197; }
.collage__a { aspect-ratio: 224 / 220; }
.collage__b { aspect-ratio: 274 / 268; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.acc { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.acc__item { border-radius: var(--r); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px; border: 0; border-radius: var(--r); background: none; color: var(--c-primary); font: 500 18px/24px var(--ff); text-align: left; cursor: pointer; }
.acc__btn svg { flex: none; width: 14px; height: 14px; transition: transform .2s; }
.acc__panel { padding: 0 20px 20px; }
.acc__panel p { color: var(--c-white); }
.acc__panel p + p { margin-top: 12px; }
.acc__panel a { color: var(--c-accent); }
.acc__item.is-open { background: var(--c-primary); }
.acc__item.is-open .acc__btn { color: var(--c-accent); }
.acc__item.is-open .acc__btn svg { transform: rotate(180deg); }
.acc__item:not(.is-open) .acc__panel { display: none; }
.acc--faq .acc__item:not(.is-open) { background: var(--c-chip); }
.acc--faq .acc__item { transition: background-color .2s; }
.acc--faq .acc__btn { transition: color .2s; }
/* hover = same look as the open item (navy background, lime title + icon) */
.acc--faq .acc__item:not(.is-open):hover,
.acc--faq .acc__item:not(.is-open):has(.acc__btn:focus-visible) { background: var(--c-primary); }
.acc--faq .acc__item:not(.is-open):hover .acc__btn,
.acc--faq .acc__item:not(.is-open) .acc__btn:focus-visible { color: var(--c-accent); }
@media (max-width: 767px) {
  .split-acc { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .collage { padding-right: 0; }
}

/* ---------- News cards ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.nc { display: flex; flex-direction: column; gap: 20px; padding: 10px; color: var(--c-primary); text-decoration: none; }
.date { align-self: flex-start; padding: 5px 20px; border-radius: var(--r-s); background: var(--c-primary); color: var(--c-white); font-size: 16px; line-height: 24px; font-weight: 800; }
.nc__ex { color: var(--c-primary); }
.nc .sq { margin-top: auto; }
.nc:hover .h4 { color: var(--c-secondary); }
.progress { width: 270px; height: 6px; margin: 34px auto 0; border-radius: 3px; background: #F1F3F4; overflow: hidden; }
.progress i { display: block; height: 100%; width: 100%; background: var(--c-accent); }
.center-link { margin-top: 26px; text-align: center; }
@media (max-width: 1024px) {
  .news-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .news-grid::-webkit-scrollbar { display: none; }
  .nc { scroll-snap-align: start; }
}

/* ---------- Anfrage (form) ---------- */
.anfrage { display: grid; grid-template-columns: minmax(0, 558fr) minmax(0, 682fr); gap: 40px; align-items: stretch; }
.anfrage__info { display: flex; flex-direction: column; justify-content: flex-end; gap: 32px; padding: 10px; }
.anfrage__info .txt { max-width: 440px; }
.ci { display: flex; flex-direction: column; gap: 8px; }
.ci__l { font-size: 16px; line-height: 20px; color: var(--c-text); }
.ci__v { font-size: 20px; line-height: 25px; font-weight: 800; color: var(--c-primary); text-decoration: none; font-style: normal; }
a.ci__v:hover { color: var(--c-secondary); }

.fcard { padding: 29px 40px 32px; border-radius: var(--r-l); background: var(--c-tint); }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.f-full { grid-column: 1 / -1; }
.fl { display: block; margin-bottom: 10px; font-size: 16px; color: var(--c-text); }
.fi { width: 100%; padding: 10px 20px; border: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; background: transparent; color: var(--c-primary); font: 400 16px/22px var(--ff); }
.fi::placeholder { color: var(--c-text); opacity: 1; }
.fi:focus { outline: none; border-bottom-color: var(--c-primary); }
select.fi { appearance: none; padding-right: 44px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23001C31' d='M207 381L13 187c-9-9-9-25 0-34l23-23c9-9 24-9 34 0l154 154 155-154c9-9 25-9 34 0l23 23c9 9 9 25 0 34L241 381c-9 9-25 9-34 0z'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; }
textarea.fi { min-height: 92px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 56px; padding: 0 10px; }
.choice { display: inline-flex; align-items: center; gap: 14px; color: var(--c-primary); cursor: pointer; }
.choice input { appearance: none; display: grid; place-content: center; width: 20px; height: 20px; margin: 0; border: 2px solid var(--c-accent); border-radius: 3px; background: transparent; cursor: pointer; }
.choice input:checked { background: var(--c-accent); }
.choice input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid var(--c-primary); border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.upload { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 30px; padding: 6px 20px; color: var(--c-primary); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload [data-file] { font-size: 13px; color: var(--c-text); }
.accept { display: flex; align-items: flex-start; gap: 12px; font-size: 11px; line-height: 15px; color: var(--c-text); }
.accept a { color: var(--c-secondary); }
.accept a:hover { color: var(--c-primary); }
.fsubmit { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 8px; }
.fsubmit .btn { flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; padding: 10px 18px; border-radius: var(--r-s); background: var(--c-white); color: var(--c-primary); font-weight: 500; }
.chip input:checked + span { background: var(--c-primary); color: var(--c-white); }
.chip input:focus-visible + span { outline: 2px solid var(--c-secondary); outline-offset: 2px; }
.steps-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; color: var(--c-primary); font-weight: 600; font-size: 14px; }
.steps-bar { height: 6px; margin-bottom: 22px; border-radius: 3px; background: rgba(0, 28, 49, .1); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 33.3%; background: var(--c-accent); transition: width .3s; }
.step:not(.is-active) { display: none; }
.step__title { margin-bottom: 18px; font-size: 20px; line-height: 26px; font-weight: 800; color: var(--c-primary); }
.fnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.note { padding: 10px 14px; border-radius: var(--r-s); background: var(--c-white); color: var(--c-primary); font-size: 14px; line-height: 20px; }
.f-msg { margin-top: 14px; padding: 10px 14px; border-radius: var(--r-s); background: var(--c-white); color: var(--c-primary); font-size: 14px; }
@media (max-width: 767px) {
  .anfrage { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fcard { padding: 24px 16px; }
  .fsubmit { flex-direction: column; align-items: stretch; }
}

/* ---------- CTA band ---------- */
.band { background: var(--c-secondary); text-align: center; }
.band .h2 { max-width: 824px; margin: 0 auto 12px; } /* staging heading width 824 px – long CTA headings wrap to two lines */
.band__bul { font-weight: 600; line-height: 24px; color: var(--c-primary); }
.band__txt { max-width: 600px; margin: 20px auto 0; color: var(--c-primary); }
.band .btn-row { justify-content: center; margin-top: 30px; }

/* ---------- Footer (global) ---------- */
.site-footer { padding-top: 90px; }
.ft { display: grid; grid-template-columns: minmax(0, 386fr) minmax(0, 580fr) minmax(0, 314fr); gap: 20px; align-items: start; }
.ft__logo img { width: 280px; height: auto; }
.ft address { margin-top: 30px; font-style: normal; line-height: 25px; color: var(--c-primary); }
.ft h3 { margin-top: 30px; font-size: 25px; line-height: 32px; font-weight: 600; color: var(--c-primary); }
.ft__contact p { margin-top: 18px; line-height: 25px; color: var(--c-primary); }
.ft__contact a { color: var(--c-primary); }
.ft__contact a:hover { color: var(--c-secondary); }
.social { display: flex; justify-content: flex-end; gap: 14px; }
.social a { width: 48px; height: 48px; }
.ft-bottom { display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 60px; padding-block: 22px; border-top: 1px solid var(--c-border); font-size: 14px; color: var(--c-text); }
.ft-bottom nav { display: flex; gap: 18px; }
.ft-bottom a { color: var(--c-text); text-decoration: none; }
.ft-bottom a:hover { color: var(--c-primary); }
@media (max-width: 767px) {
  .site-footer { padding-top: 60px; }
  .ft { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .social { justify-content: flex-start; margin-top: 20px; }
}

/* ---------- Product template ---------- */
.phero { position: relative; min-height: 656px; display: flex; align-items: flex-end; padding: 170px 0 70px; background-color: var(--c-tint); background-position: center right; background-size: cover; background-repeat: no-repeat; overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 42%, rgba(255, 255, 255, 0) 72%); }
.phero .wrap { position: relative; width: 100%; }
.phero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.phero .btn-row { margin-top: 14px; }
.pwrap { display: grid; grid-template-columns: minmax(0, 882fr) minmax(0, 378fr); gap: 20px; align-items: start; }
.pmain { display: flex; flex-direction: column; gap: 70px; padding: 10px; min-width: 0; }
.pblock { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.pblock .txt { max-width: 720px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; margin-top: 10px; }
.gallery img { width: 100%; aspect-ratio: 600 / 452; object-fit: cover; border-radius: var(--r); }
.adv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; width: 100%; }
.adv__item { display: flex; flex-direction: column; gap: 18px; }
.adv .ib__title { font-size: 22px; line-height: 28px; }
.chiplist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; width: 100%; list-style: none; margin: 0; padding: 0; }
.chip-row { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 14px; border-radius: var(--r-s); background: var(--c-chip); color: #333333; line-height: 22px; text-decoration: none; }
a.chip-row:hover { background: var(--c-accent); color: var(--c-primary); }
.chip-row svg { flex: none; width: 20px; height: 20px; color: var(--c-primary); }
.side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 10px; padding: 10px; }
.side__img { position: relative; }
.side__img img { width: 100%; aspect-ratio: 358 / 270; object-fit: cover; border-radius: var(--r); }
.side__h { margin-top: 20px; font-size: 22px; line-height: 30px; font-weight: 600; color: var(--c-primary); }
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r); }
.alloy { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; line-height: 20px; color: var(--c-primary); }
.alloy th, .alloy td { padding: 10px 12px; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
.alloy thead th { background: var(--c-primary); color: var(--c-white); font-weight: 700; white-space: nowrap; }
.alloy tbody th { background: var(--c-chip); font-weight: 600; }
.alloy tr.grp th { background: var(--c-white); color: var(--c-secondary); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .02em; }
.alloy tfoot td { color: var(--c-text); font-style: italic; border-bottom: 0; }
@media (max-width: 1024px) {
  .pwrap { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .side__img, .side .btn { grid-column: auto; }
}
@media (max-width: 767px) {
  /* mobile: photo visible at the top, text on white at the bottom (83° side gradient does not cover text on narrow screens) */
  .phero { min-height: 600px; padding-top: 260px; padding-bottom: 40px; background-position: right top; }
  .phero::before { background: linear-gradient(0deg, #FFFFFF 48%, rgba(255, 255, 255, .85) 60%, rgba(255, 255, 255, 0) 88%); }
  .pmain { gap: 50px; }
  .adv, .chiplist { grid-template-columns: minmax(0, 1fr); }
  .side { display: flex; }
}

/* ---------- Generated content blocks (all templates) ---------- */
.txt-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.txt-list li { position: relative; padding-left: 30px; color: var(--c-text); line-height: 22px; }
.txt-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 4px; background: var(--c-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001C31' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
ol.txt-list { counter-reset: n; }
ol.txt-list li::before { counter-increment: n; content: counter(n); background: var(--c-accent); color: var(--c-primary); font-size: 11px; font-weight: 800; line-height: 16px; text-align: center; }
.txt-list a { color: var(--c-secondary); }
.txt-list a:hover { color: var(--c-primary); }
.txt .txt-list { margin: 14px 0; }
.figure { position: relative; margin: 6px 0 0; width: 100%; }
.figure img { width: 100%; height: auto; border-radius: var(--r); }
.figure--small img { width: auto; max-width: 100%; }
.caption { font-size: 14px; color: var(--c-text); }
.mat-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; width: 100%; }
.mat-card { display: flex; flex-direction: column; gap: 14px; padding: 14px; border-radius: var(--r); background: var(--c-chip); }
.mat-card img { width: 100%; aspect-ratio: 531 / 332; object-fit: cover; border-radius: var(--r-s); }

.video-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--c-primary); }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
@media (max-width: 767px) { .mat-cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Sitemap round: generated templates ---------- */
.flow { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 882px; }
.flow--center { margin-inline: auto; }
.flow--wide { max-width: none; }
.flow--wide > .lead, .flow--wide > .txt, .flow--wide > .h2 { max-width: 882px; }

.split--photo.split--rev .split__text { margin-left: 0; } /* generated rows: short texts stay next to the image */
.h3-card, .benefit span, .tl__pill { overflow-wrap: anywhere; hyphens: auto; }
.video-wrap__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; color: rgba(255, 255, 255, .75); font-weight: 600; text-align: center; }
.video-wrap iframe, .video-wrap video { z-index: 1; }
.flow > .txt, .split__text > .txt { width: 100%; }
.split--photo .split__media img, .split--photo .split__media .ph { aspect-ratio: 4 / 3; }
.split__media .video-wrap { margin: 0; }
.gallery__item { position: relative; }
.gallery--natural { display: flex; flex-wrap: wrap; align-items: flex-start; }
.gallery--natural img { width: auto; max-width: 100%; aspect-ratio: auto; object-fit: initial; }
figure.gallery { margin: 10px 0 0; }
.figure--small { width: auto; }
.lead { font-size: 20px; line-height: 30px; color: var(--c-primary); }
.sec--chip { background: var(--c-chip); }
.h3-card { font-size: 22px; line-height: 28px; font-weight: 700; color: var(--c-primary); }

/* bullet lines (Fertigung: short lists as one line of bold bullets, long lists stacked) */
.bullet-line { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; font-weight: 600; line-height: 25px; color: var(--c-primary); }
.bullet-line li + li::before { content: "•"; margin: 0 8px; }
.bullet-list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; font-weight: 600; line-height: 28px; color: var(--c-primary); }
.bullet-list li::before { content: "• "; }
.txt .bullet-line, .txt .bullet-list { margin: 12px 0; }
.band--chip { background: var(--c-chip); }
.hero-sub { max-width: 600px; font-size: 20px; line-height: 28px; font-weight: 600; color: var(--c-primary); }

/* timeline / numbered steps (Unternehmen 05, Karriere 02) */
.tl { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 20px; width: 100%; padding-top: 22px; border-top: 1px solid var(--c-border); }
.tl__item { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.tl__pill { min-width: 100%; padding: 12px 18px; border-radius: var(--r-s); background: var(--c-primary); color: var(--c-accent); font-size: 18px; line-height: 24px; font-weight: 800; }
.tl__item .txt { font-size: 16px; }

/* photo band: text on a full-width photo (Unternehmen „Der Gründer“, Karriere quote) – image anchored top (layout fix F4) */
.pband { position: relative; display: flex; align-items: center; min-height: 492px; padding-block: 70px; background-color: var(--c-tint); background-position: center top; background-size: cover; background-repeat: no-repeat; }
.pband::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .78) 40%, rgba(255, 255, 255, 0) 70%); }
.pband .wrap { position: relative; width: 100%; }
.pband__box { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 560px; }
.pband__quote { font-size: 26px; line-height: 35px; font-weight: 500; color: var(--c-primary); }
.pband__name { font-weight: 600; color: var(--c-primary); }
.pband__role { margin-top: -14px; font-weight: 600; color: var(--c-secondary); }

/* cards */
.cards { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 20px; width: 100%; }
.card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px; border-radius: var(--r); background: var(--c-chip); }
.sec--chip .card { background: var(--c-white); }
.card .txt p + p { margin-top: 10px; }

/* benefits (Karriere) */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; width: 100%; list-style: none; margin: 0; padding: 0; }
.benefit { display: flex; align-items: center; gap: 15px; min-height: 84px; padding: 12px; border-radius: var(--r); background: var(--c-chip); color: var(--c-primary); font-weight: 700; font-size: 18px; line-height: 24px; }
.benefit img { flex: none; width: 54px; height: 54px; padding: 8px; border-radius: var(--r-s); background: var(--c-secondary); }
.footnote { font-size: 14px; line-height: 20px; color: var(--c-text); }

/* persons (Kontakt, Karriere) */
.persons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: 100%; }
.person { display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--r); background: var(--c-chip); color: var(--c-primary); line-height: 24px; }
.person__role { font-size: 14px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--c-secondary); }
.person__name { font-size: 20px; font-weight: 800; }
.person a { color: var(--c-primary); }
.person a:hover { color: var(--c-secondary); }
.ci-list { display: flex; flex-direction: column; gap: 26px; }

/* jobs empty state */
.jobs-empty { display: flex; align-items: center; gap: 20px; width: 100%; padding: 30px; border-radius: var(--r-l); background: var(--c-tint); color: var(--c-primary); font-size: 18px; line-height: 27px; }
.jobs-empty .sq { flex: none; }

/* image strip (Unternehmen 11) – Elementor: Image Carousel */
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: 286px; gap: 20px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.strip__item { position: relative; scroll-snap-align: start; }
.strip__item img, .strip__item .ph { width: 286px; height: 300px; object-fit: cover; border-radius: var(--r); }

/* product cards (Produkte overview) */
.pcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; width: 100%; }
.pcard { display: flex; flex-direction: column; gap: 20px; color: var(--c-primary); text-decoration: none; }
.pcard__img { position: relative; aspect-ratio: 393 / 270; border-radius: var(--r); overflow: hidden; background: var(--c-chip); }
.pcard__img img, .pcard__img .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard:hover .ib__title { color: var(--c-secondary); }
.pcard .ib__title { font-size: 22px; }

/* news overview grid */
.news-grid--full { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 50px; }
.nc__img { position: relative; aspect-ratio: 387 / 300; border-radius: var(--r); overflow: hidden; background: var(--c-chip); }
.nc__img img, .nc__img .ph { width: 100%; height: 100%; object-fit: cover; }
.nc[hidden] { display: none; }
.nc__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.chips-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips-nav a { padding: 10px 18px; border-radius: var(--r-s); background: var(--c-chip); color: var(--c-primary); font-weight: 600; }
.chips-nav a[aria-current="page"], .chips-nav a:hover { background: var(--c-primary); color: var(--c-white); }

.shero__grid--single { grid-template-columns: minmax(0, 1fr); }
.shero__grid--single .h1p { max-width: 980px; }
.lead-txt { font-size: 20px; line-height: 30px; }
.lead-txt p + p { margin-top: 16px; }
.anfrage__info .txt p + p { margin-top: 10px; }
.nc .nc__meta .date { align-self: auto; }

/* legal texts */
.legal { max-width: 882px; }
.legal .txt p + p { margin-top: 14px; }
.legal .txt .txt-list { margin: 14px 0; }
.legal .h3 { margin-top: 26px; }

/* hero slider (Schweiz) – slide photos are 1920×577: hero height follows the photo, no upscaling */
.phero--slider { min-height: 577px; padding: 0; }
.phero--slider::before { display: none; }
.phero__slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 150px 0 120px; background-position: center right; background-size: cover; background-repeat: no-repeat; }
.phero__slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .7) 42%, rgba(255, 255, 255, 0) 72%); }
.phero__slide .wrap { position: relative; width: 100%; }
.phero [data-slide]:not(.is-active) { display: none; }
.hero-nav { position: absolute; left: 0; right: 0; bottom: 40px; z-index: 3; }
.hero-nav .wrap { display: flex; align-items: center; gap: 10px; color: var(--c-primary); font-weight: 700; }
.slide-title { font-size: var(--fs-h1p); line-height: var(--lh-h1p); font-weight: 800; color: var(--c-primary); }
@media (max-width: 767px) {
  .phero--slider { min-height: 600px; }
  .phero__slide { padding: 240px 0 100px; background-position: right top; }
  .phero__slide::before { background: linear-gradient(0deg, #FFFFFF 48%, rgba(255, 255, 255, .85) 60%, rgba(255, 255, 255, 0) 88%); }
}

@media (max-width: 1024px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .persons, .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-grid--full { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; overflow: visible; }
}
@media (max-width: 767px) {
  .cards, .benefits, .persons, .pcards, .tl, .news-grid--full { grid-template-columns: minmax(0, 1fr); }
  .pband { min-height: 0; padding-block: 50px; background-position: right top; }
  .pband::before { background: rgba(255, 255, 255, .86); }
  .pband__quote { font-size: 21px; line-height: 30px; }
  .jobs-empty { flex-direction: column; align-items: flex-start; padding: 22px; }
  .card { padding: 20px; }
}

/* ---------- Single (News / Referenz detail) ---------- */
.shero { padding: 150px 0 60px; background: linear-gradient(180deg, var(--c-tint) 0%, rgba(255, 255, 255, 0) 100%); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; font-size: 14px; color: var(--c-text); }
.crumbs a { color: var(--c-primary); text-decoration: none; }
.crumbs a:hover { color: var(--c-secondary); }
.shero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.meta { display: flex; flex-wrap: wrap; gap: 10px; }
.cat { padding: 5px 16px; border-radius: var(--r-s); background: var(--c-accent); color: var(--c-primary); font-size: 14px; line-height: 24px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.shero__img { position: relative; }
.shero__img img { width: 100%; aspect-ratio: 1 / 1; max-height: 560px; object-fit: cover; border-radius: var(--r-l); }
.article { max-width: 820px; margin-inline: auto; }
.article .h2a { margin-bottom: 26px; font-size: 32px; line-height: 40px; font-weight: 600; color: var(--c-primary); }
.article .txt { font-size: 17px; line-height: 27px; }
.quote { margin: 30px 0; padding: 30px 36px; border-left: 6px solid var(--c-accent); border-radius: var(--r); background: var(--c-chip); }
.quote p { font-size: 24px; line-height: 34px; font-weight: 600; color: var(--c-primary); }
.quote cite { display: block; margin-top: 14px; font-style: normal; font-weight: 600; color: var(--c-secondary); }
.share { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--c-border); color: var(--c-primary); font-weight: 600; }
.share a { width: 44px; height: 44px; }
.sec--tint { background: linear-gradient(180deg, rgba(232, 237, 239, .55), rgba(255, 255, 255, 0)); }
@media (max-width: 767px) {
  .shero { padding-top: 130px; }
  .shero__grid { grid-template-columns: minmax(0, 1fr); }
  .quote { padding: 22px 20px; }
  .quote p { font-size: 20px; line-height: 28px; }
}

/* ---------- Image placeholders ---------- */
.ph { position: relative; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center; background: repeating-linear-gradient(45deg, #E8EDEF 0 14px, #DDE3E6 14px 28px); color: var(--c-primary); font-weight: 700; font-size: 15px; line-height: 1.45; }
.ph small { display: block; font-weight: 400; color: var(--c-text); }

/* ---------- Review markers (prototype only) ---------- */

.social a { position: relative; }

/* marker positions that would cover the header bar, logo or social icons */

.alloy thead th:first-child, .alloy tbody tr:not(.grp) th { position: sticky; left: 0; z-index: 1; min-width: 150px; }
.alloy thead th:first-child { background: var(--c-primary); }
@media (max-width: 767px) {
  .article .h2a { font-size: 24px; line-height: 32px; }
}

.hero__title { max-width: 540px; }
.refs__nav { background: transparent; }

/* ---------- Control review fixes (sitemap round) ---------- */
/* post hero: image in its own proportions, never larger than the file (no crop, no upscaling) */
.shero__img img { width: auto; max-width: 100%; height: auto; max-height: 560px; aspect-ratio: auto; object-fit: contain; margin-left: auto; }
/* cards: files smaller than the card box stay unscaled on the chip background */
.nc__img--natural { display: flex; align-items: center; justify-content: center; }
.nc__img--natural img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.figure--small img, .split--photo .split__media .figure--small img { width: auto; max-width: 100%; }
.split--photo .split__media .figure--small img { height: auto; aspect-ratio: auto; object-fit: initial; } /* no 4:3 crop box for small files */
.benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* tables: shadow at the edge that can still be scrolled */
.table-wrap { background: linear-gradient(90deg, #FFFFFF 30%, rgba(255, 255, 255, 0)) left center / 40px 100% no-repeat local,
  linear-gradient(270deg, #FFFFFF 30%, rgba(255, 255, 255, 0)) right center / 40px 100% no-repeat local,
  radial-gradient(farthest-side at 0 50%, rgba(0, 28, 49, .22), rgba(0, 28, 49, 0)) left center / 14px 100% no-repeat scroll,
  radial-gradient(farthest-side at 100% 50%, rgba(0, 28, 49, .22), rgba(0, 28, 49, 0)) right center / 14px 100% no-repeat scroll; }
@media (max-width: 1024px) {
  .benefits, .pcards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .benefits, .pcards--4 { grid-template-columns: minmax(0, 1fr); }
  .shero__img img { margin-left: 0; }
  /* long German compounds and URLs must not widen the page */
  .h1, .h1p, .h2, .h2s, .h2a, .h3, .h4, .ib__title, .slide-title, .h3-card { hyphens: auto; overflow-wrap: anywhere; }
  .txt, .legal, .article, .caption, .person, .jobs-empty, .nc__ex { overflow-wrap: anywhere; }
  .pband::before { background: rgba(255, 255, 255, .93); }
  .pband .txt { color: var(--c-primary); }
}

/* Lists in FAQ answers (open accordion = dark): readable like the paragraphs, spaced like in text blocks */
.acc__panel .txt-list { margin: 12px 0; }
.acc__panel .txt-list:last-child { margin-bottom: 0; }
.acc__panel .txt-list li { color: var(--c-white); }
.acc__panel .txt-list a { color: var(--c-accent); }
.acc__panel strong { color: var(--c-white); }   /* bold text in an open point (dark), e.g. "Made by IsoProfil" in the Leitbild */

/* Background images: the small WebP on phones, the large one only on wide screens (inc/helpers.php isp_bg) */
@media (max-width: 767px) { [style*="--bg-m"] { background-image: var(--bg-m) !important; } }
@media (min-width: 1600px) { [style*="--bg-l"] { background-image: var(--bg-l) !important; } }

/* Photo and quote bands on phones: the photo as a picture of its own above the text, cut to the people on the right
   (a white veil over the whole photo left nothing to see, user 13.10.2026); the large file, as the crop enlarges it */
@media (max-width: 767px) {
  .pband[style*="--bg-l"] { display: block; padding-block: 0 44px; background-image: none !important; }
  .pband[style*="--bg-l"]::before { content: ""; position: static; display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 420px; margin-bottom: 32px; background: var(--bg-l) right center / cover no-repeat; }
}

/* Hero photo as <img> (alt text, image search, early loading) – placed like the former cover background (isp_hero_img) */
.phero, .phero__slide { isolation: isolate; }
.phero__img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
/* The header lies over the hero (nav.css): the photo starts below it, so nothing of the picture hides behind the bar –
   desktop: service bar 38 + white bar 77 px; tablet: floating bar 12 + 60 px plus 12 px air. Any crop goes to the bottom. */
@media (min-width: 1200px) { .phero__img { top: 115px; height: calc(100% - 115px); object-position: right top; } }
@media (min-width: 768px) and (max-width: 1199px) { .phero__img { top: 84px; height: calc(100% - 84px); object-position: right top; } }
/* Phones: the photo as a 280 px band at the top instead of a 600 px cover crop – about twice as much of the picture is
   visible (the products sit on the right), fading into white only at its lower edge; typography unchanged */
@media (max-width: 767px) {
  .phero:not(.phero--slider) { min-height: 0; padding-top: 300px; background-color: var(--c-white); }
  .phero--slider { background-color: var(--c-white); }
  .phero__img { bottom: auto; height: 280px; object-position: var(--focus-x, 85%) center; } /* per image: media library "Bildausschnitt Handy" */
  .phero:not(.phero--slider)::before, .phero__slide::before { inset: 0 0 auto; height: 280px; background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, #FFFFFF 100%); }
}
