/* WJS – Weber Jürg Solutions | modernes, schlankes Stylesheet (ohne Frameworks) */
:root {
  --blue: #1f6fd1;
  --blue-dark: #134a8e;
  --yellow: #f5d90a;
  --text: #1d2330;
  --muted: #5b6475;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --border: #e2e7ef;
  --radius: 14px;
  --max: 960px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8ecf3;
    --muted: #a5aec0;
    --bg: #0f141c;
    --bg-soft: #161d28;
    --border: #263042;
    --blue: #5b9dff;
  }
}

*, *::before, *::after { 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: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--yellow); color: #000; padding: .5rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header & Navigation */
.site-header {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-block: .9rem;
}
.brand {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 700; letter-spacing: .02em; text-decoration: none; color: var(--text);
}
.brand-mark {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 10px;
  background: var(--blue); color: var(--yellow);
  font-size: .95rem; font-weight: 800;
}
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; letter-spacing: .08em; }

.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: .45rem .9rem; border-radius: 999px;
  text-decoration: none; color: var(--text); font-weight: 500;
}
.site-nav a:hover { background: var(--bg-soft); }
.site-nav a[aria-current="page"] { background: var(--blue); color: #fff; }

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(19,74,142,.92), rgba(31,111,209,.85)),
    repeating-linear-gradient(90deg, var(--yellow) 0 18px, transparent 18px 60px);
  color: #fff;
  padding-block: clamp(3rem, 9vw, 6rem);
}
.hero h1 {
  margin: 0; font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; letter-spacing: -.01em;
}
.hero h1::after {
  content: ""; display: block; width: 4rem; height: 5px;
  background: var(--yellow); border-radius: 3px; margin-top: 1rem;
}
.hero p { max-width: 46rem; font-size: 1.15rem; opacity: .95; margin: 1.25rem 0 0; }

main { flex: 1; }
.section { padding-block: clamp(2.5rem, 6vw, 4rem); }

/* Leistungen */
.cards {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.card {
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
  border-top: 4px solid var(--yellow);
}
.card h2, .card h3 { font-size: 1.1rem; margin: 0; line-height: 1.45; font-weight: 700; }
.card p { margin: .4rem 0 0; color: var(--muted); font-size: .97rem; line-height: 1.55; }
.section-title { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 1.25rem; }
.hero .tagline { font-weight: 600; color: var(--yellow); opacity: 1; margin-top: 1rem; }
.note { margin: 1.5rem 0 0; color: var(--muted); }
.timeline span { display: block; color: var(--muted); }

.cta {
  margin-top: 2.5rem; padding: 2rem; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta p { margin: 0; font-size: 1.15rem; }
.cta strong { display: block; font-size: 1.35rem; }

.button {
  display: inline-block; border: 0; cursor: pointer;
  background: var(--yellow); color: #111; font: inherit; font-weight: 700;
  padding: .8rem 1.6rem; border-radius: 999px; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.button:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,0,0,.15); }

/* Über uns */
.prose { max-width: 44rem; }
.prose p { margin: 0 0 1.2rem; }
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 3px solid var(--yellow); }
.timeline li { padding: 0 0 1rem 1.2rem; position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: .55rem;
  width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 3px solid var(--bg);
}
.timeline strong { color: var(--blue); }

/* Impressum */
.prose h2 { font-size: 1.3rem; margin: 2.2rem 0 .6rem; }
.prose address { font-style: normal; margin-bottom: 1.2rem; }
.todo { background: var(--yellow); color: #000; padding: 0 .3em; border-radius: 4px; }

/* Formular */
.form { max-width: 36rem; display: grid; gap: 1.1rem; }
.form .row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.form input, .form textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: 10px; padding: .75rem .9rem; width: 100%;
}
.form textarea { min-height: 12rem; resize: vertical; }
.req { color: #c0392b; }
.hint { color: var(--muted); font-size: .9rem; margin: 0; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-soft); color: var(--muted); font-size: .9rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; }
.site-footer a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}