/* VLIG DACH — Stylesheet v3
   Konzept & Pflegehinweise: siehe README.md */

:root {
  /* Ink — kühles Anthrazit, nie #000 */
  --ink:        #17222c;
  --ink-soft:   #4c5a66;
  --ink-faint:  #6b7883;

  /* Blau-Rampe — ein Blau, sechs Stufen */
  --blue-950:   #051f36;
  --blue-900:   #072b49;
  --blue-800:   #0a3a61;
  --blue-700:   #0d4a7a;   /* Primär */
  --blue-600:   #175e94;
  --blue-100:   #dcebf7;
  --blue-50:    #eef5fb;

  /* Flächen */
  --bg:         #ffffff;
  --bg-alt:     #f6f8fa;

  /* Linien */
  --line:        #e4e9ee;
  --line-strong: #c9d4dd;

  /* Schatten — blaugetönt */
  --shadow-sm: 0 1px 2px rgba(13, 42, 68, 0.06), 0 2px 8px rgba(13, 42, 68, 0.05);
  --shadow-md: 0 2px 6px rgba(13, 42, 68, 0.06), 0 12px 32px rgba(13, 42, 68, 0.10);
  --shadow-lg: 0 4px 12px rgba(13, 42, 68, 0.08), 0 24px 64px rgba(13, 42, 68, 0.14);

  /* Typografie */
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Barlow Condensed", "Barlow", system-ui, sans-serif;
  --fs-display: clamp(2.6rem, 1.2rem + 4.5vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 2.6vw, 3rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.1rem, 1rem + 0.4vw, 1.25rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-kicker: 0.8125rem;
  --fs-caption: 0.75rem;
  --fs-stat: clamp(2.5rem, 2rem + 2vw, 3.5rem);

  /* Spacing & Geometrie */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 0.75rem; --s-4: 1rem;
  --s-6: 1.5rem;  --s-8: 2rem;   --s-12: 3rem;   --s-16: 4rem;
  --sec-pad: clamp(4rem, 2.5rem + 5vw, 7.5rem);
  --maxw: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2rem);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-btn: 10px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
}

h1, h2, h3, h4 { margin: 0 0 var(--s-3); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-3); }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
table { border-collapse: collapse; }
::selection { background: var(--blue-100); }
:focus:not(:focus-visible) { outline: none; }
:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 2px; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }

/* Gezeichnete Unterstreichung für Fließtext-Links */
.link {
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0% 1.5px;
  transition: background-size 0.3s ease;
  padding-bottom: 1px;
}
.link:hover { background-size: 100% 1.5px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--blue-700); color: #fff; padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* Anker-Ziele nicht unter dem Sticky-Header verstecken */
[id] { scroll-margin-top: 110px; }

/* ---------- Utilities ---------- */
.mt-2 { margin-top: var(--s-2); } .mt-4 { margin-top: var(--s-4); }
.mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); }
.mt-12 { margin-top: var(--s-12); }
.mb-0 { margin-bottom: 0; }
.self-start { align-self: flex-start; }
.muted { color: var(--ink-soft); }
.faint { color: var(--ink-faint); }
.small { font-size: var(--fs-small); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Vorschau-Hinweis (vor Livegang entfernen) ---------- */
.preview-bar {
  background: var(--blue-900); color: #8fb8d9;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 6px 16px; font-weight: 600;
}

/* ---------- Topline ---------- */
.topline {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem; color: var(--ink-soft);
}
.topin {
  display: flex; justify-content: space-between; align-items: center;
  gap: var(--s-4); padding-block: 7px; flex-wrap: wrap;
}
.topin .tel { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.topin .tel:hover { color: var(--blue-700); }
.topin .hours { color: var(--ink-faint); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
}
/* Scroll-Snap: nach 120px bekommt der Header Kante + Schatten */
@supports (animation-timeline: scroll()) {
  .site-header { animation: hdr linear both; animation-timeline: scroll(); animation-range: 0 120px; }
  @keyframes hdr {
    to { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(13, 42, 68, 0.08); background: rgba(255, 255, 255, 0.98); }
  }
}
@supports not (animation-timeline: scroll()) {
  .site-header { border-bottom-color: var(--line); }
}

.nav {
  display: flex; align-items: center; gap: var(--s-6);
  max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--gutter);
}
.nav-brand {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.5rem; letter-spacing: 0.01em;
  color: var(--ink); margin-right: auto; line-height: 1;
  display: flex; align-items: center; gap: 8px;
}
.nav-brand:hover { color: var(--ink); }
.dachtag {
  background: var(--blue-700); color: #fff;
  font-family: var(--font-body);
  font-size: 0.625rem; letter-spacing: 0.12em; font-weight: 700;
  padding: 3px 7px; border-radius: 4px; transform: translateY(-1px);
}
.nav-links { display: flex; align-items: center; gap: var(--s-6); }
.nav-links > a {
  color: var(--ink); font-size: 0.9375rem; font-weight: 500;
  padding-block: 6px; position: relative;
}
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--blue-700);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-links > a:not(.btn):hover::after,
.nav-links > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links > a[aria-current="page"] { color: var(--blue-700); }

.nav-tel { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.nav-tel svg { vertical-align: -2px; margin-right: 5px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); cursor: pointer; color: var(--ink);
  padding: 8px 10px; line-height: 0;
}
.nav-toggle svg { display: block; }

@media (max-width: 980px) {
  .nav { flex-wrap: wrap; gap: var(--s-3); }
  .nav-toggle { display: block; }
  .nav-links {
    display: none; width: 100%; flex-direction: column; align-items: stretch;
    gap: 0; padding-top: var(--s-3); border-top: 1px solid var(--line);
    margin-top: var(--s-2);
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links > a:not(.btn)::after { content: none; }
  .nav-links > .btn { margin-top: var(--s-3); justify-content: center; }
  .nav-tel { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 14px 28px; border-radius: var(--radius-btn);
  border: 1.5px solid transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--blue-700); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.btn-primary:hover { background: var(--blue-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.12); }
.btn-secondary { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-secondary:hover { border-color: var(--blue-700); color: var(--blue-700); background: var(--blue-50); }
.btn-sm { padding: 10px 18px; font-size: 0.9375rem; }
.btn-ghost {
  padding: 6px 2px; border: none; color: var(--blue-700); font-weight: 600;
  background: transparent; gap: 6px;
}
.btn-ghost .arrow { transition: transform 0.25s var(--ease); }
.btn-ghost:hover .arrow { transform: translateX(4px); }
/* Auf dunklem Blau */
.btn-inv { background: #fff; color: var(--blue-900); }
.btn-inv:hover { background: var(--blue-50); color: var(--blue-900); transform: translateY(-1px); }
.btn-onblue { border-color: rgba(255, 255, 255, 0.65); color: #fff; }
.btn-onblue:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }

.ctarow { display: flex; gap: var(--s-3); flex-wrap: wrap; align-items: center; }
.cta-note { font-size: 0.875rem; color: var(--ink-faint); }

/* ---------- Typo-Bausteine ---------- */
.kicker {
  font-size: var(--fs-kicker); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue-700); font-weight: 600; margin: 0 0 var(--s-4);
}
.display {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-display); line-height: 1.02; letter-spacing: 0.005em;
  margin: 0;
}
.h2x {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-h2); line-height: 1.06; letter-spacing: 0.005em;
  margin: 0;
}
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.6; max-width: 58ch; margin: 0; }
.sec { padding-block: var(--sec-pad); }
.sec-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: var(--s-12); }
.fnote { font-size: 0.8125rem; line-height: 1.6; color: var(--ink-faint); }

/* Scroll-Reveal (progressive enhancement, ohne JS) */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise 0.7s ease-out both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @media (prefers-reduced-motion: reduce) { .reveal { animation: none; } }
}

/* ---------- Fotos ---------- */
.pic { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-alt); }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.pic-shadow { box-shadow: var(--shadow-md); }
.chip {
  position: absolute; top: var(--s-3); left: var(--s-3); z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 600; color: var(--ink);
}
figure { margin: 0; }
figcaption { font-size: 0.8125rem; color: var(--ink-faint); margin-top: var(--s-2); line-height: 1.5; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 7fr 5fr;
  gap: clamp(var(--s-8), 4vw, var(--s-16));
  align-items: center;
  padding-block: clamp(3rem, 2rem + 4vw, 6rem);
}
.hero-copy { position: relative; z-index: 1; }
/* Millimeterpapier hinter der Textspalte, nach unten auslaufend */
.hero-copy::before {
  content: ""; position: absolute; inset: -3rem -2rem -2rem -3rem; z-index: -1;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent 75%);
  mask-image: linear-gradient(to bottom, black, transparent 75%);
}
.hero-pic {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  /* bleedet rechts über den Container hinaus bis zur Viewport-Kante;
     min() klemmt den Wert bei schmalen Viewports (< maxw) auf 0 */
  margin-right: min(calc((100vw - var(--maxw)) / -2), 0px);
  aspect-ratio: 3 / 4; max-height: 640px;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-pic { margin-right: 0; aspect-ratio: 4 / 3; max-height: none; }
}

/* ---------- Zahlenleiste ---------- */
.stats { border-block: 1px solid var(--line); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0;
}
.stat {
  padding: var(--s-6) var(--s-6) var(--s-6) 0;
  display: flex; flex-direction: column; gap: 2px;
}
.stat + .stat { border-left: 1px solid var(--line); padding-left: var(--s-6); }
.stat dt {
  order: 2; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
}
.stat dd {
  order: 1; margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-stat); line-height: 1; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.stat dd .unit { font-size: 0.45em; color: var(--ink-faint); font-weight: 600; margin-left: 2px; }
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding-left: var(--s-6); border-left: none !important; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .stat dd { font-size: 2rem; }
}

/* ---------- Karten ---------- */
.card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card-img { overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card-img img { transform: scale(1.035); }
.card-body { padding: var(--s-6) var(--s-6) var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); flex: 1; }
.card-kicker {
  font-size: var(--fs-caption); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-700); font-weight: 600;
}
.card h3 { margin: 0; }
.card .mtxt { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }

.badge {
  display: inline-flex; align-items: center;
  background: var(--blue-100); color: var(--blue-700);
  font-size: 0.8125rem; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-sm);
}
.badge-neutral { background: var(--bg-alt); color: var(--ink-soft); }

/* ---------- Spec-Tabellen ---------- */
.spec { width: 100%; font-size: var(--fs-small); }
.spec th, .spec td { padding-block: 11px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec th { font-weight: 500; color: var(--ink-soft); width: 45%; padding-right: var(--s-3); }
.spec td { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.spec-right td { text-align: right; }
.spec-caption {
  font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 600;
  border-bottom: 2px solid var(--blue-700); padding-bottom: var(--s-2);
  text-align: left; caption-side: top; margin-bottom: var(--s-2);
  display: block; width: 100%;
}
.spectbl { margin-top: auto; }

/* Vergleichstabelle */
.compare { width: 100%; font-size: var(--fs-small); }
.compare th, .compare td { padding: 12px var(--s-3); text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th {
  font-size: var(--fs-caption); letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft); border-bottom: 2px solid var(--line-strong);
}
.compare tbody th { font-weight: 500; color: var(--ink-soft); }
.compare td { font-weight: 600; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }

/* ---------- Nummerierte Raster (CSS-Counter + Hover-Linie) ---------- */
.zgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-8); }
.zgrid-3 { grid-template-columns: repeat(3, 1fr); }
.zitem { position: relative; padding-top: var(--s-4); }
.zitem::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 2px; background: var(--blue-700);
  transition: width 0.35s var(--ease);
}
.zitem:hover::after { width: 100%; }
.zitem h3 { font-size: 1.1875rem; margin-bottom: var(--s-2); }
.zitem p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .zgrid, .zgrid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .zgrid, .zgrid-3 { grid-template-columns: 1fr; } }

/* ---------- Raster ---------- */
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-8), 5vw, 5rem); align-items: center; }
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .grid-3 { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); }
.gal .pic { aspect-ratio: 4 / 3; }
@media (max-width: 980px) { .gal { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gal { grid-template-columns: 1fr; } }

/* ---------- Maschinen-Detail ---------- */
.mach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--s-8), 4vw, 4rem); align-items: start; }
.mach-pics { position: sticky; top: 110px; }
.mach-hero { aspect-ratio: 4 / 3; }
.mach-hero.portrait { aspect-ratio: 3 / 4; max-height: 560px; }
.mach-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); margin-top: var(--s-3); }
.mach-thumbs .pic { aspect-ratio: 4 / 3; border-radius: var(--radius-md); }
@media (max-width: 980px) { .mach-grid { grid-template-columns: 1fr; } .mach-pics { position: static; } }

.checklist { list-style: none; margin: var(--s-4) 0 0; padding: 0; }
.checklist li {
  padding: var(--s-2) 0 var(--s-2) 30px; position: relative;
  color: var(--ink-soft); font-size: var(--fs-small);
}
.checklist li strong { color: var(--ink); font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 0.85em;
  width: 16px; height: 2px; background: var(--blue-700);
}

/* ---------- Poster-CTA (Blau-Band) ---------- */
.poster {
  background: var(--blue-900);
  color: #fff;
}
.poster-in { padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); display: flex; flex-direction: column; gap: var(--s-6); align-items: flex-start; }
.poster .kicker { color: #8fb8d9; margin: 0; }
.poster .display { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.75rem); max-width: 22ch; }
.poster .lead { color: #b9d3e8; }
.poster a.tel-big { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-variant-numeric: tabular-nums; }

/* ---------- Ablauf ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-6); }
.step { position: relative; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--blue-700);
}
.step h3 { font-size: 1.0625rem; margin: var(--s-6) 0 var(--s-2); }
.step p { font-size: var(--fs-small); color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; row-gap: var(--s-12); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; row-gap: var(--s-12); } }

/* ---------- Formular ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: var(--s-4); }
.field > label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field > label .opt { color: var(--ink-faint); font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg); caret-color: var(--blue-700);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover { border-color: var(--ink-faint); }
.input:focus-visible { border-color: var(--blue-700); outline: none; box-shadow: 0 0 0 3px var(--blue-100); }
textarea.input { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.8125rem; color: var(--ink-faint); margin-top: var(--s-3); }
.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(var(--s-8), 4vw, 4rem); align-items: start; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }
.info-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: var(--s-8);
}
.info-card h3 { font-size: 1.125rem; }
.info-card p { font-size: var(--fs-small); color: var(--ink-soft); }
.info-card .tel-big {
  font-family: var(--font-display); font-weight: 700; font-size: 1.75rem;
  color: var(--ink); font-variant-numeric: tabular-nums; display: inline-block;
}
.info-card .tel-big:hover { color: var(--blue-700); }
.info-card hr { border: none; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

/* ---------- Mobile Sticky-Bar ---------- */
.sticky-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  padding: 10px var(--s-4) calc(10px + env(safe-area-inset-bottom));
  gap: var(--s-3);
}
.sticky-bar .btn { flex: 1; padding: 12px 10px; font-size: 0.9375rem; white-space: nowrap; }
@media (max-width: 760px) {
  .sticky-bar { display: flex; }
  body { padding-bottom: 88px; }
}

/* ---------- Text-Seiten ---------- */
.text-page { max-width: 720px; }
.text-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.text-page h2 { font-size: 1.375rem; margin-top: var(--s-8); }
.text-page p { color: var(--ink-soft); }
.todo-note {
  background: #fdf6e3; border: 1px solid #f0e6c8; border-radius: var(--radius-md);
  padding: var(--s-4) var(--s-6); color: #7a6520; font-size: var(--fs-small); margin: var(--s-6) 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--blue-950);
  color: #b9d3e8; font-size: var(--fs-small);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--s-8); padding-block: var(--s-16) var(--s-8);
}
.footer .fbrand {
  font-family: var(--font-display); font-weight: 700; font-size: 1.375rem;
  color: #fff; display: inline-flex; align-items: center; gap: 8px;
}
.footer h4 { color: #fff; font-size: 0.9375rem; margin-bottom: var(--s-3); font-weight: 600; }
.footer a { color: #b9d3e8; }
.footer a:hover { color: #fff; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding-block: 4px; }
.footer .ftx { line-height: 1.7; color: #8fb8d9; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-block: var(--s-6);
  display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap;
  font-size: 0.8125rem; color: #8fb8d9;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Druck ---------- */
@media print {
  .site-header, .topline, .preview-bar, .sticky-bar, .poster { display: none; }
}
