/* Elektronikservice Weniger – Stylesheet */
:root {
  --navy: #0b2a4a;
  --blue: #0a66c2;
  --blue-dark: #084f96;
  --cyan: #19c3e6;
  --yellow: #ffd60a;
  --ink: #1b2430;
  --muted: #5a6675;
  --line: #e2e7ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --radius: 10px;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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.65;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.25; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
li { margin-bottom: .35em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; }

/* Topbar */
.topbar { background: var(--navy); color: #cfe0f3; font-size: .9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

/* Header + Navigation */
.site-header { background: #fff; position: relative; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { text-decoration: none; color: var(--navy); display: flex; flex-direction: column; line-height: 1.1; }
.brand { flex-shrink: 0; }
.brand strong { font-size: 1.25rem; letter-spacing: -.01em; }
.brand strong span { color: var(--blue); }
.brand small { color: var(--muted); font-size: .8rem; margin-top: 3px; }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; color: var(--navy); }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.main-nav li { margin: 0; }
.main-nav a { display: block; padding: 8px 9px; white-space: nowrap; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; }
.main-nav a:hover { background: var(--bg-soft); color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); background: #e8f1fb; }

@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.08); }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .main-nav a { padding: 11px 10px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.hero .wrap { position: relative; padding-top: 90px; padding-bottom: 90px; }
.hero h1 { color: #fff; max-width: 720px; }
.hero p { font-size: 1.15rem; max-width: 640px; color: #e7f0fa; }
.hero .accent { color: var(--yellow); }

.page-head { background: linear-gradient(120deg, var(--navy), var(--blue-dark)); color: #fff; }
.page-head .wrap { padding-top: 48px; padding-bottom: 44px; }
.page-head h1 { color: #fff; margin: 0; }
.page-head p { color: #d6e6f7; margin: .5em 0 0; max-width: 700px; }

/* Buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 8px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; border: 2px solid var(--blue); }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.ghost:hover { background: rgba(255,255,255,.12); }
.btn.light { background: #fff; color: var(--blue); border-color: var(--line); }
.btn.light:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Sections */
section { padding: 56px 0; }
section.soft { background: var(--bg-soft); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 760px; }

.notice { border-left: 4px solid #e0a800; background: #fff8e1; padding: 14px 18px; border-radius: 6px; margin: 0 0 1.4em; }
.notice strong { color: #7a5b00; }

.grid { display: grid; gap: 22px; }
.grid.cards { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.two { grid-template-columns: 1fr 1fr; align-items: start; gap: 40px; }
.grid.gallery { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
@media (max-width: 800px) { .grid.two { grid-template-columns: 1fr; gap: 28px; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(10,102,194,.12); transform: translateY(-2px); color: var(--ink); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }
.card .more { margin-top: auto; padding-top: 14px; color: var(--blue); font-weight: 600; font-size: .92rem; }
.card .tag { display: inline-block; align-self: flex-start; background: var(--yellow); color: var(--navy); font-size: .75rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .04em; }

.gallery img, .figure img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; background: var(--bg-soft); }
.figure.contain img { object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 12px; }
.figure figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
figure { margin: 0; }

.check { list-style: none; padding: 0; }
.check li { position: relative; padding-left: 28px; }
.check li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 6px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }

.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { border-bottom: 1px solid var(--line); margin: 0; }
.linklist a { display: block; padding: 11px 2px; text-decoration: none; }
.linklist a:hover { text-decoration: underline; }

.partners { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.partners a { display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; height: 96px; width: 190px; }
.partners a:hover { border-color: var(--blue); }
.partners img { max-height: 64px; width: auto; }

.contact-box { background: var(--navy); color: #e3eefa; border-radius: var(--radius); padding: 28px; }
.contact-box h2, .contact-box h3 { color: #fff; }
.contact-box a { color: #fff; }
dl.contact { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
dl.contact dt { color: var(--muted); }
.contact-box dl.contact dt { color: #9fb8d3; }
dl.contact dd { margin: 0; }

.timeline { list-style: none; padding: 0; border-left: 3px solid var(--line); margin-left: 6px; }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 3px solid #fff; }
.timeline strong { display: block; color: var(--navy); }

.map { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); padding: 28px; text-align: center; }

.legal h2 { margin-top: 1.6em; font-size: 1.3rem; }
.legal h3 { margin-top: 1.2em; }

/* Footer */
.site-footer { background: #0a1f36; color: #b9cbe0; font-size: .95rem; padding: 44px 0 24px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h3 { color: #fff; font-size: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
