/*
 * statechprint.de — Neuaufbau 2026 ("Prototyp neu").
 * Idea: a technical drawing, not a brochure. White paper, graphite ink, a millimetre grid as
 * texture. Royal blue carries structure and trust (header accents, links, dark bands, active
 * states); the brand orange only marks what you can do (enquiry buttons, one highlight). Product
 * images are our own 3D renderings on white, proof is shown as real documents and screens.
 */
:root {
  /* brand theme from the logo (design/statechprint-theme.css, Stanislav 30.10.2026) */
  --tinte: var(--sp-anthrazit);
  --graphit: var(--sp-anthrazit);
  --graphit-2: var(--sp-anthrazit-2);
  --stahl: var(--sp-grau-dunkel);
  --grau: var(--sp-grau);
  --linie: var(--sp-linie);
  --linie-dunkel: rgba(255, 255, 255, .14);
  --papier: var(--sp-papier);
  --weiss: var(--sp-weiss);
  --signal: var(--sp-orange);          /* logo orange: buttons, active states, one accent line */
  --signal-text: var(--sp-orange-text); /* orange as text on white: 4.6 : 1 */
  --signal-zart: var(--sp-orange-zart);
  --blau: var(--sp-blau);              /* logo blue, darker for links: 5.5 : 1 on white */
  --blau-text: var(--sp-blau-text);
  --blau-hell: var(--sp-blau-logo-hell); /* blue on anthracite: 5.8 : 1 */
  --blau-zart: var(--sp-blau-zart);
  --blau-tief: var(--sp-anthrazit-2);  /* dark bands and cards: the logo's anthracite */
  --blau-nacht: var(--sp-anthrazit);   /* hero, footer */
  --ok: #17703f;
  /* one accent per area (Stanislav 20.10.2026: „mehr Farbvarianz, sodass man unterscheiden kann“):
     manufacturing royal blue, tools green, digitalisation violet. Set on <body> by bauen.py. */
  --akzent: var(--blau);
  --akzent-text: var(--blau-text);
  --akzent-zart: var(--sp-blau-zart);
  --akzent-glow: rgba(92, 139, 231, .45);

  --titel: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;

  --breite: 1440px;
  --rand: clamp(16px, 4vw, 40px);
  --r: 4px;
  --r-gross: 8px;
  --schatten: 0 1px 2px rgba(21, 23, 26, .06), 0 8px 24px rgba(21, 23, 26, .07);
  --raster: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px,
            linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 24px 24px;
  --raster-hell: linear-gradient(rgba(21, 23, 26, .045) 1px, transparent 1px) 0 0 / 24px 24px,
                 linear-gradient(90deg, rgba(21, 23, 26, .045) 1px, transparent 1px) 0 0 / 24px 24px;
}
.bereich-werkzeuge { --akzent: var(--sp-cyan-linie); --akzent-text: var(--sp-cyan-text); --akzent-zart: var(--sp-cyan-zart); --akzent-glow: rgba(103, 208, 238, .4); }
.bereich-digital { --akzent: var(--sp-magenta); --akzent-text: var(--sp-magenta-text); --akzent-zart: var(--sp-magenta-zart); --akzent-glow: rgba(197, 13, 105, .45); }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font: 400 17px/1.65 var(--text); color: var(--tinte); background: var(--weiss); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tinte); text-decoration-color: var(--blau); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--blau-text); }
h1, h2, h3 { font-family: var(--titel); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .45em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.3vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.25rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
/* W-LESBAR1 (HQ audit 28.10.2026): readability fixes on the live site */
@media (min-width: 640px) { body { font-size: 18px; } }
.huelle > p, .artikel p, .rechtstext p, .fragen p, .foerderung p { max-width: 68ch; }
.dunkel :focus-visible, .held :focus-visible, .abschluss :focus-visible, .fuss :focus-visible { outline-color: var(--blau-hell); }
.abschluss .kontakt a, .fuss a { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--weiss); padding: 8px 14px; }
.springen:focus { left: 8px; }
[hidden] { display: none !important; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.band { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.band.papier { background: var(--akzent-zart); }
.band.raster { background: var(--akzent-zart); background-image: var(--raster-hell); }
.band.dunkel { background: var(--blau-tief); background-image: var(--raster), radial-gradient(120% 90% at 85% 0%, var(--akzent-glow), transparent 60%); color: #c9ccd2; }
.band.dunkel h2, .band.dunkel h3 { color: var(--weiss); }
.band.eng { padding: 40px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .78rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--stahl); margin-bottom: 18px; }
.kicker::before { content: ''; width: 22px; height: 2px; background: var(--akzent); }
.dunkel .kicker::before, .held .kicker::before { background: var(--blau-hell); }
.dunkel .kicker, .held .kicker { color: #c9ccd2; }
.lead { font-size: 1.18rem; color: var(--stahl); max-width: 40em; }
.dunkel .lead { color: #c9ccd2; }
.kopf { max-width: 760px; margin-bottom: 52px; }
.mono { font-family: var(--mono); }
.leise { color: var(--grau); font-size: .9rem; }

/* ---------- buttons ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.5em; border-radius: var(--r); font: 600 1rem/1.2 var(--text); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, border-color .15s; min-height: 48px; }
.knopf:hover { transform: translateY(-1px); }
.knopf.signal { background: var(--signal); color: var(--tinte); }
.knopf.signal:hover { background: var(--sp-orange-hover); color: var(--tinte); }
/* W14: the preparation sheet is the viewer's main button, in its own colour (not the orange of the offer) */
.knopf.bogen { background: #17704a; color: #fff; }
.knopf.bogen:hover { background: #135f3e; color: #fff; }
.knopf.rahmen { border-color: var(--tinte); color: var(--tinte); background: transparent; }
.knopf.rahmen:hover { background: var(--tinte); color: var(--weiss); }
.dunkel .knopf.rahmen, .held .knopf.rahmen, .foerderung .knopf.rahmen { border-color: rgba(255, 255, 255, .55); color: var(--weiss); }
.dunkel .knopf.rahmen:hover, .held .knopf.rahmen:hover, .foerderung .knopf.rahmen:hover { background: var(--weiss); color: var(--tinte); }
.knopf.klein { padding: .55em 1em; min-height: 40px; font-size: .92rem; }
.knopf svg { width: 1.15em; height: 1.15em; }
.knopf[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.textlink { font-weight: 600; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.textlink::after { content: '→'; color: var(--blau-text); transition: transform .15s; }
.textlink:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
/* W-SPLIT1 (Stanislav 31.10.2026): two areas, one filled button across – as prominent as "Anfrage stellen".
   3D printing pages show a blue "IT" button, IT pages an orange "3D-Druck" button. The copy in the header
   (bereich-im-kopf) is for phones, where the menu sits in the drawer; the one in the menu is for wide screens. */
.bereich-knopf { gap: 6px; font-weight: 700; padding: 12px 18px; border-radius: 8px; text-decoration: none; white-space: nowrap; }
.bereich-knopf.zu-it { background: var(--blau); color: var(--weiss); box-shadow: 0 4px 14px rgba(33, 96, 222, .28); }
.bereich-knopf.zu-it:hover, .bereich-knopf.zu-it:focus-visible { background: var(--blau-text); color: var(--weiss); }
.bereich-knopf.zu-druck { background: var(--signal); color: var(--tinte); box-shadow: 0 4px 14px rgba(255, 145, 0, .32); }
.bereich-knopf.zu-druck:hover, .bereich-knopf.zu-druck:focus-visible { background: #ffa033; color: var(--tinte); }
.bereich-knopf .bereich-sprache { font: 600 .7rem/1 var(--mono); opacity: .85; }
.navi > a.bereich-knopf { margin-right: 8px; padding: 12px 18px; }
/* in the IT area the orange belongs to the way back; the request button there takes the IT blue */
.bereich-digital .kopf-anfrage { background: var(--blau); color: var(--weiss); box-shadow: 0 4px 14px rgba(33, 96, 222, .28); }
.bereich-digital .kopf-anfrage:hover, .bereich-digital .kopf-anfrage:focus-visible { background: var(--blau-text); color: var(--weiss); box-shadow: 0 8px 20px rgba(33, 96, 222, .36); }
.kopfleiste .bereich-im-kopf { display: none; }
.kopf-anfrage { gap: 8px; box-shadow: 0 4px 14px rgba(255, 145, 0, .32); transition: transform .15s, box-shadow .15s, background .15s; }
.kopf-anfrage svg { width: 16px; height: 16px; flex: none; stroke: currentColor; }
.kopf-anfrage:hover, .kopf-anfrage:focus-visible { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(255, 145, 0, .4); }
.kopf-anfrage[aria-current="page"] { box-shadow: none; outline: 2px solid var(--tinte); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .kopf-anfrage { transition: none; } .kopf-anfrage:hover { transform: none; } }
.kopfleiste { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--linie); }
.kopfleiste .huelle { display: flex; align-items: center; gap: 28px; height: 72px; }
.wortmarke { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--tinte); flex: none; }
.wortmarke img { width: auto; height: 38px; }
.wortmarke b { font: 700 1.15rem/1 var(--titel); letter-spacing: .04em; }
.wortmarke small { display: block; font: 500 .62rem/1 var(--mono); letter-spacing: .14em; color: var(--grau); margin-top: 4px; text-transform: uppercase; }
.navi { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.navi > a, .navi .gruppe > button { font: 500 .95rem/1 var(--text); color: var(--tinte); text-decoration: none; padding: 12px 12px; border: 0; background: none; cursor: pointer; border-radius: var(--r); display: inline-flex; gap: 5px; align-items: center; }
.navi > a:hover, .navi .gruppe > button:hover { background: var(--papier); color: var(--tinte); }
.navi > a[aria-current="page"], .navi .gruppe > button.aktiv { box-shadow: inset 0 -2px 0 var(--blau); border-radius: 0; }
.navi .gruppe { position: relative; }
.navi .gruppe > button svg { width: 14px; height: 14px; }
/* W7 (23.10.2026): "Für Integratoren" leads the tools menu; the digital offer carries its violet, quieter than the jaws */
.navi .menue a.hervor { background: #eef6f1; box-shadow: inset 4px 0 0 var(--ok); }
/* W-NAV1 (Stanislav 27.10.2026: „nicht einfach ein Link, eher ein Kasten wie ‚Anfrage stellen‘“): IT as a framed
   violet box – visibly a box, but quieter than the orange call to action, so there are never two equal buttons */
.navi .gruppe-digital > button { color: var(--blau-text); font-weight: 650; background: var(--blau-zart); border: 1.5px solid var(--blau);
  border-radius: 8px; box-shadow: none; padding-left: 12px; padding-right: 10px; margin: 0 10px 0 4px; }
.navi .gruppe-digital > button:hover, .navi .gruppe-digital > button[aria-expanded="true"] { background: #e0e7ff; color: var(--blau-tief); }
/* the contact person at the foot of the IT menu and of every IT page (photo, or initials until it exists) */
.navi .menue-person { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; margin-top: 6px; padding: 10px 12px;
  border-top: 1px solid var(--linie); background: var(--papier); border-radius: 0 0 var(--r-gross) var(--r-gross); font-size: .9rem; }
.navi .menue-person > div { display: flex; flex-direction: column; gap: 2px; }
.navi .menue-person strong { color: var(--tinte); font-size: .9rem; }
.navi .menue .menue-person a { display: inline; padding: 0; color: var(--blau-text); font-weight: 600; white-space: nowrap; }
.navi .menue .menue-person a:hover { background: none; text-decoration: underline; }
.navi .menue .mp-bild-initialen { font-size: .95rem; color: #fff; }
.mp-bild, .ap-bild { flex: none; border-radius: 50%; object-fit: cover; }
.mp-bild { width: 44px; height: 44px; }
.mp-bild-initialen, .ap-bild-initialen { display: grid; place-items: center; background: var(--blau); color: #fff; font-weight: 700; letter-spacing: .04em; }
.it-kontakt { display: flex; align-items: center; gap: 28px; padding: 28px; border: 1px solid var(--linie);
  border-top: 4px solid var(--blau); border-radius: var(--r-gross); background: var(--weiss); max-width: 860px; }
.ap-bild { width: 140px; height: 140px; font-size: 2.4rem; }
.it-kontakt .ap-bild-initialen { color: #fff; font-size: 2.4rem; }
.ap-text h2 { margin: 4px 0 6px; }
.ap-wege { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.ap-wege a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blau-text); }
.ap-wege svg { width: 18px; height: 18px; }
.ap-knopf { margin-top: 16px; }
.ap-knopf .knopf svg { width: 16px; height: 16px; margin-right: 6px; }
@media (max-width: 640px) { .it-kontakt { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px; } .ap-bild { width: 104px; height: 104px; font-size: 1.8rem; } }
.navi .gruppe-digital > button::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blau); flex: none; }
.navi .gruppe-digital .menue { border-top: 4px solid var(--blau); }
.navi .menue { position: absolute; top: calc(100% + 8px); left: -12px; width: 360px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: 0 24px 48px rgba(21, 23, 26, .16); padding: 8px; display: none; }
.navi .menue::before { content: ''; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.navi .gruppe:hover .menue, .navi .gruppe:focus-within .menue { display: block; }
.navi .menue a { display: grid; grid-template-columns: 56px 1fr; gap: 0 12px; align-items: center; padding: 8px; border-radius: var(--r); text-decoration: none; color: var(--tinte); }
.navi .menue a:hover { background: var(--papier); }
.navi .menue img { grid-row: span 2; width: 56px; height: 42px; object-fit: cover; border-radius: 3px; background: var(--papier); }
.navi .menue strong { font-size: .95rem; }
.navi .menue span { font-size: .8rem; color: var(--grau); }
/* mega menu: list in two columns, a large preview of the hovered entry on the right */
.navi .menue.menue-gross { width: min(860px, calc(100vw - 40px)); left: 50%; transform: translateX(-50%); padding: 10px; gap: 10px; grid-template-columns: minmax(0, 1fr) 300px; }
.navi .gruppe:hover .menue-gross, .navi .gruppe:focus-within .menue-gross { display: grid; animation: menue-auf .18s ease-out; }
@keyframes menue-auf { from { opacity: 0; transform: translate(-50%, -6px); } to { opacity: 1; transform: translate(-50%, 0); } }
.menue-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; align-content: start; }
.navi .menue-liste a { grid-template-columns: 44px 1fr; }
.navi .menue-liste img { width: 44px; height: 34px; }
.menue-symbol { grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r-gross); display: grid; place-items: center;
  background: var(--blau-zart); color: var(--blau-tief); font-style: normal; transition: background .15s, color .15s; }
.menue-symbol svg { width: 22px; height: 22px; }
.navi .menue-liste a:hover .menue-symbol, .navi .menue-liste a:focus-visible .menue-symbol { background: var(--blau); color: var(--weiss); }
.menue-vorschau { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r); background: var(--papier); }
.navi .menue .menue-vorschau img { grid-row: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--weiss); transition: opacity .18s, transform .3s; }
.menue-gross.wechsel .menue-vorschau img { opacity: .35; transform: scale(.985); }
.navi .menue .menue-vorschau strong { font: 600 1.05rem/1.25 var(--titel); color: var(--tinte); margin-top: 4px; }
.navi .menue .menue-vorschau span { font-size: .85rem; color: var(--stahl); }
.kopfleiste .konto { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; text-decoration: none; padding: 10px 12px; color: var(--tinte); }
.kopfleiste .konto svg { width: 20px; height: 20px; }
/* label on hover and keyboard focus, as in the plastoNet prototype (Stanislav 31.10.2026); on touch screens a tap
   goes straight to the account page, so no label there */
.kopfleiste .konto { position: relative; }
.kopfleiste .konto .konto-tipp { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; white-space: nowrap; pointer-events: none;
  font-size: .82rem; font-weight: 600; line-height: 1; color: var(--weiss); background: var(--tinte); padding: 9px 12px; border-radius: var(--r);
  box-shadow: var(--schatten); opacity: 0; transform: translateY(-4px); visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; }
.kopfleiste .konto .konto-tipp::before { content: ''; position: absolute; top: -5px; right: 18px; width: 10px; height: 10px; background: var(--tinte); transform: rotate(45deg); }
@media (hover: hover) { .kopfleiste .konto:hover .konto-tipp { opacity: 1; transform: none; visibility: visible; } }
.kopfleiste .konto:focus-visible .konto-tipp { opacity: 1; transform: none; visibility: visible; }
.sprachwahl { font: 600 .78rem/1 var(--mono); letter-spacing: .08em; color: var(--tinte); text-decoration: none; padding: 8px 9px; border: 1px solid var(--linie); border-radius: var(--r); margin-left: 6px; }
.sprachwahl:hover { border-color: var(--blau); color: var(--blau-text); }
.menueknopf { display: none; width: 46px; height: 46px; border: 1px solid var(--linie); background: var(--weiss); border-radius: var(--r); cursor: pointer; }
.menueknopf svg { width: 22px; height: 22px; }
.menueknopf .sym-auf, .menueknopf .sym-zu { display: inline-flex; }
.menueknopf .sym-zu, .menueknopf[aria-expanded="true"] .sym-auf { display: none; }
.menueknopf[aria-expanded="true"] .sym-zu { display: inline-flex; }
.navi > a.navi-tel, .navi > a.navi-sprache { display: none; }
/* Desktop (burger menu up to 1200 px): the German menu plus button, language and account did not fit – "Kundenkonto" was cut off
   (design audit 20.10.2026). Icon only for the account (it keeps its aria-label), tighter spacing. */
@media (min-width: 1201px) {
  .kopfleiste .huelle { gap: 16px; }
  .kopfleiste .konto span { display: none; }
  .navi > a, .navi .gruppe > button { padding: 12px 9px; }
}
@media (max-width: 1200px) {
  .menueknopf { display: inline-flex; align-items: center; justify-content: center; margin-left: auto; }
  /* W-SPLIT1: on phones the area button stands in the header bar beside the menu button, and on top of the drawer */
  .kopfleiste .bereich-im-kopf { display: inline-flex; align-items: center; margin-left: auto; padding: 10px 14px; }
  .kopfleiste .bereich-im-kopf ~ .menueknopf { margin-left: 0; }
  .navi > a.bereich-im-menue { order: -1; width: 100%; justify-content: center; margin: 0 0 12px; padding: 14px; }
}
@media (max-width: 600px) {
  /* phones: logo, area button, account and menu must fit in 390 px */
  .kopfleiste .huelle { gap: 6px; }
  .kopfleiste .bereich-im-kopf { padding: 9px 11px; font-size: .9rem; box-shadow: none; }
  .kopfleiste .konto { padding: 8px 6px; }
  .kopfleiste .konto span { display: none; }
  .navi { position: fixed; z-index: 50; overscroll-behavior: contain; left: 0; right: 0; bottom: 0; top: 72px; background: var(--weiss); flex-direction: column; align-items: stretch; padding: 12px var(--rand) 32px; overflow-y: auto; visibility: hidden; transform: translateX(100%); transition: transform .25s; margin: 0; }
  .navi.offen { visibility: visible; transform: none; }
  .navi > a:not(.knopf), .navi .gruppe > button { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--linie); border-radius: 0; box-shadow: none !important; }
  .navi .menue { position: static; display: block; width: auto; box-shadow: none; border: 0; padding: 4px 0 8px; }
  .navi .menue.menue-gross { display: block; width: auto; transform: none; animation: none; }
  /* accordion: one group open at a time (sp.js); hover/focus must not open groups on touch */
  .navi .gruppe:not(.auf) .menue { display: none !important; }
  .navi .gruppe.auf .menue { display: block !important; animation: none; }
  .navi .gruppe > button svg { transition: transform .2s; }
  .navi .gruppe.auf > button { color: var(--blau-text); }
  .navi .gruppe.auf > button svg { transform: rotate(180deg); }
  .navi .menue-liste a { min-height: 48px; }
  .navi .knopf { width: 100%; justify-content: center; }
  .navi > a.navi-tel { display: inline-flex; width: 100%; border-bottom: 1px solid var(--linie); align-items: center; justify-content: center; gap: 8px; margin-top: 10px; padding: 12px; font-weight: 600; color: var(--tinte); text-decoration: none; border: 1px solid var(--linie); border-radius: var(--r); }
  .navi > a.navi-tel svg { width: 18px; height: 18px; }
  .navi > a.navi-sprache { display: block; text-align: center; margin-top: 10px; padding: 12px; font-weight: 600; color: var(--blau-text); }
  .kopfleiste .sprachwahl { display: none; }
  .menue-liste { grid-template-columns: 1fr; }
  .menue-vorschau { display: none; }
  .navi .knopf { margin-top: 18px; }
  html.menue-offen { overflow: hidden; }
}

/* ---------- hero ---------- */
.held { position: relative; background: var(--blau-nacht); background-image: var(--raster), radial-gradient(90% 120% at 100% 0%, var(--akzent-glow), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(19, 35, 90, .9), transparent 70%); color: var(--weiss); overflow: hidden; isolation: isolate; }
.held .huelle { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; min-height: min(78vh, 720px); padding-top: 56px; padding-bottom: 56px; }
.held h1 { color: var(--weiss); }
.held h1 .signal { color: var(--signal); }
.held .lead { color: #b9bdc4; }
.held .aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 34px; }
.spezifikation { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--linie-dunkel); }
.spezifikation div { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--linie-dunkel); }
.spezifikation div:last-child { border-right: 0; margin-right: 0; }
.spezifikation b { display: block; font: 600 1.25rem/1.2 var(--mono); color: var(--weiss); }
.spezifikation span { font-size: .8rem; color: #c9ccd2; }
/* trust row under the homepage hero: four short facts, blue ticks */
.vertrauen { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--linie-dunkel); display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 14px 28px; }
.vertrauen li { display: grid; grid-template-columns: 18px auto; column-gap: 8px; font-size: .82rem; color: #a9b4d6; line-height: 1.35; }
.vertrauen li::before { content: ''; grid-row: span 2; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: rgba(143, 168, 255, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%238fa8ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.vertrauen b { font: 600 .92rem/1.25 var(--mono); color: var(--weiss); }
.held h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
@media (max-width: 520px) { .vertrauen { grid-template-columns: 1fr 1fr; gap: 12px 16px; } }
.held .medien { position: relative; aspect-ratio: 4 / 3.4; border-radius: var(--r-gross); overflow: hidden; border: 1px solid var(--linie-dunkel); background: #0f1012; }
.held .medien video, .held .medien img { width: 100%; height: 100%; object-fit: cover; }
/* own line drawings are shown whole on white, never cropped */
.held .medien img[src*="zeichnung-"] { object-fit: contain; background: var(--weiss); padding: 12px; }
.held .medien .massband { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; font: 500 .72rem/1 var(--mono); color: #c9ccd2; letter-spacing: .08em; }
.held.unter .huelle { min-height: 0; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); padding-top: 72px; padding-bottom: 72px; }
.held.unter h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.held.unter .medien { aspect-ratio: 4 / 3; }
.pfad { font: 500 .78rem/1 var(--mono); color: #c9ccd2; margin-bottom: 22px; letter-spacing: .06em; }
.pfad a { color: #c9ccd2; text-decoration: underline; text-decoration-color: rgba(201, 204, 210, .45); text-underline-offset: 3px; }
@media (max-width: 900px) { .held .huelle, .held.unter .huelle { grid-template-columns: 1fr; min-height: 0; } .spezifikation { grid-template-columns: 1fr 1fr 1fr; } .spezifikation div { padding-right: 10px; margin-right: 10px; } .spezifikation b { font-size: 1rem; } }

/* ---------- doors ---------- */
.tueren { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; background: var(--weiss); }
.tuer { display: flex; flex-direction: column; padding: 30px 30px 28px; text-decoration: none; color: var(--tinte); border-right: 1px solid var(--linie); position: relative; transition: background .2s; }
.tuer:last-child { border-right: 0; }
.tuer:hover { background: var(--papier); color: var(--tinte); }
.tuer::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--blau); transition: width .3s; }
.tuer:hover::before { width: 100%; }
.tuer .nr { font: 600 .78rem/1 var(--mono); color: var(--grau); }
.tuer img { aspect-ratio: 16 / 10; object-fit: cover; margin: 18px 0 20px; border-radius: var(--r); background: var(--papier); }
/* own drawings (zeichnung-*.webp) are never cropped, wherever they appear as a thumbnail */
img[src*="zeichnung-"] { object-fit: contain !important; background: var(--weiss) !important; }
.tuer img[src*="zeichnung-"] { border: 1px solid var(--linie); }
.tuer p { color: var(--stahl); margin: 0 0 18px; }
.tuer .textlink { margin-top: auto; }
.tuer h3 a { color: inherit; text-decoration: none; }
.tuer h3 a::after { content: ' →'; color: var(--blau-text); }
.tuer-liste { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--linie); }
.tuer-liste li { border-bottom: 1px solid var(--linie); }
.tuer-liste a { display: block; padding: 11px 0; color: var(--tinte); text-decoration: none; font-weight: 500; font-size: .95rem; }
.tuer-liste a:hover { color: var(--blau-text); }
.tuer-liste a::before { content: ''; display: inline-block; width: 6px; height: 6px; border-top: 2px solid var(--blau); border-right: 2px solid var(--blau); transform: rotate(45deg); margin: 0 12px 2px 0; }
@media (max-width: 900px) { .tueren { grid-template-columns: 1fr; } .tuer { border-right: 0; border-bottom: 1px solid var(--linie); } .tuer:last-child { border-bottom: 0; } }

/* ---------- product cards ---------- */
.raster-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.raster-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.raster-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 960px) { .raster-3, .raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .raster-2, .raster-3, .raster-4 { grid-template-columns: 1fr; } }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--tinte); transition: box-shadow .2s, border-color .2s; }
a.karte:hover { box-shadow: var(--schatten); border-color: #cfd2d7; color: var(--tinte); }
.karte .bild { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--papier); }
.karte .inhalt { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.karte .inhalt p { color: var(--stahl); margin: 0; font-size: .95rem; }
.daten { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font: 500 .74rem/1 var(--mono); padding: 6px 8px; border: 1px solid var(--linie); border-radius: 3px; color: var(--stahl); background: var(--weiss); }
.dunkel .chip { border-color: var(--linie-dunkel); color: #c9ccd2; background: transparent; }
.dunkel .karte { background: rgba(255, 255, 255, .05); border-color: var(--linie-dunkel); color: #c9ccd2; }
.dunkel .karte .inhalt p { color: #c9ccd2; }
.bu { font-size: .82rem; color: var(--grau); margin-top: 8px; font-family: var(--mono); }

/* ---------- split ---------- */
.geteilt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.geteilt.breit-links { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.geteilt.umgekehrt > :first-child { order: 2; }
.rahmenbild { border: 1px solid var(--linie); border-radius: var(--r-gross); overflow: hidden; background: var(--weiss); }
.rahmenbild img, .rahmenbild video { width: 100%; }
.dunkel .rahmenbild { border-color: var(--linie-dunkel); }
@media (max-width: 900px) { .geteilt, .geteilt.breit-links { grid-template-columns: 1fr; } .geteilt.umgekehrt > :first-child { order: 0; } }
.punkte { list-style: none; padding: 0; margin: 0 0 1.4em; }
.punkte li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--linie); }
.dunkel .punkte li { border-color: var(--linie-dunkel); }
.punkte li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--blau); border-bottom: 2px solid var(--blau); transform: rotate(-45deg); }
.punkte li b { font-weight: 600; }

/* ---------- process ---------- */
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); counter-reset: s; border-top: 2px solid var(--tinte); }
.ablauf li { padding: 20px 18px 0 0; counter-increment: s; position: relative; }
.ablauf li::before { content: counter(s, decimal-leading-zero); font: 600 .8rem/1 var(--mono); color: var(--blau-text); display: block; margin-bottom: 12px; }
.ablauf li::after { content: ''; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--weiss); border: 2px solid var(--tinte); }
.ablauf b { display: block; font: 700 1.02rem/1.25 var(--titel); margin-bottom: 6px; }
.ablauf span { font-size: .9rem; color: var(--stahl); display: block; }
/* four or five steps fill the row instead of leaving empty sixth columns (service, prototype, series pages) */
@media (min-width: 961px) {
  .ablauf:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ablauf:has(> li:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.ablauf h3 { font-size: 1.05rem; margin: 0 0 6px; }
.ablauf li p { font-size: .94rem; color: var(--stahl); margin: 0; }
@media (max-width: 960px) { .ablauf { grid-template-columns: repeat(3, 1fr); row-gap: 28px; } }
@media (max-width: 560px) { .ablauf { grid-template-columns: 1fr 1fr; } }

/* ---------- figures ---------- */
.zahlen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.zahlen div { padding: 26px 20px 24px 0; border-right: 1px solid var(--linie); padding-left: 20px; }
.zahlen div:first-child { padding-left: 0; }
.zahlen div:last-child { border-right: 0; }
.zahlen b { display: block; font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--mono); letter-spacing: -.02em; }
.zahlen b small { font-size: .5em; color: var(--grau); margin-left: 4px; }
.zahlen span { font-size: .88rem; color: var(--stahl); }
@media (max-width: 760px) { .zahlen { grid-template-columns: 1fr 1fr; } .zahlen div { padding-left: 0 !important; } .zahlen div:nth-child(2) { border-right: 0; } .zahlen div:nth-child(-n+2) { border-bottom: 1px solid var(--linie); } }

/* ---------- screens (digitalisation) ---------- */
.bildschirm { border-radius: 10px; overflow: hidden; border: 1px solid var(--linie-dunkel); background: #0f1012; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.bildschirm .leiste { height: 26px; display: flex; gap: 6px; align-items: center; padding: 0 10px; background: #1b1d21; }
.bildschirm .leiste i { width: 9px; height: 9px; border-radius: 50%; background: #3a3f46; }
.bildschirm img { width: 100%; }
.papier .bildschirm, .raster .bildschirm { border-color: var(--linie); box-shadow: var(--schatten); }
.tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 20px; }
.tabs button { font: 600 .9rem/1 var(--text); padding: 12px 16px; border-radius: var(--r); border: 1px solid var(--linie-dunkel); background: transparent; color: #c9ccd2; cursor: pointer; min-height: 44px; }
.tabs button[aria-selected="true"] { background: var(--blau); color: var(--weiss); border-color: var(--blau); }

/* ---------- packages ---------- */
.paket { border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 26px; background: var(--weiss); display: flex; flex-direction: column; gap: 10px; }
.paket.hervor { border: 2px solid var(--tinte); }
.paket .preis { font: 600 1.5rem/1.1 var(--mono); }
.paket .preis small { font: 400 .8rem var(--text); color: var(--grau); }
.paket ul { margin: 4px 0 12px; padding-left: 1.1em; color: var(--stahl); font-size: .94rem; }
.paket .knopf { margin-top: auto; }
/* reference cases (faelle.json): photo left, Ausgangslage / Lösung / Ergebnis right */
.faelle { display: grid; gap: 28px; }
.fall { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; border-top: 2px solid var(--tinte); padding-top: 28px; }
.fall:not(:has(.rahmenbild)) { grid-template-columns: minmax(0, 1fr); }
.fall dl { margin: 12px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; }
.fall dt { font: 600 .72rem/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grau); }
.fall dd { margin: 0; color: var(--stahl); max-width: 38em; }
.fall-zahl { margin: 20px 0 0; display: flex; align-items: baseline; gap: 12px; }
.fall-zahl b { font: 600 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--mono); }
.fall-zahl span { color: var(--stahl); font-size: .9rem; }
@media (max-width: 760px) { .fall, .fall dl { grid-template-columns: minmax(0, 1fr); } .fall dl { gap: 2px; } .fall dd { margin-bottom: 10px; } }

/* ---------- FAQ ---------- */
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font: 600 1.08rem/1.35 var(--titel); }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: '+'; font: 500 1.4rem/1 var(--mono); color: var(--blau-text); }
.fragen details[open] summary::after { content: '–'; }
.fragen details p { color: var(--stahl); margin: -6px 0 20px; max-width: 46em; }

/* ---------- forms ---------- */
.formular { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: clamp(20px, 4vw, 36px); }
.feld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.feld label, .feldtitel { font-weight: 600; font-size: .9rem; }
.feld input, .feld select, .feld textarea { font: inherit; font-size: 1rem; padding: 12px 14px; border: 1px solid #c8ccd2; border-radius: var(--r); background: var(--weiss); color: var(--tinte); min-height: 48px; width: 100%; }
.feld textarea { min-height: 110px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--tinte); box-shadow: 0 0 0 3px rgba(255, 145, 0, .35); }
.reihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 16px; }
.einwilligung, .ohne-ki { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; color: var(--stahl); margin-bottom: 14px; }
.einwilligung input, .ohne-ki input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--blau); flex: none; }
.ohne-ki small { display: block; font-size: .8125rem; color: var(--stahl); }
.ablage { display: block; border: 2px dashed #c8ccd2; border-radius: var(--r-gross); padding: 28px; text-align: center; cursor: pointer; background: var(--papier); background-image: var(--raster-hell); transition: border-color .15s; position: relative; }
.ablage:hover, .ablage.ueber { border-color: var(--blau); }
.ablage input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ablage svg { width: 34px; height: 34px; margin: 0 auto 8px; color: var(--blau-text); }
.ablage small { display: block; color: var(--grau); margin-top: 4px; }
.hp { position: absolute !important; left: -9999px; }
.meldung { padding: 14px 16px; border-radius: var(--r); margin-bottom: 16px; font-weight: 500; }
.meldung.ok { background: #e8f5ed; color: #155d34; }
.meldung.fehler { background: #fbeceb; color: #8e2a20; }
.meldung.info { background: var(--blau-zart); color: var(--blau-tief); font-weight: 400; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.slots button { font: inherit; text-align: left; padding: 10px 12px; border: 1px solid #c8ccd2; border-radius: var(--r); background: var(--weiss); cursor: pointer; min-height: 48px; }
.slots button small { display: block; color: var(--grau); font-size: .8rem; }
.slots button[aria-pressed="true"] { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.slots button[aria-pressed="true"] small { color: #c9ccd2; }

/* ---------- CTA ---------- */
.abschluss { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.abschluss .aktionen { display: flex; gap: 12px; flex-wrap: wrap; }
.abschluss .kontakt { font: 500 .9rem/1.8 var(--mono); color: #c9ccd2; }
.abschluss .kontakt a { color: var(--weiss); text-decoration: none; }
@media (max-width: 760px) { .abschluss { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.fuss { background: var(--blau-nacht); color: #c9ccd2; font-size: .9rem; }
.fuss .huelle { padding-top: 64px; padding-bottom: 28px; }
.fuss .spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.fuss .fuss-titel { font: 600 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--weiss); margin: 0 0 16px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 9px; }
.fuss a { color: #c9ccd2; text-decoration: none; }
.fuss a:hover { color: var(--blau-hell); }
.fuss .wortmarke { color: var(--weiss); margin-bottom: 16px; }
.fuss .wortmarke small { color: #c9ccd2; }
.fuss address { font-style: normal; line-height: 1.75; }
.fuss .unten { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--linie-dunkel); margin-top: 48px; padding-top: 20px; font-size: .8rem; }
.fuss .unten nav { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 900px) { .fuss .spalten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss .spalten { grid-template-columns: 1fr; } }

/* Legal pages and the 404: one readable column. */
.rechtstext { max-width: 760px; }
.rechtstext h1 { margin: 10px 0 18px; hyphens: auto; overflow-wrap: break-word; }
.rechtstext h2 { font-size: 1.2rem; margin: 34px 0 10px; letter-spacing: -.01em; }
.rechtstext p, .rechtstext li { line-height: 1.65; }
.rechtstext p + p { margin-top: 10px; }
.rechtstext ul { margin: 8px 0 12px; padding-left: 1.3em; max-width: 68ch; }
.rechtstext ul ul { margin: 4px 0 0; }
.rechtstext li + li { margin-top: 4px; }
.rechtstext .lead + ul { margin-top: 0; }
/* E-ASTRYX1: table of contents on long legal pages (bauen.rechts_inhalt) */
.rechts-inhalt { margin: 0 0 26px; padding: 14px 18px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r); }
.rechts-inhalt b { display: block; font-size: .85rem; margin-bottom: 6px; }
.rechts-inhalt ol { list-style: none; margin: 0; padding: 0; }
.rechts-inhalt li + li { margin-top: 2px; }
.rechts-inhalt a { display: block; padding: 6px 0; min-height: 32px; font-size: .9rem; line-height: 1.35; color: inherit; text-decoration: none; }
.rechts-inhalt a:hover, .rechts-inhalt a:focus-visible { text-decoration: underline; }
.rechtstext.mit-inhalt h2 { scroll-margin-top: 96px; }
@media (min-width: 1100px) {
  .rechtstext.mit-inhalt { max-width: 1040px; position: relative; padding-left: 280px; }
  .rechts-inhalt { position: absolute; left: 0; top: 0; bottom: 0; width: 240px; margin: 0; padding: 0; background: none; border: 0; }
  .rechts-inhalt-liste { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow-y: auto; padding: 14px 16px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r); }
}
.rechtstext .meldung { margin: 18px 0; }
.rechtstext a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Embedded tools (Greifer-Check, Nest-Planer) bring their own styles from /hauptseite/*.css. */
.band.werkzeug { padding-top: 48px; }
.vorschau-hinweis[hidden] { display: none; }
.vorschau-hinweis { position: fixed; right: 10px; bottom: 10px; z-index: 90; font: 600 .66rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--signal); color: var(--tinte); padding: 7px 10px; border-radius: 3px; box-shadow: var(--schatten); }

@media (prefers-reduced-motion: reduce) { video[autoplay] { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  /* only hidden once the script that brings it back has run: without JavaScript every section stays visible */
  .js-einblenden .einblenden { opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .6s; }
  .js-einblenden .einblenden.sichtbar { opacity: 1; transform: none; }
}
.tabelle-sp { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle-sp th, .tabelle-sp td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle-sp th { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--grau); border-bottom: 2px solid var(--tinte); }

/* ---------- 3D calculator ---------- */
.rechner-kopf .huelle { padding-bottom: 120px !important; }
.r3d { margin-top: -90px; position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.r3d-buehne { position: relative; aspect-ratio: 21 / 9; min-height: 380px; border-radius: var(--r-gross); overflow: hidden; background: #1b1d21; background-image: var(--raster); border: 1px solid var(--linie-dunkel); box-shadow: 0 24px 60px rgba(21, 23, 26, .28); }
.r3d-buehne canvas { width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.r3d-ablage { position: absolute; inset: 18px; display: flex; flex-direction: column; justify-content: center; background: rgba(27, 29, 33, .7); border-color: #4a5058; color: #e6e8eb; background-image: none; }
.r3d-ablage small { color: #c9ccd2; }
.r3d-ablage[hidden] { display: none; }
.r3d-laden { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: rgba(21, 23, 26, .7); font-weight: 600; }
.kreisel { width: 22px; height: 22px; border-radius: 50%; border: 3px solid #4a5058; border-top-color: var(--blau-hell); animation: kreis .8s linear infinite; }
@keyframes kreis { to { transform: rotate(360deg); } }
.r3d-werkzeug { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; flex-wrap: wrap; }
.r3d-werkzeug button { font: 600 .8rem/1 var(--text); padding: 9px 11px; border-radius: 3px; border: 1px solid #4a5058; background: rgba(21, 23, 26, .8); color: #e6e8eb; cursor: pointer; min-height: 36px; }
.r3d-werkzeug button[aria-pressed="true"] { background: var(--blau); color: var(--weiss); border-color: var(--blau); }
.r3d-mass { position: absolute; left: 0; top: 0; pointer-events: none; font-size: .74rem; font-weight: 600; color: #15171a; background: #ffc107; padding: 2px 6px; border-radius: 3px; white-space: nowrap; will-change: transform; }
.r3d-mass[hidden] { display: none; }
.r3d-belegung { position: absolute; right: 12px; top: 12px; max-width: 46%; font-size: .76rem; color: #e6e8eb; background: rgba(21, 23, 26, .82); padding: 7px 10px; border-radius: 3px; }
.r3d-belegung[hidden] { display: none; }
.r3d-optik { margin: -8px 0 0; font-size: .82rem; }
.r3d-teilung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.r3d-teilung div { border-left: 3px solid var(--signal); padding: 4px 10px; }
.r3d-teilung span { display: block; font-size: .74rem; color: #c9ccd2; }
.r3d-teilung b { font: 600 1rem/1.3 var(--mono); color: var(--weiss); }
.r3d-staffel { width: 100%; border-collapse: collapse; margin: 6px 0 4px; font-size: .88rem; }
.r3d-staffel caption { text-align: left; font-size: .74rem; color: #c9ccd2; padding-bottom: 6px; }
.r3d-staffel th, .r3d-staffel td { padding: 6px 4px; border-top: 1px solid var(--linie-dunkel); text-align: right; font-family: var(--mono); color: #c9ccd2; }
.r3d-staffel th { text-align: left; font-weight: 400; }
.r3d-staffel .linkknopf { color: #e6e8eb; }
.r3d-staffel tr.aktiv td, .r3d-staffel tr.aktiv .linkknopf { color: var(--weiss); font-weight: 700; }
.r3d-wieder { font-size: .88rem; color: #c9ccd2; margin: 10px 0 0; }
@media (max-width: 600px) { .r3d-belegung { left: 12px; right: 12px; top: auto; bottom: 48px; max-width: none; } .r3d-teilung { grid-template-columns: 1fr; } }
.r3d-masse { position: absolute; left: 12px; right: 12px; bottom: 12px; font-size: .78rem; color: #c9ccd2; background: rgba(21, 23, 26, .8); padding: 7px 10px; border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.linkknopf { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: var(--tinte); text-decoration: underline; text-decoration-color: var(--blau); text-underline-offset: 3px; }
.r3d-unten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
@media (max-width: 900px) { .r3d-unten { grid-template-columns: 1fr; } .r3d-buehne { aspect-ratio: 4 / 3; min-height: 300px; } }
/* W7 (23.10.2026): the calculator in three steps – upload, estimate, request. Back keeps every input. */
.r3d-schritte { list-style: none; margin: 0; padding: 6px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); }
.r3d-schritte li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--r); font-weight: 600; font-size: .92rem; color: var(--grau); background: var(--papier); cursor: pointer; min-height: 44px; }
.r3d-schritte b { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; border: 2px solid currentColor; font: 700 .8rem/1 var(--mono); }
.r3d-schritte li[aria-current="step"] { background: var(--tinte); color: var(--weiss); }
.r3d-schritte li[aria-current="step"] b { background: var(--signal); border-color: var(--signal); color: var(--tinte); }
.r3d-schritte li.fertig { color: var(--ok); }
@media (max-width: 600px) { .r3d-schritte li span { display: none; } .r3d-schritte li { justify-content: center; } }
.r3d[data-schritt="1"] .r3d-unten, .r3d[data-schritt="1"] #r3d-anfrage, .r3d[data-schritt="2"] #r3d-anfrage,
.r3d[data-schritt="2"] .r3d-schritt1, .r3d[data-schritt="3"] .r3d-schritt1,
.r3d[data-schritt="3"] .r3d-buehne, .r3d[data-schritt="3"] .r3d-optik, .r3d[data-schritt="3"] .r3d-unten { display: none; }
.r3d-arten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px; margin-bottom: 14px; }
.r3d-arten label { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1.5px solid #c8ccd2; border-radius: var(--r-gross); cursor: pointer; font-size: .86rem; color: var(--grau); }
.r3d-arten label b { font: 600 1rem/1.25 var(--titel); color: var(--tinte); }
.r3d-arten label small { font: 500 .74rem/1.2 var(--mono); color: var(--signal-text); margin-top: auto; }
.r3d-arten input { position: absolute; opacity: 0; }
.r3d-arten label:has(input:checked) { border-color: var(--signal); box-shadow: 0 0 0 3px var(--signal-zart); }
.r3d-arten label:has(input:focus-visible) { outline: 2px solid var(--blau); outline-offset: 2px; }
.r3d-artfelder { border-left: 3px solid var(--signal); padding: 4px 0 4px 14px; margin-bottom: 14px; }
.r3d-artfelder[hidden] { display: none; }
.r3d-einstellungen-titel { margin-top: 8px; }
.r3d-zeile { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--linie-dunkel); font-size: .92rem; }
.r3d-zeile b { color: var(--weiss); font-family: var(--mono); font-weight: 600; text-align: right; }
.r3d-zeile.aktiv b, .r3d-zeile.aktiv .linkknopf { color: var(--signal); }
.r3d-hinweis { font-size: .86rem; color: #c9ccd2; margin: 8px 0 0; }
.r3d-anker { font-size: .78rem; color: #c9ccd2; margin: 8px 0 0; }
.r3d-anker small { color: #7d838c; }
.r3d-vertrauen { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 6px; font-size: .86rem; }
.r3d-vertrauen li { padding-left: 22px; position: relative; }
.r3d-vertrauen li::before { content: "✓"; position: absolute; left: 0; color: var(--signal); font-weight: 700; }
.r3d-vertrauen b { color: var(--weiss); }
.r3d-detail { margin-top: 14px; font-size: .88rem; }
.r3d-detail summary { cursor: pointer; color: #c9ccd2; }
.r3d-detail .linkknopf { color: #e6e8eb; }
.r3d-aktion { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.r3d-aktion[hidden] { display: none; }
.r3d-aktion p { flex-basis: 100%; margin: 0; }
.wahl { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.wahl label { display: flex; flex-direction: column; gap: 2px; padding: 10px; border: 1px solid #c8ccd2; border-radius: var(--r); cursor: pointer; font-weight: 600; font-size: .9rem; }
.wahl label small { font: 500 .74rem/1.2 var(--mono); color: var(--grau); }
.wahl input { position: absolute; opacity: 0; }
.wahl.zwei { grid-template-columns: 1fr 1fr; }
.wahl label:has(input:checked) { border-color: var(--blau); box-shadow: inset 0 -3px 0 var(--blau); }
@media (max-width: 520px) { .wahl { grid-template-columns: 1fr 1fr; } }
.r3d-preis { background: var(--tinte); color: #c9ccd2; border-radius: var(--r-gross); padding: 28px; background-image: var(--raster); min-height: 100%; }
.r3d-preis h3 { color: var(--weiss); }
.r3d-leer p { color: #c9ccd2; }
.preiszeile { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie-dunkel); }
.preiszeile b { font: 600 1.2rem/1 var(--mono); color: var(--weiss); }
.preiszeile.haupt b { font-size: 2.4rem; color: var(--signal); }
.preiszeile span { font-size: .9rem; }
.r3d-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.r3d-werte div { border: 1px solid var(--linie-dunkel); border-radius: var(--r); padding: 10px 12px; }
.r3d-werte span { display: block; font-size: .74rem; color: #c9ccd2; }
.r3d-werte b { font: 600 1rem/1.3 var(--mono); color: var(--weiss); }
.r3d-hinweise { margin: 12px 0 0; padding-left: 1.1em; font-size: .88rem; color: #c9ccd2; }
.r3d-hinweise li { margin-bottom: 4px; }
.r3d-preis .warnung { background: rgba(255, 145, 0, .12); color: #ffc680; padding: 10px 12px; border-radius: var(--r); margin-top: 12px; font-size: .9rem; }
.wahl label { position: relative; }
.band:not(.dunkel) .tabs button { border-color: var(--linie); color: var(--stahl); }
.band:not(.dunkel) .tabs button[aria-selected="true"] { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }

/* ---------- order process as drawing sheets ---------- */
.ablauf.zeichnung { border-top: 0; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ablauf.zeichnung li { padding: 0; }
.ablauf.zeichnung li::before, .ablauf.zeichnung li::after { display: none; }
.ablauf.zeichnung svg { width: 100%; height: auto; display: block; background: var(--weiss); border-radius: 2px; margin-bottom: 14px; box-shadow: var(--schatten); }
@media (max-width: 900px) { .ablauf.zeichnung { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ablauf.zeichnung { grid-template-columns: 1fr; } }
.leistungen .paket { background: var(--weiss); }
.leistungen .nr { font: 600 .8rem/1 var(--mono); color: var(--blau-text); border-bottom: 2px solid var(--blau); align-self: flex-start; padding-bottom: 6px; }
.leistungen p { color: var(--stahl); margin: 0; font-size: .96rem; }

/* ---------- forms page: three ways in ---------- */
a.paket { text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.paket:hover { border-color: var(--tinte); box-shadow: var(--schatten); }
a.paket p { color: var(--stahl); margin: 0; }

/* ---------- customer account ---------- */
.mono { font-family: var(--mono); font-size: .9em; }
.rechts { text-align: right !important; }
.konto-band { background: var(--papier); background-image: var(--raster-hell); min-height: 70vh; }
.konto-anmelden { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.konto-anmelden h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
.konto { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.konto > *, .konto-navi nav { min-width: 0; }
.konto[hidden], .konto-anmelden[hidden] { display: none; }
.konto-neu { display: grid; gap: 4px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); }
.konto-neu span { color: var(--stahl); font-size: .9rem; margin-bottom: 8px; }
.konto-navi { position: sticky; top: 92px; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.konto-kunde b { display: block; font: 700 1rem/1.3 var(--titel); }
.konto-kunde span { font-size: .8rem; color: var(--grau); }
.konto-navi nav { display: flex; flex-direction: column; gap: 2px; }
.konto-navi nav button { font: 600 .94rem/1.2 var(--text); text-align: left; padding: 11px 12px; border: 0; border-radius: var(--r); background: transparent; color: var(--stahl); cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.konto-navi nav button:hover { background: var(--papier); }
.konto-navi nav button[aria-selected="true"] { background: var(--tinte); color: var(--weiss); }
.zaehler { font: 600 .72rem/1 var(--mono); font-style: normal; background: var(--signal); color: var(--tinte); padding: 4px 6px; border-radius: 10px; }
.konto-inhalt { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: clamp(20px, 3.5vw, 36px); min-width: 0; }
.konto-inhalt h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 0; }
.konto-kacheln .paket { font: inherit; text-align: left; cursor: pointer; color: inherit; }
.konto-kacheln .paket:hover { border-color: var(--tinte); }
.konto-kacheln b.gross { font: 600 2.2rem/1 var(--mono); }
.konto-kacheln span:last-child { color: var(--stahl); font-size: .92rem; }
.auftrag { border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 20px; margin-bottom: 18px; }
.auftrag header { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; margin-bottom: 18px; }
.auftrag h3 { margin: 0; }
.auftrag header .kicker { margin-bottom: 8px; }
.stationen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.stationen li { position: relative; padding: 18px 6px 0 0; font-size: .82rem; border-top: 3px solid var(--linie); }
.stationen li::before { content: ''; position: absolute; top: -8px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--weiss); border: 2px solid #c8ccd2; }
.stationen li b { display: block; font-size: .86rem; }
.stationen li span { color: var(--grau); font-family: var(--mono); font-size: .76rem; }
.stationen li.fertig { border-top-color: var(--tinte); }
.stationen li.fertig::before { background: var(--tinte); border-color: var(--tinte); }
.stationen li.aktiv { border-top-color: var(--blau); }
.stationen li.aktiv::before { background: var(--blau); border-color: var(--blau); box-shadow: 0 0 0 4px rgba(33, 96, 222, .22); }
.stationen li.aktiv span { color: var(--blau-text); font-weight: 600; }
.mappe-kopf { display: flex; gap: 16px; align-items: flex-start; border-bottom: 2px solid var(--tinte); padding-bottom: 18px; margin-bottom: 8px; }
.mappe-kopf img { flex: none; }
.mappe-kopf h2 { margin: 0 0 4px; }
.mappe-kopf p { margin: 0; color: var(--stahl); }
.mappe-kopf .kicker { margin-bottom: 8px; }
.auswahl td { vertical-align: middle; }
.auswahl small { color: var(--grau); }
.auswahl input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--blau); }
.auswahl .menge { width: 72px; font: inherit; padding: 8px; border: 1px solid #c8ccd2; border-radius: var(--r); }
.auswahl tr.aus td:not(:first-child) { opacity: .45; }
.mappe-summe { display: flex; justify-content: flex-end; gap: 28px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--linie); }
.mappe-summe span { display: block; font-size: .8rem; color: var(--grau); }
.mappe-summe b { font: 600 1.1rem/1.2 var(--mono); }
.mappe-summe .haupt b { font-size: 1.6rem; color: var(--signal-text); }
.prototypen .paket p { color: var(--stahl); margin: 0; font-size: .94rem; }
.prototypen .chip { align-self: flex-start; }
.prototypen .knopf { margin-top: auto; }
@media (max-width: 900px) {
  .konto, .konto-anmelden { grid-template-columns: minmax(0, 1fr); }
  .konto-navi { position: static; }
  .konto-navi nav { flex-direction: row; overflow-x: auto; }
  .konto-navi nav button { white-space: nowrap; gap: 8px; }
  .stationen { grid-template-columns: 1fr; }
  .stationen li { border-top: 0; border-left: 3px solid var(--linie); padding: 0 0 14px 20px; }
  .stationen li::before { top: 2px; left: -8px; }
  .stationen li.fertig { border-left-color: var(--tinte); }
  .stationen li.aktiv { border-left-color: var(--blau); }
  .auswahl thead { display: none; }
  .auswahl tr { display: grid; grid-template-columns: 32px 1fr auto; gap: 4px 10px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .auswahl td { border: 0; padding: 0; }
  .auswahl td:nth-child(2) { grid-column: 2 / 4; }
  .auswahl td:nth-child(3) { grid-column: 2; }
  .auswahl td:nth-child(4) { display: none; }
}
#slots { display: flex; flex-direction: column; gap: 6px; }
.slot-tag { display: grid; grid-template-columns: 92px repeat(4, minmax(0, 1fr)); gap: 6px; align-items: center; }
.slot-tag span { font: 600 .86rem/1 var(--mono); color: var(--stahl); }
.slot-tag button { font: 500 .9rem/1 var(--mono); padding: 0 6px; min-height: 44px; border: 1px solid #c8ccd2; border-radius: var(--r); background: var(--weiss); cursor: pointer; }
.slot-tag button:hover { border-color: var(--tinte); }
.slot-tag button[aria-pressed="true"] { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
@media (max-width: 420px) { .slot-tag { grid-template-columns: repeat(4, minmax(0, 1fr)); } .slot-tag span { grid-column: 1 / -1; } }

/* ---------- Digitalisierung: funding, prototype, price table ---------- */
.leistungen a.paket h3 { margin: 4px 0 0; }
.foerderung { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: var(--blau-tief); background-image: var(--raster); color: #c9ccd2; border-radius: var(--r-gross); padding: clamp(20px, 3.5vw, 32px); border-left: 5px solid var(--signal); }
.foerderung h3 { color: var(--weiss); margin: 0 0 8px; }
.foerderung p { margin: 0; max-width: 62em; font-size: .95rem; }
.foerderung .kicker { color: #c9ccd2; margin-bottom: 10px; }
.ablauf.zeichnung.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ablauf.zeichnung.fuenf { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .ablauf.zeichnung.fuenf { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .ablauf.zeichnung.fuenf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ablauf.zeichnung.fuenf { grid-template-columns: 1fr; } }
/* large own drawings on the digitalisation page (digital_zeichnung.py), replace the ERP screenshots */
.zeichnung-gross { margin: 0; }
.zeichnung-gross svg { width: 100%; height: auto; display: block; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); }
/* W-LESBAR1: drawings keep their labels at >= 14 px. A drawing next to text gets the full row; on narrow
   screens it scrolls sideways instead of shrinking (min width = viewBox x 14 px / smallest font). */
.geteilt:has(> .zeichnung-gross) { grid-template-columns: minmax(0, 1fr); }
.geteilt:has(> .zeichnung-gross) > .zeichnung-gross { max-width: 1000px; }
.wisch { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-gross); }
.wisch:focus-visible { outline: 3px solid var(--blau); outline-offset: 3px; }
.zeichnung-gross .wisch svg { min-width: 990px; }
.wisch-hinweis { display: none; }
@media (max-width: 1000px) { .wisch-hinweis { display: inline; } }
.wisch.mass-klein svg { min-width: var(--zmin, 0px); }
.aside-in-ablauf { margin-top: 36px; }
.prototyp-leiste { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; border-top: 2px solid var(--tinte); padding-top: 22px; }
.prototyp-leiste .daten { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.prototyp-preis b { display: block; font: 600 1.6rem/1.1 var(--mono); }
.prototyp-preis span { font-size: .84rem; color: var(--grau); }
.prototyp-leiste .aktionen { display: flex; gap: 10px; flex-wrap: wrap; }
.preistafel { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 6px clamp(14px, 3vw, 28px) 10px; margin-bottom: 40px; overflow-x: auto; }
.preise td small { display: block; color: var(--grau); font-size: .84rem; margin-top: 2px; }
.preise tr.gruppe th { font: 700 .74rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--blau-text); padding-top: 26px; border-bottom: 1px solid var(--tinte); }
.preise td.mono { white-space: nowrap; }
.markt h3 { margin-top: 0; }
.markt .tabelle-sp { font-size: .9rem; }
@media (max-width: 900px) {
  .ablauf.zeichnung.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prototyp-leiste, .foerderung { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ablauf.zeichnung.vier { grid-template-columns: 1fr; } }
/* W-LESBAR1: a step sheet is never narrower than 206 px, so its labels (11.2 of 160 units) stay >= 14 px;
   :has() matches the specificity of the column-count rules above */
.ablauf.zeichnung:has(> li:nth-child(1)) { grid-template-columns: repeat(auto-fit, minmax(206px, 1fr)); }
@media (max-width: 640px) {
  .preise thead { display: none; }
  .preise tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .preise tr.gruppe { display: block; padding: 0; border: 0; }
  .preise td { border: 0; padding: 0; }
  .preise td:first-child { grid-column: 1 / -1; }
  .preise td:nth-child(2) { color: var(--grau); }
  .preise td:nth-child(3), .preise td:nth-child(4) { text-align: left !important; }
  .preise td.leer { display: none; }
  .preise td:nth-child(4)::before { content: 'monatlich '; font-family: var(--text); color: var(--grau); font-size: .8rem; }
}
.kurzliste { list-style: none; margin: 8px 0 28px; padding: 0; counter-reset: k; }
.kurzliste li { counter-increment: k; display: grid; grid-template-columns: 40px 1fr; padding: 12px 0; border-bottom: 1px solid var(--linie); }
.kurzliste li::before { content: counter(k, decimal-leading-zero); font: 600 .82rem/1.6 var(--mono); color: var(--blau-text); grid-row: span 2; }
.kurzliste b { font: 700 1.02rem/1.3 var(--titel); }
.kurzliste span { color: var(--stahl); font-size: .92rem; }
#digitalisierung .aktionen { display: flex; gap: 12px; flex-wrap: wrap; }
.markt td.mono { white-space: nowrap; }
.handys { display: flex; gap: 16px; justify-content: center; }
.handys img { width: min(46%, 240px); border-radius: 18px; border: 6px solid var(--tinte); box-shadow: var(--schatten); }
.pruefliste td:first-child { white-space: nowrap; }
@media (max-width: 640px) { .pruefliste td:first-child { white-space: normal; } }

/* Werkstoffkatalog (fertigung/werkstoffe.html, data from the ERP) */
.werkstoff-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; }
.werkstoff-filter .chip { cursor: pointer; border: 1px solid var(--linie); background: var(--weiss); font: 600 .82rem/1 var(--text); padding: 8px 12px; border-radius: 999px; }
.werkstoff-filter .chip[aria-pressed="true"] { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.werkstoff .farben { display: flex; flex-wrap: wrap; gap: 6px; }
.werkstoff .farbe { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .18); }
.werkstoff dl.werte { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 6px 0 4px; font-size: .86rem; }
.werkstoff dl.werte dt { color: var(--grau); }
.werkstoff dl.werte dd { margin: 0; font-family: var(--mono); font-size: .8rem; }
.werkstoff-fuss { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.werkstoff-fuss .preis { font: 600 1.05rem/1 var(--mono); }
.werkstoff[hidden] { display: none; }

/* Prototype viewer on statechprint.de (p.html via /p/<token>) */
.prototyp-seite { margin: 0; height: 100dvh; display: flex; flex-direction: column; background: #15171a; }
.prototyp-leiste-oben { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 8px 14px; color: #fff; }
.prototyp-leiste-oben img { height: 34px; width: auto; }
.prototyp-titel { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.prototyp-titel b, .prototyp-titel span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prototyp-titel b { font-size: .92rem; }
.prototyp-titel span { font-size: .76rem; color: rgba(255, 255, 255, .6); }
.prototyp-leiste-oben .knopf.rahmen { color: #fff; border-color: rgba(255, 255, 255, .3); }
.prototyp-buehne { flex: 1; display: flex; min-height: 0; }
.prototyp-buehne iframe { flex: 1; border: 0; width: 100%; background: #fff; }
.prototyp-geloescht { margin: auto; max-width: 560px; padding: 32px 20px; text-align: center; color: #fff; }
.prototyp-geloescht h1 { font-size: 1.6rem; margin: 0 0 12px; }
.prototyp-fehler { margin: auto; max-width: 520px; padding: 24px; text-align: center; color: #fff; }
.prototyp-fehler a:not(.knopf) { color: #fff; }
.prototyp-feedback { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .4); display: flex; justify-content: flex-end; }
.prototyp-feedback[hidden] { display: none; }
.prototyp-feedback .formular { width: min(440px, 100%); height: 100%; overflow-y: auto; border-radius: 0; margin: 0; }
.pf-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pf-kopf h2 { font-size: 1.3rem; margin: 0; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.p-kurz { display: none; }
/* one text node per button and no break inside a word: "Anmerk ungen" on iPad landscape (HQ 23.10.2026) */
.prototyp-leiste-oben .knopf { white-space: nowrap; overflow-wrap: normal; word-break: normal; }
/* iPad: the backend button is shown in meetings, so it gets the full touch height (Stanislav 27.10.2026) */
.prototyp-leiste-oben .knopf.p-verw { min-height: 44px; }
/* Stanislav 31.10.2026: the delete request is a warning – red, white text 6.6 : 1 */
.prototyp-leiste-oben #p-loeschen-knopf { background: #B42318; border-color: #B42318; color: #fff; }
.prototyp-leiste-oben #p-loeschen-knopf:hover, .prototyp-leiste-oben #p-loeschen-knopf:focus-visible { background: #912018; border-color: #912018; }
.prototyp-feedback.breit .formular { width: min(620px, 100%); }
/* Greeting card on the prototype: the site stays visible, the card fades in (p.js grussZeigen) */
.prototyp-gruss { position: fixed; inset: 0; z-index: 85; display: grid; place-items: center; padding: 20px;
  background: rgba(10, 15, 31, 0); transition: background .25s ease; pointer-events: none; }
.prototyp-gruss[hidden] { display: none; }
.prototyp-gruss.da { background: rgba(10, 15, 31, .28); pointer-events: auto; }
.pg-karte { position: relative; width: min(480px, 100%); padding: 30px 30px 24px; border-radius: 18px; background: #fffdf9;
  border-top: 4px solid var(--signal); box-shadow: 0 24px 60px rgba(10, 15, 31, .28); font-family: var(--text);
  opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.prototyp-gruss.da .pg-karte { opacity: 1; transform: none; }
.pg-marke { margin: 0 0 8px; font: 600 .78rem/1.2 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--signal-text); }
.pg-karte h2 { font: 600 clamp(1.55rem, 4.6vw, 1.9rem)/1.15 'Source Serif 4', Georgia, serif; letter-spacing: -.01em; margin: 0 0 12px; color: var(--tinte); }
.pg-karte p { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.6; color: #2b2f36; }
.pg-karte .pg-klein { font-size: .86rem; line-height: 1.55; color: var(--stahl); }
.pg-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 18px; }
.pg-zu { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent;
  font-size: 1.05rem; color: var(--stahl); cursor: pointer; }
.pg-zu:hover { background: rgba(0, 0, 0, .05); }
@media (max-width: 640px) {
  .prototyp-gruss { place-items: end center; padding: 0; }
  .pg-karte { width: 100%; border-radius: 18px 18px 0 0; padding: 26px 20px calc(20px + env(safe-area-inset-bottom)); }
  .pg-aktionen .knopf { flex: 1 1 100%; justify-content: center; }
  .pg-karte p { font-size: .97rem; line-height: 1.55; }
  .pg-karte .pg-klein { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { .prototyp-gruss, .pg-karte { transition: none; } }
.pg-karte { max-height: calc(100dvh - 40px); overflow-y: auto; }
.pg-schritte { list-style: none; margin: 4px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: s; }
.pg-schritte li { display: grid; gap: 4px; justify-items: start; padding: 12px; border-radius: 12px; background: #f4f1ea; font-size: .86rem; line-height: 1.4; color: var(--stahl); }
.pg-schritte svg { width: 26px; height: 26px; fill: none; stroke: var(--signal-text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pg-schritte b { font-size: .95rem; color: var(--tinte); }
.pg-zusage { margin: 0 0 6px; padding: 14px 16px; border-radius: 12px; border: 1px solid #e6dfd2; background: #fff; }
.pg-zusage-titel { margin: 0 0 8px !important; font: 600 1.05rem/1.3 'Source Serif 4', Georgia, serif !important; color: var(--tinte) !important; }
.pg-zusage ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .88rem; line-height: 1.5; color: #2b2f36; }
@media (max-width: 640px) {
  .pg-karte { max-height: 88dvh; }
  .pg-schritte { gap: 6px; margin-bottom: 12px; }
  .pg-schritte li { justify-items: center; text-align: center; padding: 10px 6px; }
  .pg-schritte li span { display: none; }
  .pg-schritte b { font-size: .86rem; }
  .pg-zusage { padding: 12px 14px; }
  .pg-zusage ul { font-size: .84rem; gap: 5px; }
}
/* offer dialog: two tabs, groups to unfold, small pictures (p.js liste/reiter) */
.pe-reiter { display: flex; gap: 6px; margin: 14px 0 12px; border-bottom: 2px solid var(--linie); }
.pe-reiter [role=tab] { flex: 1; padding: 10px 12px; border: 0; border-radius: 8px 8px 0 0; background: #f2f3f5; color: var(--stahl); font: 600 .92rem/1.2 var(--text); cursor: pointer; }
.pe-reiter [role=tab][aria-selected=true] { background: var(--signal); color: #15171a; }
.pe-reiter [role=tab][hidden] { display: none; }
.pe-zahl { display: inline-block; min-width: 1.5em; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--tinte); color: #fff; font-size: .74rem; text-align: center; }
.pe-zahl[hidden] { display: none; }
.pe-seite[hidden] { display: none; }
.pe-mehr { display: grid; gap: 2px; width: 100%; margin: 4px 0 14px; padding: 12px 14px; text-align: left; border: 1.5px dashed var(--signal); border-radius: var(--r); background: var(--signal-zart); color: var(--tinte); font: inherit; cursor: pointer; }
.pe-mehr span { font-size: .86rem; color: var(--stahl); }
.pe-mehr .pe-gewaehlt { color: var(--signal-text); font-weight: 600; }
.pe-mehr[hidden], .pe-mehr .pe-gewaehlt[hidden] { display: none; }
.pe-block { border: 1px solid var(--linie); border-radius: var(--r); background: var(--weiss); }
.pe-block > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 18px; gap: 2px 8px; align-items: center; padding: 12px 14px; }
.pe-block > summary::-webkit-details-marker { display: none; }
.pe-block > summary::after { content: ''; grid-column: 3; grid-row: 1; width: 9px; height: 9px; border-right: 2px solid var(--stahl); border-bottom: 2px solid var(--stahl); transform: rotate(45deg); justify-self: center; transition: transform .2s; }
.pe-block[open] > summary::after { transform: rotate(-135deg); }
.pe-block > summary small { grid-column: 1 / -1; color: var(--stahl); font-size: .84rem; line-height: 1.4; }
.pe-block > summary .pe-zahl { grid-column: 2; grid-row: 1; background: var(--signal); color: #15171a; }
.pe-block[open] { padding-bottom: 8px; }
.pe-block > .pe-eintrag { margin: 0 8px 8px; }
.pe-eintrag.mit-bild { grid-template-columns: auto 1fr 96px; }
.pe-bild { grid-column: 3; grid-row: 1 / span 2; width: 96px; height: 72px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--linie); background: #f2f3f5; }
@media (max-width: 480px) { .pe-eintrag.mit-bild { grid-template-columns: auto 1fr 72px; } .pe-bild { width: 72px; height: 56px; } }
.pe-optional { margin: 4px 0 14px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: var(--r); }
.pe-optional > summary { cursor: pointer; font-weight: 600; }
.pe-optional[open] > summary { margin-bottom: 10px; }
/* explanatory text in the viewer dialogs reads as text, not as code */
.prototyp-seite .prototyp-feedback .bu { font-family: var(--text); font-size: .9rem; line-height: 1.55; }
.pt-schritte { margin: 14px 0 18px; padding-left: 1.3em; display: grid; gap: 10px; }
.pt-schritte li { padding-left: 4px; }
.pe-liste { display: grid; gap: 8px; margin: 14px 0; }
.pe-gruppe { margin: 12px 0 0; font: 600 .74rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--stahl); }
.pe-gruppe:first-child { margin-top: 0; }
.pe-hinweis { margin: 4px 0 6px; font-size: .86rem; color: var(--stahl); }
.pe-liste[hidden], .pe-summe[hidden] { display: none; }
.pe-eintrag { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--linie); border-radius: var(--r); cursor: pointer; background: var(--weiss); }
.pe-eintrag:has(input:checked) { border-color: var(--signal); background: var(--signal-zart); }
.pe-eintrag input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--signal); }
.pe-text { display: grid; gap: 2px; }
.pe-text small { color: var(--stahl); font-size: .84rem; line-height: 1.45; }
.pe-punkte { margin: 4px 0 0; padding-left: 1.1em; font-size: .84rem; color: var(--stahl); line-height: 1.45; }
.pe-beleg { display: block; margin-top: 6px; padding: 6px 9px; border-left: 3px solid var(--signal); background: rgba(255, 145, 0, .07); font-size: .8rem; line-height: 1.4; color: var(--tinte); }
.pe-beleg a { color: inherit; text-decoration: underline; }
.pe-eintrag.pe-hervor { border-width: 2px; border-color: var(--signal); box-shadow: 0 4px 12px rgba(255, 145, 0, .18); }
.pe-nutzen { font-style: normal; font-size: .84rem; color: var(--signal-text); line-height: 1.45; }
.pe-wunsch { margin: 14px 0 4px; } .pe-wunsch .einwilligung { margin-bottom: 6px; }
.pe-variabel { margin: 10px 0 0; padding: 10px 12px; border-left: 4px solid var(--signal); background: var(--signal-zart); font-size: .9rem; }
.pe-preis { grid-column: 2; font: 600 .86rem/1.3 var(--mono); color: var(--tinte); }
.pe-summe { position: sticky; bottom: -1px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px 14px; margin: 0 0 14px; background: var(--tinte); color: #fff; border-radius: var(--r); }
.pe-summe span { display: block; font-size: .74rem; color: rgba(255, 255, 255, .65); }
.pe-summe b { font: 700 1.1rem/1.3 var(--mono); }
@media (max-width: 640px) { .prototyp-leiste-oben #p-vollbild { display: none; } }
@media (max-width: 640px) {
  /* P-PROBELAUF44 (31.10.2026): one row pushed Feedback, Anmerkungen and Löschen off the phone; wrap instead */
  .prototyp-leiste-oben { gap: 8px; flex-wrap: wrap; padding: 8px 10px; }
  .prototyp-leiste-oben img { height: 28px; }
  .prototyp-titel, .p-lang { display: none; }
  .p-kurz { display: inline; }
  .prototyp-leiste-oben .knopf.klein { padding: 8px 10px; font-size: .8rem; white-space: nowrap; }
}
@media (max-width: 420px) {  /* five buttons incl. "Digital" must fit a 360 px phone */
  .prototyp-leiste-oben { gap: 6px; padding: 8px; }
  .prototyp-leiste-oben img { display: none; }
  .prototyp-leiste-oben .knopf.klein { padding: 7px 8px; font-size: .76rem; }
}

/* ---------- Druck-Simulation (anfrage.html, assets/js/druck3d.js) ---------- */
.d3-kopf { max-width: 760px; margin-bottom: 22px; }
.d3 { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 20px; align-items: start; }
.d3-buehne { position: relative; aspect-ratio: 4 / 3; min-height: 440px; border-radius: var(--r-gross); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 0%, #26345e 0%, #121a33 55%, #0a0f1f 100%); border: 1px solid #1d2a52; }
@media (min-width: 1021px) { .d3-buehne { position: sticky; top: 96px; } }
.d3-buehne canvas { width: 100% !important; height: 100% !important; display: block; touch-action: none; }
.d3-oben, .d3-unten { position: absolute; left: 12px; right: 12px; display: flex; align-items: center; gap: 8px; z-index: 2; }
.d3-oben { top: 12px; justify-content: space-between; flex-wrap: wrap; }
.d3-unten { bottom: 12px; }
.d3-status { padding: 7px 10px; border-radius: 999px; background: rgba(10, 15, 31, .72); color: #e6e8eb; font-size: .78rem; backdrop-filter: blur(4px); }
.d3-ansicht { display: inline-flex; gap: 4px; }
.d3-ansicht button, .d3-unten select { font: 600 .78rem/1 var(--text); padding: 7px 10px; border-radius: 999px; border: 1px solid #36447a;
  background: rgba(10, 15, 31, .72); color: #e6e8eb; cursor: pointer; }
.d3-ansicht button:hover { border-color: var(--blau-hell); }
.d3-play { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--signal); color: var(--tinte);
  font-size: 1rem; cursor: pointer; transition: transform .15s; }
.d3-play:hover { transform: scale(1.06); }
.d3-unten input[type=range] { flex: 1; accent-color: var(--blau-hell); }
.d3-ablage { position: absolute; inset: 14px; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed var(--blau-hell); border-radius: var(--r-gross); background: rgba(10, 15, 31, .8); color: #fff; }
.d3-ablage[hidden], .d3-laden[hidden] { display: none; }
.d3-ablage svg { width: 34px; height: 34px; color: var(--blau-hell); }
.d3-laden { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 12px; color: #fff; background: rgba(10, 15, 31, .7); font-weight: 600; }
.d3-fehler { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; text-align: center; color: #e6e8eb; margin: 0; }
/* hole markers and their menu over the canvas */
.d3-marken { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.d3-marke { position: absolute; transform: translate(-50%, calc(-100% - 12px)); pointer-events: auto; width: 24px; height: 24px; border-radius: 50%;
  border: 2px solid #fff; background: var(--blau); color: #fff; font: 700 .78rem/1 var(--mono); cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .4), 0 0 0 4px rgba(33, 96, 222, .28); transition: transform .12s, opacity .2s; }
.d3-marke::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2px; height: 12px; margin-left: -1px; background: inherit; pointer-events: none; }
.d3-marke::before { content: ''; position: absolute; left: 50%; top: calc(100% + 10px); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; pointer-events: none; }
.d3-marke:hover, .d3-marke:focus-visible { transform: translate(-50%, calc(-100% - 12px)) scale(1.12); }
.d3-marke.mit { background: #c9a227; color: var(--tinte); box-shadow: 0 2px 10px rgba(0, 0, 0, .4), 0 0 0 4px rgba(201, 162, 39, .35); }
.d3-marke.hinten { opacity: .45; }
.d3-pop { position: absolute; z-index: 4; width: 250px; max-height: calc(100% - 110px); overflow: auto; padding: 8px; border-radius: var(--r-gross);
  background: var(--weiss); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 3px; }
.d3-pop-titel { margin: 2px 4px 6px; font: 600 .74rem/1.3 var(--mono); color: var(--stahl); }
.d3-pop button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 10px; border: 1px solid transparent; border-radius: var(--r);
  background: none; cursor: pointer; text-align: left; font: inherit; }
.d3-pop button strong { font-size: .88rem; }
.d3-pop button small { font: 500 .7rem/1.2 var(--mono); color: var(--grau); }
.d3-pop button:hover { background: var(--papier); }
.d3-pop button[aria-pressed="true"] { border-color: var(--blau); background: var(--blau-zart); }
/* controls */
.d3-steuer { display: flex; flex-direction: column; gap: 12px; }
.d3-gruppe { border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 12px 14px 14px; margin: 0; background: var(--weiss); min-width: 0; }
.d3-gruppe legend { display: inline-flex; align-items: center; gap: 8px; font: 600 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--tinte); padding: 0 6px; }
.d3-schritt { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--blau); color: #fff; font-size: .68rem; letter-spacing: 0; }
.d3-wert { font: 500 .78rem/1 var(--mono); color: var(--blau-text); margin-left: 4px; text-transform: none; letter-spacing: 0; }
.d3-unterkopf { margin: 12px 0 6px; font-size: .84rem; font-weight: 600; }
.d3-unterkopf small { display: block; font-weight: 400; color: var(--grau); font-size: .76rem; }
.d3-klein { font-size: .8rem; margin: 6px 0 0; }
.d3-reiter { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; background: var(--papier); border-radius: 999px; margin-bottom: 10px; }
.d3-reiter button { border: 0; border-radius: 999px; padding: 8px; font: 600 .85rem/1 var(--text); background: transparent; color: var(--stahl); cursor: pointer; }
.d3-reiter button[aria-selected="true"] { background: var(--blau); color: var(--weiss); }
.d3-formen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.d3-formen button, .d3-werkstoffe button, .d3-prozesse button, .d3-segment button { border: 1px solid #c8ccd2; border-radius: var(--r); background: var(--weiss); padding: 9px 6px;
  font: 600 .8rem/1.15 var(--text); cursor: pointer; color: var(--tinte); transition: border-color .15s, background .15s; position: relative; }
.d3-formen button:hover, .d3-werkstoffe button:hover, .d3-prozesse button:hover, .d3-segment button:hover { border-color: var(--blau); }
.d3-formen button[aria-pressed="true"], .d3-werkstoffe button[aria-pressed="true"], .d3-prozesse button[aria-pressed="true"], .d3-segment button[aria-pressed="true"] {
  border-color: var(--blau); background: var(--blau-zart); box-shadow: inset 0 0 0 1px var(--blau); }
.d3-prozesse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.d3-prozesse button { display: flex; flex-direction: column; gap: 3px; padding: 10px 6px; }
.d3-prozesse strong { font: 700 1.05rem/1 var(--titel); }
.d3-prozesse small, .d3-werkstoffe small { font: 500 .66rem/1.15 var(--text); color: var(--grau); }
.d3-werkstoffe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.d3-werkstoffe button { display: flex; flex-direction: column; gap: 3px; align-items: center; padding: 8px 4px; }
.d3-werkstoffe em { position: absolute; top: -7px; right: -5px; font: 700 .58rem/1 var(--mono); font-style: normal; padding: 3px 4px; border-radius: 3px; background: var(--tinte); color: #fff; letter-spacing: .04em; }
.d3-segment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.d3-segment button { padding: 7px 4px; font-size: .76rem; }
.d3-parameter, .d3-regler { display: flex; flex-direction: column; gap: 10px; }
.d3-parameter label, .d3-regler label, .d3-zeile { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; font-size: .88rem; font-weight: 600; }
.d3-zeile { margin-top: 10px; }
.d3-parameter input[type=range], .d3-regler input[type=range], .d3-zeile input[type=range] { width: 100%; accent-color: var(--blau); margin-top: 4px; }
.d3-menge { padding: 10px 14px; border: 1px solid var(--linie); border-radius: var(--r-gross); align-items: center; margin: 0; }
.d3-menge input { width: 120px; padding: 6px 8px; border: 1px solid #c8ccd2; border-radius: var(--r); font: inherit; }
.d3-zonen-box { border-top: 1px dashed var(--linie); padding-top: 4px; }
.d3-zone { border: 1px solid #c7d3ff; background: var(--blau-zart); border-radius: var(--r); padding: 8px 10px; margin-bottom: 6px; display: grid; gap: 4px; }
.d3-zone-kopf { display: flex; align-items: baseline; gap: 6px; font-size: .84rem; }
.d3-zone-kopf .d3-wert { margin-right: auto; }
.d3-zone label { display: grid; grid-template-columns: 52px 1fr; align-items: center; font-size: .76rem; font-weight: 500; color: var(--stahl); }
.d3-zone input[type=range] { margin: 0; }
.d3-weg { border: 0; background: none; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--stahl); padding: 0 2px; }
.d3-weg:hover { color: var(--tinte); }
.d3-mehr { margin-top: 8px; border: 1px dashed var(--blau); color: var(--blau-text); background: none; border-radius: var(--r); padding: 8px 10px; font: 600 .82rem/1 var(--text); cursor: pointer; width: 100%; }
.d3-mehr:hover { background: var(--blau-zart); }
.d3-bohrungen { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.d3-bohrung { display: grid; grid-template-columns: 24px minmax(0, 1fr) 136px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--linie); }
.d3-bohrung:last-child { border-bottom: 0; }
.d3-nr { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--blau); color: #fff; font: 700 .7rem/1 var(--mono); }
.d3-bohrung-text strong { display: block; font: 600 .8rem/1.2 var(--mono); }
.d3-bohrung-text small { display: block; font-size: .72rem; color: var(--grau); line-height: 1.3; }
.d3-bohrung select { width: 100%; padding: 6px; border: 1px solid #c8ccd2; border-radius: var(--r); font: 500 .8rem/1.2 var(--text); background: var(--weiss); }
.d3-nach { display: flex; flex-direction: column; gap: 2px; }
.d3-check { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; padding: 6px 0; font-size: .86rem; cursor: pointer; }
.d3-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blau); }
.d3-check small { display: block; font-size: .74rem; color: var(--grau); }
.d3-check.aus { color: var(--grau); cursor: default; }
.d3-ra-box { margin-top: 10px; padding: 10px 12px; border-radius: var(--r); background: var(--papier); display: grid; gap: 6px; }
.d3-ra-box > div:first-child { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.d3-ra-box strong { font: 700 1.1rem/1 var(--mono); color: var(--blau-text); }
.d3-ra-box small { font-size: .76rem; color: var(--stahl); }
.d3-ra-balken { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #cfe0ff, #8fa8ff 45%, #9aa0a8 75%, #5a5f66); position: relative; }
.d3-ra-balken span { position: absolute; top: 50%; left: calc(var(--ra, .5) * 100%); width: 14px; height: 14px; border-radius: 50%; background: var(--weiss);
  border: 3px solid var(--blau); transform: translate(-50%, -50%); transition: left .35s ease; }
.d3-farben { display: grid; grid-template-columns: repeat(8, 1fr); gap: 7px; }
.d3-farbe { aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--weiss); background: var(--f); cursor: pointer;
  box-shadow: 0 0 0 1px rgba(21, 23, 26, .2); transition: transform .12s; }
.d3-farbe:hover { transform: scale(1.1); }
.d3-farbe[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--blau); transform: scale(1.1); }
.d3-farbe.metall { background: linear-gradient(135deg, #eef0f2 0%, var(--f) 45%, #7d8288 100%); }
.d3-farbe.klar { background: linear-gradient(135deg, rgba(207, 232, 242, .35), rgba(207, 232, 242, .9)); box-shadow: 0 0 0 1px rgba(21, 23, 26, .25) inset, 0 0 0 1px rgba(21, 23, 26, .2); }
.d3-datei { padding: 18px; }
.d3-datei small { display: block; margin-top: 4px; color: var(--grau); }
.d3-dateiname { margin: 8px 0 0; font-size: .8rem; color: var(--stahl); word-break: break-all; }
.d3-zahlen { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; padding: 14px; border-radius: var(--r-gross); background: var(--blau-nacht); color: #e6e8eb; }
.d3-zahlen dt { font: 500 .76rem/1.4 var(--mono); color: #93a0c4; }
.d3-zahlen dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.d3-zahlen.d3-zu-gross dd:last-of-type { color: var(--signal); }
.d3-meldung { margin: 0; padding: 10px 12px; border-left: 3px solid var(--signal); background: var(--signal-zart); font-size: .88rem; }
.d3-meldung[hidden] { display: none; }
.d3-hinweis { margin: 0; font-size: .82rem; }
@media (max-width: 1020px) { .d3 { grid-template-columns: 1fr; } .d3-buehne { min-height: 340px; } }
@media (max-width: 520px) { .d3-farben { gap: 6px; } .d3-buehne { aspect-ratio: 1; min-height: 0; } .d3-bohrung { grid-template-columns: 24px minmax(0, 1fr); } .d3-bohrung select { grid-column: 2; } }

/* ---------- Digital-Check (digital/digital-check.html) ---------- */
.dc { max-width: 760px; margin: 0 auto; background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: clamp(20px, 4vw, 40px); }
.dc-kopf { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: .8rem; color: var(--stahl); }
.dc-balken { flex: 1; height: 6px; border-radius: 999px; background: var(--papier); overflow: hidden; }
.dc-balken span { display: block; height: 100%; width: 0; background: var(--blau); border-radius: inherit; transition: width .35s ease; }
.dc-frage h2 { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin: 0 0 6px; outline: none; }
.dc-antworten { display: grid; gap: 10px; margin: 20px 0 6px; }
.dc-antworten button { text-align: left; padding: 15px 18px; border: 1px solid #c8ccd2; border-radius: var(--r-gross); background: var(--weiss); font: 600 1rem/1.3 var(--text); cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dc-antworten button:hover { border-color: var(--tinte); transform: translateX(3px); }
.dc-antworten button[aria-checked="true"], .dc-antworten button[aria-pressed="true"] { border-color: var(--blau); box-shadow: inset 4px 0 0 var(--blau); background: var(--blau-zart); }
.dc-knoepfe { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.dc-ergebnis { max-width: 1040px; margin: 0 auto; }
.dc-ergebnis h2 { margin-top: 40px; }
.dc-ergebnis-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: clamp(20px, 4vw, 36px); border-radius: var(--r-gross); background: var(--tinte); color: #e6e8eb; background-image: var(--raster); }
.dc-reife strong { display: block; font: 700 clamp(1.5rem, 3vw, 2.1rem)/1.15 var(--titel); color: #fff; margin: 8px 0; }
.dc-reife p { margin: 0; color: #c9ccd2; }
.dc-achsen { display: grid; gap: 14px; }
.dc-achse { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: 12px; font-weight: 600; }
.dc-achse-balken { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dc-achse-balken i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--blau), #5d86ff); transition: width .9s cubic-bezier(.2, .8, .2, 1); }
.dc-achse b { text-align: right; color: #fff; }
.dc-schritte { list-style: none; counter-reset: s; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dc-schritte li { counter-increment: s; }
.dc-schritte a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border: 1px solid var(--linie); border-top: 4px solid var(--blau); border-radius: var(--r-gross); background: var(--weiss); color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.dc-schritte a::before { content: counter(s, decimal-leading-zero); font: 600 .78rem/1 var(--mono); color: var(--blau-text); }
.dc-schritte a:hover { box-shadow: var(--schatten); transform: translateY(-2px); }
.dc-schritte strong { font-size: 1.05rem; }
.dc-schritte span { color: var(--stahl); font-size: .92rem; }
.dc-foerderung { margin: 16px 0 12px; }
.dc-programm .dc-betrag { display: inline-block; margin: 4px 0 8px; padding: 6px 10px; border-radius: 999px; background: var(--blau-zart); color: var(--blau-text); font: 700 .9rem/1 var(--text); }
.dc-senden { margin-top: 36px; }
@media (max-width: 860px) { .dc-ergebnis-kopf, .dc-schritte { grid-template-columns: 1fr; } .dc-achse { grid-template-columns: 96px 1fr 46px; } }
@media print { .kopfleiste, .fuss, .dc-senden, .held { display: none !important; } .dc-ergebnis-kopf { color: #000; background: none; border: 1px solid #ccc; } .dc-reife strong, .dc-achse b { color: #000; } }

/* ---------- IT-Service (digital/it-service.html) ---------- */
.service-sprung .paket { border-top: 4px solid var(--blau); }
.service-karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r-gross); box-shadow: var(--schatten); padding: clamp(20px, 3vw, 30px); display: flex; flex-direction: column; gap: 14px; }
.dunkel .service-karte { background: rgba(255, 255, 255, .05); border-color: var(--linie-dunkel); color: #c9ccd2; }
.dunkel .service-karte .punkte b { color: var(--weiss); }
.dunkel .service-karte .leise { color: #c9ccd2; } /* W-FIX-AUDIT1: grey on the dark card was 2.66:1, #c9ccd2 is about 9:1 */
.service-zeilen { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; margin: 0; }
.service-zeilen dt { font: 600 .74rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--grau); }
.service-zeilen dd { margin: 0; }
.service-ablauf { list-style: none; counter-reset: a; margin: 0; padding: 0; display: grid; gap: 10px; }
.service-ablauf li { counter-increment: a; display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; column-gap: 12px; }
.service-ablauf li::before { content: counter(a); grid-row: span 2; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blau-zart); color: var(--blau-text); font-weight: 700; }
.service-ablauf span { color: var(--grau); font-size: .9rem; }
.ki-beispiele { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.ki-beispiele div { padding: 16px; border: 1px solid var(--linie-dunkel); border-radius: var(--r-gross); background: rgba(255, 255, 255, .03); display: flex; flex-direction: column; gap: 4px; }
.ki-beispiele b { color: var(--weiss); }
.ki-beispiele span { font-size: .9rem; color: #c9ccd2; }
@media (max-width: 640px) { .ki-beispiele { grid-template-columns: 1fr; } .service-zeilen { grid-template-columns: 1fr; } }

/* ---------- MES-Prototyp (digital/mes-demo.html): the HQ demo runs in a frame, loaded on click ---------- */
.mes-buehne { position: relative; border-radius: var(--r-gross); overflow: hidden; background: #202527; box-shadow: 0 30px 70px rgba(21, 23, 26, .22); aspect-ratio: 16 / 10; }
.mes-buehne img, .mes-buehne iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mes-buehne img { object-fit: cover; object-position: top left; }
.mes-start { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; background: rgba(32, 37, 39, .45); color: #fff; border: 0; cursor: pointer; font: inherit; text-align: center; padding: 24px; }
.mes-start .knopf { pointer-events: none; }
.mes-start:hover .knopf, .mes-start:focus-visible .knopf { transform: translateY(-1px); }
.mes-start small { font-size: .95rem; color: #eef0f2; }
.mes-hinweis { margin-top: 14px; }
.mes-hinweis a { white-space: nowrap; }
@media (max-width: 700px) { .mes-buehne { aspect-ratio: 3 / 4; } }

/* ---------- tools strip under the homepage hero (design comparison: igus, eGRIP, Craftcloud) ---------- */
.werkzeuge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: -48px; position: relative; z-index: 2; }
.wz-kachel { display: grid; grid-template-columns: 52px 1fr; gap: 4px 16px; align-items: start; padding: 22px 22px 20px; border-radius: var(--r-gross);
  background: var(--weiss); border: 1px solid var(--linie); box-shadow: var(--schatten); text-decoration: none; color: var(--tinte);
  transition: transform .15s, box-shadow .15s, border-color .15s; }
.wz-kachel:hover { transform: translateY(-2px); border-color: var(--blau); color: var(--tinte); box-shadow: 0 14px 34px rgba(32, 37, 39, .16); }
.wz-kachel .menue-symbol { width: 52px; height: 52px; }
.wz-kachel .menue-symbol svg { width: 28px; height: 28px; }
.wz-kachel:hover .menue-symbol { background: var(--blau); color: var(--weiss); }
.wz-kachel .wz-titel { display: block; margin: 0; font: 700 1.12rem/1.08 var(--titel); letter-spacing: -.01em; }
.wz-kachel p { margin: 0; font-size: .9rem; color: var(--stahl); }
.wz-kachel small { grid-column: 2; font: 600 .74rem/1.3 var(--mono); color: var(--blau-text); letter-spacing: .02em; }
@media (max-width: 900px) { .werkzeuge { grid-template-columns: 1fr; margin-top: 24px; } }

/* ---------- mobile: price and call stay in reach while scrolling ---------- */
.schnellleiste { display: none; }
@media (max-width: 720px) {
  .schnellleiste { display: grid; grid-template-columns: 1fr; grid-auto-flow: column; grid-auto-columns: auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linie);
    box-shadow: 0 -6px 20px rgba(32, 37, 39, .08); }
  .schnellleiste .knopf { min-height: 46px; padding: .7em 1em; }
  body:not(.prototyp-seite):not(.vbo-seite) { padding-bottom: 70px; }  /* prototype viewer and preparation sheet have no quick bar */
  body.menue-offen .schnellleiste { display: none; }
  .vorschau-hinweis { bottom: 80px; }
}

/* offer next to the prototype (p.html) */
.pa-fakten { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 4px 0 14px; }
.pa-fakten dt { font: 600 .72rem/1.7 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grau); }
.pa-fakten dd { margin: 0; font-weight: 600; }
/* A1 price frame: the provider line under the viewer bar, visible on the phone too (§ 6 Abs. 1 DDG) */
.p-anbieter { margin: 0; padding: 4px 14px; font-size: .76rem; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .25); }
.p-anbieter a { color: inherit; }
#p-angebot .aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* area accents in the content: numbers, step counters, check marks, section lines */
.zahlen { border-top: 2px solid var(--akzent); }
.ablauf { border-top-color: var(--akzent); }
.ablauf li::before { color: var(--akzent-text); }
.punkte li::before { border-color: var(--akzent); }
.leistungen .nr { color: var(--akzent-text); border-bottom-color: var(--akzent); }
.paket .kicker { color: var(--akzent-text); }
/* the start page portfolio shows all three areas in their own colour */
.tueren .tuer:nth-child(1) { --akzent: var(--blau); --akzent-text: var(--blau-text); }
.tueren .tuer:nth-child(2) { --akzent: var(--sp-cyan-linie); --akzent-text: var(--sp-cyan-text); }
.tueren .tuer:nth-child(3) { --akzent: var(--sp-magenta); --akzent-text: var(--sp-magenta-text); }
.tuer { border-top: 4px solid var(--akzent); }
.tuer::before { background: var(--akzent); }
.tuer .nr { color: var(--akzent-text); }
.tuer h3 a::after, .tuer-liste a:hover { color: var(--akzent-text); }
.tuer-liste a::before { border-color: var(--akzent); }
/* menu groups carry their area colour too */
.navi .gruppe:nth-child(2) { --akzent: var(--sp-cyan-linie); }
.navi .gruppe:nth-child(3) { --akzent: var(--sp-magenta); }
.navi .menue-liste a:hover .menue-symbol, .navi .menue-liste a:focus-visible .menue-symbol { background: var(--akzent); }
/* header with the language switch: keep every entry on one line; the account label goes first */
.navi > a, .navi .gruppe > button, .navi .knopf, .kopfleiste .konto { white-space: nowrap; }
.held .medien img[src*="pruefprotokoll"] { object-position: top; background: var(--weiss); }

/* folded detail (price table, long lists): visible as one line, opens in place */
details.mehr { margin-top: 28px; border-top: 1px solid var(--linie); }
details.mehr > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; padding: 18px 0; font: 600 1rem/1.3 var(--titel); color: var(--akzent-text); }
details.mehr > summary::-webkit-details-marker { display: none; }
details.mehr > summary::after { content: '+'; font: 500 1.3rem/1 var(--mono); }
details.mehr[open] > summary::after { content: '–'; }

/* 3D-Rechner: erweiterte Einstellungen (20.10.2026) */
.erweitert { border-top: 1px solid var(--linie, #e3e5e8); margin-top: 8px; padding-top: 6px; }
.erweitert > summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.erweitert > summary::-webkit-details-marker { display: none; }
.erweitert > summary::before { content: "+"; font: 600 1rem/1 var(--mono); color: var(--akzent, var(--blau)); width: 1em; }
.erweitert[open] > summary::before { content: "–"; }
.erweitert > summary small { font-weight: 500; color: var(--grau); font-size: .82rem; }
.wahl.drei { grid-template-columns: repeat(3, 1fr); }
.reihe.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 520px) { .reihe.drei { grid-template-columns: 1fr 1fr; } }
.zonen { display: flex; flex-direction: column; gap: 6px; margin: 6px 0; }
.zone { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 8px 10px; border-left: 3px solid var(--signal); background: var(--signal-zart); border-radius: 0 var(--r) var(--r) 0; font-size: .88rem; }
.zone input { width: 4.6em; padding: 6px; }
.beratung { border: 1px solid #c8ccd2; border-radius: var(--r); padding: 12px 14px 4px; margin: 10px 0 6px; }
.beratung legend { font-weight: 700; padding: 0 6px; }
.empfehlung { background: #eef3ff; border-radius: var(--r); padding: 10px 12px; margin-bottom: 10px; }
.empfehlung:empty { display: none; }
.empfehlung p { margin: 4px 0 8px; }

/* Layout variety (Stanislav 20.10.2026: „nicht immer nach Schema A“) — four section types besides card grids */
/* 1. Mosaik: one large picture tile, smaller tiles beside it */
.mosaik { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(220px, auto); gap: 14px; }
.mosaik > a { position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; border-radius: var(--r-gross); overflow: hidden; color: var(--weiss); background: var(--tinte); text-decoration: none; min-height: 220px; isolation: isolate; }
.mosaik > a:first-child { grid-row: span 2; }
.mosaik > a:last-child { grid-column: span 2; }
.mosaik img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.mosaik > a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(32, 37, 39, .92)); }
.mosaik > a:hover img { transform: scale(1.04); }
.mosaik h3 { color: var(--weiss); margin: 0 0 4px; }
.mosaik p { margin: 0; color: #d6d9de; font-size: .94rem; }
.mosaik .nr { font: 600 .74rem/1 var(--mono); color: var(--signal); letter-spacing: .08em; margin-bottom: 8px; }
@media (max-width: 900px) { .mosaik { grid-template-columns: 1fr 1fr; } .mosaik > a:first-child { grid-row: auto; grid-column: span 2; min-height: 300px; } .mosaik > a:last-child { grid-column: span 2; } }
@media (max-width: 560px) { .mosaik { grid-template-columns: 1fr; } .mosaik > a:first-child, .mosaik > a:last-child { grid-column: auto; } }

/* 2. Halbbild: picture bleeds to the screen edge, text in the other half */
.halbbild { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--papier); }
.halbbild > figure { margin: 0; min-height: 420px; position: relative; }
.halbbild > figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.halbbild > div { padding: clamp(40px, 7vw, 96px) clamp(20px, 6vw, 88px); max-width: 640px; }
.halbbild.bild-rechts > figure { order: 2; }
@media (max-width: 860px) { .halbbild { grid-template-columns: 1fr; } .halbbild > figure { min-height: 260px; } .halbbild.bild-rechts > figure { order: 0; } }

/* 3. Zahlenband: big figures on the area colour */
.zahlenband { background: var(--akzent); color: var(--weiss); padding: clamp(40px, 6vw, 72px) 0; }
.zahlenband .huelle { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; }
.zahlenband b { display: block; font: 600 clamp(2.4rem, 5vw, 3.6rem)/1 var(--titel); letter-spacing: -.02em; }
.zahlenband span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .82); font-size: .94rem; max-width: 24ch; }

/* 4. Nummernliste: rows with large index numbers instead of cards */
.nummernliste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--linie); counter-reset: nl; }
.nummernliste li { counter-increment: nl; border-bottom: 1px solid var(--linie); }
.nummernliste a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.4fr) 1.5rem; gap: 18px; align-items: center; padding: 22px 4px; color: var(--tinte); text-decoration: none; transition: background .2s, padding .2s; }
.nummernliste a::before { content: counter(nl, decimal-leading-zero); font: 600 1.6rem/1 var(--mono); color: var(--akzent); }
.nummernliste a::after { content: "→"; font-size: 1.2rem; color: var(--grau); transition: transform .2s; }
.nummernliste a:hover { background: var(--akzent-zart); padding-left: 12px; }
.nummernliste a:hover::after { transform: translateX(4px); color: var(--akzent); }
.nummernliste strong { font: 600 1.15rem/1.3 var(--titel); }
.nummernliste span { color: var(--grau); font-size: .94rem; }
@media (max-width: 700px) { .nummernliste a { grid-template-columns: 3rem minmax(0, 1fr) 1.2rem; } .nummernliste span { grid-column: 2; grid-row: 2; } .nummernliste a::after { grid-row: 1; grid-column: 3; } }

/* Konstruktion: four colour-coded complexity levels */
.stufen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stufe { --farbe: var(--sp-cyan-text); --zart: var(--sp-cyan-zart); position: relative; border-radius: var(--r-gross); padding: 24px 22px 20px; background: linear-gradient(180deg, var(--zart), #fff 70%); border: 1px solid var(--linie); border-top: 5px solid var(--farbe); display: flex; flex-direction: column; gap: 8px; }
.stufe-blau { --farbe: var(--sp-blau); --zart: var(--sp-blau-zart); }
.stufe-orange { --farbe: var(--sp-orange-text); --zart: var(--sp-orange-zart); }
.stufe-violett { --farbe: var(--sp-magenta); --zart: var(--sp-magenta-zart); }
.stufe-nr { font: 600 .74rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--farbe); }
.stufe h3 { margin: 0; }
.stufe p { margin: 0; color: var(--stahl); font-size: .94rem; }
.stufe-preis { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--linie); display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.stufe-preis b { font: 600 1.15rem/1.2 var(--mono); color: var(--farbe); }
.stufe-preis small { color: var(--grau); font-size: .82rem; }
@media (max-width: 960px) { .stufen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stufen { grid-template-columns: 1fr; } }

/* STATECHPRINT Assistent (berater.js) */
.berater-knopf { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid rgba(33, 96, 222, .25); border-radius: 999px 999px 4px 999px; background: var(--blau-zart); color: var(--blau-text); font: 600 .88rem/1 var(--text); box-shadow: 0 4px 14px rgba(21, 23, 26, .12); cursor: pointer; }
.berater-knopf svg { width: 17px; height: 17px; flex: none; }
.berater-knopf small { font: 700 .62rem/1 var(--text); letter-spacing: .05em; padding: 2px 4px; border-radius: 4px; background: rgba(33, 96, 222, .14); }
.berater-knopf:hover { border-color: var(--blau); }
.berater-knopf[hidden] { display: none; }
.berater-knopf.in-leiste { position: static; box-shadow: none; min-height: 46px; padding: 0 12px; }
/* Stanislav 04.11.2026: in the quick bar square like its neighbours and in the blue of the IT button, so it stands out (white on #2160DE 5.5 : 1) */
.berater-knopf.in-leiste { border-radius: var(--r); background: var(--blau); border-color: var(--blau); color: var(--weiss); box-shadow: 0 4px 14px rgba(33, 96, 222, .28); }
.berater-knopf.in-leiste small { background: rgba(255, 255, 255, .22); color: var(--weiss); }
.berater-knopf.in-leiste:hover, .berater-knopf.in-leiste:focus-visible { background: var(--blau-text); border-color: var(--blau-text); }
@media (max-width: 420px) { .schnellleiste { grid-template-columns: minmax(0, 1fr); } .schnellleiste .knopf { white-space: nowrap; padding: .7em .7em; font-size: .94rem; } .schnellleiste .knopf:first-child svg, .berater-knopf.in-leiste svg { display: none; } .schnellleiste .knopf:last-child { min-width: 46px; } }
.berater { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: 390px; max-width: calc(100vw - 24px); height: 560px; max-height: calc(100dvh - 40px); display: flex; flex-direction: column; background: var(--weiss); border-radius: var(--r-gross); box-shadow: 0 24px 60px rgba(21, 23, 26, .35); overflow: hidden; }
.berater[hidden] { display: none; }
.berater header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--blau-nacht); color: var(--weiss); }
.berater header small { display: block; color: #aab3c8; font-size: .76rem; margin-top: 2px; }
.berater-zu { background: none; border: 0; color: var(--weiss); font-size: 1.5rem; line-height: 1; cursor: pointer; min-width: 36px; min-height: 36px; }
.berater-verlauf { flex: 1; overflow-y: auto; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.berater-verlauf p { margin: 0; padding: 10px 12px; border-radius: 10px; font-size: .92rem; line-height: 1.5; max-width: 88%; }
.berater-ki { background: var(--papier); align-self: flex-start; }
.berater-ich { background: var(--blau); color: var(--weiss); align-self: flex-end; }
.berater-ki.warte { color: var(--grau); }
/* AI Act Art. 50: each answer visibly marked as AI */
.berater-marke { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 999px; background: var(--blau-nacht); color: var(--weiss); font-size: .68rem; font-weight: 800; letter-spacing: .05em; vertical-align: 1px; }
.berater-vorschlaege { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 8px; }
.berater-vorschlaege[hidden] { display: none; }
.berater-vorschlaege button { border: 1px solid var(--linie); background: var(--weiss); border-radius: 999px; padding: 7px 11px; font: 500 .8rem/1.2 var(--text); cursor: pointer; }
.berater-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--linie); }
.berater-form textarea { flex: 1; resize: none; font: inherit; font-size: 16px; padding: 8px 10px; border: 1px solid #c8ccd2; border-radius: var(--r); }
.berater footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 14px 12px; font-size: .84rem; }
.berater-anfrage { border: 0; background: none; color: var(--blau-text); font: 600 .88rem var(--text); text-decoration: underline; cursor: pointer; padding: 0; }
.berater-anfrage[hidden] { display: none; }
@media (max-width: 760px) { .berater-knopf:not(.in-leiste) { bottom: 84px; right: 12px; } .berater { right: 0; bottom: 0; width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; } }
html.menue-offen .berater-knopf { display: none; }

/* Ratgeber articles: a readable measure inside the page frame */
.artikel { max-width: 820px; }
.artikel h2 { margin-top: 2.2em; }
.artikel .tabelle-sp { margin: 12px 0; }
.schritte-text { padding-left: 1.3em; display: grid; gap: 10px; }
.schritte-text li::marker { font: 600 1rem var(--mono); color: var(--akzent); }

/* Start page: three reasons under the hero (positioning 20.10.2026) */
.gruende { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--linie); border-radius: var(--r-gross); background: var(--weiss); overflow: hidden; }
.gruende > div { padding: 26px 28px; border-left: 1px solid var(--linie); }
.gruende > div:first-child { border-left: 0; }
.gruende .nr { font: 600 .78rem/1 var(--mono); color: var(--signal-text); letter-spacing: .08em; }
.gruende h2 { font-size: 1.25rem; margin: 10px 0 6px; }
.gruende p { margin: 0; color: var(--stahl); }
.gruende h3 { font-size: 1.12rem; margin: 10px 0 6px; }
.gruende.sechs > div:nth-child(3n+1) { border-left: 0; }
.gruende.sechs > div:nth-child(n+4) { border-top: 1px solid var(--linie); }
@media (max-width: 860px) { .gruende { grid-template-columns: 1fr; } .gruende > div { border-left: 0; border-top: 1px solid var(--linie); } .gruende > div:first-child { border-top: 0; } }

/* "Angebot anfordern" under a tool (uebernehmen.js) */
.uebernehmen { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding: 18px 22px; border-radius: var(--r-gross); background: var(--akzent-zart); border: 1px solid var(--linie); }
.uebernehmen b { display: block; font-size: 1.05rem; }
.uebernehmen span { color: var(--stahl); font-size: .92rem; }

/* Mega menus at the edges: the first opens to the right, the last to the left, so neither leaves the
   screen (the first group sits far left since the gripper menu leads, 20.10.2026). */
@keyframes menue-auf-rand { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (min-width: 1201px) {
  .navi .gruppe:first-of-type .menue.menue-gross { left: -12px; transform: none; }
  .navi .gruppe:last-of-type .menue.menue-gross { left: auto; right: -12px; transform: none; }
  .navi .gruppe:first-of-type:hover .menue-gross, .navi .gruppe:first-of-type:focus-within .menue-gross,
  .navi .gruppe:last-of-type:hover .menue-gross, .navi .gruppe:last-of-type:focus-within .menue-gross { animation-name: menue-auf-rand; }
}
.berater-falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.berater-einwilligung { margin: 0 12px 8px; padding: 8px 10px; border-radius: var(--r); background: var(--papier); color: var(--grau); font-size: .76rem; line-height: 1.45; }
.berater-einwilligung[hidden], .berater-form[hidden] { display: none; }
.berater-einwilligung a { color: inherit; }

/* Start page: entry by role (design audit 20.10.2026: buyers, designers, integrators, trainers) */
.rollen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--linie); border-radius: var(--r-gross); background: var(--weiss); overflow: hidden; }
.rollen > div { padding: 24px 24px 26px; border-left: 1px solid var(--linie); }
.rollen > div:first-child { border-left: 0; }
.rollen .nr { font: 600 .74rem/1.3 var(--mono); color: var(--signal-text); letter-spacing: .08em; }
.rollen h3 { font-size: 1.15rem; margin: 10px 0 12px; }
.rollen ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rollen a { color: var(--blau-text); text-decoration: none; font-weight: 500; }
.rollen a:hover { text-decoration: underline; }
@media (max-width: 960px) { .rollen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rollen > div:nth-child(3) { border-left: 0; } .rollen > div:nth-child(n+3) { border-top: 1px solid var(--linie); } }
@media (max-width: 560px) { .rollen { grid-template-columns: 1fr; } .rollen > div { border-left: 0; } .rollen > div + div { border-top: 1px solid var(--linie); } }

/* Inquiry page (conversion audit 20.10.2026): what happens next, trust ticks, a person, a real drop zone */
.anfrage-seite .schritte-text { margin: 18px 0 22px; }
.haken { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 8px; }
.haken li { position: relative; padding-left: 26px; color: var(--stahl); }
.haken li::before { content: ""; position: absolute; left: 2px; top: .35em; width: 12px; height: 7px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.ansprechpartner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 18px 20px; border: 1px solid var(--linie); border-radius: var(--r-gross); background: var(--weiss); }
.ansprechpartner > div { display: grid; flex: 1 1 100%; }
.ansprechpartner span { color: var(--stahl); font-size: .9rem; }
.ansprechpartner .knopf svg { width: 16px; height: 16px; margin-right: 6px; }
.ablagefeld { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; text-align: center; border: 2px dashed var(--linie); border-radius: var(--r-gross); background: var(--papier); cursor: pointer; transition: border-color .15s, background .15s; }
.ablagefeld:hover, .ablagefeld:focus-within, .ablagefeld.zieht { border-color: var(--blau); background: var(--weiss); }
.ablagefeld svg { width: 28px; height: 28px; color: var(--blau); }
.ablagefeld small { color: var(--stahl); }
.ablagefeld input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ablage-liste { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font: 500 .85rem/1.4 var(--mono); }
.ablage-liste:empty { display: none; }
.knopf.gross { padding: 16px 28px; font-size: 1.05rem; width: 100%; justify-content: center; }
.testpaar-hinweis { margin: 0 0 18px; padding: 12px 14px; border-left: 4px solid var(--signal); background: var(--papier); font-weight: 600; }
.danke { padding: 26px 28px; border: 1px solid var(--linie); border-top: 4px solid var(--signal); border-radius: var(--r-gross); background: var(--weiss); }
.danke:focus { outline: none; }
.danke h3 { margin: 0 0 6px; font-size: 1.3rem; }
.danke .mono { color: var(--stahl); margin: 0 0 14px; }
.danke .aktionen { margin-top: 18px; align-items: center; }
.rueckruf { margin-top: 16px; border: 1px solid var(--linie); border-radius: var(--r-gross); background: var(--weiss); }
.rueckruf summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--blau-text); }
.rueckruf .formular { padding: 0 18px 18px; border: 0; box-shadow: none; }
.rueckruf .knopf svg { width: 16px; height: 16px; margin-right: 6px; }

/* ---------- Maintenance notice and banner (sp.js, ERP tab "Website") ---------- */
html.sp-wartung-an, html.sp-wartung-an body { overflow: hidden; }
.sp-wartung { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: var(--tinte); }
.sp-wartung-karte { width: min(560px, 100%); text-align: center; color: #e8eaed; }
.sp-wartung-karte img { margin: 0 auto 22px; }
.sp-wartung-karte h1 { color: #fff; font-size: clamp(1.8rem, 5vw, 2.6rem); }
.sp-wartung-karte p { font-size: 1.05rem; line-height: 1.6; color: #c9ccd2; }
.sp-wartung-karte a { color: var(--signal); }
.sp-wartung-kontakt { font-weight: 600; margin-top: 18px; }
.sp-wartung-recht { font-size: .88rem !important; margin-top: 28px; }
.sp-hinweis { display: block; padding: 10px var(--rand, 16px); background: var(--signal); color: #15171a; text-align: center; font-weight: 600; font-size: .92rem; text-decoration: none; }
a.sp-hinweis:hover { text-decoration: underline; }
/* ---------- homepage (B2B, 22.10.2026): full width, live print in the hero, short ways to order ---------- */
.held.start .huelle { max-width: 1600px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: min(86vh, 820px); gap: clamp(24px, 4vw, 64px); }
.held.start h1 { font-size: clamp(2.2rem, 3.7vw, 3.6rem); }
/* Stanislav 02.11.2026: start page hero with a moving background (file hero-hintergrund.*, swap the file to change it) */
.held.start.mit-film { position: relative; overflow: hidden; isolation: isolate; }
.held.start.mit-film .held-hintergrund { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; }
.held.start.mit-film::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(22, 25, 28, .96) 0%, rgba(22, 25, 28, .86) 38%, rgba(22, 25, 28, .45) 70%, rgba(22, 25, 28, .7) 100%); }
.held.start.mit-film .druckbuehne { box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.held-ki-hinweis { position: absolute; right: 16px; bottom: 10px; font-size: .72rem; color: rgba(255, 255, 255, .55); z-index: 1; }
@media (max-width: 860px) { .held.start.mit-film::before { background: rgba(22, 25, 28, .86); } }
@media (prefers-reduced-motion: reduce) { .held.start.mit-film .held-hintergrund { display: none; } }
#projekt .rahmenbild img { max-height: 560px; width: 100%; object-fit: cover; object-position: top; }
.druckbuehne { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-gross); overflow: hidden; border: 1px solid var(--linie-dunkel); background: radial-gradient(80% 80% at 50% 40%, #1d2330, #0c0e12); }
.druckbuehne img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: opacity .6s; }
.druckbuehne canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.druckbuehne.laeuft img { opacity: 0; }
.druckbuehne .massband { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; font: 500 .74rem/1 var(--mono); color: #c9ccd2; letter-spacing: .08em; z-index: 1; }
.druckbuehne #held-druck-stand { color: var(--signal); }
.bestellweg { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--tinte); }
.bestellweg li { padding: 28px 32px 30px 0; margin-right: 32px; border-right: 1px solid var(--linie); display: flex; flex-direction: column; }
.bestellweg li:last-child { border-right: 0; margin-right: 0; }
.bestellweg .nr { font: 600 clamp(2.6rem, 5vw, 4rem)/1 var(--titel); color: var(--blau); margin-bottom: 14px; }
.bestellweg h3 { margin: 0 0 8px; }
.bestellweg p { color: var(--stahl); margin: 0 0 16px; }
.bestellweg .textlink { margin-top: auto; }
@media (max-width: 820px) { .bestellweg { grid-template-columns: 1fr; } .bestellweg li { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--linie); } }
.leistungsreihen { border-top: 1px solid var(--linie); }
.leistungsreihen .reihe { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: clamp(320px, 42vw, 560px); text-decoration: none; color: var(--tinte); border-bottom: 1px solid var(--linie); }
.leistungsreihen .reihe:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.leistungsreihen .reihe:nth-child(even) .bild { order: 2; }
.leistungsreihen .bild { position: relative; overflow: hidden; background: var(--tinte); }
.leistungsreihen .bild img, .leistungsreihen .bild video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.leistungsreihen .reihe:hover .bild img, .leistungsreihen .reihe:hover .bild video { transform: scale(1.03); }
.leistungsreihen .text { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 88px); }
.leistungsreihen h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 6px 0 14px; }
.leistungsreihen p { color: var(--stahl); font-size: 1.08rem; max-width: 30em; margin: 0 0 22px; }
@media (max-width: 820px) { .leistungsreihen .reihe, .leistungsreihen .reihe:nth-child(even) { grid-template-columns: 1fr; } .leistungsreihen .reihe:nth-child(even) .bild { order: 0; } .leistungsreihen .bild { aspect-ratio: 16 / 10; } }
.werkzeugleiste { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--linie); }
.werkzeugleiste a { display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 22px 0; margin-right: 20px; border-bottom: 1px solid var(--linie); text-decoration: none; color: var(--tinte); }
.werkzeugleiste b { font: 600 1.05rem/1.2 var(--titel); }
.werkzeugleiste b::after { content: ' →'; color: var(--blau-text); }
.werkzeugleiste span { color: var(--stahl); font-size: .92rem; }
.werkzeugleiste a:hover b { color: var(--blau-text); }
@media (max-width: 960px) { .werkzeugleiste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .werkzeugleiste { grid-template-columns: 1fr; } .werkzeugleiste a { margin-right: 0; } }
@media (max-width: 900px) { .held.start .huelle { grid-template-columns: 1fr; min-height: 0; padding-top: 36px; } .druckbuehne { aspect-ratio: 4 / 3; } }
/* ---------- customer account: online payment and request kinds (22.10.2026) ---------- */
.anliegen-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.zahlzelle { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.zahlzelle .knopf { white-space: nowrap; }
button.textlink { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--blau-text); }
button.textlink.klein { font-size: .85rem; }

/* ---------- Prototype meeting mode (Gesprächsmodus, W5 23.10.2026): toolbar, list, note dialog ---------- */
.prototyp-mitte { flex: 1; display: flex; min-height: 0; position: relative; }
.prototyp-leiste-oben #p-anm-knopf[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); color: #fff; }
.anm-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 8px 14px; background: #22262b; color: #fff; font-size: .86rem; }
.anm-leiste[hidden] { display: none; }
.anm-werkzeuge { display: flex; gap: 6px; }
.anm-werkzeuge button { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font: 600 .9rem var(--text); cursor: pointer; }
.anm-werkzeuge button[aria-pressed="true"] { background: var(--signal); border-color: var(--signal); }
.anm-leiste label { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .75); }
.anm-leiste select, .anm-leiste input { min-height: 40px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .3); background: #15171a; color: #fff; padding: 0 8px; font: inherit; }
.anm-leiste input { width: 9em; }
.anm-leiste .knopf.rahmen { color: #fff; border-color: rgba(255, 255, 255, .3); margin-left: auto; }
.an-status { color: #9fd49f; }
.an-status.warte { color: #ffcf7a; }
.anm-liste { width: 360px; flex: none; overflow-y: auto; background: #fff; border-left: 1px solid #ddd; padding: 14px; font-size: .9rem; }
.anm-liste[hidden] { display: none; }
.anm-liste-kopf { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.anm-liste-kopf span { color: var(--grau); font-size: .8rem; }
.anm-filter select { min-height: 36px; margin-left: 6px; }
.anm-eintraege { list-style: none; margin: 12px 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.anm-eintraege .leer { color: var(--grau); }
.an-eintrag { border: 1px solid #e3e3e3; border-left: 4px solid #ef7d00; border-radius: 6px; padding: 8px 10px; }
.an-eintrag.prio-muss { border-left-color: #c62828; }
.an-eintrag.prio-kann { border-left-color: #5f646a; }
.an-eintrag.erledigt { opacity: .6; border-left-color: #2e7d32; }
.an-eintrag p { margin: 4px 0; }
.an-eintrag small { color: var(--grau); display: block; }
.an-kopf { display: flex; gap: 8px; align-items: baseline; }
.an-marke { font-size: .78rem; color: var(--grau); }
.an-aktionen { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; }
.an-aktionen .linkknopf, .an-aktionen a { min-height: 32px; font-size: .85rem; }
/* W15 stage 1: dictation at the note, the page list one tap away */
.anm-mikro { min-height: 40px; margin-top: 6px; font-size: .9rem; width: auto; align-self: flex-start; justify-self: start; text-align: left; }
.anm-mikro[aria-pressed="true"] { color: #c62828; font-weight: 700; }
.anm-mikro:disabled { color: var(--grau); cursor: not-allowed; }
.an-liste-zahl:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 4px; border-radius: 10px; background: #ef7d00; color: #fff; font-size: .78rem; line-height: 20px; }
.an-eintrag[data-springen] { cursor: pointer; }
.an-eintrag[data-springen]:hover { background: #fff7ee; }
.anm-export { border-top: 1px solid #eee; padding-top: 10px; color: var(--grau); }
.anm-zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 1000px) {
  .anm-liste { position: absolute; right: 0; top: 0; bottom: 0; width: min(340px, 88vw); z-index: 20; box-shadow: -6px 0 18px rgba(0, 0, 0, .25); }
}
@media (max-width: 640px) {
  .anm-leiste { gap: 8px; padding: 6px 8px; }
  .anm-leiste label:not(:has(#an-prio)) { display: none; }
  .anm-werkzeuge button { padding: 0 10px; }
}
/* W5c: the same meeting mode on statechprint.de itself (w-anmerken.js, Stanislav only). No frame here, so
   toolbar, list and dialog float above the page and above the note markers (z 2147483000). */
.w-anm-knopf { position: fixed; left: 12px; bottom: 12px; z-index: 2147483200; box-shadow: var(--schatten); white-space: nowrap; }
.w-anm-knopf[aria-pressed="true"] { background: var(--tinte); color: #fff; border-color: rgba(255, 255, 255, .3); bottom: 10px; }
.anm-leiste.w-anm { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483100; padding-left: 140px; min-height: 64px; }
.anm-liste.w-anm { position: fixed; right: 0; top: 0; bottom: var(--w-anm-unten, 64px); width: min(360px, 88vw); z-index: 2147483100; box-shadow: -6px 0 18px rgba(0, 0, 0, .25); }
.prototyp-feedback.w-anm { z-index: 2147483300; }
body.w-anm-seite.gespraech { padding-bottom: calc(var(--w-anm-unten, 64px) + 8px); }
@media (max-width: 640px) {
  .anm-leiste.w-anm { padding-left: 112px; }
  .anm-leiste.w-anm .anm-werkzeuge button { padding: 0 8px; }
}
/* Loop videos without controls never show a play symbol, not even the native one of iOS Safari when autoplay is
   blocked (low power mode): the poster is the picture (Stanislav 23.10.2026). */
video:not([controls])::-webkit-media-controls-start-playback-button { display: none !important; -webkit-appearance: none; }
video:not([controls])::-webkit-media-controls { display: none !important; }
.leistungsreihen .bild, .rahmenbild, .held .medien { position: relative; }
/* W7: in the phone drawer the tools carry a green stripe, the digital block a violet one (last in the list) */
@media (max-width: 1200px) {
  .navi .gruppe:has(a.hervor) > button { box-shadow: inset 4px 0 0 var(--ok) !important; padding-left: 12px; }
  .navi .gruppe-digital { margin-top: 8px; }
  .navi .gruppe-digital > button { box-shadow: none !important; border: 1.5px solid var(--blau); border-radius: 8px;
    background: var(--blau-zart); padding-left: 14px; margin: 0; justify-content: flex-start; gap: 10px; }
  .navi .gruppe-digital > button svg { margin-left: auto; }
}

/* Preparation sheet online (W12, design HQ 26.10.2026): statechprint.de/vorbereitung/<token>.
   Both logos on top, full width: parts with progress on the left (sticky), questions as cards on the right;
   one column on the phone. Part colours only as a thin accent, never as a coloured area. */
.vbo-seite { background: var(--papier); --kunde: var(--blau-tief); }
.vbo-kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); border-top: 4px solid var(--kunde); }
.vbo-kopf-innen { max-width: 1320px; margin: 0 auto; padding: 14px var(--rand); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 12px 32px; }
.vbo-marken { display: flex; align-items: center; gap: 16px; min-width: 0; }
.vbo-sp { display: inline-flex; align-items: center; gap: 8px; font-family: var(--titel); font-weight: 700; letter-spacing: .06em;
  font-size: .95rem; color: var(--tinte); white-space: nowrap; }
.vbo-sp img { width: 26px; height: auto; }
.vbo-trenner { width: 1px; align-self: stretch; min-height: 36px; background: var(--linie); }
.vbo-kunde { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--kunde); }
.vbo-kunde b { font-family: var(--titel); font-size: 1.1rem; }
.vbo-kunde-zeichen { height: 52px; width: auto; }
.vbo-kunde-schriftzug { height: 26px; width: auto; max-width: 60vw; }
.vbo-eckdaten { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; }
.vbo-eckdaten div { display: flex; flex-direction: column; }
.vbo-eckdaten dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--grau); }
.vbo-eckdaten dd { margin: 0; font-weight: 600; color: var(--tinte); }
.vbo-eckdaten a { color: var(--blau-text); white-space: nowrap; }
.vbo-laden { max-width: 760px; margin: 32px auto; }

.vbo-raster { max-width: 1320px; margin: 0 auto; padding: 28px var(--rand) 64px; display: grid;
  grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: start; }
.vbo-leiste { position: sticky; top: 20px; }
.vbo-leiste-innen { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r); padding: 20px; }
.vbo-leiste-titel { font-family: var(--titel); font-weight: 700; font-size: 1.15rem; margin: 0 0 8px; }
.vbo-balken { height: 6px; border-radius: 999px; background: var(--linie); overflow: hidden; }
.vbo-balken span { display: block; height: 100%; width: 0; background: var(--ok); transition: width .3s ease; }
.vbo-fortschritt { font-size: .88rem; color: var(--grau); margin: 8px 0 16px; }
.vbo-reiter { display: flex; flex-direction: column; gap: 4px; margin: 0 0 16px; }
.vbo-reiter a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; color: var(--tinte);
  text-decoration: none; min-height: 48px; border-left: 3px solid transparent; }
.vbo-reiter a:hover, .vbo-reiter a.aktiv { background: var(--papier); }
.vbo-reiter a.aktiv { border-left-color: var(--vb-farbe, var(--signal)); }
.vbo-reiter-text { display: flex; flex-direction: column; min-width: 0; }
.vbo-reiter-text b { font-weight: 600; overflow-wrap: anywhere; }
.vbo-zahl { font-size: .8rem; color: var(--grau); }
.vbo-nr { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: .85rem;
  font-weight: 700; color: var(--vb-farbe, var(--stahl)); border: 2px solid currentColor; background: var(--weiss); }
.vbo-reiter a.fertig .vbo-nr { background: var(--ok); border-color: var(--ok); color: transparent; position: relative; }
.vbo-reiter a.fertig .vbo-nr::after { content: ""; position: absolute; left: 9px; top: 6px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vbo-gespeichert { font-size: .82rem; color: var(--grau); margin: 0 0 12px; min-height: 1.2em; }
.vbo-zum-ende { width: 100%; justify-content: center; }

.vbo { min-width: 0; padding: 0; max-width: none; }
.vbo-einstieg { margin-bottom: 24px; }
.vbo-einstieg h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .2em 0 .35em; }
.vbo-lead { font-size: 1.08rem; color: var(--stahl); max-width: 68ch; }
.vbo .vb-warnung { border-left: 4px solid var(--signal); background: var(--signal-zart); padding: .7em 1em; border-radius: 6px; }

.vbo { --vb-orange: #e07b00; --vb-blau: #2563b8; --vb-gruen: #2f9e44; --vb-violett: #6d3fae; }
.vbo-orange, .vbo-reiter-orange { --vb-farbe: var(--vb-orange); }
.vbo-blau, .vbo-reiter-blau { --vb-farbe: var(--vb-blau); }
.vbo-gruen, .vbo-reiter-gruen { --vb-farbe: var(--vb-gruen); }
.vbo-violett, .vbo-reiter-violett { --vb-farbe: var(--vb-violett); }
.vbo-teil { scroll-margin-top: 24px; margin: 0 0 28px; }
.vbo-teilkopf { padding: 0 0 12px; margin: 0 0 14px; border-bottom: 2px solid var(--vb-farbe, var(--linie)); }
.vbo-teilkopf h2 { margin: 0 0 .3em; font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.vbo-teilkopf p { margin: .2em 0; color: var(--stahl); }
.vbo-teilkopf .klein { color: var(--grau); }
.vbo .vb-abschnitt { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.vbo .vb-abschnitt legend { padding: 0; }
.vbo .vb-abschnitt legend h3, .vbo .vb-abschnitt h3 { font-size: 1.02rem; margin: 6px 0 10px; color: var(--stahl); }
.vbo-punkt { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--r); padding: 18px 20px; margin: 0 0 12px;
  transition: border-color .15s ease, box-shadow .15s ease; }
.vbo-punkt:focus-within { border-color: var(--blau); box-shadow: 0 0 0 3px var(--blau-zart); }
.vbo-frage { margin: 0 0 .5em; font-weight: 600; font-size: 1.02rem; overflow-wrap: anywhere; display: flex; flex-wrap: wrap;
  align-items: baseline; gap: 4px 10px; }
.vbo-marke { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); }
.vbo-wahl { display: flex; flex-wrap: wrap; gap: 8px; margin: .2em 0 .4em; }
.vbo-wahl label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--linie); border-radius: 8px; background: var(--weiss); cursor: pointer; font-size: .95rem; }
.vbo-wahl label:hover { border-color: var(--stahl); }
.vbo-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.vbo-wahl label:has(input:checked) { border-color: var(--blau); background: var(--blau-zart); color: var(--blau-text); font-weight: 600; }
.vbo-wahl label:has(input:focus-visible) { outline: 3px solid var(--blau); outline-offset: 2px; }
.vbo .feld { margin: .4em 0; }
.vbo .feld label { font-size: .85rem; color: var(--grau); }
.vbo .feld textarea, .vbo .feld input { width: 100%; box-sizing: border-box; }
.vbo .vb-passwort { border-color: #b3261e; outline: 2px solid #b3261e; }
.vbo-impressum { border-left: 3px solid var(--vb-farbe); padding: .5em .8em; background: var(--papier); border-radius: 6px; }
.vbo-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 12px; }
.vbo-zeilen .vbo-zeile-t { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 0 8px;
  border-top: 1px dashed var(--linie); padding-top: .4em; }
.vbo-seitenzeile { display: grid; grid-template-columns: minmax(120px, 1fr) auto minmax(160px, 1.4fr); gap: 4px 12px;
  align-items: center; border-top: 1px solid var(--linie); padding: .5em 0; }
.vbo-thema { background: var(--weiss); }
.vbo-zu > summary, .vbo-nurbei > summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.vbo-offen { margin: .5em 0 0; padding-left: 1.2em; }
.vbo-offen a { color: inherit; }
.vbo-frage2 { margin: .4em 0 .2em; font-weight: 600; }

/* „Stimmt so“ – what we already know is the normal case: one tap confirms it */
.vbo-bekannt { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; margin: .2em 0 .6em; border-radius: 8px;
  background: var(--papier); border: 1px solid var(--linie); white-space: pre-line; }
.vbo-bestaetigen { display: flex; flex-wrap: wrap; gap: 8px; }
.vbo-bestaetigen .knopf { min-height: 44px; min-width: 132px; }
.vbo-bestaetigen .knopf:first-child { background: var(--blau); border-color: var(--blau); color: #fff; }
.vbo-ok .vbo-bekannt { border-color: var(--ok); background: #eef8f2; }
.vbo-ok .vbo-bekannt::before { content: "✓ Bestätigt"; font-size: .78rem; font-weight: 700; color: var(--ok); letter-spacing: .02em; }
.vbo-ok .vbo-bestaetigen .knopf[aria-pressed="true"] { background: var(--ok); border-color: var(--ok); color: #fff; }
.vbo-editor { margin-top: .5em; }

.vbo-ende { background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--signal); border-radius: var(--r);
  padding: 22px 24px; margin-top: 8px; scroll-margin-top: 24px; }
.vbo-ende h2 { margin: 0 0 12px; font-size: 1.3rem; }
.vbo-ende-felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 16px; }
.vbo-ende .knopf { margin: 8px 0 12px; }

@media (max-width: 900px) {
  .vbo-raster { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; }
  .vbo-leiste { position: sticky; top: 0; z-index: 5; margin: 0 calc(-1 * var(--rand)); }
  .vbo-leiste-innen { border-radius: 0; border-width: 0 0 1px; padding: 10px var(--rand); }
  .vbo-leiste-titel { font-size: .95rem; margin: 0 0 6px; }
  .vbo-fortschritt { margin: 6px 0 8px; }
  .vbo-reiter { flex-direction: row; overflow-x: auto; gap: 6px; margin: 0; scrollbar-width: none; }
  .vbo-reiter a { flex: none; min-height: 40px; padding: 6px 10px; border: 1px solid var(--linie); border-left-width: 1px; }
  .vbo-reiter a.aktiv { border-color: var(--vb-farbe, var(--signal)); }
  .vbo-reiter .vbo-zahl { display: none; }
  .vbo-gespeichert, .vbo-zum-ende { display: none; }
  .vbo-kopf-innen { padding: 10px var(--rand); }
  .vbo-kunde-zeichen { height: 40px; }
  .vbo-kunde-schriftzug { height: 20px; }
  .vbo-eckdaten { gap: 4px 18px; font-size: .9rem; }
  .vbo-teil, .vbo-ende { scroll-margin-top: 120px; }
}
@media (max-width: 640px) {
  .vbo-seitenzeile { grid-template-columns: 1fr; }
  .vbo-punkt { padding: 14px 14px; }
  .vbo-sp span { display: none; }
}

/* Demo Instandhaltung (HQ 28.10.2026): tablet app look, touch targets >= 44 px */
.ih-band { padding-top: 32px; }
.ih-muster { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r); background: var(--signal-zart); color: var(--signal-text); font: 600 .86rem/1.4 var(--text); }
.ih { position: relative; border-radius: 18px; overflow: hidden; background: #f3f5f7; border: 1px solid #d9dfe5; box-shadow: 0 30px 70px rgba(21, 23, 26, .18); }
.ih-leiste { display: flex; align-items: center; gap: 12px 18px; padding: 12px 16px; background: var(--blau-nacht); color: #fff; flex-wrap: wrap; }
.ih-logo { font: 600 1rem/1 var(--titel); }
.ih-logo small { font: 600 .62rem/1 var(--mono); padding: 3px 6px; margin-left: 6px; border-radius: 3px; background: rgba(255, 255, 255, .14); vertical-align: middle; }
.ih-tabs { display: flex; gap: 6px; flex: 1 1 auto; overflow-x: auto; }
.ih-tabs button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: transparent; color: #c9d1e8; font: 600 .95rem/1 var(--text); cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ih-tabs button[aria-selected="true"] { background: var(--signal); color: var(--tinte); }
.ih-zahl { font: 700 .72rem/1 var(--mono); font-style: normal; background: #e5484d; color: #fff; border-radius: 999px; padding: 4px 7px; }
.ih-knoepfe { display: flex; gap: 8px; }
.ih-klein { min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: inherit; font: 600 .88rem/1 var(--text); cursor: pointer; }
.ih-schirm { padding: clamp(14px, 2.5vw, 26px); display: grid; gap: 18px; }
.ih-schirm[hidden] { display: none; }
.ih-schirm h3 { margin: 0 0 12px; font: 700 1.05rem/1.2 var(--titel); display: flex; align-items: center; gap: 10px; }
.ih-schirm h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--tinte); color: #fff; font: 700 .85rem/1 var(--mono); }
.ih-schirm h3 small, .ih-schirm h4 small { font: 500 .78rem/1 var(--mono); color: var(--grau); margin-left: auto; }
.ih-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ih-kachel { position: relative; text-align: left; min-height: 84px; padding: 14px 16px; border-radius: 14px; border: 2px solid #dfe3e8; background: #fff; cursor: pointer; display: grid; gap: 4px; font: inherit; color: var(--tinte); }
.ih-kachel b { font: 700 1.05rem/1.2 var(--titel); }
.ih-kachel span { color: var(--stahl); font-size: .86rem; }
.ih-kachel[aria-pressed="true"], .ih-schild[aria-pressed="true"] { border-color: var(--signal); box-shadow: 0 0 0 4px var(--signal-zart); }
.ih-punkt { position: absolute; top: 14px; right: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); }
.ih-punkt.rot, .ih-m.rot::before { background: #e5484d; }
.ih-punkt.gelb, .ih-m.gelb::before { background: #f5a524; }
.ih-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ih-chips button { min-height: 48px; padding: 0 18px; border-radius: 999px; border: 2px solid #dfe3e8; background: #fff; font: 600 .95rem/1 var(--text); color: var(--tinte); cursor: pointer; }
.ih-chips button[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.ih-zeile { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: end; }
.ih-notiz { display: grid; gap: 6px; }
.ih-notiz label { font: 600 .86rem/1 var(--text); color: var(--stahl); }
.ih-notiz input { min-height: 48px; padding: 0 14px; border-radius: 12px; border: 2px solid #dfe3e8; font: inherit; }
.ih-melden { min-height: 56px; border: 0; border-radius: 14px; background: var(--signal); color: var(--tinte); font: 700 1.05rem/1 var(--text); cursor: pointer; }
.ih-melden:disabled { background: #e3e6ea; color: #8a9099; cursor: not-allowed; }
.ih-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.ih-kpis div { background: #fff; border-radius: 14px; padding: 14px 16px; border: 1px solid #e2e6ea; display: grid; gap: 6px; }
.ih-kpis span { color: var(--stahl); font-size: .86rem; }
.ih-kpis b { font: 700 1.9rem/1 var(--mono); }
.ih-zwei { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
.ih-karte { background: #fff; border-radius: 14px; padding: 16px; border: 1px solid #e2e6ea; }
.ih-liste, .ih-wartung, .ih-teile { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ih-eintrag { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; border-left: 6px solid #f5a524; background: #fffaf0; }
.ih-eintrag.rot { border-left-color: #e5484d; background: #fff4f4; }
.ih-eintrag.neu { animation: ih-blink 1.4s ease 2; }
.ih-eintrag div { display: grid; gap: 4px; }
.ih-eintrag span { color: var(--stahl); font-size: .86rem; }
.ih-ok { border-color: var(--ok); color: var(--ok); background: #fff; }
.ih-p-zeile { display: grid; grid-template-columns: 130px minmax(0, 1fr) 42px; gap: 10px; align-items: center; margin: 0 0 10px; font-size: .9rem; }
.ih-p-zeile i { height: 18px; border-radius: 6px; background: linear-gradient(90deg, var(--signal), #ffb24d); transition: width .4s ease; }
.ih-p-zeile b { font: 700 .9rem/1 var(--mono); text-align: right; }
.ih-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ih-m { position: relative; padding: 12px 14px 12px 30px; border-radius: 12px; background: #f6f8fa; display: grid; gap: 2px; }
.ih-m::before { content: ""; position: absolute; left: 12px; top: 17px; width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.ih-m span { font-size: .84rem; color: var(--stahl); }
.ih-leise { color: var(--stahl); font-size: .9rem; margin: 0 0 12px; }
.ih-leer { padding: 40px 10px; text-align: center; }
.ih-schilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ih-schild { display: flex; gap: 12px; align-items: center; min-height: 72px; padding: 10px 12px; border-radius: 12px; border: 2px solid #dfe3e8; background: linear-gradient(180deg, #fbfbfc, #eef0f3); cursor: pointer; text-align: left; font: inherit; color: var(--tinte); }
.ih-schild b { display: block; font: 700 .95rem/1.2 var(--titel); }
.ih-schild small { font: 500 .74rem/1 var(--mono); color: var(--grau); }
.ih-qr { flex: 0 0 52px; height: 52px; padding: 3px; background: #fff; border-radius: 6px; border: 1px solid #d0d5db; }
.ih-qr svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.ih-schild.scan { animation: ih-scan .45s ease; }
.ih-kicker { font: 600 .74rem/1 var(--mono); color: var(--grau); }
#ih-maschine h3 { margin: 6px 0 14px; font-size: 1.3rem; }
#ih-maschine h4 { margin: 16px 0 10px; font: 700 .95rem/1 var(--titel); display: flex; }
.ih-balken { height: 8px; border-radius: 999px; background: #e9ecef; overflow: hidden; margin-bottom: 10px; }
.ih-balken i { display: block; height: 100%; width: 0; background: var(--ok); transition: width .35s ease; }
.ih-wartung label { display: flex; gap: 12px; align-items: center; min-height: 44px; cursor: pointer; }
.ih-wartung input { width: 24px; height: 24px; accent-color: var(--ok); }
.ih-teile li { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.ih-menge { display: inline-flex; align-items: center; gap: 10px; }
.ih-menge b { min-width: 18px; text-align: center; font: 700 1rem/1 var(--mono); }
.ih-rund { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #dfe3e8; background: #fff; font: 700 1.2rem/1 var(--text); cursor: pointer; color: var(--tinte); }
#ih-anfragen { width: 100%; margin-top: 16px; }
.ih-toast { position: fixed; z-index: 70; left: 50%; bottom: 18px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--tinte); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 600; transition: opacity .25s, transform .25s; max-width: 90%; text-align: center; }
.ih-toast.an { opacity: 1; transform: translate(-50%, 0); }
.ih-hervor { outline: 4px solid var(--signal); outline-offset: 6px; border-radius: 14px; }
.ih-tour { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; width: min(560px, calc(100% - 32px)); background: var(--tinte); color: #fff; padding: 16px 18px; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); display: grid; gap: 12px; }
.ih-tour[hidden] { display: none; }
.ih-tour p { margin: 0; line-height: 1.45; }
.ih-tour div { display: flex; justify-content: flex-end; gap: 10px; }
.ih-weiter { background: var(--signal); color: var(--tinte); border-color: var(--signal); }
@keyframes ih-blink { 50% { box-shadow: 0 0 0 4px rgba(229, 72, 77, .35); } }
@keyframes ih-scan { 50% { transform: scale(.97); box-shadow: inset 0 0 0 3px var(--signal); } }
@media (prefers-reduced-motion: reduce) { .ih-eintrag.neu, .ih-schild.scan { animation: none; } .ih-toast, .ih-balken i, .ih-p-zeile i { transition: none; } }
@media (max-width: 900px) { .ih-zwei { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 620px) {
  .ih-kacheln, .ih-status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ih-kpis b { font-size: 1.4rem; }
  .ih-zeile { grid-template-columns: minmax(0, 1fr); }
  .ih-schilder { grid-template-columns: minmax(0, 1fr); }
  .ih-p-zeile { grid-template-columns: 100px minmax(0, 1fr) 36px; }
}
@media (max-width: 720px) { .ih-tour, .ih-toast { bottom: 84px; } }
/* ---------- company film (bauen.py film_html): poster button, the video loads on click ---------- */
.film { max-width: 880px; margin: 32px auto 8px; }
.film-start, .film video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-gross); overflow: hidden; background: #202527; box-shadow: 0 24px 60px rgba(21, 23, 26, .2); }
.film-start { position: relative; padding: 0; border: 0; cursor: pointer; color: #fff; font: inherit; }
.film-start img { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-knopf { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--signal); color: #202527; font-weight: 700; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.film-knopf svg { width: 20px; height: 20px; }
.film-start:hover .film-knopf, .film-start:focus-visible .film-knopf { transform: translateX(-50%) translateY(-1px); }
.film-dauer { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(32, 37, 39, .78); font-size: .85rem; }
.film-unter { margin-top: 12px; }
.film-text summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 600; }
.film-text p { margin: 4px 0 0; color: var(--grau); }
/* "Keine Zelle steht still" (Stanislav 31.10.2026): the closing band of the start pages over a calm, nearly
   colourless film – orange stays on the button only. The film is AI-made and labelled at the picture. */
.zellband { position: relative; overflow: hidden; padding-top: clamp(200px, 26vw, 340px); }
.zellband > .zellband-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.9) brightness(.75); }
.zellband::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(21, 23, 26, .94), rgba(21, 23, 26, .6) 55%, rgba(21, 23, 26, .4)); }
.zellband > .huelle { position: relative; z-index: 2; }
.zellband h2 { max-width: 20ch; }
.ki-etikett { position: absolute; top: 12px; right: 12px; z-index: 2; font: 600 .75rem/1 var(--mono); letter-spacing: .04em;
  padding: 6px 9px; border-radius: var(--r); background: rgba(21, 23, 26, .8); color: #fff; }
/* W-PROFIL1: portrait on „Über uns“ / „About“, 4:5, above the key figures */
.portrait { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; margin-bottom: 24px; }
/* 03.11.2026: the plain privacy note under a form has no checkbox; as a flex row its link became a second column */
p.einwilligung.hinweis-lit-b { display: block; }

/* Neuigkeiten (bauen.py neuigkeiten_seiten): picture beside the text of a post; the LinkedIn mark in the footer */
.neu-bild { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-gross); border: 1px solid var(--linie); background: var(--papier); }
.profile a { display: inline-flex; align-items: center; gap: 5px; }
.profil-zeichen { flex: none; }

/* W-FEIN1 (10.11.2026): clearer listings. One pattern per kind: steps as joined cards, offer pairs with a
   fact table, comparison tables, tile grids, topic groups, account to-do list. Accent follows the area. */
:root { --kz-a: var(--signal); --kz-at: var(--signal-text); --kz-z: var(--signal-zart); --kz-auf: var(--tinte); }
.bereich-it { --kz-a: var(--it-blau, #0070F2); --kz-at: var(--it-blau-dunkel, #0058C0); --kz-z: #EEF6FF; --kz-auf: #fff; }
.schritt-karten { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); margin: 28px 0 0; padding: 0; list-style: none; counter-reset: sk; }
.schritt-karte { position: relative; padding: 28px 24px 24px; background: #fff; border: 1px solid var(--linie); margin-left: -1px; }
.schritt-karte:first-child { border-radius: var(--r-gross) 0 0 var(--r-gross); margin-left: 0; }
.schritt-karte:last-child { border-radius: 0 var(--r-gross) var(--r-gross) 0; }
.schritt-karte::before { counter-increment: sk; content: counter(sk); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--kz-a); color: var(--kz-auf); font: 700 1.25rem/1 var(--titel); margin-bottom: 16px; }
.schritt-karte:not(:last-child)::after { content: ""; position: absolute; top: 50px; right: -13px; width: 24px; height: 24px; background: #fff; border-top: 1px solid var(--linie); border-right: 1px solid var(--linie); transform: rotate(45deg); z-index: 1; }
.schritt-karte h3 { margin: 0 0 6px; font: 600 1.2rem/1.3 var(--titel); }
.schritt-karte p { margin: 0 0 14px; color: var(--grau); font-size: .95rem; }
.schritt-karte .textlink { font-size: .92rem; }
.fakt { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--linie); padding-top: 10px; margin-top: 10px; font-size: .88rem; }
.fakt b { font-family: var(--mono); font-weight: 600; text-align: right; }
.knopfzeile { display: flex; gap: 12px 18px; align-items: center; margin-top: 22px; flex-wrap: wrap; }
.paar-karten { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.angebot-karte { background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--kz-a); border-radius: var(--r-gross); padding: 28px; display: flex; flex-direction: column; color: var(--tinte); }
.angebot-karte .marke { font: 600 .72rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--kz-at); }
.angebot-karte h3 { font: 600 1.5rem/1.2 var(--titel); margin: 8px 0; }
.angebot-karte > p { color: var(--grau); margin: 0 0 18px; }
.angebot-karte .knopfzeile { margin-top: auto; padding-top: 6px; }
.fakten { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 20px; }
.fakten th { width: 36%; text-align: left; font-weight: 600; padding: 10px 12px 10px 0; border-top: 1px solid var(--linie); vertical-align: top; }
.fakten td { padding: 10px 0; border-top: 1px solid var(--linie); }
.ziele-tabelle { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: .96rem; }
.ziele-tabelle th { text-align: left; font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--grau); padding: 0 14px 12px 0; }
.ziele-tabelle td { padding: 16px 14px 16px 0; border-top: 1px solid var(--linie); vertical-align: top; }
.ziele-tabelle td:first-child { font: 600 1.05rem/1.35 var(--titel); width: 28%; }
.ziele-tabelle td:first-child small { display: block; font: 600 .7rem/1 var(--mono); color: var(--kz-at); letter-spacing: .1em; margin-bottom: 6px; }
.ziele-tabelle .preis { font-family: var(--mono); white-space: nowrap; }
.ziele-tabelle a { font-weight: 600; color: var(--kz-at); white-space: nowrap; }
.kachel-raster { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 16px; margin-top: 24px; padding: 0; list-style: none; }
.kachel { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 20px; border: 1px solid var(--linie); border-radius: var(--r-gross); background: #fff; color: var(--tinte); text-decoration: none; transition: border-color .2s; }
.kachel:hover { border-color: var(--kz-a); }
.kachel .symbol { width: 40px; height: 40px; border-radius: var(--r); background: var(--kz-z); display: grid; place-items: center; color: var(--kz-at); margin-bottom: 6px; }
.kachel .symbol svg { width: 22px; height: 22px; }
.kachel b { font: 600 1.08rem/1.3 var(--titel); }
.kachel span { color: var(--grau); font-size: .92rem; }
.kachel em { font-style: normal; margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--kz-at); font-size: .9rem; }
.schlagwort { display: inline-block; align-self: flex-start; font: 600 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 7px; border-radius: 3px; background: var(--kz-z); color: var(--kz-at); }
.thema-gruppe { margin-top: 30px; }
.thema-gruppe h3 { font: 600 1.15rem/1.3 var(--titel); margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--linie); }
.konto-zahlen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 22px 0; }
.konto-zahlen div { border: 1px solid var(--linie); border-radius: var(--r-gross); padding: 14px 16px; background: #fff; }
.konto-zahlen b { display: block; font: 600 1.1rem/1.2 var(--titel); }
.konto-zahlen span { color: var(--grau); font-size: .88rem; }
.zugang-weg { list-style: none; margin: 14px 0 0; padding: 0; counter-reset: zw; }
.zugang-weg li { counter-increment: zw; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid var(--linie); }
.zugang-weg li::before { content: counter(zw); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--kz-a); font: 700 .95rem/1 var(--titel); }
.zugang-weg b { display: block; }
.zugang-weg span { color: var(--grau); font-size: .94rem; }
.konto-tun { list-style: none; margin: 0; padding: 0; border: 1px solid var(--linie); border-radius: var(--r-gross); background: #fff; }
.konto-tun li { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--linie); }
.konto-tun li:first-child { border-top: 0; }
.fortschritt { display: flex; gap: 3px; margin-top: 6px; }
.fortschritt i { height: 6px; flex: 1; border-radius: 2px; background: var(--linie); }
.fortschritt i.an { background: var(--kz-a); }
@media (max-width: 900px) { .kachel-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) {
  .schritt-karten, .paar-karten, .konto-zahlen { grid-template-columns: 1fr; }
  .kachel-raster { grid-template-columns: 1fr; }
  .schritt-karte { margin-left: 0; margin-top: -1px; border-radius: 0 !important; }
  .schritt-karte:first-child { border-radius: var(--r-gross) var(--r-gross) 0 0 !important; margin-top: 0; }
  .schritt-karte:last-child { border-radius: 0 0 var(--r-gross) var(--r-gross) !important; }
  .schritt-karte:not(:last-child)::after { top: auto; bottom: -13px; right: auto; left: 34px; transform: rotate(135deg); }
  .ziele-tabelle thead { display: none; }
  .ziele-tabelle tr { display: block; border-top: 1px solid var(--linie); padding: 14px 0; }
  .ziele-tabelle td { display: block; border: 0; padding: 3px 0; width: auto !important; }
  .angebot-karte { padding: 22px 18px; }
}
