/* KOMJAN UI: Karte, PLZ-Check, Mini-Rechner, Icons, Produktbühne, Roboter-Szenen, Zähler, mobile Leiste */

/* ── EINSATZKARTE ── */
.karte { display: block; width: 100%; height: auto; font-family: var(--font); overflow: visible; }
.karte-hero .k-raster line { stroke: #262625; stroke-width: .6; }
.karte-hero .k-kreis { fill: rgba(227,6,19,.03); stroke: var(--red); stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.karte-hero .k-bahn polyline { fill: none; stroke: #444442; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.karte-hero .k-bahn-l text { font-size: 6px; font-weight: 500; fill: #7A7A74; text-anchor: middle; paint-order: stroke; stroke: var(--anthrazit); stroke-width: 3px; stroke-linejoin: round; }
.karte-hero .k-orte circle { fill: #E8E8E5; }
.karte-hero .k-orte text { font-size: 7.8px; fill: #D2D2CE; paint-order: stroke; stroke: var(--anthrazit); stroke-width: 2.6px; stroke-linejoin: round; }
.karte-hero .k-orte .mittel text, .karte-hero .k-orte .klein text { fill: #A9A9A4; font-size: 7px; }
.karte-hero .k-orte .mittel circle, .karte-hero .k-orte .klein circle { fill: #A3A39E; }
.karte-hero .k-mitte { fill: var(--red); }
.karte-hero .k-nbg { font-size: 10.5px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: var(--anthrazit); stroke-width: 3px; stroke-linejoin: round; }
.karte-hero .k-ring { font-size: 8.6px; font-weight: 600; fill: #fff; letter-spacing: .01em; }
.karte-hero .k-ring2 { font-size: 6.6px; fill: #9A9A96; letter-spacing: .02em; }
.karte-hero .k-puls { fill: none; stroke: var(--red); stroke-width: 1.5; opacity: 0; transform-origin: 0 0; transform-box: view-box; }
.karte-hero .k-plz-punkt { fill: #fff; }
.karte-hero .k-plz-ring { fill: none; stroke: var(--red); stroke-width: 1.6; }
.karte-hero .k-plz-pfeil { fill: none; stroke: #fff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: none; }
.karte-hero .k-plz.rand .k-plz-pfeil { display: inline; }
.karte-hero .k-plz-in { transform-box: fill-box; transform-origin: center; opacity: 0; transform: scale(.4); transition: opacity .45s ease, transform .55s cubic-bezier(.2,.8,.2,1); }
.karte-hero .k-plz.zeigen .k-plz-in { opacity: 1; transform: scale(1); }

/* Animation nur mit JS-Freigabe (Klasse .anim am Dokument) */
.anim .karte-hero .k-kreis { stroke-dashoffset: 1; animation: kZeichnen 1.6s cubic-bezier(.6,0,.2,1) .2s forwards; }
.anim .karte-hero .k-bahn polyline { stroke-dashoffset: 1; animation: kZeichnen 1.4s ease-out .7s forwards; }
.anim .karte-hero .k-bahn-l text { opacity: 0; animation: kEin .6s ease 1.8s forwards; }
.anim .karte-hero .k-orte > g { opacity: 0; animation: kEin .5s ease var(--d) forwards; }
.anim .karte-hero .k-ring, .anim .karte-hero .k-ring2 { opacity: 0; animation: kEin .7s ease 1.5s forwards; }
.anim .karte-hero .k-puls { animation: kPuls 2.4s ease-out 1.9s 2; }
@keyframes kZeichnen { to { stroke-dashoffset: 0; } }
@keyframes kEin { to { opacity: 1; } }
@keyframes kPuls { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(7); } }

@media (max-width: 620px) {
  .karte-hero .k-orte text { font-size: 11px; stroke-width: 3.2px; }
  .karte-hero .k-orte .mittel, .karte-hero .k-orte .klein, .karte-hero .k-bahn-l { display: none; }
  .karte-hero .k-orte circle { r: 2.8px; }
  .karte-hero .k-nbg { font-size: 14px; }
  .karte-hero .k-ring { font-size: 11.6px; }
  .karte-hero .k-ring2 { font-size: 9.2px; }
}

/* Hero mit Karte */
.hero-karte { margin: 0; }
.hero-karte .karte { max-width: 560px; margin: 0 auto; }
.hero-karte figcaption { margin-top: 6px; font-size: 13px; line-height: 1.55; color: #8E8E8A; text-align: center; }
@media (max-width: 620px) {
  .hero-karte .karte { width: calc(100% + 2 * var(--rand)); max-width: none; margin-left: calc(-1 * var(--rand)); }
}

/* ── PLZ-CHECK ── */
.plz { margin: 22px auto 0; max-width: 520px; border-top: 1px solid #3A3A38; padding-top: 20px; }
.plz-frage { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #fff; line-height: 1.35; }
.plz-label { display: block; margin-top: 12px; font-size: 14px; font-weight: 500; color: #BDBDB9; }
.plz-feld { margin-top: 8px; display: flex; gap: 10px; }
.plz-feld input {
  flex: 1 1 auto; min-width: 0; height: 52px; padding: 0 16px; font-family: var(--font); font-size: 18px; font-weight: 500; letter-spacing: .08em;
  color: #fff; background: #232322; border: 1px solid #4A4A47; border-radius: 2px; transition: border-color .15s, box-shadow .15s;
}
.plz-feld input::placeholder { color: #6E6E69; letter-spacing: .02em; font-weight: 400; }
.plz-feld input:focus { outline: none; border-color: #fff; box-shadow: 0 0 0 1px #fff; }
.plz-feld input[aria-invalid="true"] { border-color: #E8807F; }
.plz-btn { height: 52px; padding: 0 22px; flex: 0 0 auto; background: #fff; color: var(--anthrazit); border-color: #fff; }
.plz-btn:hover { background: #E4E4E1; border-color: #E4E4E1; }
.plz-ergebnis:empty { display: none; }
.plz-ergebnis { margin-top: 16px; padding: 16px 18px; background: #232322; border-left: 3px solid #6E6E69; border-radius: 2px; }
.plz-ergebnis.innerhalb { border-left-color: var(--red); }
.plz-ergebnis p { font-size: 15.5px; line-height: 1.6; color: #E8E8E5; }
.plz-ergebnis p b { color: #fff; font-weight: 600; }
.plz-ergebnis .btn { margin-top: 14px; }
.plz-hinweis { margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: #8E8E8A; }
.plz-hinweis span { display: block; }
@media (max-width: 380px) { .plz-btn { padding: 0 16px; } }

/* ── KENNZAHLEN / ZÄHLER ── */
.zahlenreihe { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #3A3A38; }
.zahlenreihe li { padding: 18px 16px 0 0; min-width: 0; }
.zahlenreihe li + li { padding-left: 18px; border-left: 1px solid #3A3A38; }
.zahlenreihe b { display: block; font-size: clamp(24px, 2.3vw, 34px); font-weight: 700; letter-spacing: -.03em; color: #fff; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.zahlenreihe span { display: block; margin-top: 6px; font-size: 14px; color: #9A9A96; line-height: 1.45; }
.zahlenreihe.hell { border-top-color: var(--anthrazit); border-top-width: 1.5px; }
.zahlenreihe.hell li + li { border-left-color: var(--linie); }
.zahlenreihe.hell b { color: var(--anthrazit); }
.zahlenreihe.hell span { color: var(--text); }
@media (max-width: 420px) {
  .zahlenreihe li { padding-right: 10px; }
  .zahlenreihe li + li { padding-left: 12px; }
  .zahlenreihe span { font-size: 13px; }
}

/* ── ICONS ── */
.ico { display: block; width: 36px; height: 36px; flex: 0 0 auto; color: var(--anthrazit); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ico * { vector-effect: non-scaling-stroke; }
.ico .r { fill: var(--red); stroke: none; }
.ico .gestr { stroke-dasharray: 2 2.6; }
.dunkel .ico, .auf-dunkel .ico { color: #E8E8E5; }

/* ── PROBLEM-PLATTE (drei Gründe) ── */
.platte { margin-top: clamp(56px, 7vw, 96px); list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--white); border: 1px solid var(--linie); border-radius: 2px; }
.platte > li { display: flex; flex-direction: column; padding: clamp(28px, 3vw, 44px) clamp(24px, 2.6vw, 40px); min-width: 0; }
.platte > li + li { border-left: 1px solid var(--linie); }
.platte .ico { width: 40px; height: 40px; }
.platte h3 { margin-top: 26px; font-size: clamp(19px, 1.6vw, 22px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; color: var(--anthrazit); }
.platte p { margin-top: 12px; font-size: 15.5px; line-height: 1.68; color: var(--text); }
.platte .fakt { margin-top: auto; padding-top: 18px; }
.platte .fakt-in { display: block; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: 14.5px; font-weight: 500; line-height: 1.55; color: var(--anthrazit); }
.platte a.fakt-in { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.platte a.fakt-in:hover { color: var(--red); }
.beton .platte { border-color: #D9D9D5; }
@media (max-width: 960px) {
  .platte { grid-template-columns: minmax(0, 1fr); }
  .platte > li + li { border-left: 0; border-top: 1px solid var(--linie); }
  .platte > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 20px; }
  .platte > li > * { grid-column: 2; }
  .platte > li > .ico { grid-column: 1; grid-row: 1 / span 3; }
  .platte h3 { margin-top: 6px; }
}
@media (max-width: 480px) {
  .platte > li { display: flex; padding: 28px 22px 30px; }
  .platte h3 { margin-top: 18px; }
}

/* ── MINI-ROI ── */
.miniroi { background: var(--white); border: 1px solid #D9D9D5; border-radius: 2px; padding: clamp(22px, 3vw, 36px); }
.miniroi fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.miniroi legend, .mr-std label { font-size: 14.5px; font-weight: 600; color: var(--anthrazit); padding: 0; }
.mr-seg { margin-top: 10px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mr-seg label { position: relative; display: block; cursor: pointer; }
.mr-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.mr-seg span { display: flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 64px; padding: 10px 12px; border: 1px solid #C9C9C5; border-radius: 2px; background: var(--white); transition: border-color .15s, box-shadow .15s; }
.mr-seg b { font-size: 14.5px; font-weight: 600; color: var(--anthrazit); line-height: 1.25; overflow-wrap: anywhere; }
.mr-seg small { font-size: 13px; color: var(--grau); line-height: 1.3; }
.mr-seg label:hover span { border-color: var(--anthrazit); }
.mr-seg input:checked + span { border-color: var(--anthrazit); box-shadow: inset 0 0 0 1px var(--anthrazit); }
.mr-seg input:checked + span::after { content: ""; position: absolute; top: 8px; right: 8px; width: 7px; height: 7px; background: var(--red); }
.mr-seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.mr-std { margin-top: 24px; }
.mr-std-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mr-std output { font-size: 17px; font-weight: 700; color: var(--anthrazit); white-space: nowrap; font-variant-numeric: tabular-nums; }
.mr-std input[type=range] { --p: 34%; display: block; width: 100%; height: 44px; margin-top: 2px; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.mr-std input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--anthrazit) 0 var(--p), #D4D4D1 var(--p) 100%); }
.mr-std input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: #D4D4D1; }
.mr-std input[type=range]::-moz-range-progress { height: 4px; background: var(--anthrazit); }
.mr-std input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--anthrazit); border-radius: 1px; }
.mr-std input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--red); border: 3px solid var(--white); box-shadow: 0 0 0 1px var(--anthrazit); border-radius: 1px; }
.mr-std input[type=range]:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.mr-std .mr-skala { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--grau); margin-top: -4px; }
.mr-ergebnis { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--linie); font-size: 16px; line-height: 1.45; color: var(--text); }
.mr-ergebnis strong { display: block; margin: 4px 0 2px; font-size: clamp(40px, 4.6vw, 60px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; color: var(--red); font-variant-numeric: tabular-nums; }
.mr-note { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--grau); }
.miniroi .btn { margin-top: 22px; width: 100%; white-space: normal; text-align: center; }
.miniroi { container-type: inline-size; }
@container (max-width: 520px) {
  .mr-seg { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .mr-seg span { flex-direction: row; justify-content: space-between; align-items: baseline; min-height: 50px; padding: 12px 34px 12px 14px; }
  .mr-seg input:checked + span::after { top: 50%; margin-top: -3.5px; right: 14px; }
}
/* kompakte Variante auf dunklem Grund */
.miniroi.kompakt { background: #222221; border-color: #3A3A38; }
.miniroi.kompakt legend, .miniroi.kompakt .mr-std label, .miniroi.kompakt .mr-std output { color: #fff; }
.miniroi.kompakt .mr-seg span { background: #1A1A1A; border-color: #4A4A47; }
.miniroi.kompakt .mr-seg b { color: #fff; }
.miniroi.kompakt .mr-seg small, .miniroi.kompakt .mr-skala, .miniroi.kompakt .mr-note { color: #9A9A96; }
.miniroi.kompakt .mr-seg label:hover span, .miniroi.kompakt .mr-seg input:checked + span { border-color: #fff; box-shadow: inset 0 0 0 1px #fff; }
.miniroi.kompakt .mr-std input[type=range]::-webkit-slider-runnable-track { background: linear-gradient(to right, #fff 0 var(--p), #4A4A47 var(--p) 100%); }
.miniroi.kompakt .mr-std input[type=range]::-moz-range-track { background: #4A4A47; }
.miniroi.kompakt .mr-std input[type=range]::-moz-range-progress { background: #fff; }
.miniroi.kompakt .mr-std input[type=range]::-webkit-slider-thumb { border-color: #222221; box-shadow: 0 0 0 1px #fff; }
.miniroi.kompakt .mr-ergebnis { border-top-color: #3A3A38; color: #CFCFCB; }
.miniroi.kompakt .btn-outline { color: #fff; border-color: rgba(255,255,255,.7); }
.miniroi.kompakt .btn-outline:hover { background: #fff; color: var(--anthrazit); }

/* Kosten-Abschnitt robotics */
.kosten-rechts .satz { max-width: 18em; }
.kosten-rechts > p:not(.satz) { margin-top: 16px; color: var(--text); }
.kosten-rechts .miniroi { margin-top: 28px; }

/* ── PRODUKTBÜHNE ── */
.prod-card-img.buehne { position: relative; aspect-ratio: 4 / 3; display: block; overflow: hidden; border-radius: 2px 2px 0 0;
  background: radial-gradient(ellipse 62% 58% at 50% 40%, #FFFFFF 0%, #F6F6F4 46%, #E9E9E6 100%); }
.prod-card-img.buehne::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 10%; height: 7%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(26,26,26,.26), rgba(26,26,26,.08) 60%, transparent); z-index: 0; }
.prod-card-img.buehne img { position: absolute; z-index: 1; left: 16%; top: 10%; width: 68%; height: 76%; max-width: none; max-height: none; object-fit: contain; object-position: 50% 100%; }
.prod-card-img.buehne.ist-hell img { mix-blend-mode: multiply; }
.prod-card-img.buehne.ist-hell::after { display: none; }
.prod-card-img.buehne.ist-dunkel { background: radial-gradient(ellipse 60% 62% at 50% 44%, #3A3A38 0%, #262625 48%, #1A1A1A 100%); }
.prod-card-img.buehne.ist-dunkel::after { display: none; }
.prod-card-img.buehne.ist-dunkel img { mix-blend-mode: lighten; left: 18%; top: 12%; width: 64%; height: 76%; object-position: 50% 50%; }
.prod-card { transition: border-color .2s; }
.prod-card:hover { border-color: #B5B5B0; }

/* ── ROBOTER-SZENEN (index) ── */
.szenen { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.szene { margin: 0; display: flex; flex-direction: column; }
.szene-buehne { position: relative; border-radius: 2px; overflow: hidden; background: var(--anthrazit); }
.szene-buehne svg { display: block; width: 100%; height: auto; font-family: var(--font); }
.szene .zeile { margin-top: 22px; }
.szene h3 { margin-top: 10px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; color: var(--anthrazit); }
.szene p.txt { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--text); max-width: 34em; }
.szene .textlink { margin-top: 18px; align-self: flex-start; }
.sz-label { font-size: 13px; font-weight: 500; fill: #CFCFCB; }
.sz-klein { font-size: 11.5px; fill: #8E8E8A; }
@media (max-width: 860px) { .szenen { grid-template-columns: minmax(0, 1fr); } }

/* ── ABLAUF & PAKETE MIT ICONS ── */
.ablauf .ico { width: 34px; height: 34px; margin-bottom: 14px; }
@media (max-width: 620px) { .ablauf .ico { width: 30px; height: 30px; margin-bottom: 10px; } }
.paket-kopf { display: flex; align-items: center; gap: 14px; }
.paket-kopf .ico { width: 34px; height: 34px; }
.paket-kopf .paket-name { flex: 1; }

/* ── BEREICHE (Unternehmensstruktur) ── */
.bereiche-zwei { margin-top: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--anthrazit); }
.bereiche-zwei > a { display: flex; flex-direction: column; padding: 22px 24px 24px 0; min-width: 0; }
.bereiche-zwei > a + a { padding-left: 24px; border-left: 1px solid var(--linie); }
.bereiche-zwei .b-titel { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--anthrazit); }
.bereiche-zwei .b-firma { margin-top: 6px; font-size: 15px; color: var(--text); line-height: 1.5; }
.bereiche-zwei .b-mehr { margin-top: 16px; align-self: flex-start; font-size: 15px; font-weight: 500; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; color: var(--anthrazit); }
.bereiche-zwei > a:hover .b-titel { color: var(--red); }
.dach { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--linie); font-size: 13.5px; color: var(--grau); }
@media (max-width: 520px) {
  .bereiche-zwei { grid-template-columns: minmax(0, 1fr); }
  .bereiche-zwei > a { padding: 20px 0; }
  .bereiche-zwei > a + a { padding-left: 0; border-left: 0; border-top: 1px solid var(--linie); }
}

/* ── KNOPF MITTIG ── */
.knopf-mitte { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: center; }

/* ── MOBILE LEISTE ── */
.kj-leiste { display: none; }
@media (max-width: 899px) {
  .kj-leiste ~ .footer .footer-bottom { padding-bottom: calc(22px + 72px + env(safe-area-inset-bottom, 0px)); }
  .kj-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 190; display: flex; gap: 8px;
    padding: 10px max(12px, env(safe-area-inset-left, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-right, 0px));
    background: rgba(255,255,255,.97); border-top: 1px solid rgba(0,0,0,.09); box-shadow: 0 -8px 24px rgba(0,0,0,.06);
    transform: translateY(0); transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s; }
  .kj-leiste.weg { transform: translateY(110%); visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; }
  .kj-leiste .btn { min-height: 52px; padding: 12px 14px; font-size: 16px; white-space: nowrap; }
  .kj-leiste .btn-red { flex: 1.55 1 0; }
  .kj-leiste .kj-tel { flex: 1 1 0; background: var(--white); color: var(--anthrazit); border-color: var(--anthrazit); }
  .kj-leiste .kj-tel svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
  body.kj-menu-open .kj-leiste { display: none; }
}
@media (prefers-reduced-motion: reduce) { .kj-leiste, .kj-leiste.weg { transition: none; } }

/* ── RUHIGE HOVER ── */
.ref-img img, .gal-item img { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
@media (hover: hover) { .ref:hover .ref-img img { transform: scale(1.02); } }
@media (prefers-reduced-motion: reduce) { .ref-img img, .gal-item img { transition: none; } .ref:hover .ref-img img { transform: none; } }
.karte-hero .k-orte .aus { display: none; }
@media (max-width: 620px) { .karte-hero .k-orte .mx { display: none; } }

/* Kennzahlen mobil als Zeilen */
@media (max-width: 520px) {
  .zahlenreihe { grid-template-columns: minmax(0, 1fr); }
  .zahlenreihe li, .zahlenreihe li + li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-left: 0; border-bottom: 1px solid #3A3A38; }
  .zahlenreihe.hell li, .zahlenreihe.hell li + li { border-bottom-color: var(--linie); }
  .zahlenreihe li:last-child { border-bottom: 0; }
  .zahlenreihe b { min-width: 5.2em; font-size: 24px; }
  .zahlenreihe span { margin-top: 0; font-size: 14px; }
}

/* Foto im Einsatzgebiet */
.region-foto { margin: 0; }
.region-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.region-foto figcaption { margin-top: 12px; font-size: 13.5px; color: var(--grau); line-height: 1.6; }

/* Szenen: Ankunftsmarke */
.sz-ankunft { transition: opacity .4s ease; }
.sz-ankunft.an { opacity: 1; }

/* Standort aus PLZ-Check im Formular */
.form-standort { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--anthrazit); }
.form-standort-weg { margin-left: 6px; padding: 6px 2px; border: 0; background: none; font-family: var(--font); font-size: 14px; color: var(--grau); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.form-standort-weg:hover { color: var(--red); }

/* Zähler innerhalb fetter Kennzahl bleiben inline */
.hero-fakten b span, .zahlenreihe b span { display: inline; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; }

.nw { white-space: nowrap; }
.bereiche-zwei .b-titel { overflow-wrap: break-word; }

/* Navigation zwischen Tablet und Desktop ohne Umbruch */
.nav-link { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-link { padding: 8px 9px; font-size: 13px; }
  .nav-login { display: none; }
}
@media (max-width: 960px) { .region-foto { max-width: 520px; } }

/* ════════════════════════════════════════════════════════════════
   AUSBAU: Eckdaten, Logo-Laufband, ROI-Beispiel, Technikerkreis,
   Branchen, Ablauf, Produktbühne mit Bodenlinie, Struktur
   ════════════════════════════════════════════════════════════════ */

/* ── ECKDATEN (offene Faktenliste) ── */
.eckdaten { --e-linie: var(--linie); --e-dt: var(--grau); --e-dd: var(--anthrazit); --e-kopf: var(--anthrazit); min-width: 0; align-self: end; }
.hero .eckdaten, .dunkel .eckdaten, .eckdaten.auf-dunkel, .eckband .eckdaten { --e-linie: #343432; --e-dt: #96968F; --e-dd: #F2F2EF; --e-kopf: #F2F2EF; }
.eck-kopf { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--e-kopf); }
.eck-kopf strong { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 700; letter-spacing: -.01em; color: var(--e-kopf); }
.eck-kopf strong::before { content: ""; width: 9px; height: 9px; flex: 0 0 auto; background: var(--red); }
.eck-kopf span { font-size: 13px; color: var(--e-dt); }
.eckdaten dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(18px, 2vw, 28px); }
.eckdaten dl > div { min-width: 0; padding: 13px 0 12px; border-bottom: 1px solid var(--e-linie); }
.eckdaten dl > div.voll { grid-column: 1 / -1; }
.eckdaten dt { font-size: 12.5px; line-height: 1.4; color: var(--e-dt); }
.eckdaten dd { margin-top: 3px; font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--e-dd); overflow-wrap: break-word; }
.eckdaten dd b { font-weight: 700; }
.eckdaten dd small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--e-dt); }
.eckdaten dd a { color: inherit; border-bottom: 1.5px solid var(--red); padding-bottom: 1px; }
.eckdaten dd a:hover { color: var(--red); }
.eckdaten dl > div.ebene2 { padding-left: 18px; position: relative; }
.eckdaten dl > div.ebene2::before { content: ""; position: absolute; left: 2px; top: 0; bottom: 50%; width: 9px; border-left: 1px solid var(--e-dt); border-bottom: 1px solid var(--e-dt); opacity: .6; }
.eckdaten.struktur dl { grid-template-columns: minmax(0, 1fr); }
.eck-fuss { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--e-dt); }
.eck-links { list-style: none; }
.eck-links li a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0 14px; border-bottom: 1px solid var(--e-linie); font-size: 15.5px; font-weight: 500; color: var(--e-dd); }
.eck-links li a::after { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); opacity: .55; }
.eck-links li a:hover { color: var(--red); }
@media (max-width: 400px) { .eckdaten dl { grid-template-columns: minmax(0, 1fr); } }

/* Faktenband direkt unter dem Hero (Start und Robotics) */
.eckband { background: var(--anthrazit); color: var(--white); padding: 0 0 clamp(48px, 6vw, 84px); }
.eckband .eckdaten dl { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.eckband .eckdaten dl > div { padding: 16px 0 15px; }
@media (max-width: 1080px) { .eckband .eckdaten dl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 680px) { .eckband .eckdaten dl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ── KUNDENLOGOS ALS LAUFBAND ── */
.logo-band { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.logo-spur { display: flex; width: max-content; animation: logoLauf 75s linear infinite; }
.logo-spur ul { display: flex; align-items: center; flex: 0 0 auto; list-style: none; gap: clamp(40px, 5vw, 76px); padding-right: clamp(40px, 5vw, 76px); }
.logo-spur li { display: flex; align-items: center; justify-content: center; height: 72px; }
.logo-spur img { display: block; height: auto; width: auto; max-height: 70px; max-width: 168px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: opacity .2s, filter .2s; }
.logo-band:hover .logo-spur, .logo-band:focus-within .logo-spur { animation-play-state: paused; }
@media (hover: hover) { .logo-spur li:hover img { opacity: 1; filter: grayscale(0); } }
@keyframes logoLauf { to { transform: translateX(-50%); } }
@media (max-width: 620px) { .logo-spur img { max-height: 48px; max-width: 104px; } .logo-spur li { height: 60px; } .logo-spur { animation-duration: 55s; } }
@media (prefers-reduced-motion: reduce) {
  .logo-band { -webkit-mask-image: none; mask-image: none; }
  .logo-spur { animation: none; width: auto; }
  .logo-spur ul { flex: 1 1 auto; flex-wrap: wrap; justify-content: center; gap: 14px 36px; padding-right: 0; }
  .logo-spur ul[aria-hidden="true"] { display: none; }
}

/* ── ROI-BEISPIEL (Mockup des ROI-Rechners) ── */
.roi-muster { display: block; color: var(--anthrazit); background: var(--white); border: 1px solid #D9D9D5; border-radius: 2px; box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 48px -28px rgba(26,26,26,.35); transition: box-shadow .25s, transform .25s; container-type: inline-size; scroll-margin-top: 96px; }
.dunkel .roi-muster { border-color: #2E2E2C; box-shadow: 0 28px 60px -30px rgba(0,0,0,.8); }
.roi-muster:hover { box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 30px 56px -28px rgba(26,26,26,.45); }
.roi-muster:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.rm-leiste { display: flex; align-items: center; gap: 10px; padding: 11px 18px; background: var(--anthrazit); color: #fff; border-radius: 2px 2px 0 0; font-size: 13px; font-weight: 500; }
.rm-leiste::before { content: ""; width: 8px; height: 8px; background: var(--red); flex: 0 0 auto; }
.rm-leiste span { margin-left: auto; color: #8E8E8A; font-weight: 400; font-size: 12.5px; white-space: nowrap; }
.rm-innen { padding: clamp(18px, 3cqi, 30px); }
.rm-titel { font-size: 13px; font-weight: 600; color: var(--red); }
.rm-szenario { margin-top: 4px; font-size: clamp(19px, 3.6cqi, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.rm-eingaben { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; list-style: none; }
.rm-eingaben li { min-width: 0; padding: 10px 12px; background: var(--beton); border-radius: 2px; }
.rm-eingaben small { display: block; font-size: 11.5px; color: var(--grau); line-height: 1.3; }
.rm-eingaben b { display: block; margin-top: 2px; font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.rm-werte { margin-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--anthrazit); }
.rm-werte b { font-size: clamp(22px, 4.2cqi, 30px); }
.rm-werte b em { display: block; margin: 4px 0 0; font-size: 13px; color: var(--grau); }
.rm-werte > div { min-width: 0; padding: 16px 14px 4px 0; }
.rm-werte > div + div { padding-left: 14px; border-left: 1px solid var(--linie); }
.rm-werte small { display: block; font-size: 12.5px; color: var(--grau); line-height: 1.35; }
.rm-werte b { display: block; margin-top: 6px; font-size: clamp(22px, 5.4cqi, 34px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rm-werte b em { font-style: normal; font-size: .52em; font-weight: 600; letter-spacing: 0; margin-left: 3px; }
.rm-werte .rm-haupt b { color: var(--red); }
.rm-werte b span { display: inline; }
.rm-werte b i { font-style: normal; font-size: .46em; font-weight: 500; letter-spacing: 0; margin-right: 2px; color: var(--grau); }
.rm-leiste-zeit { margin-top: 20px; }
.rm-leiste-zeit .rm-monate { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.rm-leiste-zeit .rm-monate i { display: block; height: 10px; background: #D4D4D1; border-radius: 1px; transform-origin: left center; }
.rm-leiste-zeit .rm-monate i.plus { background: var(--red); }
.rm-leiste-zeit p { margin-top: 8px; display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--grau); line-height: 1.4; }
.rm-leiste-zeit p b { color: var(--anthrazit); font-weight: 600; }
.rm-hinweis { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: var(--grau); }
.rm-knopf { margin-top: 18px; width: 100%; }
.roi-muster:hover .rm-knopf { background: var(--red-dark); border-color: var(--red-dark); }
@container (max-width: 520px) {
  .rm-eingaben { grid-template-columns: minmax(0, 1fr); }
  .rm-werte { grid-template-columns: minmax(0, 1fr); }
  .rm-werte > div, .rm-werte > div + div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 13px 0; border-left: 0; border-bottom: 1px solid var(--linie); }
  .rm-werte b { margin-top: 0; font-size: 26px; }
}
.anim .roi-muster .rm-monate i { transform: scaleX(0); }
.anim .roi-muster.an .rm-monate i { transform: scaleX(1); transition: transform .35s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--m) * 55ms + 200ms); }
.kosten-rechts .roi-muster { margin-top: 28px; }
.roi-t-grid .roi-muster { align-self: center; }

/* ── TECHNIKER IM KREIS ── */
.region-foto.kreis { position: relative; width: 100%; max-width: 460px; justify-self: center; }
.kreis-rahmen { position: relative; aspect-ratio: 1; border-radius: 50%; padding: clamp(8px, 1.4vw, 12px); border: 1.2px solid var(--red); background: rgba(227,6,19,.03); }
.kreis-rahmen::after { content: ""; position: absolute; left: 50%; top: -5px; width: 9px; height: 9px; margin-left: -4.5px; background: var(--red); }
.kreis-rahmen img { display: block; width: 100%; height: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 48% 40%; }
.region-foto.kreis figcaption { margin-top: 16px; text-align: center; }
@media (max-width: 960px) { .region-foto.kreis { max-width: 380px; justify-self: start; } }
@media (max-width: 620px) { .region-foto.kreis { max-width: 320px; justify-self: center; } }

/* ── BRANCHEN: Icons und einmaliges Aufleuchten ── */
.branchen-liste .bt-tag { display: flex; align-items: center; gap: 14px; }
.branchen-liste .bt-tag .ico { width: 32px; height: 32px; }
.branchen-liste a { transition: background-color .2s; }
.branchen-liste a:hover .bt-h { color: var(--anthrazit); }
@media (hover: hover) { .branchen-liste a:hover .bt-h { color: var(--red); } }
.anim .branchen-liste.leuchten li .bt-h { animation: btLeuchten 1.1s ease calc(var(--i) * 420ms + 150ms) 1 both; }
.anim .branchen-liste.leuchten li .ico .r { animation: btQuadrat 1.1s ease calc(var(--i) * 420ms + 150ms) 1 both; transform-box: fill-box; transform-origin: center; }
@keyframes btLeuchten { 0% { color: var(--anthrazit); } 30% { color: var(--red); } 70% { color: var(--red); } 100% { color: var(--anthrazit); } }
@keyframes btQuadrat { 0% { transform: scale(1); } 35% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ── ABLAUF: 5 Spalten ab 1280 px, darunter 2, auf dem Handy 1 ── */
.ablauf { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); row-gap: 8px; }
.ablauf li { padding-right: 0; }
.ablauf p.txt { overflow-wrap: normal; }
@media (min-width: 1280px) {
  .ablauf { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 22px; }
  .ablauf h3 { font-size: 19px; }
  .ablauf p.txt { font-size: 14.5px; }
}
@media (min-width: 621px) and (max-width: 1279px) {
  .ablauf { border-top: 0; }
  .ablauf li { border-top: 1.5px solid var(--anthrazit); padding-top: 26px; margin-top: 14px; }
  .ablauf li:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - clamp(12px, 2vw, 28px)); }
}
@media (max-width: 620px) {
  .ablauf { grid-template-columns: minmax(0, 1fr); }
}

/* ── PRODUKTBÜHNE MIT BODENLINIE ── */
.prod-card-img.buehne { --boden: 16%; --hoehe: 70%; --fuss: 1;
  background:
    linear-gradient(to bottom, transparent 0, transparent calc(100% - var(--boden)), #E6E6E3 calc(100% - var(--boden)), #EEEEEB 100%),
    radial-gradient(ellipse 70% 80% at 50% 30%, #FFFFFF 0%, #F7F7F5 55%, #EFEFEC 100%); }
.prod-card-img.buehne::after { display: none; }
.prod-card-img.buehne .b-schatten { position: absolute; z-index: 0; left: 50%; bottom: calc(var(--boden) - 5px); width: calc(var(--sw, 120px) * .9); height: 10px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(26,26,26,.42), rgba(26,26,26,.16) 55%, transparent 100%); }
.prod-card-img.buehne img { position: absolute; z-index: 1; top: auto; left: 50%; right: auto; bottom: calc(var(--boden) - (1 - var(--fuss)) * var(--hoehe)); transform: translateX(-50%);
  width: auto; height: var(--hoehe); max-width: 80%; max-height: none; object-fit: contain; object-position: 50% 100%; mix-blend-mode: normal; }
.prod-card-img.buehne.ist-hell .b-schatten { display: none; }
.prod-card-img.buehne.ist-hell img { mix-blend-mode: multiply; }
.prod-card-img.buehne.hoch { --hoehe: 76%; }
.prod-card-img.buehne.flach { --hoehe: 52%; }
.prod-card-img.buehne.ist-dunkel { background: radial-gradient(ellipse 60% 62% at 50% 44%, #3A3A38 0%, #262625 48%, #1A1A1A 100%); }
.prod-card-img.buehne.ist-dunkel img { mix-blend-mode: lighten; }
.prod-card-img.buehne.ist-dunkel .b-schatten { display: none; }

/* ── STRUKTUR DER GRUPPE ── */
.gruppe-baum { margin-top: 0; }
.gb-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1.5px solid var(--anthrazit); }
.gb-kopf strong { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 700; }
.gb-kopf strong::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.gb-kopf span { font-size: 13px; color: var(--grau); }
.gb-dach { position: relative; margin-top: 22px; padding: 18px 22px; background: var(--anthrazit); color: #fff; border-radius: 2px; }
.gb-dach b { display: block; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.gb-dach span { display: block; margin-top: 2px; font-size: 14.5px; color: #B9B9B6; }
.gb-zweige { position: relative; margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gb-zweige::before { content: ""; position: absolute; top: -30px; left: 25%; right: 25%; height: 16px; border: 1px solid #B5B5B0; border-bottom: 0; }
.gb-zweige::after { content: ""; position: absolute; top: -30px; left: 50%; height: 0; }
.gb-dach::after { content: ""; position: absolute; left: 50%; bottom: -15px; height: 14px; border-left: 1px solid #B5B5B0; }
.gb-zweige > a { display: flex; flex-direction: column; min-width: 0; padding: 18px 20px 20px; background: var(--white); border: 1px solid var(--linie); border-top: 3px solid var(--anthrazit); border-radius: 2px; transition: border-color .2s; }
.gb-zweige > a.rot { border-top-color: var(--red); }
.gb-zweige > a:hover { border-color: #B5B5B0; }
.gb-zweige b { font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; overflow-wrap: break-word; }
.gb-zweige span { margin-top: 6px; font-size: 14.5px; line-height: 1.5; color: var(--text); }
.gb-zweige em { margin-top: auto; padding-top: 14px; align-self: flex-start; font-style: normal; font-size: 14.5px; font-weight: 500; border-bottom: 1.5px solid var(--red); padding-bottom: 2px; }
@media (max-width: 520px) {
  .gb-zweige { grid-template-columns: minmax(0, 1fr); margin-top: 14px; }
  .gb-zweige::before, .gb-dach::after { display: none; }
}
.form-row[hidden] { display: none; }
.eckband .eckdaten dl > div.voll { grid-column: auto; }
@media (max-width: 680px) { .eckband .eckdaten dl > div.voll { grid-column: 1 / -1; } }

/* Ablauf: ab 1280 px etwas breiter, damit lange Wörter ohne Trennung passen */
@media (min-width: 1280px) { .prozess > .wrap { max-width: 1360px; } }

/* Technische Daten: lange Bezeichnungen dürfen umbrechen, nichts ragt aus der Karte */
.prod-specs { grid-template-columns: minmax(0, max-content) minmax(0, 1fr); }
.prod-specs dt { max-width: 11em; white-space: normal; }
.prod-specs dt, .prod-specs dd { min-width: 0; overflow-wrap: break-word; }

/* Kennzahlen im Hero zwischen Tablet und Desktop */
@media (min-width: 900px) and (max-width: 1180px) {
  .zahlenreihe li { padding-right: 10px; }
  .zahlenreihe li + li { padding-left: 12px; }
  .zahlenreihe span { font-size: 13px; }
  .hero-fakten b { font-size: clamp(20px, 2.1vw, 26px); }
}

/* Auswahlfelder Kontakt: lange Bereichsnamen */
.form-routing label { overflow-wrap: break-word; min-width: 0; }
.hero-fakten b { font-size: clamp(20px, 1.9vw, 27px); }

/* ── KUNDENPORTAL ── */
.portal-buehne { position: relative; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 4vw, 56px) clamp(16px, 6vw, 110px) clamp(56px, 6vw, 80px) clamp(16px, 3vw, 48px); background: var(--beton); border-radius: 2px; }
.p-laptop { margin: 0; max-width: 900px; }
.p-rahmen { position: relative; background: #fff; border: 1px solid #CFCFCB; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(26,26,26,.45); }
.p-leiste { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #F4F4F2; border-bottom: 1px solid #E0E0DC; }
.p-leiste i { width: 8px; height: 8px; border-radius: 50%; background: #CFCFCB; }
.p-leiste b { flex: 0 1 46%; height: 14px; margin-left: 14px; border-radius: 7px; background: #E6E6E3; }
.p-rahmen img { display: block; width: 100%; height: auto; }
.p-handy { position: absolute; right: clamp(12px, 3vw, 48px); bottom: clamp(-28px, -2vw, -16px); margin: 0; width: clamp(130px, 19vw, 230px); }
.p-handy-rahmen { padding: 7px; background: var(--anthrazit); border-radius: 22px; box-shadow: 0 26px 50px -22px rgba(0,0,0,.55); }
.p-handy-rahmen img { display: block; width: 100%; height: auto; border-radius: 16px; }
.portal-funktionen { list-style: none; margin-top: clamp(56px, 6vw, 80px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--anthrazit); }
.portal-funktionen > li { min-width: 0; padding: 26px 26px 28px 0; border-bottom: 1px solid var(--linie); }
@media (min-width: 961px) { .portal-funktionen > li:not(.p-live):not(:nth-child(3n+2)) { padding-left: 26px; border-left: 1px solid var(--linie); } }
.portal-funktionen .ico { width: 34px; height: 34px; }
.portal-funktionen h3 { margin-top: 16px; font-size: 18px; font-weight: 700; letter-spacing: -.015em; line-height: 1.3; color: var(--anthrazit); }
.portal-funktionen p { margin-top: 8px; font-size: 15px; line-height: 1.65; color: var(--text); }
.portal-funktionen > li.p-live { grid-column: 1 / -1; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0 22px; padding: 28px 0 30px; border-left: 0; }
.p-live .ico { width: 44px; height: 44px; }
.p-live h3 { margin-top: 0; font-size: clamp(20px, 2vw, 24px); }
.p-live p { max-width: 46em; font-size: 16px; }
.p-live .p-fuss { margin-top: 10px; font-size: 14px; color: var(--grau); }
.portal-galerie { margin-top: clamp(40px, 5vw, 56px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pg-item { margin: 0; min-width: 0; }
.pg-bild { aspect-ratio: 4 / 3; overflow: hidden; background: #fff; border: 1px solid var(--linie); border-radius: 2px; }
.pg-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pg-item figcaption { margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--anthrazit); line-height: 1.45; }
.portal-galerie:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.portal-hinweis { margin-top: 14px; font-size: 12.5px; color: var(--grau); }
.portal-aktionen { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 960px) {
  .portal-funktionen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portal-funktionen > li:not(.p-live) { padding-left: 0; border-left: 0; }
  .portal-funktionen > li:not(.p-live):nth-child(odd) { padding-left: 22px; border-left: 1px solid var(--linie); }
  .portal-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .portal-galerie { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-right: calc(-1 * var(--rand)); padding-right: var(--rand); padding-bottom: 8px; scrollbar-width: thin; }
  .pg-item { flex: 0 0 78%; scroll-snap-align: start; }
}
@media (max-width: 620px) {
  .portal-funktionen { grid-template-columns: minmax(0, 1fr); }
  .portal-funktionen > li:not(.p-live):nth-child(odd) { padding-left: 0; border-left: 0; }
  .portal-funktionen > li { padding-right: 0; }
  .portal-funktionen > li.p-live { grid-template-columns: minmax(0, 1fr); }
  .p-live h3 { margin-top: 14px; }
  .portal-buehne { padding: 18px 14px 64px; }
  .p-handy { width: 34%; right: 10px; bottom: -22px; }
}
.portal-verweis { margin-top: 22px; max-width: 40em; font-size: 15.5px; line-height: 1.65; color: var(--text); } .portal-verweis .textlink { margin-left: 4px; }

/* Pudu-Cloud-Ausschnitte an der Kachel "Live aus der Hersteller-Cloud" */
.portal-funktionen > li.p-live { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.05fr); gap: 0 clamp(22px, 3vw, 44px); align-items: start; }
.cloud-collage { margin: 0; min-width: 0; }
.cc-stapel { display: flex; flex-direction: column; }
.cc-karte { background: #fff; border: 1px solid #DADAD6; border-radius: 4px; overflow: hidden; box-shadow: 0 18px 36px -22px rgba(26,26,26,.38); }
.cc-karte img { display: block; width: 100%; height: auto; }
.cc-monate { width: 84%; position: relative; z-index: 1; }
.cc-berichte { width: 88%; margin: -5% 0 0 12%; position: relative; z-index: 2; }
.cc-akku { width: 54%; margin: -9% 0 0 4%; position: relative; z-index: 3; }
.cloud-collage figcaption { margin-top: 12px; font-size: 12.5px; line-height: 1.5; color: var(--grau); }
.cc-stapel:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
@media (max-width: 960px) {
  .portal-funktionen > li.p-live { grid-template-columns: 44px minmax(0, 1fr); }
  .cloud-collage { grid-column: 2; margin-top: 24px; }
}
@media (max-width: 620px) {
  .portal-funktionen > li.p-live { grid-template-columns: minmax(0, 1fr); }
  .cloud-collage { grid-column: 1; }
  .cc-stapel { flex-direction: row; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; margin-right: calc(-1 * var(--rand)); padding: 4px var(--rand) 14px 0; }
  .cc-karte, .cc-monate, .cc-berichte, .cc-akku { flex: 0 0 84%; width: auto; margin: 0; scroll-snap-align: start; box-shadow: 0 10px 22px -16px rgba(26,26,26,.4); }
}

/* Intralogistik (robotics): drei Einsatzfälle auf dunklem Grund */
.abschnitt.intralogistik { padding: clamp(64px, 7vw, 104px) 0; }
.il-faelle { list-style: none; margin-top: clamp(36px, 4.5vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.il-fall { min-width: 0; display: flex; flex-direction: column; }
.il-buehne.prod-card-img.buehne { aspect-ratio: 4 / 3; border-radius: 2px; }
.il-modell { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: #96968F; }
.il-fall h3 { margin-top: 6px; font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--white); }
.il-fall h3 + p { margin-top: 10px; font-size: 16px; line-height: 1.65; color: var(--text-hell); max-width: 30em; }
.il-fuss { margin-top: clamp(36px, 4.5vw, 56px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid #343432; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.il-fuss > p { max-width: 34em; font-size: clamp(16.5px, 1.3vw, 18.5px); line-height: 1.6; color: #F2F2EF; }
.il-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.intralogistik .textlink { color: var(--white); }
.intralogistik .textlink:hover { color: var(--red); }
@media (max-width: 760px) {
  .il-faelle { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .il-buehne.prod-card-img.buehne { aspect-ratio: 16 / 10; }
  .il-modell { margin-top: 16px; }
}
@media (max-width: 480px) {
  .il-aktionen { width: 100%; }
  .il-aktionen .btn { width: 100%; justify-content: center; }
}
