/* EDV Scherer – Stylesheet
   Keine externen Schriftarten, keine Cookies, kein JavaScript. */

:root {
  --orange: #ee7621;        /* Logo-Farbe */
  --orange-dark: #b9530b;   /* für Text/Links (ausreichender Kontrast) */
  --ink: #1d1f22;
  --muted: #5b6168;
  --line: #dfe2e6;
  --bg: #f4f5f7;
  --card: #ffffff;
  --header: #16181b;
  --radius: 10px;
  --max: 1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--orange-dark); text-underline-offset: 2px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 3px; }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--orange); color: #000; padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 10px; top: 10px; }

/* ---------- Header ---------- */
.site-header {
  background: #fff;
  color: var(--ink);
  border-bottom: 4px solid var(--orange);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 14px; padding-bottom: 14px;
}

.logo { display: inline-block; line-height: 0; }
.logo img { width: 320px; max-width: 100%; height: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.nav a {
  display: block; padding: 8px 14px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-size: .95rem;
}
.nav a:hover { background: #eceef1; color: var(--ink); }
.nav a[aria-current="page"] { background: var(--orange); color: #000; }

/* ---------- Einstieg (Startseite) ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(238,118,33,.35), transparent 45%),
    linear-gradient(135deg, #16181b 0%, #262a30 100%);
  color: #fff;
  padding: clamp(36px, 6vw, 72px) 0;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero-kicker {
  margin: 0 0 .6em; color: var(--orange);
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem;
}
.hero-lead { margin: 0; max-width: 46ch; font-size: 1.15rem; color: #d6d9dd; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 8px;
  font-weight: 600; text-decoration: none; border: 2px solid var(--orange);
}
.btn-primary { background: var(--orange); color: #000; }
.btn-primary:hover { background: #ff8a3a; color: #000; }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Inhalt ---------- */
main { padding: 36px 0 48px; }

h1, h2, h3 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h2 { font-size: 1.35rem; margin-top: 1.6em; }
h3 { font-size: 1.1rem; }
.lead { font-size: 1.15rem; color: var(--muted); margin-top: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin: 24px 0;
}
.service { border-top: 4px solid var(--orange); }
.service h3 { margin-bottom: .4em; }
.service p { margin: 0; color: var(--muted); }
.service p.more { margin-top: 10px; padding-left: 26px; font-style: italic; }
.checks { list-style: none; margin: 14px 0 0; padding: 0; }
.checks li { position: relative; padding: 4px 0 4px 26px; font-size: .95rem; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 12px; height: 7px;
  border-left: 2.5px solid var(--orange-dark); border-bottom: 2.5px solid var(--orange-dark);
  transform: rotate(-45deg);
}
/* Schwerpunkt: Netzwerktechnik */
.featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff 60%, #fff4ec 100%);
  border-top-width: 6px;
  padding: 26px 28px;
}
.featured h3 { font-size: 1.4rem; }
.featured > p:not(.badge):not(.more) { max-width: 60ch; }
.featured .checks { columns: 2; column-gap: 32px; }
.featured .checks li { break-inside: avoid; }
.badge {
  display: inline-block; margin: 0 0 10px;
  background: var(--orange); color: #000;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.featured p.badge { color: #000; margin: 0 0 10px; }
.featured .icon { display: block; }
.icon { width: 36px; height: 36px; color: var(--orange-dark); margin-bottom: 10px; }

.two {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 18px;
}
.two h2 { margin-top: 0; }

.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours th { font-weight: 600; padding-right: 16px; }
.hours td { white-space: nowrap; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }

address { font-style: normal; }
.contact-list { list-style: none; padding: 0; margin: 14px 0 0; }
.contact-list li { padding: 3px 0; }
.contact-list span { display: inline-block; min-width: 4.5em; color: var(--muted); }

.note {
  margin-top: 18px; font-size: .92rem; color: var(--muted);
  border-left: 4px solid var(--line); padding: 6px 14px;
}

.prose { max-width: 75ch; }
.prose ul { padding-left: 1.3em; }

/* ---------- Marken ---------- */
.brands { margin: 8px 0 28px; }
.section-intro { margin: -4px 0 16px; color: var(--muted); }
.brand-list img[src$="ubiquiti.png"] { max-height: 44px; }
.brand-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.brand-list li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  height: 96px; padding: 18px 22px;
  display: flex; align-items: center; justify-content: center;
}
.brand-list img { max-height: 40px; width: auto; max-width: 100%; }
.brand-list img[src$="hikvision.svg"] { max-height: 26px; }
.brand-list img[src$="terra.png"] { max-height: 58px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--header); color: #c9cdd2; font-size: .9rem;
  padding: 22px 0;
}
.site-footer .wrap {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  align-items: center; justify-content: space-between;
}
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .featured .checks { columns: 1; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .card { padding: 18px; }
}

@media print {
  .nav, .hero-actions, .skip { display: none; }
  .hero { background: none; color: #000; padding: 0; }
  .hero h1, .hero-lead { color: #000; }
  .site-header { border-bottom-color: #000; }
  .site-header, .site-footer { background: none; color: #000; }
  .site-footer a { color: #000; }
  body { background: #fff; }
}
