/* ==========================================================================
   Erodiertechnik Kirschmer GmbH – Edition „Präzision“
   Look: technische Zeichnung · Stückliste · Bemaßung — hell mit tiefem Blau
   ezdesign · 2026 · statisch, ohne externe Requests
   ========================================================================== */

/* ---------- Fonts (lokal) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-ext-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-ext-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f3f6fa;       /* Zeichenpapier, kühl */
  --paper-2: #e8eef5;
  --white: #ffffff;
  --steel: #c9d3df;
  --line: #d5dde8;
  --line-2: #b9c6d6;

  --ink: #0b1f3d;         /* Tinte / Überschriften */
  --text: #3b4b61;
  --muted: #56667c;

  --blue: #004899;        /* Hausfarbe */
  --blue-600: #003b7e;
  --blue-700: #002f66;
  --blue-800: #00244f;
  --blue-900: #001633;
  --blue-100: #e3ecf7;
  --blue-300: #8fb2dc;
  --cyan: #5cc8ff;        /* Messlicht – nur kleine Akzente */

  --head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(1rem, .4rem + 2.6vw, 2.5rem);
  --section: clamp(4.5rem, 3rem + 5.5vw, 8.5rem);
  --topbar-h: 38px;
  --header-h: 78px;
  --fase: 22px;           /* 45°-Fase an Rahmen */
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 24px 50px -28px rgba(0, 36, 79, .45);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; font-variant-numeric: tabular-nums lining-nums; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-800); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0 0 .5em; font-weight: 700; line-height: 1; letter-spacing: -.005em; text-wrap: balance; }
.h-xl { font-size: clamp(3rem, 1.6rem + 5.6vw, 6.6rem); line-height: .95; text-transform: uppercase; }
.h-l  { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); text-transform: uppercase; line-height: .98; }
.h-m  { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); text-transform: uppercase; }
.h-s  { font-size: 1.3rem; font-weight: 600; }
.blue { color: var(--blue); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 300; background: var(--blue); color: #fff; padding: .6rem 1rem; }
.skip-link:focus { top: 1rem; }

/* Positions-Label wie in einer Stückliste:  [POS 01] Leistungen */
.pos { display: inline-flex; align-items: stretch; margin: 0 0 1.4rem; font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; color: var(--blue); }
.pos b { background: var(--blue); color: #fff; padding: .28rem .6rem; font-weight: 600; }
.pos span { padding: .28rem .75rem; }
.on-blue .pos { color: #fff; }
.on-blue .pos b { background: #fff; color: var(--blue); }

.lead { font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); line-height: 1.6; color: var(--text); max-width: 60ch; }

/* Millimeterpapier */
.mm { background-color: var(--paper);
  background-image:
    linear-gradient(rgba(0,72,153,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,72,153,.07) 1px, transparent 1px),
    linear-gradient(rgba(0,72,153,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,72,153,.035) 1px, transparent 1px);
  background-size: 50px 50px, 50px 50px, 10px 10px, 10px 10px; }

/* Buttons – Fase unten rechts wie ein angefastes Werkstück */
.btn { --bg: var(--blue); --fg: #fff; display: inline-flex; align-items: center; gap: .75rem; padding: 1rem 1.6rem; background: var(--bg); color: var(--fg); border: 0; font: 600 1.05rem/1 var(--head); letter-spacing: .07em; text-transform: uppercase; text-decoration: none; cursor: pointer; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); transition: background .2s, color .2s; }
.btn:hover { --bg: var(--blue-800); color: #fff; }
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); clip-path: none; }
.btn--ghost:hover { --bg: var(--ink); color: #fff; }
.btn--white { --bg: #fff; --fg: var(--blue); }
.btn--white:hover { --bg: var(--cyan); color: var(--blue-900); }

/* ---------- Top-Bar + Header ---------- */
.topbar { background: var(--blue-900); color: #b8c9e2; font-size: .85rem; }
.topbar .container { height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--cyan); }
.topbar ul { display: flex; gap: 1.6rem; }
.topbar li { display: flex; align-items: center; gap: .45rem; }
.topbar svg { opacity: .7; }
@media (max-width: 760px) { .topbar .t-addr, .topbar .t-mail { display: none; } }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-solid { box-shadow: 0 10px 30px -20px rgba(0,36,79,.35); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand .brand-fallback { display: none; font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--blue); text-transform: uppercase; line-height: 1; }
.brand.no-logo .brand-fallback { display: block; }

.main-nav ul { display: flex; align-items: center; gap: clamp(.25rem, .1rem + .6vw, .75rem); }
.main-nav a { display: block; font-family: var(--head); font-weight: 600; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; padding: .55rem .8rem; position: relative; }
.main-nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="true"]::after { transform: scaleX(1); }
.main-nav a:hover, .main-nav a[aria-current="true"] { color: var(--blue); }
.main-nav .nav-cta a { background: var(--blue); color: #fff; padding: .75rem 1.2rem; margin-left: .5rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.main-nav .nav-cta a::after { display: none; }
.main-nav .nav-cta a:hover { background: var(--blue-800); }

.nav-toggle { display: none; width: 48px; height: 48px; background: var(--blue); color: #fff; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1040px) {
  :root { --header-h: 68px; }
  .brand img { height: 46px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: calc(var(--header-h) + var(--topbar-h)) 0 0 0; background: var(--white); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 1rem var(--gutter) 2rem; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 1.1rem 0; font-size: 1.8rem; }
  .main-nav a::after { display: none; }
  .main-nav .nav-cta { border: 0; padding-top: 1.5rem; }
  .main-nav .nav-cta a { display: inline-block; margin: 0; font-size: 1.1rem; padding: 1rem 1.4rem; }
}

/* ---------- Hero (hell) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 2rem + 4vw, 6rem) 0 0; }
.hero > .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 .blue { display: block; }
.hero__text { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); max-width: 50ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Bemaßungslinie (technische Zeichnung): |◄──── Maß ────►| */
.dim { display: flex; align-items: center; gap: .9rem; color: var(--blue); font-family: var(--head); font-weight: 600; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 1.6rem; max-width: 620px; }
.dim span { white-space: nowrap; }
.dim::before, .dim::after { content: ""; flex: 1; height: 12px; background:
  linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat; }
.dim::before { border-left: 1.5px solid currentColor; clip-path: polygon(0 0, 1.5px 0, 1.5px 45%, 10px 20%, 10px 45%, 100% 45%, 100% 55%, 10px 55%, 10px 80%, 1.5px 55%, 1.5px 100%, 0 100%); }
.dim::after { border-right: 1.5px solid currentColor; clip-path: polygon(0 45%, calc(100% - 10px) 45%, calc(100% - 10px) 20%, calc(100% - 1.5px) 45%, calc(100% - 1.5px) 0, 100% 0, 100% 100%, calc(100% - 1.5px) 100%, calc(100% - 1.5px) 55%, calc(100% - 10px) 80%, calc(100% - 10px) 55%, 0 55%); }

.hero__visual { position: relative; }
.frame { position: relative; clip-path: polygon(0 0, calc(100% - var(--fase)) 0, 100% var(--fase), 100% 100%, var(--fase) 100%, 0 calc(100% - var(--fase))); background: var(--blue-900); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__visual .frame { aspect-ratio: 4 / 4.4; }
.hero__visual .frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,72,153,0) 40%, rgba(0,36,79,.55) 100%); }
.hero__tag { position: absolute; left: -1.5rem; bottom: 2.5rem; z-index: 2; background: var(--blue); color: #fff; padding: 1.25rem 1.5rem; box-shadow: var(--shadow); min-width: 220px; }
.hero__tag small { display: block; font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--blue-300); }
.hero__tag strong { display: block; color: #fff; font-family: var(--head); font-size: 2.2rem; line-height: 1; margin-top: .3rem; }
.hero__play { position: absolute; right: 1.5rem; top: 1.5rem; z-index: 2; display: inline-flex; align-items: center; gap: .75rem; background: rgba(255,255,255,.95); color: var(--ink); border: 0; padding: .55rem 1rem .55rem .55rem; cursor: pointer; font: 600 .95rem var(--head); letter-spacing: .06em; text-transform: uppercase; }
.hero__play span { width: 38px; height: 38px; display: grid; place-items: center; background: var(--blue); color: #fff; }
.hero__play:hover span { background: var(--blue-800); }

/* Schriftfeld (Title Block) unter dem Hero */
.titleblock { margin-top: clamp(3rem, 2rem + 3vw, 5rem); background: var(--blue-900); color: #c7d6ea; }
.titleblock ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.titleblock li { padding: 1.5rem 1.5rem 1.6rem; border-left: 1px solid rgba(255,255,255,.12); }
.titleblock li:first-child { border-left: 0; padding-left: 0; }
.titleblock small { display: block; font-family: var(--head); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .35rem; }
.titleblock b { display: block; font-family: var(--head); font-weight: 700; color: #fff; font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1.05; }
.titleblock b em { font-style: normal; font-size: .55em; font-weight: 500; color: var(--blue-300); margin-left: .15em; }
@media (max-width: 960px) {
  .hero > .container { grid-template-columns: 1fr; }
  .hero__visual .frame { aspect-ratio: 16 / 11; }
  .hero__tag { left: 1rem; bottom: 1rem; }
  .titleblock ul { grid-template-columns: 1fr 1fr; }
  .titleblock li:nth-child(3) { border-left: 0; padding-left: 0; }
  .titleblock li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }
.section--blue { background: var(--blue); color: rgba(255,255,255,.86); }
.section--deep { background: linear-gradient(165deg, var(--blue-800) 0%, var(--blue-900) 100%); color: #c7d6ea; }
.section--blue h2, .section--blue h3, .section--deep h2, .section--deep h3, .section--blue strong, .section--deep strong { color: #fff; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section-head .lead { margin: 0; }
@media (max-width: 900px) { .section-head { grid-template-columns: 1fr; } }

/* „So arbeiten wir“ als Datenkarte */
.datacard { background: #fff; border: 1.5px solid var(--ink); position: relative; box-shadow: 10px 10px 0 var(--blue-100); }
.datacard h3 { margin: 0; padding: .9rem 1.25rem; background: var(--ink); color: #fff; font-size: 1.15rem; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; }
.datacard h3 small { font-weight: 500; color: var(--blue-300); }
.datacard dl { margin: 0; }
.datacard dl > div { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .85rem 1.25rem; border-top: 1px solid var(--line); }
.datacard dt { font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: .15rem; }
.datacard dd { margin: 0; color: var(--ink); }
.datacard dd small { display: block; color: var(--muted); font-size: .85rem; }
@media (max-width: 520px) { .datacard dl > div { grid-template-columns: 1fr; gap: .15rem; } }

/* ---------- Leistungen: Karten ---------- */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, .8rem + 1.5vw, 2rem); margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fase)), calc(100% - var(--fase)) 100%, 0 100%); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background:
  linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.card__media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 28px 28px; }
picture { display: contents; }
.card__media img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__no { position: absolute; top: 0; left: 0; z-index: 2; background: var(--blue); color: #fff; font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: .08em; padding: .45rem .8rem; }
.card__body { padding: clamp(1.4rem, 1rem + 1.2vw, 2.2rem); display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .8rem; }
.parts { margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); font-size: .95rem; }
.parts li { display: grid; grid-template-columns: 8.5rem 1fr; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; }
.parts li > span { padding: .55rem .85rem; }
.parts li > span:first-child { background: var(--paper); font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-right: 1px solid var(--line); }
.parts li > span:last-child { color: var(--ink); font-weight: 500; }
.parts li.grp > span { grid-column: 1 / -1; background: var(--blue-100); color: var(--blue); font-family: var(--head); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; border-right: 0; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: .55rem; font-family: var(--head); font-weight: 600; font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--blue); }
.more:hover { color: var(--blue-800); }
.more svg { transition: transform .25s var(--ease); }
.more:hover svg { transform: translateX(4px); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } .parts li { grid-template-columns: 7rem 1fr; } }

/* ---------- Kennzahlen mit Drahtschnitt-Animation ---------- */
.stats-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.cut { position: relative; aspect-ratio: 1; max-width: 460px; }
.cut svg { width: 100%; height: 100%; overflow: visible; }
.cut .grid line { stroke: rgba(255,255,255,.08); stroke-width: 1; }
.cut .part { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 2; }
.cut .wire { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.cut.is-in .wire { animation: cut 5.5s cubic-bezier(.45,.05,.35,1) forwards; }
.cut .spark { fill: var(--cyan); filter: drop-shadow(0 0 6px var(--cyan)) drop-shadow(0 0 14px #fff); opacity: 0; }
.cut.is-in .spark { opacity: 1; offset-path: var(--path); animation: travel 5.5s cubic-bezier(.45,.05,.35,1) forwards, fade 5.5s linear forwards; }
.cut__label { position: absolute; left: 0; bottom: -.5rem; font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .82rem; color: var(--blue-300); }
@keyframes cut { to { stroke-dashoffset: 0; } }
@keyframes travel { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes fade { 0%, 92% { opacity: 1; } 100% { opacity: 0; } }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid rgba(255,255,255,.2); }
.stat { padding: 1.75rem 1.5rem 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.stat:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid rgba(255,255,255,.2); }
.stat__v { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(3rem, 2rem + 3.5vw, 5.4rem); line-height: .9; color: #fff; }
.stat__v sup { font-size: .35em; vertical-align: top; position: relative; top: .45em; margin-left: .12em; color: var(--cyan); font-weight: 600; }
.stat p { margin: .75rem 0 0; font-size: .98rem; color: #c7d6ea; max-width: 26ch; }
@media (max-width: 900px) { .stats-wrap { grid-template-columns: 1fr; } .cut { max-width: 320px; margin-inline: auto; } }

/* ---------- Maschinenpark (Stückliste) ---------- */
.mp-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; align-items: end; margin-bottom: 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filters button { font: 600 .98rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); padding: .6rem 1rem; cursor: pointer; transition: all .2s; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filters button span { opacity: .6; margin-left: .35rem; }
.maxbox { display: flex; gap: 0; border: 1.5px solid var(--ink); background: #fff; }
.maxbox > div { padding: .6rem 1rem; border-left: 1px solid var(--line); }
.maxbox > div:first-child { border-left: 0; background: var(--ink); color: #fff; font-family: var(--head); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .88rem; display: flex; align-items: center; }
.maxbox b { display: block; font-family: var(--head); color: var(--ink); font-size: 1.1rem; line-height: 1.1; }
.maxbox small { font-size: .78rem; color: var(--muted); }
@media (max-width: 700px) { .maxbox { flex-wrap: wrap; } .maxbox > div:first-child { width: 100%; } }

.table-wrap { background: #fff; border: 1.5px solid var(--ink); overflow-x: auto; box-shadow: 10px 10px 0 var(--blue-100); }
.mtable { width: 100%; border-collapse: collapse; min-width: 720px; font-size: .98rem; }
.mtable th, .mtable td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.mtable thead th { background: var(--ink); color: #fff; font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 0; }
.mtable td.pos-nr { font-family: var(--head); font-weight: 700; color: var(--muted); width: 3.5rem; }
.mtable td.name { color: var(--ink); font-weight: 600; }
.mtable td.num, .mtable th.num { text-align: right; white-space: nowrap; }
.mtable td.num { font-weight: 600; color: var(--ink); }
.mtable tbody tr:nth-child(even) { background: #fafcfe; }
.mtable tbody tr:hover { background: var(--blue-100); }
.mtable tr[hidden] { display: none; }
.mtable tr.flash td { background: #fff4c7; transition: background 1.2s; }
.tag { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; background: var(--blue-100); color: var(--blue); white-space: nowrap; }
.tag[data-t="senk"] { background: #e6f0ff; color: #1b4f9c; box-shadow: inset 3px 0 0 #1b4f9c; }
.tag[data-t="draht"] { box-shadow: inset 3px 0 0 var(--blue); }
.tag[data-t="start"] { background: #e4f6ff; color: #0a6a99; box-shadow: inset 3px 0 0 #0a6a99; }
.tag[data-t="hsc"] { background: #eef1f5; color: #34465e; box-shadow: inset 3px 0 0 #34465e; }
.bar { display: block; position: relative; height: 5px; background: var(--paper-2); width: 120px; margin: .4rem 0 0 auto; }
.bar i { position: absolute; inset: 0 auto 0 0; background: var(--blue); }
.mp-note { margin-top: 1.1rem; font-size: .88rem; color: var(--muted); display: flex; gap: 1.75rem; flex-wrap: wrap; }

/* ---------- Über uns ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.about .frame { aspect-ratio: 4 / 5; background: linear-gradient(135deg, var(--blue-700), var(--blue-900)); }
.about .frame img { position: relative; z-index: 1; }
.about__media { position: relative; }
.about__badge { position: absolute; right: -1rem; top: 2rem; z-index: 2; background: #fff; border: 1.5px solid var(--ink); padding: 1rem 1.25rem; box-shadow: 8px 8px 0 var(--blue); text-align: center; }
.about__badge b { display: block; font-family: var(--head); font-size: 2.6rem; line-height: 1; color: var(--blue); }
.about__badge small { font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; color: var(--ink); }
.quote { margin: 1.5rem 0 2rem; padding: 1.4rem 1.6rem; background: var(--blue); color: #fff; position: relative; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.quote p { font-family: var(--head); font-weight: 600; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); line-height: 1.2; margin: 0 0 .6rem; }
.quote cite { font-style: normal; font-size: .92rem; color: var(--blue-300); }
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-top: 2px solid var(--ink); }
.timeline li { padding: 1rem 1rem 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--blue); transform: rotate(45deg); }
.timeline .y { display: block; font-family: var(--head); font-weight: 700; font-size: 1.8rem; color: var(--ink); line-height: 1; margin: .4rem 0 .4rem; }
.timeline p { margin: 0; font-size: .92rem; }
.downloads { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.downloads a { display: inline-flex; gap: .55rem; align-items: center; padding: .7rem 1rem; border: 1.5px solid var(--line-2); text-decoration: none; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; }
.downloads a:hover { border-color: var(--blue); color: var(--blue); }
/* Flyer-Karte */
.flyer { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 1.5rem; align-items: center; margin-top: 1.5rem; padding: 1.25rem; background: #fff; border: 1.5px solid var(--line); }
.flyer__thumb { display: block; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.flyer__thumb:hover { transform: translateY(-3px); }
.flyer__thumb img { display: block; width: 100%; height: auto; }
.flyer__label { font-family: var(--head); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--blue); margin: 0 0 .3rem; }
.flyer h3 { font-family: var(--head); font-weight: 700; font-size: 1.4rem; line-height: 1.1; color: var(--ink); margin: 0 0 .4rem; }
.flyer__body > p:not(.flyer__label) { margin: 0; font-size: .95rem; }
.flyer__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.flyer__actions a { display: inline-flex; gap: .5rem; align-items: center; padding: .55rem .9rem; font-family: var(--head); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; font-size: .9rem; border: 1.5px solid var(--blue); }
.flyer__actions a:first-child { background: var(--blue); color: #fff; }
.flyer__actions a:last-child { color: var(--blue); background: #fff; }
.flyer__actions a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 560px) { .flyer { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } .about__badge { right: 1rem; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); } .timeline li { padding: 0 0 1.2rem 1.25rem; } .timeline li::before { top: .5rem; left: -7px; } }

/* Video */
.video { position: relative; aspect-ratio: 21 / 9; background: var(--blue-900); overflow: hidden; clip-path: polygon(0 0, calc(100% - var(--fase)) 0, 100% var(--fase), 100% 100%, var(--fase) 100%, 0 calc(100% - var(--fase))); }
.video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,36,79,.8), rgba(0,36,79,.2)); pointer-events: none; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 2; }
.video .consent { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.5rem, 1rem + 4vw, 5rem); color: #fff; max-width: 640px; }
.video .consent h3 { color: #fff; }
.video .consent p { font-size: .9rem; color: #c7d6ea; margin: 1rem 0 0; }
.video .consent a { color: #fff; }
.playbtn { display: inline-flex; align-items: center; gap: 1rem; background: none; border: 0; color: #fff; cursor: pointer; font: 600 1.1rem var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 0; }
.playbtn span { width: 64px; height: 64px; display: grid; place-items: center; background: #fff; color: var(--blue); transition: background .2s, color .2s; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.playbtn:hover span { background: var(--cyan); color: var(--blue-900); }
@media (max-width: 700px) { .video { aspect-ratio: 4 / 5; } }

/* ---------- Jobs ---------- */
.jobs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.job { background: #fff; color: var(--text); margin-bottom: 1rem; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.4rem; }
.job summary::-webkit-details-marker { display: none; }
.job summary .no { font-family: var(--head); font-weight: 700; color: #fff; background: var(--blue); padding: .3rem .55rem; font-size: .95rem; }
.job summary h3 { margin: 0; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.8rem); color: var(--ink); text-transform: uppercase; }
.job .ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--ink); color: var(--ink); transition: transform .3s var(--ease), background .2s; }
.job[open] .ico { transform: rotate(45deg); background: var(--ink); color: #fff; }
.job__body { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2.5rem; padding: 0 1.4rem 1.6rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.job__body h4 { font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: .6rem; }
.job__body li { position: relative; padding-left: 1.2rem; margin-bottom: .45rem; font-size: .98rem; }
.job__body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); }
.apply { border: 1.5px solid rgba(255,255,255,.5); padding: 1.75rem; }
.apply h3 { text-transform: uppercase; font-size: 1.7rem; }
.apply a { color: #fff; }
.apply .btn { color: var(--blue); margin-top: .5rem; }
.apply .btn:hover { color: var(--blue-900); }
@media (max-width: 900px) { .jobs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .job__body { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; padding: 1.2rem 1.35rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.faq .pm { width: 30px; height: 30px; display: grid; place-items: center; background: var(--paper); color: var(--blue); font-weight: 600; font-size: 1.2rem; transition: transform .25s; }
.faq details[open] .pm { transform: rotate(45deg); background: var(--blue); color: #fff; }
.faq .answer { padding: 0 1.35rem 1.25rem; }
.faq .answer p { margin: 0; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; box-shadow: var(--shadow); }
.contact__info { background: linear-gradient(165deg, var(--blue) 0%, var(--blue-800) 100%); color: #d7e3f3; padding: clamp(2rem, 1.2rem + 3vw, 3.75rem); position: relative; overflow: hidden; }
.contact__info::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 260px; height: 260px; border: 1.5px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 30px rgba(255,255,255,.04), 0 0 0 60px rgba(255,255,255,.03); }
.contact__info h2 { color: #fff; }
.cdata { margin: 2rem 0 0; position: relative; z-index: 1; }
.cdata > div { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.cdata dt { font-family: var(--head); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; color: var(--blue-300); padding-top: .1rem; }
.cdata dd { margin: 0; color: #fff; }
.cdata a { color: #fff; text-decoration: none; }
.cdata a:hover { color: var(--cyan); }
.form { background: #fff; padding: clamp(2rem, 1.2rem + 3vw, 3.75rem); display: grid; gap: 1.1rem; align-content: start; }
.form h3 { text-transform: uppercase; font-size: 1.9rem; margin-bottom: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-family: var(--head); font-weight: 600; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 0; padding: .85rem 1rem; width: 100%; transition: border-color .2s, background .2s, box-shadow .2s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,72,153,.14); }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.form-status { padding: .9rem 1rem; font-size: .95rem; }
.form-status--ok { background: #e6f6ec; color: #135c2f; }
.form-status--err { background: #fdeaea; color: #8a1010; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.map { position: relative; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); aspect-ratio: 21 / 7; min-height: 280px; background-color: var(--paper); border: 1.5px solid var(--ink); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.map .consent { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; }
.map .consent p { max-width: 50ch; margin: .6rem auto 0; font-size: .9rem; }
.map__pin { width: 18px; height: 18px; background: var(--blue); transform: rotate(45deg); margin: 0 auto .8rem; box-shadow: 0 0 0 8px rgba(0,72,153,.15), 0 0 0 16px rgba(0,72,153,.07); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .map { aspect-ratio: 4 / 3; } }

/* ---------- Footer mit Schriftfeld ---------- */
.site-footer { background: var(--blue-900); color: #9fb3cf; font-size: .95rem; }
.footer-claim { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) 2.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 2rem; }
.footer-claim p { margin: 0; font-family: var(--head); font-weight: 700; text-transform: uppercase; color: #fff; font-size: clamp(2rem, 1.2rem + 3.2vw, 3.8rem); line-height: .98; max-width: 18ch; }
.footer-claim p span { color: var(--blue-300); }
.tb { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; border: 1px solid rgba(255,255,255,.18); }
.tb > div { padding: 1.1rem 1.25rem; border-left: 1px solid rgba(255,255,255,.18); }
.tb > div:first-child { border-left: 0; }
.tb small { display: block; font-family: var(--head); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .75rem; color: #6f88ab; margin-bottom: .45rem; }
.tb a { color: #dbe6f5; text-decoration: none; }
.tb a:hover { color: #fff; }
.tb .firm { font-family: var(--head); font-weight: 700; color: #fff; font-size: 1.35rem; text-transform: uppercase; line-height: 1.05; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.4rem 2rem; font-size: .85rem; }
.footer-bottom a { color: #9fb3cf; text-decoration: none; margin-left: 1.25rem; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 860px) { .tb { grid-template-columns: 1fr 1fr; } .tb > div:nth-child(3) { border-left: 0; } .tb > div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); } }

.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; background: var(--blue); color: #fff; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-800); color: #fff; }

/* Modal */
.modal { border: 0; padding: 0; background: transparent; width: min(1200px, 94vw); overflow: visible; }
.modal::backdrop { background: rgba(0,22,51,.92); }
.modal .video { aspect-ratio: 16 / 9; }
.modal .video::after { display: none; }
.modal__close { position: absolute; top: -52px; right: 0; background: #fff; border: 0; color: var(--ink); padding: .6rem 1rem; font: 600 1rem var(--head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }

/* Unterseiten */
.page-head { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); border-bottom: 1px solid var(--line); }
.legal { padding-block: clamp(3rem, 2rem + 3vw, 5rem); max-width: 780px; }
.legal h2 { font-size: 1.55rem; text-transform: uppercase; margin-top: 2.5rem; }
.todo { background: #fff7d6; border-left: 4px solid #e0b000; padding: 1rem 1.25rem; font-size: .95rem; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media print { .topbar, .site-header, .to-top, .video, .map, .form, .hero__play { display: none !important; } .reveal { opacity: 1 !important; transform: none !important; } }

.tb .firm-logo { display: block; width: 230px; max-width: 100%; height: auto; margin-top: .2rem; }

/* Qualität & Netzwerk */
.qual-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(1.25rem, .8rem + 1.5vw, 2rem); }
.qual { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--fase)), calc(100% - var(--fase)) 100%, 0 100%); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.qual:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.qual__media { position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1.75rem; background: #fff; border-bottom: 1px solid var(--line); overflow: hidden; }
.qual__media img { position: relative; z-index: 1; max-width: 78%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.qual__media--doc { background: var(--paper); padding: 1.25rem 1.25rem 0; align-items: end; }
.qual__media--doc img { max-width: 62%; box-shadow: 0 10px 30px -12px rgba(0,36,79,.35); }
.qual__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.6rem; letter-spacing: .06em; text-transform: uppercase; color: var(--line-2); }
.qual__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.qual__body h3 { font-size: 1.5rem; text-transform: uppercase; margin-bottom: .5rem; }
.qual__body p { font-size: .98rem; }


/* Chronik vollständig: vertikal */
.timeline--full { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); margin-left: 6px; }
.timeline--full li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; align-items: baseline; padding: 0 0 1rem 1.4rem; }
.timeline--full li::before { top: .55rem; left: -7px; }
.timeline--full .y { font-size: 1.5rem; margin: 0; }
@media (max-width: 560px) { .timeline--full li { grid-template-columns: 1fr; gap: .2rem; } }

/* Hero mit Querformat-Foto */
.hero__visual .frame img { object-position: 62% 50%; }

.qual__media--photo { padding: 0; background: var(--paper); }
.qual__media--photo img { max-width: none; width: 100%; height: 100%; object-fit: cover; object-position: 35% 72%; }

/* Footer ohne Kasten */
.tb { border: 0; gap: 2rem; }
.tb > div, .tb > div:first-child { border: 0 !important; padding: 0; }
@media (max-width: 860px) { .tb { row-gap: 2rem; } }

/* Heller Stahl-Verlauf (ersetzt Millimeterpapier) */
.bg-steel { background:
  radial-gradient(120% 80% at 85% 0%, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 60%),
  linear-gradient(180deg, #f7f9fb 0%, #eceff3 55%, #e3e8ee 100%); }

/* Selbst gehosteter Imagefilm */
.video video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; background: #000; }
.modal .video { aspect-ratio: 2484 / 1080; }
.modal .video video { object-fit: contain; }

.qual__media--seal { padding: 1.25rem; }
.qual__media--seal img { position: absolute; inset: 1.25rem; margin: auto; height: calc(100% - 2.5rem); width: auto; max-width: none; }

/* Schriftfeld: Verfahren einzeilig */
@media (min-width: 961px) {
  .titleblock ul { grid-template-columns: 1.25fr .8fr .85fr 1.4fr; }
  .titleblock .tb-wide b { white-space: nowrap; }
}

/* Chronik – animiert */
.chrono { margin-top: var(--section); }
.chrono__head { max-width: 760px; margin: 0 auto clamp(3rem, 2rem + 3vw, 5rem); text-align: center; }
.chrono__head .pos { margin-inline: auto; }
.chrono__head .lead { margin-inline: auto; }
.chrono__list { position: relative; list-style: none; margin: 0; padding: 0; }
.chrono__list::before, .chrono__list::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--line); }
.chrono__list::after { background: linear-gradient(180deg, var(--blue) 0%, var(--cyan) 100%); transform-origin: top; transform: scaleY(var(--p, 0)); }
.chrono__item { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.chrono__card { position: relative; grid-column: 1; margin-right: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); background: #fff; border: 1px solid var(--line); padding: clamp(1.4rem, 1rem + 1vw, 2rem) clamp(1.4rem, 1rem + 1.5vw, 2.25rem); box-shadow: 0 18px 40px -30px rgba(0,36,79,.45);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%);
  opacity: 0; transform: translateX(-48px) rotate(-1.2deg); transition: opacity .8s var(--ease), transform .9s var(--ease), box-shadow .3s; }
.chrono__item:nth-child(odd) .chrono__card { grid-column: 2; margin: 0 0 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem); transform: translateX(48px) rotate(1.2deg); }
.chrono__item.is-in .chrono__card { opacity: 1; transform: none; }
.chrono__card:hover { box-shadow: 0 26px 50px -28px rgba(0,36,79,.55); }
.chrono__year { display: block; font-family: var(--head); font-weight: 700; font-size: clamp(2.8rem, 2rem + 3vw, 4.6rem); line-height: .9; margin-bottom: .6rem; color: transparent; -webkit-text-stroke: 1.5px var(--blue-300); transition: color .6s var(--ease), -webkit-text-stroke-color .6s; }
.chrono__item.is-active .chrono__year { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
.chrono__card h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); text-transform: uppercase; margin-bottom: .5rem; }
.chrono__card p { margin: 0 0 1rem; }
.chrono__fact { display: inline-block; font-family: var(--head); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); background: var(--blue-100); padding: .3rem .65rem; }
.chrono__dot { position: absolute; left: 50%; top: 2.2rem; width: 18px; height: 18px; margin-left: -9px; background: #fff; border: 2px solid var(--line-2); transform: rotate(45deg) scale(.7); transition: transform .5s var(--ease), background .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.chrono__item.is-active .chrono__dot { background: var(--blue); border-color: var(--blue); transform: rotate(45deg) scale(1); box-shadow: 0 0 0 6px rgba(0,72,153,.12), 0 0 0 12px rgba(0,72,153,.06); }
.chrono__item--now .chrono__card { background: linear-gradient(160deg, var(--blue) 0%, var(--blue-800) 100%); border-color: transparent; color: #d7e3f3; }
.chrono__item--now .chrono__card h3 { color: #fff; }
.chrono__item--now .chrono__year { -webkit-text-stroke-color: rgba(255,255,255,.5); }
.chrono__item--now.is-active .chrono__year { color: #fff; -webkit-text-stroke-color: #fff; }
.chrono__item--now .chrono__fact { background: rgba(255,255,255,.14); color: #fff; }
.chrono__item--now.is-active .chrono__dot { background: var(--cyan); border-color: var(--cyan); animation: chronoPulse 2.2s ease-out infinite; }
@keyframes chronoPulse { 0% { box-shadow: 0 0 0 0 rgba(92,200,255,.55); } 100% { box-shadow: 0 0 0 18px rgba(92,200,255,0); } }

@media (max-width: 820px) {
  .chrono__head { text-align: left; }
  .chrono__head .pos, .chrono__head .lead { margin-inline: 0; }
  .chrono__list::before, .chrono__list::after { left: 9px; }
  .chrono__item { grid-template-columns: 1fr; }
  .chrono__card, .chrono__item:nth-child(odd) .chrono__card { grid-column: 1; margin: 0 0 0 2.5rem; transform: translateY(32px); }
  .chrono__dot { left: 9px; top: 1.9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .chrono__card, .chrono__item:nth-child(odd) .chrono__card { opacity: 1; transform: none; }
  .chrono__list::after { transform: none; }
  .chrono__year { color: var(--blue); -webkit-text-stroke-color: var(--blue); }
}

/* Chronik: Karten versetzt überlappen (Desktop) */
@media (min-width: 821px) { .chrono__item + .chrono__item { margin-top: clamp(-9rem, -6vw, -4rem); } }

/* Hero: Bild wächst beim Scrollen zum Vollbild-Film */
.hero__media, .hero__endcap { display: none; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.hero--pinned { padding-top: 0; overflow: visible; }
.hero--pinned .hero__pin { position: relative; height: calc(100svh - var(--header-h) + 130vh); }
.hero--pinned .hero__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); overflow: hidden; display: flex; align-items: center; }
.hero--pinned .hero__grid { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--container)); }
.hero--pinned .hero__copy, .hero--pinned .hero__visual { transition: none; opacity: 1; transform: none; }
.hero--pinned .hero__copy { will-change: opacity, transform; }
.hero--pinned h1.h-xl { font-size: min(clamp(3rem, 1.6rem + 5.6vw, 6.6rem), 10.5vh); }
.hero--pinned .hero__visual .frame { visibility: hidden; }
.hero--pinned .hero__visual .hero__play, .hero--pinned .hero__visual .hero__tag { z-index: 4; }
.hero--pinned .hero__media { display: block; position: absolute; z-index: 1; overflow: hidden; background: var(--blue-900); will-change: left, top, width, height, clip-path; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__media video { opacity: 0; transition: opacity .8s var(--ease); }
.hero__media.is-playing video { opacity: 1; }
.hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(200deg, rgba(0,72,153,0) 40%, rgba(0,36,79,.55) 100%), linear-gradient(90deg, rgba(0,22,51,calc(var(--p, 0) * .7)) 0%, rgba(0,22,51,0) 65%); }
.hero--pinned .hero__endcap { display: flex; position: absolute; inset: 0; z-index: 5; align-items: flex-end; padding-bottom: clamp(2.5rem, 2rem + 4vh, 5rem); opacity: 0; pointer-events: none; color: #fff; }
.hero__endcap .container { width: min(100% - 2 * var(--gutter), var(--container)); }
.hero__endcap .pos { color: #fff; }
.hero__endcap .pos b { background: #fff; color: var(--blue); }
.hero__endcap-title { font-family: var(--head); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 1.6rem + 4vw, 5.6rem); line-height: .95; margin: 0 0 1.5rem; max-width: 12ch; text-shadow: 0 4px 30px rgba(0,0,0,.35); }
.hero__endcap .btn svg { transition: none; }
.hero--pinned .titleblock { margin-top: 0; }

.hero__endcap-title { max-width: none; white-space: nowrap; }

/* ==========================================================
   Mobil + Tablet (bis 999 px): Burger-Menü und Hero
   ========================================================== */
@media (max-width: 1040px) {
  /* backdrop-filter macht den Header zum Bezugsrahmen für position:fixed –
     dadurch war das ausgeklappte Menü 0 px hoch. Auf Mobil deshalb ohne Blur. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .main-nav { top: var(--nav-top, calc(var(--header-h) + var(--topbar-h))); bottom: 0; height: auto; z-index: 99; }
}

@media (max-width: 999px) {
  .hero:not(.hero--pinned) { padding: 0; background: var(--blue-900); }
  .hero:not(.hero--pinned) .hero__stage { position: relative; overflow: hidden; }
  .hero:not(.hero--pinned) .hero__media { display: block; position: absolute; top: 0; left: 0; right: 0; height: min(60svh, 640px); z-index: 0; }
  .hero:not(.hero--pinned) .hero__media video { display: none; }
  .hero:not(.hero--pinned) .hero__media img { object-position: 61% 42%; }
  .hero:not(.hero--pinned) .hero__media::after { background: linear-gradient(180deg, rgba(0,22,51,.25) 0%, rgba(0,22,51,0) 18%, rgba(0,22,51,0) 45%, rgba(0,22,51,.7) 72%, var(--blue-900) 100%); }
  .hero:not(.hero--pinned) .hero__grid { position: static; display: block; padding: min(44svh, 470px) 0 2.6rem; width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
  .hero:not(.hero--pinned) .hero__copy { position: relative; z-index: 2; }
  .hero:not(.hero--pinned) h1 { color: #fff; text-shadow: 0 2px 24px rgba(0,22,51,.5); }
  .hero:not(.hero--pinned) h1 .blue { color: var(--cyan); }
  .hero:not(.hero--pinned) .pos { color: #fff; background: rgba(0,22,51,.35); }
  .hero:not(.hero--pinned) .pos b { background: #fff; color: var(--blue); }
  .hero:not(.hero--pinned) .dim { color: #fff; }
  .hero:not(.hero--pinned) .hero__text { color: #dbe7f5; }
  .hero:not(.hero--pinned) .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.85); }
  .hero:not(.hero--pinned) .btn--ghost:hover { --bg: #fff; color: var(--blue-900); }
  .hero:not(.hero--pinned) .hero__visual { position: static; opacity: 1; transform: none; }
  .hero:not(.hero--pinned) .hero__visual .frame,
  .hero:not(.hero--pinned) .hero__tag { display: none; }
  .hero:not(.hero--pinned) .hero__play { position: absolute; top: 1rem; right: var(--gutter); z-index: 3; box-shadow: var(--shadow); }
}
@media (max-width: 480px) {
  .hero:not(.hero--pinned) .hero__media { height: 54svh; }
  .hero:not(.hero--pinned) .hero__grid { padding-top: 38svh; }
  .hero:not(.hero--pinned) .pos { font-size: .82rem; }
  .hero:not(.hero--pinned) .hero__text { font-size: 1.02rem; }
  .hero:not(.hero--pinned) .hero__ctas .btn { flex: 1 1 auto; justify-content: center; }
}
