/* ============================================================
   Schneider Elektrotechnik GmbH — Broschürenseite
   Reines CSS, keine externen Abhängigkeiten, keine Webfonts.
   ============================================================ */

/* ---------- Schriften (selbst gehostet, Fontsource/Poppins) ---------- */

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-latin-600-normal.woff2') format('woff2');
}

:root {
  --ink: #15191e;          /* Anthrazit — Text & Flächen */
  --ink-soft: #4a5058;     /* abgeschwächter Text */
  --paper: #fafaf7;        /* Hintergrund */
  --panel: #f0efe9;        /* leicht abgesetzte Flächen */
  --signal: #1a5fd0;       /* Elektro-Blau — einziger Akzent */
  --signal-soft: #d7e4f9;  /* helles Blau für Textmarker */
  --line: #d9d7cf;         /* Hairlines */
  --maxw: 68rem;

  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono",
               Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}

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

/* ---------- Kopfzeile ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  flex-wrap: wrap;
}

.brand {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  height: 2.4rem;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
  font-size: 0.95rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 120ms ease, border-color 120ms ease;
}

.site-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--signal);
}

/* ---------- Schaltplan-Trennlinie (Signaturelement) ---------- */

.circuit {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
}

.circuit line,
.circuit polyline,
.circuit circle {
  stroke: var(--ink);
  stroke-width: 1.5;
  fill: none;
}

.circuit .node { fill: var(--signal); stroke: var(--ink); }

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.2rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.65em;
  height: 0.65em;
  background: var(--signal);
  border: 1px solid var(--ink);
  margin-right: 0.6em;
  vertical-align: baseline;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 0 0 1.2rem;
  max-width: 18ch;
}

.hero h1 .hl {
  box-shadow: inset 0 -0.34em 0 var(--signal-soft);
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 2.2rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  border: 2px solid var(--ink);
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn-primary {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover { background: var(--panel); }

/* ---------- Sektionen ---------- */

section { padding: 3.5rem 0; }

.section-head {
  margin-bottom: 2.2rem;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.015em;
  margin: 0.3rem 0 0;
}

/* ---------- Kontakt ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 44rem) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 1.8rem;
  box-shadow: 6px 6px 0 var(--signal);
}

.contact-card h3 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-card address {
  font-style: normal;
  line-height: 1.8;
}

.contact-card a {
  text-decoration-color: var(--signal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.contact-meta dt {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 1rem;
}

.contact-meta dd {
  margin: 0.15rem 0 0;
}

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--ink);
  color: #c9cdd2;
  padding: 2.2rem 0;
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--signal);
  padding-bottom: 1px;
}

.site-footer a:hover { color: #8db4f0; }

.footer-nav { display: flex; gap: 1.4rem; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */

.legal {
  padding: 3.5rem 0 4.5rem;
  max-width: 46rem;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2.4rem 0 0.6rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin: 1.8rem 0 0.4rem;
}

.legal h4 {
  font-size: 0.95rem;
  margin: 1.4rem 0 0.3rem;
}

.legal ul { color: var(--ink-soft); padding-left: 1.3rem; }
.legal li { margin-bottom: 0.6rem; }
.legal a { text-decoration-thickness: 1px; text-underline-offset: 3px; word-break: break-word; }

.legal p, .legal address {
  color: var(--ink-soft);
  font-style: normal;
}

