/* Elektrotechnik Philipp Hortmann – Stylesheet
   Keine externen Schriften oder Dienste (datenschutzfreundlich). */

:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #6b6b6b;
  --paper: #ffffff;
  --paper-2: #f5f4f0;
  --line: #e2e0da;
  --accent: #f5c400;      /* Signalgelb */
  --accent-ink: #111111;
  --radius: 10px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }
a:hover { text-decoration-color: var(--accent); }

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

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky; top: 0; z-index: 10;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-top: 14px; padding-bottom: 14px;
}
.brand img { display: block; height: 46px; width: auto; }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 64px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; background: var(--accent); color: var(--accent-ink);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.1; margin: 0 0 16px; letter-spacing: -.02em; }
.hero .lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--ink-soft); margin: 0 0 30px; max-width: 40ch; }
.keywords { font-weight: 700; font-size: 18px; margin: 0 0 32px; }
.keywords span { color: var(--muted); font-weight: 400; padding: 0 6px; }

.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: var(--radius); font-weight: 700; text-decoration: none;
  border: 2px solid var(--ink);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.section-intro { color: var(--ink-soft); margin: 0 0 34px; max-width: 60ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  background: var(--paper); border-top: 4px solid var(--accent);
}
.card h3 { margin: 0 0 10px; font-size: 20px; }
.card p { margin: 0 0 10px; color: var(--ink-soft); }
.card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.card li { margin: 2px 0; }

/* Hinweis zu Leistungsgrenzen */
.notice {
  margin-top: 34px; padding: 22px 26px; border-radius: var(--radius);
  background: var(--paper-2); border-left: 5px solid var(--ink);
}
.notice h3 { margin: 0 0 6px; font-size: 18px; }
.notice p { margin: 0; color: var(--ink-soft); }

/* Über mich */
.about { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.contact-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-box h3 { margin: 0 0 6px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact-box a, .contact-box p { font-size: 19px; font-weight: 700; margin: 0; text-decoration: none; word-break: break-word; }
.contact-box a:hover { text-decoration: underline; }
.small { font-size: 14px; color: var(--muted); margin-top: 22px; }

/* ---------- Rechtstexte ---------- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(30px, 4vw, 40px); margin: 0 0 28px; }
.legal h2 { font-size: 21px; margin: 34px 0 8px; }
.legal h3 { font-size: 17px; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); }
.legal address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d8d8; padding: 34px 0; font-size: 15px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; margin-left: 18px; }
.site-footer a:first-child { margin-left: 0; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .site-header { position: static; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .brand img { height: 38px; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 44px; }
  section { padding: 48px 0; }
}

@media print {
  .site-header, .site-footer, .cta { display: none; }
}
