/* ============================================================
   W&H Holding — Legal-Seiten (Impressum / Datenschutz)
   Eigenes, editoriales Layout im Brand-System (schwarz-weiss, Inter,
   gerundete Ecken). Wird von impressum.html + datenschutz.html geteilt.
   ============================================================ */

@font-face { font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url('assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url('assets/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --ink: #111417;
  --ink-2: #22282e;
  --ink-soft: #4d5866;
  --g-300: #c6cace;
  --line: #e4e6e9;
  --mist: #f1f2f4;
  --page: #fbfbfa;
  --white: #ffffff;
  --r: 16px;
  --r-lg: 26px;
  --frame: clamp(1rem, 3vw, 2rem);
  --maxw: 1080px;
}

* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: #e7e8ea; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: #e7e8ea;
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ---------- Top-Bar ---------- */
.ltop {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.85rem clamp(1.25rem, 3vw, 2.5rem);
  background: color-mix(in srgb, var(--page) 85%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.ltop__logo { height: clamp(20px, 2.4vw, 26px); width: auto; display: block; }
.ltop__back {
  font-size: 0.9rem; color: var(--ink-soft); text-decoration: none;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: color 0.2s ease;
}
.ltop__back:hover { color: var(--ink); }

/* ---------- Hero-Kopf ---------- */
.lhero {
  background: var(--ink);
  color: #f4f5f6;
  position: relative;
  overflow: hidden;
}
.lhero__grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, #fff 6%, transparent) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(120% 100% at 85% 0%, #000 25%, transparent 70%);
          mask-image: radial-gradient(120% 100% at 85% 0%, #000 25%, transparent 70%);
}
.lhero__inner {
  position: relative;
  max-width: var(--maxw); margin-inline: auto;
  padding: clamp(3rem, 8vw, 6rem) var(--frame) clamp(2.5rem, 6vw, 4.5rem);
}
.lhero__eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
  color: #9aa6b4; margin: 0 0 1rem;
}
.lhero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
  font-weight: 600; letter-spacing: -0.04em; line-height: 1.0;
  text-wrap: balance;
}
.lhero__lead {
  margin: 1.25rem 0 0; max-width: 60ch;
  color: #b7c0cb; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.65;
}
.lhero__lead strong { color: #fff; font-weight: 600; }

/* ---------- Blatt (weiss, gerundet, ueber dem Hero) ---------- */
.lsheet {
  position: relative; z-index: 2;
  background: var(--page);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: -1.25rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) var(--frame) clamp(3rem, 7vw, 5rem);
}
.lwrap {
  max-width: var(--maxw); margin-inline: auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .lwrap { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Sprung-Navigation (sticky, links) ---------- */
.ltoc {
  position: sticky; top: 5rem;
  font-size: 0.9rem;
}
.ltoc__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 0.9rem;
}
.ltoc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.ltoc li { margin: 0; counter-increment: toc; }
.ltoc a {
  display: flex; gap: 0.6rem; align-items: baseline;
  padding: 0.4rem 0;
  color: var(--ink-soft); text-decoration: none;
  border-left: 2px solid transparent; padding-left: 0.9rem; margin-left: -0.9rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.ltoc a::before {
  content: counter(toc, decimal-leading-zero);
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem; color: var(--g-300); font-weight: 600;
}
.ltoc a:hover { color: var(--ink); }
.ltoc a.is-active { color: var(--ink); border-left-color: var(--ink); font-weight: 500; }
@media (max-width: 820px) {
  .ltoc { position: static; top: auto;
    background: var(--mist); border-radius: var(--r); padding: 1.1rem 1.25rem; }
}

/* ---------- Fliesstext ---------- */
.lbody { min-width: 0; }
.lbody > p:first-child { margin-top: 0; }
.lbody .intro {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink); line-height: 1.6; max-width: 64ch;
  margin: 0 0 1.5rem;
}
.lbody .intro strong { font-weight: 600; }

.lsection { scroll-margin-top: 5rem; padding-top: clamp(1.5rem, 3vw, 2.25rem); }
.lsection + .lsection { border-top: 1px solid var(--line); margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.lsection__head {
  display: flex; align-items: baseline; gap: 0.85rem; margin-bottom: 0.75rem;
}
.lsection__no {
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--g-300); font-variant-numeric: tabular-nums; line-height: 1.4;
}
.lsection h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.2;
}
.lbody p { margin: 0 0 1rem; max-width: 64ch; color: var(--ink-soft); }
.lbody p.on-ink { color: var(--ink); }
.lbody strong { color: var(--ink); font-weight: 600; }
.lbody a[href^="mailto"], .lbody a[href^="tel"], .lbody address a {
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid rgba(17, 20, 23, 0.28); text-decoration: none;
}
.lbody a[href^="mailto"]:hover, .lbody a[href^="tel"]:hover, .lbody address a:hover { border-color: var(--ink); }

.lbody ul { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--ink-soft); max-width: 64ch; }
.lbody li { margin: 0.35rem 0; }

/* ---------- Impressum: Angaben als Karten-Grid ---------- */
.impress-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  margin: 0 0 1rem;
}
@media (max-width: 560px) { .impress-grid { grid-template-columns: 1fr; } }
.impress-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 1.1rem 1.25rem;
}
.impress-cell.is-wide { grid-column: 1 / -1; }
.impress-cell dt {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 0.35rem;
}
.impress-cell dd {
  margin: 0; font-size: 1.05rem; color: var(--ink); line-height: 1.55;
}
.impress-cell dd a {
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid rgba(17,20,23,0.28); text-decoration: none;
}
.impress-cell dd a:hover { border-color: var(--ink); }

address { font-style: normal; color: var(--ink); line-height: 1.7; margin: 0 0 1rem; }

.lstand { margin-top: 2.5rem; font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.lfoot { background: var(--page); border-top: 1px solid var(--line); }
.lfoot__inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 1.75rem var(--frame);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; align-items: center;
  font-size: 0.9rem; color: var(--ink-soft);
}
.lfoot__id { display: inline-flex; align-items: center; gap: 0.6rem; }
.lfoot__id img { height: 18px; width: auto; }
.lfoot__nav { display: flex; gap: 1.5rem; }
.lfoot__nav a { text-decoration: none; transition: color 0.2s ease; }
.lfoot__nav a:hover { color: var(--ink); }
