/* MAWO Piping Specials – Stylesheet */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/archivo-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/archivo-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/archivo-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/archivo-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2'); }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* Layout: Firmenseite im MAWO-Blau. Hero mit echtem Fertigungsdatenblatt, dann Leistungen, Produkte, Werkstoffe, Qualität, Bestellen. Umzug nur als Hinweisleiste und kurzer Abschnitt; Unicorn weiß mit Fuchsia. Bewusst ein festes Farbbild ohne Dunkelmodus. */
:root {
  --mawo: #1c4a93;
  --mawo-deep: #12336a;
  --mawo-ice: #eef3fb;
  --gelb: #ffe70a;
  --fuchsia: #d80057;
  --fuchsia-dark: #9e0040;
  --rose: #fdeef4;
  --ink: #16213a;
  --muted: #4f5b73;
  --line: #d5deee;
  --white: #ffffff;
  --note: #fff8c4;
  --font: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --max: 1160px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.todo { font-family: var(--mono); font-size: 0.82em; background: var(--note); color: #5a4a00; padding: 1px 6px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }


/* Hinweisleiste Standort */
.notice { background: var(--mawo-deep); color: #dfe7f6; font-size: 15px; }
.notice .wrap { padding-block: 10px; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; }
.notice b { color: var(--gelb); font-weight: 700; }
.notice a { color: var(--white); font-weight: 600; }

/* Kopf + Hero */
.hero { background: var(--mawo); color: var(--white); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
/* Schrift so hoch wie das Signet: Strichhöhe 21/64 der Breite, Versalhöhe Archivo 0,69 em */
.brand { --logo-w: 84px; display: flex; align-items: center; gap: calc(var(--logo-w) * .2); text-decoration: none; min-width: 0; }
.brand svg { width: var(--logo-w); height: auto; flex: none; }
.brand span { font-weight: 800; font-size: calc(var(--logo-w) * 0.4755); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; color: var(--white); }
.brand span small { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gelb); }
.top .right { display: flex; align-items: center; gap: 22px; }
.top nav { display: flex; gap: 20px; font-size: 15px; font-weight: 600; }
.top nav a { text-decoration: none; opacity: .88; }
.top nav a:hover { opacity: 1; color: var(--gelb); }
.lang { display: inline-flex; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 3px; gap: 2px; }
.lang a { text-decoration: none; display: inline-block; background: none; border: 0; color: var(--white); font-family: var(--mono); font-size: 13px; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; cursor: pointer; }
.lang a[aria-current="page"] { background: var(--gelb); color: var(--mawo-deep); font-weight: 500; }

.hero-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding-block: 48px 64px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 66px); margin-top: 16px; }
.hero h1 em { font-style: normal; color: var(--gelb); }
.hero .lead { margin-top: 22px; font-size: 19px; max-width: 34em; color: #dfe7f6; }
.hero .actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .quick { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; color: #c6d3ea; }
.hero .quick b { color: var(--white); font-family: var(--mono); font-weight: 500; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease; cursor: pointer; font-family: var(--font); }
.btn:hover { transform: translateY(-1px); }
.btn-gelb { background: var(--gelb); color: var(--mawo-deep); }
.btn-line { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-blau { background: var(--mawo); color: var(--white); }
.btn-fuchsia { background: var(--fuchsia); color: var(--white); }
.btn-ghost { border-color: var(--fuchsia); color: var(--fuchsia-dark); background: var(--white); }

/* Datenblatt */
.sheet { background: var(--white); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(10, 25, 60, .35); }
.sheet-head { background: var(--mawo-ice); padding: 16px 22px; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.sheet-head .eyebrow { color: var(--mawo); }
.sheet-head h3 { font-size: 22px; margin-top: 4px; }
.sheet-head .pos { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.sheet dl { margin: 0; padding: 6px 22px 18px; display: grid; grid-template-columns: auto minmax(0,1fr); }
.sheet dt, .sheet dd { padding-block: 9px; border-bottom: 1px solid var(--line); font-size: 15px; }
.sheet dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-right: 18px; padding-top: 11px; }
.sheet dd { margin: 0; font-family: var(--mono); color: var(--ink); }
.sheet dl > :nth-last-child(-n+2) { border-bottom: 0; }
.sheet-foot { padding: 12px 22px; background: var(--mawo-deep); color: #c6d3ea; font-size: 13px; }

/* Branchen */
.ind { border-bottom: 1px solid var(--line); }
.ind .wrap { padding-block: 18px; display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: baseline; }
.ind .eyebrow { color: var(--muted); }
.ind span:not(.eyebrow) { font-weight: 700; color: var(--mawo-deep); }

section { padding-block: 72px; }
.sec-head { display: grid; gap: 12px; max-width: 48em; margin-bottom: 36px; }
.sec-head .eyebrow { color: var(--mawo); }
.sec-head h2 { font-size: clamp(30px, 3.8vw, 44px); }
.sec-head p { color: var(--muted); font-size: 18px; }
.ice { background: var(--mawo-ice); }

/* Leistungen */
.svc { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.svc article { border: 1.5px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 10px; align-content: start; background: var(--white); }
.svc .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--mawo); display: grid; place-items: center; }
.svc .ic svg { width: 26px; height: 26px; }
.svc h3 { font-size: 20px; }
.svc p { color: var(--muted); font-size: 15px; }
.norms { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.norms .eyebrow { color: var(--muted); margin-right: 6px; }
.pill { font-family: var(--mono); font-size: 14px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--mawo); color: var(--mawo-deep); background: var(--white); }

/* Produkte */
.prod { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.prod article { background: var(--white); border-radius: 18px; padding: 26px; display: grid; gap: 14px; align-content: start; }
.prod .ph { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.prod h3 { font-size: 24px; }
.prod .norm { font-family: var(--mono); font-size: 14px; color: var(--mawo); }
.prod ul { display: flex; flex-wrap: wrap; gap: 8px; }
.prod li { font-size: 15px; padding: 5px 12px; border-radius: 999px; background: var(--mawo-ice); color: var(--mawo-deep); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--mawo-deep); }
.stock i { display: inline-grid; gap: 2px; }
.stock i::before, .stock i::after, .stock i b { content: ""; display: block; width: 14px; height: 3px; border-radius: 2px; background: var(--mawo); }
.stock.on-req { color: var(--muted); font-weight: 600; }
.prod article.special { background: var(--mawo); color: var(--white); grid-column: 1 / -1; grid-template-columns: minmax(0,1.2fr) auto; align-items: center; }
.prod article.special p { color: #dfe7f6; }

/* Spezialität */
.spec-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; align-items: start; }
.spec-list { display: grid; gap: 14px; }
.spec-list div { border-left: 3px solid var(--gelb); padding-left: 16px; }
.spec-list h3 { font-size: 20px; }
.spec-list p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.spec-grid .sheet { box-shadow: 0 12px 40px rgba(18, 51, 106, .14); border: 1.5px solid var(--line); }

/* Werkstoffe */
.mat-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mat-grid article { background: var(--white); border-radius: 18px; padding: 22px; }
.mat-grid h3 { font-size: 17px; margin-bottom: 10px; }
.mat-grid li { display: grid; grid-template-columns: 4.2em minmax(0,1fr) auto; gap: 10px; padding-block: 6px; border-bottom: 1px solid var(--line); font-size: 14px; align-items: baseline; }
.mat-grid li:last-child { border-bottom: 0; }
.mat-grid .nr { font-family: var(--mono); font-weight: 500; color: var(--mawo); }
.mat-grid .kz { font-family: var(--mono); overflow-wrap: anywhere; }
.mat-grid .astm { font-family: var(--mono); color: var(--muted); font-size: 13px; white-space: nowrap; }
.mat-note { margin-top: 22px; color: var(--muted); font-size: 15px; }

/* Qualität */
.q-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: start; }
.q-list { display: grid; gap: 12px; }
.q-list li { display: grid; grid-template-columns: 26px minmax(0,1fr); gap: 12px; font-size: 16px; }
.q-list svg { width: 22px; height: 22px; margin-top: 2px; }
.q-list b { display: block; }
.q-list span { color: var(--muted); font-size: 15px; }
.dl { border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.dl h3 { font-size: 15px; font-family: var(--mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mawo); padding: 16px 20px; background: var(--mawo-ice); }
.dl li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 13px 20px; border-top: 1px solid var(--line); align-items: center; font-size: 15px; }
.dl li span { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Bestellen */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; margin-bottom: 40px; }
.steps li { border-top: 3px solid var(--mawo); padding-top: 14px; }
.steps .n { font-family: var(--mono); font-size: 13px; color: var(--mawo); letter-spacing: .1em; }
.steps h3 { font-size: 19px; margin-top: 6px; }
.steps p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.order { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: start; }
form.req { background: var(--mawo-ice); border-radius: 20px; padding: 26px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
form.req h3 { grid-column: 1 / -1; font-size: 22px; }
.f { display: grid; gap: 6px; }
.f.wide { grid-column: 1 / -1; }
.f label { font-size: 14px; font-weight: 600; }
.f input, .f textarea { font: inherit; font-size: 16px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); width: 100%; }
.f textarea { min-height: 110px; resize: vertical; }
.f input:focus, .f textarea:focus { outline: 3px solid rgba(28,74,147,.25); border-color: var(--mawo); }
.f small { color: var(--muted); font-size: 13px; }
form.req .send { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
form.req .send p { font-size: 14px; color: var(--muted); }
.sent { grid-column: 1 / -1; background: var(--white); border: 1.5px dashed var(--mawo); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.people { display: grid; gap: 14px; }
.person { border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 4px 16px; align-items: start; }
.avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--mawo); color: var(--gelb); display: grid; place-items: center; font-weight: 800; font-size: 19px; grid-row: span 2; }
.person h3 { font-size: 19px; }
.person .role { color: var(--muted); font-size: 14px; }
.person dl { grid-column: 2; margin: 8px 0 0; display: grid; grid-template-columns: auto minmax(0,1fr); gap: 2px 12px; font-size: 15px; }
.person dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.person dd { margin: 0; font-family: var(--mono); overflow-wrap: anywhere; }
.hours { font-size: 14px; color: var(--muted); padding-left: 4px; }

/* Standort + Unicorn */
.handoff { background: var(--mawo); padding-block: 72px; color: var(--white); }
.handoff .sec-head .eyebrow { color: var(--gelb); }
.handoff .sec-head p { color: #dfe7f6; }
.loc { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin-bottom: 28px; }
.loc div { background: var(--mawo-deep); border-radius: 16px; padding: 18px 20px; }
.loc .eyebrow { color: #a9bbdb; font-size: 12px; }
.loc div.now .eyebrow { color: var(--gelb); }
.loc p { margin-top: 6px; font-size: 16px; }
.handoff-card { background: var(--white); color: var(--ink); border-radius: 24px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.handoff-card .logo { width: 220px; max-width: 100%; }
.handoff-card h3 { font-size: clamp(24px, 3vw, 32px); margin-top: 20px; }
.handoff-card .lead { margin-top: 12px; color: var(--muted); font-size: 16px; }
.handoff-card .actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; align-content: start; }
.fact { background: var(--rose); border-radius: 16px; padding: 18px; }
.fact b { display: block; font-size: 26px; font-weight: 800; color: var(--fuchsia-dark); line-height: 1.1; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; color: var(--fuchsia-dark); }
.caps { grid-column: 1 / -1; font-size: 14px; color: var(--muted); border-top: 1px solid #f3d3e0; padding-top: 14px; }


footer { background: var(--mawo-deep); color: #c6d3ea; font-size: 15px; }
footer .wrap { padding-block: 40px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 28px; }
footer h3 { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gelb); margin-bottom: 10px; }
footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; font-size: 13px; display: flex; flex-wrap: wrap; gap: 8px 22px; }


@media (max-width: 1240px) {
  .top nav { display: none; }
}
@media (max-width: 1024px) {
  .hero-body, .handoff-card, .spec-grid, .q-grid, .order { grid-template-columns: minmax(0,1fr); }
  .svc, .steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mat-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  footer .wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section, .handoff { padding-block: 52px; }
  .hero-body { padding-block: 28px 44px; gap: 32px; }
  .hero .lead { font-size: 17px; }
  .svc, .steps, .prod, .mat-grid, .loc, .facts, footer .wrap, form.req { grid-template-columns: minmax(0,1fr); }
  .prod article.special { grid-template-columns: minmax(0,1fr); }
  .handoff-card { padding: 22px; }
  .top .wrap { flex-wrap: wrap; gap: 14px; }
  .brand { --logo-w: 48px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } .btn:hover { transform: none; } }

/* Fotos und Projektbeispiele */
.sheet-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--mawo-ice); }
.prod-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; background: var(--mawo-ice); }
.proj-sec { border-top: 1px solid var(--line); }
.proj { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.proj .sheet { margin: 0; box-shadow: none; border: 1.5px solid var(--line); }
.proj .sheet-img { aspect-ratio: 4 / 3; }
.proj .wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: stretch; }
.proj .wide dl { padding-top: 10px; }
.photos { margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.photos figure { margin: 0; }
.ph-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--mawo-ice); }
.photos figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.mat-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 36px; align-items: end; margin-bottom: 36px; }
.mat-top .sec-head { margin-bottom: 0; }
.mat-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 18px; }
@media (max-width: 1024px) { .mat-top { grid-template-columns: minmax(0,1fr); } .photos { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .proj, .proj .wide { grid-template-columns: minmax(0,1fr); } }

/* Projektkarte im Kopf nur, solange sie neben dem Text Platz hat */
@media (max-width: 1024px) { .hero-sheet { display: none; } }

/* Formular: Pflichtfelder, Honeypot, Hinweis */
.f label .req-mark { color: var(--mawo); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
form.req .privacy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }
form.req .privacy a, .legal a, footer a { color: inherit; }
.dl li a { color: var(--ink); text-decoration: none; }
.dl li a:hover { color: var(--mawo); text-decoration: underline; }
/* Textseiten (Impressum, Datenschutz, Danke, 404) */
.page-top { background: var(--mawo); color: var(--white); }
.text-page { padding-block: 56px 80px; }
.text-page h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 24px; }
.text-page h2 { font-size: 22px; margin: 36px 0 10px; }
.text-page p, .text-page li { max-width: 68ch; color: var(--ink); }
.text-page p + p { margin-top: 10px; }
.text-page ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; margin-top: 8px; }
.text-page a { color: var(--mawo); }
