/* ============================================================
   PR Raumdesign – Fachbetrieb für Maler- & Bodenlegerarbeiten
   Designsystem: Weiß / Schwarz / Logo-Rot · technisch · präzise
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f6f6f4;
  --ink: #101010;
  --ink-soft: #3c3c38;
  --muted: #5c5c56;
  --line: #e3e3df;
  --line-dark: #262624;
  --red: #e30613;
  --red-dark: #b8050f;
  --dark: #0e0e0e;
  --dark-soft: #161615;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius: 6px;
  --radius-img: 10px;
  --shadow-img: 0 14px 38px rgba(10,10,10,0.13), 0 3px 10px rgba(10,10,10,0.07);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--red); color: #fff; }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0 0 0.55em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); letter-spacing: -0.012em; }
p { margin: 0 0 1.05rem; color: var(--muted); }
p.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
strong { color: var(--ink); font-weight: 600; }

/* Technisches Label: "01 / LEISTUNGEN" */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.1rem;
}
.tag::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--red);
}
.section-dark .tag { color: #ff4b55; }
.section-dark .tag::before { background: #ff4b55; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: var(--section-y) 0; }
.section-paper {
  background:
    linear-gradient(rgba(246,246,244,0.94), rgba(246,246,244,0.94)),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    var(--paper);
}
.section-dark { background: var(--dark); color: #d9d9d4; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #a3a39d; }
.section-dark p.lead { color: #c9c9c4; }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .tag { justify-content: center; }

/* Editoriale Abschnittsnummer: <div class="section-head" data-idx="01"> */
.section-head[data-idx] {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  max-width: 860px;
}
.section-head[data-idx]::before {
  content: "(" attr(data-idx) ")";
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.08em;
  padding-top: 0.5rem;
}
.section-head[data-idx] > * { grid-column: 2; }
@media (max-width: 720px) {
  .section-head[data-idx] { grid-template-columns: 1fr; }
  .section-head[data-idx]::before { padding-top: 0; }
  .section-head[data-idx] > * { grid-column: 1; }
}

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.7em;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn .arrow { font-family: var(--font-body); font-weight: 400; transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

/* Text-Link mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--red);
}
.link-arrow .arrow { transition: transform 0.18s ease; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand img { width: 52px; height: 52px; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  padding: 0.3em 0;
}
.nav a:not(.btn):hover { color: var(--ink); }
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--red);
  transition: width 0.2s ease;
}
.nav a:not(.btn):hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--ink); font-weight: 600; }
.nav .btn { padding: 0.7em 1.3em; font-size: 0.82rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 920px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.2rem;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 0.8em 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
  body.nav-open .nav-toggle span { opacity: 0; }
  body.nav-open .nav-toggle::before { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero (Startseite): Aufmaß-Ästhetik ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(246,246,244,0.92), rgba(246,246,244,0.92)),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    var(--paper);
  padding: clamp(2.8rem, 5vw, 4.5rem) 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-wrap { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.3rem, 4.2vw, 3.7rem);
  position: relative;
}
.hero h1 .accent { color: var(--red); }
.hero .lead { margin-top: 1rem; max-width: 50ch; font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.hero .cta-row { align-items: center; }

/* Achsenkreuz-Ornament */
.crosshair {
  position: absolute;
  width: 56px; height: 56px;
  pointer-events: none;
}
.crosshair::before, .crosshair::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.crosshair::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.crosshair::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }

/* Bild-Tafel mit Callouts (wie eine technische Zeichnung) */
.plate { position: relative; }
.plate img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
}
.plate .svc-cap, .plate .callout .lbl { border-radius: 4px; }
.hero .plate img { aspect-ratio: 16 / 7.5; }
.plate .callout {
  position: absolute;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.plate .callout .mark {
  width: 17px; height: 17px;
  position: relative;
  flex-shrink: 0;
}
.plate .callout .mark::before, .plate .callout .mark::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.plate .callout .mark::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.plate .callout .mark::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.plate .callout .line {
  width: clamp(30px, 6vw, 90px);
  height: 1.5px;
  background: var(--red);
  flex-shrink: 0;
}
.plate .callout .lbl {
  background: var(--dark);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5em 0.85em;
  white-space: nowrap;
}
.plate .callout.flip { flex-direction: row-reverse; }
/* Maßband am unteren Tafel-Rand */
.plate .scale {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.9) 0 1px, transparent 1px 24px),
    linear-gradient(rgba(14,14,14,0.55), rgba(14,14,14,0.55));
  pointer-events: none;
}
@media (max-width: 720px) {
  .hero .plate img { aspect-ratio: 4 / 3; }
  .plate .callout .lbl { font-size: 0.62rem; }
}

/* ---------- Leistungs-Panels (asymmetrisch, Bild randabfallend) ---------- */
.svc-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
}
.svc-panel .svc-media { position: relative; }
.svc-panel .svc-media img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
}
.svc-panel .svc-num {
  position: absolute;
  top: -0.42em;
  right: 0.6rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 9vw, 8rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px var(--red);
  opacity: 0.85;
  pointer-events: none;
}
.svc-panel .svc-cap {
  position: absolute;
  left: 0; bottom: 0;
  border-radius: 0 4px 0 var(--radius-img);
  background: var(--dark);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55em 0.9em;
}
.svc-panel .svc-body { max-width: 520px; padding-right: var(--gutter); }
.svc-panel.flip .svc-media { order: 2; }
.svc-panel.flip .svc-num { right: auto; left: 0.6rem; }
.svc-panel.flip .svc-body { order: 1; justify-self: end; padding-right: 0; padding-left: var(--gutter); }
@media (max-width: 900px) {
  .svc-panel { grid-template-columns: 1fr; gap: 1.5rem; padding: 2.5rem var(--gutter); }
  .svc-panel .svc-body, .svc-panel.flip .svc-body { padding: 0; max-width: none; order: 2; justify-self: start; }
  .svc-panel.flip .svc-media { order: 1; }
}

/* Kompakte Stichwortliste unter Panel-Text */
.minitags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  margin: 1.1rem 0 1.4rem;
}
.minitags li {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
}
.minitags li::before { content: "+"; color: var(--red); font-weight: 500; }

/* ---------- Manifest (Sticky-Kopf links, nummerierte Grundsätze rechts) ---------- */
.manifest {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.manifest-side { position: sticky; top: 110px; }
.manifest-side .lead { margin-top: 0.8rem; }
.m-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 1.3rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--line);
}
.m-item:last-child { border-bottom: 1px solid var(--line); }
.m-item .m-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.3px rgba(16,16,16,0.3);
  line-height: 1.2;
}
.m-item h3 { font-size: 1.1rem; margin-bottom: 0.35em; }
.m-item p { font-size: 0.95rem; line-height: 1.65; margin: 0; }
@media (max-width: 900px) {
  .manifest { grid-template-columns: 1fr; }
  .manifest-side { position: static; }
}

/* ---------- Schluss-Sektion (statt CTA-Band) ---------- */
.closing {
  position: relative;
  border-top: 1px solid var(--line);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.closing .axis-v, .closing .axis-h {
  position: absolute;
  background: rgba(227,6,19,0.5);
  pointer-events: none;
}
.closing .axis-v { top: -5%; bottom: -5%; right: 26%; width: 1.5px; }
.closing .axis-h { top: 38%; right: 12%; width: 28%; height: 1.5px; }
.closing h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); max-width: 14ch; }
.closing .tel {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.4rem 0 0.2rem;
  transition: color 0.18s ease;
}
.closing .tel:hover { color: var(--red); }
.closing .tel-note {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 1.6rem;
}
@media (max-width: 900px) {
  .closing .axis-v, .closing .axis-h { display: none; }
}

/* ---------- Split (Bild + Text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 920px) { .split { grid-template-columns: 1fr; } }
.split-figure { position: relative; }
.split-figure img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-img);
  box-shadow: var(--shadow-img);
}
.split-figure .crosshair { right: -24px; top: -24px; }
.split-figure figcaption {
  margin-top: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Feature-Liste mit Pfeil-Markern */
.feature-list li {
  position: relative;
  padding: 0.55em 0 0.55em 1.9em;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.feature-list li:last-child { border-bottom: 0; }
.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0.1em;
  color: var(--red);
  font-weight: 600;
}
.section-dark .feature-list li { border-color: var(--line-dark); color: #c9c9c4; }

/* ---------- Prozess-Schritte ---------- */
.steps { counter-reset: step; }
.steps .grid { gap: clamp(1.5rem, 3vw, 2.5rem); }
.step {
  counter-increment: step;
  padding: 1.6rem 0 0;
  position: relative;
}
/* Verbindungslinie mit Achsen-Knoten */
.step::after {
  content: "";
  position: absolute;
  top: 0; left: 26px; right: 0;
  height: 1px;
  background: var(--line);
}
.step .node {
  position: absolute;
  top: -9px; left: 0;
  width: 19px; height: 19px;
  pointer-events: none;
}
.step .node::before, .step .node::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.step .node::before { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.step .node::after { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(16,16,16,0.26);
  display: block;
  margin-bottom: 1rem;
  transition: -webkit-text-stroke-color 0.25s ease;
}
.step:hover::before { -webkit-text-stroke-color: var(--red); }
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.93rem; line-height: 1.65; margin: 0; }
.section-dark .step::after { background: var(--line-dark); }
.section-dark .step::before { -webkit-text-stroke-color: rgba(255,255,255,0.35); }
@media (max-width: 640px) {
  .step { padding-top: 1.4rem; }
}

/* ---------- Referenz-Karten ---------- */
.project-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  box-shadow: 0 4px 14px rgba(10,10,10,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(10,10,10,0.12);
}
.project-card figure { margin: 0; overflow: hidden; }
.project-card img {
  aspect-ratio: 4 / 2.9;
  object-fit: cover;
  width: 100%;
  transition: transform 0.45s ease;
}
.project-card:hover img { transform: scale(1.04); }
.project-card-body { padding: 1.5rem 1.5rem 1.7rem; }
.project-card .meta {
  display: flex;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.7rem;
}
.project-card .meta .cat { color: var(--red); }
.project-card h3 { font-size: 1.12rem; margin-bottom: 0.35em; }
.project-card p { font-size: 0.93rem; line-height: 1.6; margin: 0; }

/* Vorher / Nachher */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-img); overflow: hidden; box-shadow: var(--shadow-img); }
.ba-pair figure { margin: 0; position: relative; background: var(--white); }
.ba-pair img { width: 100%; aspect-ratio: 3 / 3.4; object-fit: cover; }
.ba-pair figcaption {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  background: rgba(14,14,14,0.85);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45em 0.8em;
  border-radius: var(--radius);
}
.ba-pair figure:last-child figcaption { background: var(--red); }

/* ---------- Fakten / Trust ---------- */
.fact {
  padding: 1.4rem 0 0;
  position: relative;
}
.fact::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.fact::after {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 42px; height: 3px;
  background: var(--red);
  transition: width 0.3s ease;
}
.fact:hover::after { width: 100%; }
.fact .fact-value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: block;
  margin-bottom: 0.3rem;
}
.fact .fact-label {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.08rem;
  color: var(--ink);
  display: block;
  margin-bottom: 0.35rem;
}
.fact p { font-size: 0.92rem; line-height: 1.65; margin: 0; }

/* ---------- CTA-Band ---------- */
.cta-band {
  background:
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(255,255,255,0.045) 47px, rgba(255,255,255,0.045) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(255,255,255,0.045) 47px, rgba(255,255,255,0.045) 48px),
    var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  background: rgba(227,6,19,0.6);
  pointer-events: none;
}
.cta-band::before { right: 11%; top: -20%; bottom: -20%; width: 1.5px; }
.cta-band::after { right: 3%; top: 26%; height: 1.5px; width: 16.5%; }
.cta-band h2 { color: #fff; margin-bottom: 0.3em; }
.cta-band p { color: #b9b9b3; margin: 0; }
.cta-band .cta-row { justify-content: flex-end; margin: 0; }
@media (max-width: 860px) {
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-row { justify-content: flex-start; }
}

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item {
  display: flex;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:first-child { padding-top: 0; }
.contact-item .ci-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  width: 92px;
  flex-shrink: 0;
  padding-top: 0.25em;
}
.contact-item .ci-value { font-weight: 600; color: var(--ink); }
.contact-item .ci-value a:hover { color: var(--red); }
.contact-item .ci-value small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }

/* Formular */
.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8em 0.95em;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.consent {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.86rem;
  color: var(--muted);
  margin: 1.1rem 0 1.4rem;
}
.consent input { margin-top: 0.3em; accent-color: var(--red); }
.consent a { text-decoration: underline; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.9rem; }

/* Karte (Consent-Load) */
.map-shell {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
  min-height: 340px;
  display: grid;
  place-items: center;
}
.map-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { text-align: center; padding: 2rem; max-width: 46ch; }
.map-consent p { font-size: 0.88rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  border-top: 3px solid var(--red);
  color: #b9b9b3;
  padding: clamp(3rem, 6vw, 4.5rem) 0 0;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand img { width: 56px; height: 56px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: #8a8a84; }
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a8a84;
  margin-bottom: 1.1rem;
}
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid var(--line-dark);
  padding: 1.3rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: #8a8a84;
}
.footer-legal .legal-links { display: flex; gap: 1.4rem; }

/* ---------- Page-Hero (Unterseiten): kompakt, mit Inhalt neben der Überschrift ---------- */
.page-hero {
  background:
    linear-gradient(rgba(246,246,244,0.93), rgba(246,246,244,0.93)),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(16,16,16,0.05) 47px, rgba(16,16,16,0.05) 48px),
    var(--paper);
  padding: clamp(2.2rem, 4vw, 3.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2rem, 3.4vw, 3.1rem); }
.page-hero .lead { margin-top: 0.6rem; font-size: clamp(1rem, 1.25vw, 1.12rem); }
.page-hero-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: center;
}
.page-hero-wrap .plate img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) {
  .page-hero-wrap { grid-template-columns: 1fr; }
}

/* ---------- Scroll-Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Legal-Seiten ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose a { color: var(--red); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1rem; color: var(--muted); }
