/* HAAS Metallguss GmbH – Entwurf Upwell GmbH
   Farben aus dem Logo (#131516, #1B1B1B, #A73B3B), Schrift Archivo (variabel, selbst gehostet) */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #131516;
  --ink-2: #1B1B1B;
  --ink-3: #1F2325;
  --brand: #A73B3B;
  --brand-deep: #883030;
  --brand-light: #D48686;
  --brand-wash: #F4E1E1;
  --paper: #F5F6F6;
  --alu: #ECEEEF;
  --white: #FFFFFF;
  --text: #131516;
  --muted: #5B6166;
  --muted-dark: #9BA1A5;
  --line: #D5D9DC;
  --line-dark: #2E3336;
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; font-stretch: 80%; line-height: 1.05; letter-spacing: -0.01em; }
ul, ol { margin: 0; padding: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.nb { white-space: nowrap; }

/* ---------- Entwurfsleiste ---------- */
.draft {
  background: var(--ink);
  color: #E6E8E9;
  font-size: 13px;
  line-height: 1.4;
  padding: 7px var(--gut);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ---------- Kopf ---------- */
.head {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}
.head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand { display: block; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 292px; height: auto; aspect-ratio: 818 / 112; }
.nav ul { display: flex; list-style: none; gap: 2px; }
.nav a {
  display: block;
  padding: 10px 11px;
  font-size: 13px;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-radius: 2px;
  white-space: nowrap;
}
.nav a:hover { color: var(--brand); }
.nav a.cta { background: var(--brand); color: var(--white); margin-left: 8px; }
.nav a.cta:hover { background: var(--brand-deep); color: var(--white); }

@media (min-width: 1100px) {
  .head { position: sticky; top: 0; }
}
@media (max-width: 1099px) {
  .head-row { flex-wrap: wrap; gap: 0; min-height: 0; padding-top: 14px; }
  .brand img { width: 250px; }
  .nav {
    width: calc(100% + 2 * var(--gut));
    margin: 12px calc(-1 * var(--gut)) 0;
    border-top: 1px solid var(--line);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav ul { padding: 0 calc(var(--gut) - 11px); width: max-content; }
  .nav a { padding: 12px 11px; font-size: 12.5px; }
  .nav a.cta { margin: 6px 0 6px 6px; padding: 6px 11px; }
}
@media (max-width: 420px) {
  .brand img { width: 228px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(50% 60% at 78% 92%, rgba(167, 59, 59, 0.30), rgba(167, 59, 59, 0) 70%),
    var(--ink);
  color: var(--white);
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 96px);
}
.hero-top { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-top > * { min-width: 0; }
.hero-side .lead { margin-top: 0; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; } }
.hero-inner { padding-top: clamp(72px, 12vw, 150px); padding-bottom: clamp(40px, 6vw, 72px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--brand); }
.hero h1 {
  max-width: 14ch;
  font-size: clamp(42px, 7.2vw, 96px);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero .lead {
  max-width: 560px;
  margin: 26px 0 30px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: #DCDFE1;
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 13.5px;
  font-weight: 650;
  font-stretch: 112%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
}
.btn-primary { background: var(--brand); color: var(--white); }
.btn-primary:hover { background: var(--brand-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn .arr { font-stretch: 100%; }

/* Typenschild (Kennzahlen) */
.plate {
  position: relative;
  margin: 0;
  background: var(--ink-3);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 0;
}
/* Panorama-Streifen: Fotos der Website sind 880 × 372 px – nie breiter als die Inhaltsbreite (max. 1100 px) */
.pano { margin: 0; position: relative; background: var(--alu); }
.pano img { width: 100%; height: auto; aspect-ratio: 880 / 372; object-fit: cover; }
.hero-pano { margin-top: clamp(44px, 6vw, 72px); background: var(--ink-3); border: 1px solid rgba(255, 255, 255, 0.18); }
.hero-pano::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--brand); }
@media (max-width: 600px) { .pano img { aspect-ratio: 3 / 2; } }
.plate-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 11px;
  font-weight: 600;
  font-stretch: 120%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.plate dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.plate dl > div { padding: 20px 22px 22px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.plate dl > div:first-child { border-left: 0; }
.plate dt {
  font-size: 11.5px;
  font-weight: 600;
  font-stretch: 116%;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.plate dd {
  margin: 6px 0 0;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 750;
  font-stretch: 78%;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
}
.plate dd small { font-size: 0.5em; font-weight: 600; margin-left: 3px; color: #DCDFE1; }
.plate .rivet {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}
.plate .r1 { top: 7px; left: 7px; } .plate .r2 { top: 7px; right: 7px; }
.plate .r3 { bottom: 7px; left: 7px; } .plate .r4 { bottom: 7px; right: 7px; }
@media (max-width: 760px) {
  .plate dl { grid-template-columns: 1fr 1fr; }
  .plate dl > div:nth-child(3) { border-left: 0; }
  .plate dl > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .plate-head { padding: 10px 16px; font-size: 10px; letter-spacing: 0.14em; }
  .plate-head span + span { display: none; }
  .plate dl > div { padding: 16px 16px 18px; }
  .plate dt { font-size: 10.5px; letter-spacing: 0.1em; }
}

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(72px, 10vw, 128px) 0; }
.sec-alu { background: var(--paper); }
.sec-dark { background: var(--ink); color: #E6E8E9; }
.sec-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 12.5px;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.sec-head .no { color: var(--brand); font-variant-numeric: tabular-nums; }
.sec-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-dark .sec-head { color: var(--muted-dark); }
.sec-dark .sec-head .no { color: var(--brand-light); }
.sec-dark .sec-head::after { background: var(--line-dark); }

h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 18ch; }
.sec-dark h2 { color: var(--white); }
h3 { font-size: clamp(24px, 2.4vw, 32px); }
.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 116%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}
.sec-dark .kicker { color: var(--brand-light); }
.lead-b { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; font-weight: 450; }
.muted { color: var(--muted); }
.sec-dark .muted { color: var(--muted-dark); }

.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > * { min-width: 0; }
.split .body { margin-top: 28px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Unternehmen */
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--alu); }
.portrait figcaption, .fig figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.portrait figcaption::before, .fig figcaption::before { content: ""; width: 18px; height: 2px; background: var(--brand); flex: 0 0 auto; transform: translateY(-4px); }

.branchen { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.branchen > * { min-width: 0; }
@media (max-width: 900px) { .branchen { grid-template-columns: 1fr; } }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 15px;
  font-weight: 550;
  border-radius: 2px;
}
.sec-alu .chips li { background: var(--white); }
.sec-dark .chips li { background: transparent; border-color: var(--line-dark); color: #E6E8E9; }

/* Historie */
.history { margin-top: clamp(56px, 8vw, 96px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.history > * { min-width: 0; }
.hist-pano { margin-top: 28px; }
@media (max-width: 900px) { .history { grid-template-columns: 1fr; } }
.timeline { list-style: none; margin-top: 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 0 0 20px 22px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 7px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--brand);
  border-radius: 50%;
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li:last-child::before { background: var(--brand); }
.timeline .yr { font-weight: 750; font-stretch: 80%; font-size: 22px; line-height: 1.15; font-variant-numeric: tabular-nums; color: var(--ink); }
.timeline p { margin: 0; font-size: 16px; line-height: 1.5; padding-top: 2px; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* Druckguss (dunkel) */
.cast-pano { margin-top: 44px; background: var(--ink-3); }
.cast-grid { margin-top: 18px; }
.cast-grid > * { min-width: 0; }
.alloys { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .alloys { grid-template-columns: 1fr; } }
.alloy {
  position: relative;
  border: 1px solid var(--line-dark);
  background: var(--ink-3);
  padding: 26px 24px 24px;
}
.alloy::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  background:
    radial-gradient(circle, rgba(255,255,255,0.28) 2.5px, transparent 3px) top left / 12px 12px no-repeat,
    radial-gradient(circle, rgba(255,255,255,0.28) 2.5px, transparent 3px) top right / 12px 12px no-repeat,
    radial-gradient(circle, rgba(255,255,255,0.28) 2.5px, transparent 3px) bottom left / 12px 12px no-repeat,
    radial-gradient(circle, rgba(255,255,255,0.28) 2.5px, transparent 3px) bottom right / 12px 12px no-repeat;
}
.alloy-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); }
.alloy-sym {
  font-size: 64px;
  font-weight: 800;
  font-stretch: 76%;
  line-height: 0.9;
  color: var(--white);
}
.alloy-name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.alloy-tag {
  font-size: 11px;
  font-weight: 600;
  font-stretch: 116%;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-dark);
  text-align: right;
}
.alloy dl { margin: 6px 0 0; }
.alloy dl > div { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line-dark); align-items: baseline; }
.alloy dt { font-size: 14px; color: var(--muted-dark); }
.alloy dd { margin: 0; text-align: right; font-weight: 650; font-size: 17px; color: var(--white); font-variant-numeric: tabular-nums lining-nums; }
.alloy .note { margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted-dark); }

.spec { margin-top: clamp(56px, 7vw, 88px); }
.spec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line-dark); }
table.alloy-table { width: 100%; min-width: 760px; border-collapse: collapse; font-variant-numeric: tabular-nums lining-nums; }
.alloy-table th, .alloy-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line-dark); vertical-align: bottom; }
.alloy-table thead th {
  font-size: 11px;
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dark);
  line-height: 1.35;
  background: var(--ink-3);
}
.alloy-table tbody th { font-weight: 650; color: var(--white); white-space: nowrap; }
.alloy-table td { color: #E6E8E9; font-size: 16px; }
.alloy-table td.v { text-align: right; font-weight: 600; }
.alloy-table thead th.v { text-align: right; }
.alloy-table tbody tr:last-child > * { border-bottom: 0; }
.alloy-table .var { color: var(--brand-light); font-weight: 650; white-space: nowrap; }

.tool { margin-top: clamp(56px, 7vw, 88px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 72px); padding-top: 40px; border-top: 1px solid var(--line-dark); }
.tool > * { min-width: 0; }
@media (max-width: 900px) { .tool { grid-template-columns: 1fr; } }
.tool .chips { margin: 18px 0 0; }

/* Fertigung */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: 48px; list-style: none; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; min-width: 0; }
.step img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--alu); }
.step-body { padding: 20px 22px 24px; }
.step h3 { font-size: 24px; display: flex; gap: 12px; align-items: baseline; }
.step h3 .n { font-size: 13px; font-weight: 600; font-stretch: 116%; letter-spacing: 0.1em; color: var(--brand); }
.step p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.55; color: #33383B; }

.finish { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(40px, 5vw, 64px); }
.finish > div { border-top: 3px solid var(--ink); padding-top: 20px; min-width: 0; }
.finish h3 { font-size: 24px; margin-bottom: 10px; }
.finish p { font-size: 16px; color: #33383B; }
.finish .chips li { font-size: 14px; padding: 7px 12px; }
@media (max-width: 860px) { .finish { grid-template-columns: 1fr; } }

.chart { margin: clamp(48px, 6vw, 80px) 0 0; background: var(--white); border: 1px solid var(--line); padding: clamp(16px, 3vw, 32px); }
.chart img { width: 100%; max-width: 880px; height: auto; margin: 0 auto; background: var(--white); }
.chart figcaption { text-align: center; }
.chart figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* Entwicklung */
.proto-photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 8px; }
.proto-photos img { width: 100%; aspect-ratio: 880 / 372; object-fit: cover; background: var(--white); border: 1px solid var(--line); }
.proto-photos img:first-child { width: 88%; }
.proto-photos img:last-child { width: 88%; margin-left: 12%; }
@media (max-width: 600px) { .proto-photos img:first-child, .proto-photos img:last-child { width: 100%; margin-left: 0; } }

.process { margin-top: clamp(56px, 8vw, 96px); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 28px; counter-reset: f; }
.flow li {
  position: relative;
  padding: 22px 26px 22px 22px;
  background: var(--paper);
  border-top: 3px solid var(--brand);
  counter-increment: f;
  min-width: 0;
}
.flow li + li { margin-left: 4px; }
.flow li::before {
  content: "0" counter(f);
  display: block;
  font-size: 12px;
  font-weight: 600;
  font-stretch: 118%;
  letter-spacing: 0.14em;
  color: var(--brand);
  margin-bottom: 8px;
}
.flow b { display: block; font-size: 21px; font-weight: 750; font-stretch: 82%; line-height: 1.15; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; gap: 4px; }
  .flow li + li { margin-left: 0; }
}
.process .note { margin-top: 18px; font-size: 15px; color: var(--muted); max-width: 70ch; }

.feature {
  margin-top: clamp(56px, 8vw, 96px);
  background: var(--ink);
  color: #E6E8E9;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  position: relative;
  overflow: hidden;
}
.feature > * { min-width: 0; }
.feature-body { padding: clamp(28px, 5vw, 64px); }
.feature h3 { color: var(--white); font-size: clamp(28px, 3vw, 40px); max-width: 20ch; margin-bottom: 22px; }
.feature p { font-size: 16px; line-height: 1.6; color: #CDD1D4; max-width: 64ch; }
.feature-side {
  border-left: 1px solid var(--line-dark);
  padding: clamp(28px, 5vw, 64px) clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  background: linear-gradient(160deg, rgba(167, 59, 59, 0.22), rgba(167, 59, 59, 0) 60%);
}
.big {
  font-size: clamp(54px, 6vw, 84px);
  font-weight: 800;
  font-stretch: 76%;
  line-height: 0.95;
  color: var(--white);
  font-variant-numeric: tabular-nums lining-nums;
}
.big small { font-size: 0.42em; font-weight: 650; margin-left: 6px; color: var(--brand-light); }
.big-label { margin-top: 8px; font-size: 14px; color: var(--muted-dark); line-height: 1.45; }
.feature .meta { font-size: 13px; color: var(--muted-dark); }
@media (max-width: 900px) {
  .feature { grid-template-columns: 1fr; }
  .feature-side { border-left: 0; border-top: 1px solid var(--line-dark); }
}

/* Qualität */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
@media (max-width: 560px) { .certs { grid-template-columns: 1fr; } }
.cert {
  position: relative;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px 20px 20px;
  min-width: 0;
}
.cert::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--brand); }
.cert b { display: block; font-size: 30px; font-weight: 800; font-stretch: 78%; line-height: 1; font-variant-numeric: tabular-nums; }
.cert span { display: block; margin-top: 8px; font-size: 13px; font-weight: 600; font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.awards { list-style: none; margin-top: 18px; border-top: 1px solid var(--line); }
.awards li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.awards .yr { font-weight: 750; font-stretch: 80%; font-size: 21px; color: var(--brand); font-variant-numeric: tabular-nums; }
.awards p { margin: 0; font-size: 16px; }
.q-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(48px, 6vw, 80px); }
.q-photos img { width: 100%; aspect-ratio: 880 / 372; object-fit: cover; background: var(--alu); }
@media (max-width: 700px) {
  .q-photos { grid-template-columns: 1fr; }
  .q-photos img { aspect-ratio: 3 / 2; }
}
.downloads { margin-top: 40px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); }
.downloads h3 { font-size: 20px; margin-bottom: 12px; }
.downloads ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.downloads li { font-size: 15px; display: flex; gap: 8px; align-items: baseline; }
.downloads li::before { content: "↓"; color: var(--brand); font-weight: 700; }
.downloads .t { font-size: 11px; font-weight: 600; font-stretch: 116%; letter-spacing: 0.1em; color: var(--muted); }
.downloads a { text-decoration-color: var(--brand); text-underline-offset: 3px; }

/* Umwelt */
.green-band { margin-top: 44px; }
.policy { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(36px, 5vw, 56px); }
.policy > * { min-width: 0; }
@media (max-width: 900px) { .policy { grid-template-columns: 1fr; } }
.goal {
  margin: 8px 0 0;
  padding: 22px 24px;
  background: var(--brand-wash);
  border-left: 3px solid var(--brand);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}
.contacts { list-style: none; border-top: 1px solid var(--line); }
.contacts li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contacts b { display: block; font-size: 19px; font-weight: 700; font-stretch: 86%; }
.contacts span { font-size: 14px; color: var(--muted); }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.figures > div { padding: 26px 20px 24px; border-left: 1px solid var(--line); min-width: 0; }
.figures > div:first-child { border-left: 0; padding-left: 0; }
.figures b { display: block; font-size: clamp(36px, 4vw, 54px); font-weight: 800; font-stretch: 76%; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.figures b small { font-size: 0.45em; font-weight: 650; margin-left: 4px; color: var(--brand); }
.figures span { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
@media (max-width: 860px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figures > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .figures > div { padding: 22px 14px 20px; }
  .figures > div:nth-child(odd) { padding-left: 0; }
}

.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); margin-top: clamp(48px, 6vw, 72px); list-style: none; }
@media (max-width: 1000px) { .projects { grid-template-columns: 1fr; } }
.project { min-width: 0; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 22px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.project img { width: 100%; height: auto; background: var(--alu); border: 1px solid var(--line); }
.project h3 { font-size: 23px; margin-bottom: 10px; }
.project p { font-size: 15.5px; line-height: 1.55; color: #33383B; margin-bottom: 0.7em; }
.project p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) and (min-width: 521px) { .project { grid-template-columns: 200px minmax(0, 1fr); } }
@media (max-width: 520px) { .project { grid-template-columns: 1fr; } .project img { width: 100%; max-width: 340px; } }

.balance { margin-top: clamp(48px, 6vw, 72px); }
.balance-list { list-style: none; margin-top: 18px; border-top: 2px solid var(--ink); }
.balance-list li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.balance-list .yr { font-size: 26px; font-weight: 800; font-stretch: 78%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.balance-list .yr small { display: block; font-size: 12px; font-weight: 600; font-stretch: 116%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.balance-list p { margin: 0 0 0.5em; font-size: 16px; }
.balance-list p:last-child { margin-bottom: 0; }
@media (max-width: 560px) { .balance-list li { grid-template-columns: 1fr; gap: 6px; } }

/* Karriere */
.career-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--alu); }
/* Foto hat 880 × 372 px: im einspaltigen Tablet-Layout nicht über 680 px Breite strecken */
.career-photo { max-width: 680px; }
.benefits { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.benefits li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; }
.benefits li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 8px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
@media (max-width: 640px) { .benefits { grid-template-columns: 1fr; } }
.career-more { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(40px, 5vw, 64px); }
.career-more > * { min-width: 0; }
@media (max-width: 860px) { .career-more { grid-template-columns: 1fr; } }
.apply {
  background: var(--ink);
  color: #E6E8E9;
  padding: clamp(24px, 4vw, 40px);
  position: relative;
}
.apply::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--brand); }
.apply h3 { color: var(--white); margin-bottom: 14px; }
.apply p { color: #CDD1D4; font-size: 16px; }
.apply .mail { color: var(--white); font-weight: 650; word-break: break-word; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); margin-top: 40px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.addr { font-style: normal; font-size: clamp(20px, 2vw, 24px); line-height: 1.45; color: var(--white); }
.addr b { font-weight: 750; font-stretch: 86%; }
.lines { list-style: none; margin-top: 28px; border-top: 1px solid var(--line-dark); }
.lines li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); align-items: baseline; }
.lines .k { font-size: 11.5px; font-weight: 600; font-stretch: 116%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.lines .v { font-size: 18px; color: var(--white); font-variant-numeric: tabular-nums; word-break: break-word; }
.tech { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; margin-top: 32px; }
.tech img { width: 120px; aspect-ratio: 1 / 1; object-fit: cover; background: var(--ink-3); }
.tech p { margin: 0; color: #CDD1D4; font-size: 15px; }
.tech b { display: block; color: var(--white); font-size: 18px; font-weight: 700; font-stretch: 86%; margin-bottom: 2px; }
.contact-photo img { width: 100%; aspect-ratio: 880 / 372; object-fit: cover; background: var(--ink-3); }
.contact-photo { margin-top: 6px !important; }

/* Fuß */
.foot { background: var(--white); border-top: 1px solid var(--line); padding: 36px 0 44px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 22px 40px; align-items: center; }
.foot img { width: 220px; height: auto; aspect-ratio: 818 / 112; }
.foot p { margin: 0; font-size: 14px; color: var(--muted); }
.foot nav { display: flex; gap: 22px; font-size: 14px; font-weight: 600; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--brand); }

/* Rechtsseiten */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 800; font-stretch: 78%; margin-bottom: 36px; }
.legal h2 { font-size: 22px; max-width: none; margin: 32px 0 10px; font-stretch: 86%; }
.legal p { max-width: 68ch; }
.legal .box { max-width: 760px; }
.hint {
  margin-top: 36px;
  max-width: 760px;
  padding: 18px 22px;
  background: #FFF4C2;
  border: 1px solid #E8C94A;
  color: #3A3000;
  font-size: 15.5px;
  line-height: 1.55;
}
.back { display: inline-block; margin-top: 36px; font-weight: 600; color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Feinschliff ---------- */
.alloy dl > div.stack { grid-template-columns: 1fr; gap: 4px; }
.alloy dl > div.stack dd { text-align: left; font-size: 16px; }
.proto-photos > * { min-width: 0; }
.balance-list li { grid-template-columns: 170px 1fr; }
.mail { white-space: nowrap; }
.alloy-table td { white-space: nowrap; }
@media (max-width: 600px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.12em; gap: 10px; }
  .eyebrow::before { width: 22px; }
  .hero .btn { width: 100%; justify-content: center; }
  .table-scroll { overflow: visible; border: 0; }
  table.alloy-table { min-width: 0; }
  .alloy-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .alloy-table, .alloy-table tbody, .alloy-table tr, .alloy-table th, .alloy-table td { display: block; width: 100%; }
  .alloy-table tr { border: 1px solid var(--line-dark); background: var(--ink-3); margin-bottom: 12px; padding: 4px 16px 8px; }
  .alloy-table tbody th { padding: 12px 0 10px; font-size: 19px; border-bottom: 1px solid var(--line-dark); }
  .alloy-table td, .alloy-table td.v { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; text-align: right; border-bottom: 1px dashed var(--line-dark); white-space: normal; }
  .alloy-table td::before { content: attr(data-label); color: var(--muted-dark); font-size: 13.5px; text-align: left; font-weight: 400; }
  .alloy-table tbody tr:last-child > * { border-bottom: 1px dashed var(--line-dark); }
  .alloy-table tr > td:last-child { border-bottom: 0 !important; }
  .balance-list li { grid-template-columns: 1fr; }
}

/* Auszeichnung ohne Foto (Typenschild-Optik) */
.award-mark {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 16px;
  border: 1px solid var(--ink);
}
.award-mark::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(255, 255, 255, 0.22); }
.award-mark b { font-size: 46px; font-weight: 800; font-stretch: 76%; line-height: 1; font-variant-numeric: tabular-nums; }
.award-mark span { font-size: 10.5px; font-weight: 600; font-stretch: 116%; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-light); line-height: 1.3; }
@media (max-width: 520px) { .award-mark { aspect-ratio: auto; flex-direction: row; justify-content: flex-start; gap: 14px; padding: 16px 18px; } .award-mark::before { inset: 4px; } }
.prototypes-white img { border: 1px solid var(--line); }
