/* Marzin Engineering – Website
   Farben und Regeln aus dem CI-Handbuch. Keine externen Schriften (Datenschutz):
   Ersatzschrift laut CI ist Arial Narrow, dann Arial. */

:root {
  --brand: #D7263D;
  --brand-strong: #A81C2E;
  --ink: #111214;
  --ink-muted: #4A4B4F;
  --surface: #FFFFFF;
  --surface-alt: #F1F1EF;
  --line: #D4D4D2;
  --font: "Barlow", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-strong); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Kopf */
.site-header { border-bottom: 1px solid var(--line); background: var(--surface); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; padding: 12px 0; }
.nav a:hover { color: var(--brand-strong); }

/* Typo */
.label {
  font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-strong); margin: 0 0 16px;
}
h1, h2, h3 { font-style: italic; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h1 { font-weight: 900; font-size: clamp(40px, 7vw, 68px); }
h2 { font-weight: 800; font-size: clamp(28px, 4vw, 38px); margin-bottom: 32px; }
h3 { font-weight: 800; font-size: 24px; margin: 16px 0 8px; }
.lead { font-size: 20px; color: var(--ink-muted); max-width: 32em; margin: 24px 0 32px; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 0 24px; border-radius: 4px; font-weight: 700; font-size: 17px; text-decoration: none;
  border: 2px solid var(--ink); color: var(--ink); background: transparent;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-strong); border-color: var(--brand-strong); color: #fff; }

/* Hero mit roter Fläche im Markenwinkel (-11°) */
.hero { background: var(--surface-alt); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 30%;
  background: var(--brand); transform: skewX(-11deg); transform-origin: bottom right;
}
.hero .wrap {
  position: relative; display: grid; grid-template-columns: 1.15fr 1fr;
  align-items: center; gap: 24px; padding-top: 72px; padding-bottom: 72px;
}
.hero-img { mix-blend-mode: multiply; width: 100%; max-width: 480px; justify-self: end; }

/* Abschnitte */
section { padding: 88px 0; }
.alt { background: var(--surface-alt); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid3 p { color: var(--ink-muted); margin: 0; }
.icon { width: 32px; height: 32px; stroke: var(--ink); stroke-width: 2; fill: none; stroke-linecap: square; stroke-linejoin: miter; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 12px 24px; }
.contact dt { font-weight: 700; }
.contact dd { margin: 0; }
.note { color: var(--ink-muted); font-size: 15px; }

/* Produkte */
.page-intro { padding: 64px 0 56px; }
.page-intro h1 { margin-bottom: 0; }
.page-intro .lead { margin-bottom: 32px; }
.nav a[aria-current="page"] { color: var(--brand-strong); }
.notice {
  display: flex; gap: 16px; align-items: flex-start; max-width: 860px;
  background: #FFF3D6; color: #6B4300; padding: 20px 24px; border-left: 4px solid #6B4300;
}
.notice .icon { stroke: #6B4300; flex: none; margin-top: 2px; }
.notice p { margin: 6px 0 0; font-size: 15px; }
.products-section h2 { margin-bottom: 32px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; }
.card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 21px; margin: 0; }
.card-body p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.card-body .meta { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.card-body .btn { margin-top: auto; align-self: flex-start; }
.card-body p:last-of-type { margin-bottom: 12px; }
.disclaimer { margin-top: 32px; }

/* Rechtstexte */
.legal { padding: 64px 0 88px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 6vw, 52px); margin-bottom: 40px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal h3 { font-size: 19px; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.legal address { font-style: normal; }
.legal .stand { color: var(--ink-muted); font-size: 15px; margin-top: 48px; }

/* Fuß */
.site-footer { background: var(--ink); color: #D4D4D2; padding: 48px 0 32px; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer img { height: 34px; width: auto; }
.site-footer a { color: #fff; }
.site-footer nav { display: flex; gap: 24px; }

@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products { grid-template-columns: 1fr; }
}

/* Handy */
@media (max-width: 820px) {
  :root { --gutter: 16px; }
  .nav { gap: 16px; }
  .nav a { font-size: 15px; }
  .brand img { height: 32px; }
  .hero::before { width: 40%; top: auto; height: 300px; }
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 24px; }
  .hero-img { max-width: 300px; justify-self: center; }
  section { padding: 64px 0; }
  .grid3, .contact { grid-template-columns: 1fr; gap: 32px; }
  .page-intro { padding: 40px 0; }
  .notice { padding: 16px; }
}
@media (max-width: 420px) {
  .nav a[href$="#leistungen"] { display: none; }
}
