/* ============================================================
   LWO Digital GmbH — lewodigital.de/handwerk · Designsystem v2
   „Baustelle trifft Präzision“ — Anthrazit, warmes Weiß, Sage, Signal nur für dringend.
   Schriften: Barlow Semi Condensed (Headlines) + Barlow (Text), self-hosted, OFL.
   ============================================================ */
@font-face { font-family: "Barlow SC"; src: url("../assets/fonts/barlow-semi-condensed-800.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: block; }
@font-face { font-family: "Barlow SC"; src: url("../assets/fonts/barlow-semi-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: block; }
@font-face { font-family: "Barlow SC"; src: url("../assets/fonts/barlow-semi-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: block; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: block; }
@font-face { font-family: "Barlow"; src: url("../assets/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: block; }

:root {
  --anth: #1b211f;          /* Anthrazit, leicht grünlich */
  --anth-2: #242b29;        /* Flächen auf Anthrazit */
  --anth-3: #2e3734;        /* Linien/Hover auf Anthrazit */
  --warm: #f6f7f7;          /* klares, leicht kühles Off-White */
  --white: #ffffff;
  --ink: #1b211f;
  --muted: #5a615e;         /* 6.0:1 auf warm */
  --muted-on-dark: #a9b1ad; /* 7.3:1 auf anth */
  --line: rgba(27, 33, 31, 0.12);
  --line-on-dark: rgba(250, 249, 246, 0.14);
  --sage: #aec4bc;
  --sage-deep: #4a6a5e;
  --sage-ink: #3e5c50;
  --signal: #f26b1d;        /* nur „dringend“ */
  --font-head: "Barlow SC", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 6px;
  --pad-x: clamp(20px, 5vw, 72px);
  --max-w: 1240px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--warm); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--pad-x), var(--max-w)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 0.96; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-ink); margin-bottom: 18px; }
.on-dark .eyebrow { color: var(--sage); }
.on-dark { color: var(--warm); }
.sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; max-width: 30em; }
.on-dark .sub { color: rgba(250, 249, 246, 0.86); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 22px; border-radius: var(--radius); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; letter-spacing: 0.01em; text-decoration: none; line-height: 1.1; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s; }
.btn:hover { transform: translateY(-1px); }
.btn--sage { background: var(--sage); color: var(--anth); }
.btn--sage:hover { background: #c0d2cb; }
.btn--deep { background: var(--sage-deep); color: #fff; }
.btn--deep:hover { background: var(--sage-ink); }
.btn--ghost-dark { background: transparent; color: var(--warm); border-color: rgba(250,249,246,0.4); }
.btn--ghost-dark:hover { border-color: var(--warm); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(27,33,31,0.3); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 26px; font-size: 1.2rem; }
.btn--tel { flex-wrap: wrap; column-gap: 10px; }
.btn--tel strong { font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 480px) {
  .btn--tel { flex-direction: column; row-gap: 0; padding: 14px 20px; }
  .btn--tel .btn__lbl { font-family: var(--font-body); font-weight: 500; font-size: 0.9rem; opacity: 0.9; }
  .btn--tel strong { font-size: 1.5rem; }
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
@media (max-width: 640px) { .cta-row .btn { width: 100%; } }
.hint { margin-top: 18px; font-size: 0.95rem; color: var(--muted); }
.on-dark .hint { color: var(--muted-on-dark); }

/* Nav */
.nav { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.nav--sticky { position: sticky; background: rgba(250,249,246,0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__inner { width: min(100% - 2 * var(--pad-x), var(--max-w)); margin-inline: auto; display: flex; align-items: center; gap: 28px; height: 76px; }
.nav__logo img { width: 50px; }
.nav__links { display: flex; gap: 26px; margin-left: 10px; }
.nav__links a { text-decoration: none; font-weight: 500; font-size: 1rem; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav--dark .nav__links a { color: rgba(250,249,246,0.8); }
.nav--dark .nav__links a:hover { color: var(--warm); }
.nav__cta { margin-left: auto; padding: 11px 18px; font-size: 1rem; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__inner { height: 68px; } .nav__logo img { width: 42px; } }

/* Varianten-Leiste (nur Vorschau) */
.varbar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 50; display: flex; gap: 6px; padding: 6px; background: rgba(27,33,31,0.92); border-radius: 999px; backdrop-filter: blur(8px); }
.varbar a { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--warm); text-decoration: none; padding: 7px 14px; border-radius: 999px; }
.varbar a.is-active { background: var(--sage); color: var(--anth); }
.varbar a:hover:not(.is-active) { background: var(--anth-3); }
@media (max-width: 640px) {
  .varbar { bottom: 10px; }
  .varbar a { padding: 7px 12px; font-size: 0.85rem; }
  .varbar a span { display: none; }
}

/* ---------- Nav: Logo links, Glas-Pill mittig, Telefon-Pill rechts ---------- */
.nav--dark { position: fixed; top: 0; left: 0; right: 0; z-index: 50; background: transparent; border-bottom: 1px solid transparent; transition: background .35s, border-color .35s; }
.nav--dark .nav__inner { height: 84px; transition: height .3s; gap: 16px; }
.nav--dark.is-scrolled { background: rgba(20,25,23,0.78); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(250,249,246,0.08); }
.nav--dark.is-scrolled .nav__inner { height: 66px; }
.nav--dark .nav__links { margin: 0 auto; display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 8px; border-radius: 999px; background: rgba(27,33,31,0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); }
.nav--dark .nav__links a { position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-weight: 500; font-size: 0.95rem; color: rgba(250,249,246,0.72); transition: color .15s, background .15s; }
.nav--dark .nav__links a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); transform: translateX(-50%) scale(0); transition: transform .15s; }
.nav--dark .nav__links a:hover { color: #fff; }
.nav--dark .nav__links a:hover::after, .nav--dark .nav__links a.is-current::after { transform: translateX(-50%) scale(1); }
.nav--dark .nav__links a.is-current { color: #fff; background: rgba(255,255,255,0.06); }
.nav__tel { margin-left: 0; height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 999px; background: rgba(27,33,31,0.5); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); color: var(--warm); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; transition: border-color .25s, background .25s; }
.nav__tel:hover { border-color: var(--sage); background: rgba(27,33,31,0.8); }
.nav__pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: #5ed38a; flex: none; }
.nav__pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #5ed38a; animation: nav-pulse 1.8s ease-out infinite; }
@keyframes nav-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.5); opacity: 0; } }
@media (max-width: 900px) { .nav--dark .nav__links { display: none; } .nav__tel { margin-left: auto; height: 42px; font-size: 0.95rem; padding: 0 13px; } .nav__tel-nr { display: none; } .nav--dark .nav__inner { height: 68px; } }
@media (prefers-reduced-motion: reduce) { .nav__pulse::after { animation: none; } .nav--dark .nav__links a, .nav--dark .nav__links a::after { transition: none; } }
