:root {
  --ink: #14181B;
  --navy: #12203A;
  --navy-2: #1B2C4B;
  --paper: #F2F4EF;
  --paper-2: #F8F9F5;
  --steel: #5B6670;
  --steel-light: #97A2AA;
  --blue: #1B6FB0;
  --orange: #bd385f;
  --line: rgba(18,32,58,0.14);
  --line-light: rgba(255,255,255,0.16);
  --display: 'Segoe UI Semibold', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Segoe UI', 'IBM Plex Sans', Arial, sans-serif;
  --mono: 'Consolas', 'IBM Plex Mono', monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
section { position: relative; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -0.01em; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); display: inline-flex; align-items: center; margin-bottom: 14px; }
.hero .eyebrow, .page-head .eyebrow { color: var(--steel-light); }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: rgba(236,238,231,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 20px; }
.logo-img { height: 32px; width: auto; }
nav.links { display: flex; align-items: center; gap: 28px; font-size: 15px; font-weight: 600; }
nav.links a:not(.btn) { text-decoration: none; opacity: 0.8; transition: opacity .15s; }
nav.links a:not(.btn):hover, nav.links a.active { opacity: 1; }
.has-dropdown { position: relative; }
.has-dropdown::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--paper-2); border: 1px solid var(--line); min-width: 220px; padding: 8px; margin-top: 12px; box-shadow: 0 12px 24px rgba(18,32,58,0.12); }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { display: block; }
.dropdown a { display: block; padding: 10px 12px; font-size: 14.5px; font-weight: 500; text-decoration: none; border-radius: 2px; }
.dropdown a:hover { background: var(--paper); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

.btn { font-family: var(--body); font-weight: 700; font-size: 14.5px; padding: 11px 20px; border-radius: 3px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; border: 1px solid transparent; cursor: pointer; transition: all .15s; }
.btn-primary { background: var(--navy); color: var(--paper-2); }
.btn-primary:hover { background: var(--navy-2); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-accent:hover { background: #972d4c; }
.btn-outline { border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--steel); }
.btn-outline-light { border-color: var(--line-light); color: var(--paper-2); }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.4); }
.btn-shop { background: var(--blue); color: #fff; }
.btn-shop:hover { background: #155a8f; }

/* Hero */
.hero { background: var(--ink); color: var(--paper-2); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 76px; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-size: clamp(30px, 4vw, 48px); color: #fff; margin-bottom: 20px; }
.hero p.lead { font-size: 18px; color: var(--steel-light); max-width: 46ch; margin-bottom: 34px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--mono); font-size: 12.5px; color: var(--steel-light); }
.hero-badges span { display: inline-flex; align-items: center; gap: 7px; }
.hero-badges span::before { content: ""; width: 6px; height: 6px; background: var(--orange); border-radius: 1px; }
.diagram-wrap { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.3); }
.hero-image { width: 100%; display: block; }

/* Page header (non-hero, for subpages) */
.page-head { background: var(--ink); color: var(--paper-2); padding: 64px 0 48px; }
.page-head h1 { color: #fff; font-size: clamp(28px, 3.5vw, 40px); margin-bottom: 14px; }
.page-head p { color: var(--steel-light); max-width: 60ch; font-size: 16px; }
.breadcrumb { font-family: var(--mono); font-size: 12.5px; color: var(--steel-light); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; color: var(--steel-light); }
.breadcrumb a:hover { color: #fff; }

/* Audience */
.audience { background: var(--paper-2); padding: 72px 0; border-bottom: 1px solid var(--line); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 36px; }
.audience-card { background: var(--paper-2); padding: 30px 26px; }
.audience-card blockquote { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.12; letter-spacing: -0.01em; }
.audience-tag { font-family: var(--mono); font-size: 11px; color: var(--steel); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; display: block; }

/* Products (overview + detail) */
.products { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); max-width: 22ch; }
.section-head p.desc { color: var(--steel); max-width: 42ch; font-size: 15px; }
.product-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.product-card { background: var(--paper); padding: 36px 32px; transition: background .15s; }
.product-card:hover { background: var(--paper-2); }
.product-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; margin-bottom: 20px; }
.product-card h3 { font-size: 19px; margin-bottom: 10px; }
.product-card p { font-size: 14.5px; color: var(--steel); margin-bottom: 18px; }
.datasheet-link { font-family: var(--mono); font-size: 12.5px; text-decoration: none; color: var(--blue); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: border-color .15s; }
.product-card:hover .datasheet-link { border-color: var(--blue); }

/* Product detail page */
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 76px; padding-bottom: 76px; }
.detail-grid h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.detail-grid p { color: var(--steel); font-size: 15.5px; margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14.5px; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 17px 4px; }
.spec-table td:first-child { color: var(--steel); font-family: var(--mono); font-size: 14px; width: 45%; }
.spec-table-pairs td:last-child { color: var(--steel); font-family: var(--mono); font-size: 14px; }
.diagram-box { border: 1px solid var(--line); background: var(--paper-2); padding: 28px; }

/* Montagebilder (Bildplatzhalter) */
.video { padding: 0 0 96px; }
.video-embed { position: relative; width: 100%; aspect-ratio: 16 / 9; margin-top: 40px; border-radius: 6px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.montage { padding: 76px 0 96px; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.montage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.montage-item figure { border: 1px solid var(--line); background: var(--paper); }
.montage-photo { aspect-ratio: 4/3; width: 100%; object-fit: cover; display: block; }
.montage-item figcaption { padding: 14px 16px; font-size: 13.5px; color: var(--steel); border-top: 1px solid var(--line); }
.montage-item figcaption b { color: var(--ink); display: block; font-size: 14px; margin-bottom: 3px; }

/* Specs strip */
.specs { background: var(--navy); color: var(--paper-2); padding: 56px 0; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.spec-item .num { font-family: var(--display); font-size: 34px; font-weight: 700; color: #fff; }
.spec-item .label { font-family: var(--mono); font-size: 12.5px; color: var(--steel-light); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }

/* Process */
.process { padding: 96px 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 48px; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 17px; left: 6%; right: 6%; height: 1px; background: var(--line); z-index: 0; }
.process-item { position: relative; z-index: 1; }
.process-num { font-family: var(--mono); font-size: 13px; color: var(--orange); background: var(--paper-2); display: inline-block; padding-right: 10px; margin-bottom: 18px; }
.process-item h3 { font-size: 16.5px; margin-bottom: 8px; }
.process-item p { font-size: 14px; color: var(--steel); }

/* Kontakt page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 80px; padding-bottom: 100px; }
.contact-card { border: 1px solid var(--line); padding: 32px; background: var(--paper-2); }
.contact-card h3 { font-size: 15px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue); margin-bottom: 18px; }
.contact-list { list-style: none; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-list li:last-child { border-bottom: none; }
.contact-list a { text-decoration: none; color: var(--blue); }

/* Footer */
footer.site { background: var(--ink); color: var(--steel-light); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-grid h4 { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { text-decoration: none; font-size: 14px; opacity: 0.85; }
.footer-grid a:hover { opacity: 1; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; font-size: 13px; flex-wrap: wrap; gap: 10px; }

/* Legal pages */
.legal { padding-top: 76px; padding-bottom: 100px; max-width: 780px; }
.legal h1 { font-size: 30px; margin-bottom: 10px; }
.legal .note { font-family: var(--mono); font-size: 13px; color: var(--orange); background: rgba(189,56,95,0.08); border: 1px solid rgba(189,56,95,0.25); padding: 14px 16px; margin: 20px 0 32px; }
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal p { color: var(--steel); font-size: 15px; margin-bottom: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-2, .detail-grid, .contact-grid { grid-template-columns: 1fr; }
  .spec-grid, .process-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 24px; }
  .process-grid::before { display: none; }
  .montage-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  nav.links { position: fixed; top: 76px; left: 0; right: 0; background: var(--paper-2); flex-direction: column; align-items: stretch; padding: 16px 24px; border-bottom: 1px solid var(--line); display: none; gap: 6px; }
  nav.links.open { display: flex; }
  .has-dropdown .dropdown { position: static; display: block; box-shadow: none; margin-top: 6px; border: none; padding-left: 12px; }
  .nav-toggle { display: block; }
}
