/* ==========================================================================
   JVM Bau GmbH — Durchführung · Aeonik
   RAL-Farben: Verkehrsrot 3020, Anthrazit 7016, Verkehrsweiss 9016.
   Brand: Rot #C1121C · Anthrazit #293133 · Grund #F4F4F4 · Rot dunkel #7D0B12
   ========================================================================== */

@font-face {
  font-family: "Aeonik";
  src: url("/assets/fonts/Aeonik-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("/assets/fonts/Aeonik-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f4f4f4;
  --paper-2: #ececec;
  --panel: #e6e6e6;
  --line: #d4d4d4;
  --ink: #293133;
  --ink-2: #3d4548;
  --ink-3: #5c5c5c;
  --red: #c1121c;
  --red-dark: #9b0e16;

  --font: "Aeonik", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1240px;
  --gutter: 40px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 200;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
}

.skip-link:focus {
  top: 12px;
}

/* --------------------------------------------------------------------------
   Typografie
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
}

.display {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.display em {
  font-style: normal;
  color: var(--red);
}

.h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.h2 em {
  font-style: normal;
  color: var(--red);
}

.h3 {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 36em;
}

.muted {
  color: var(--ink-3);
}

.num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--ink-3);
}

.segline {
  display: flex;
  gap: 6px;
  height: 2px;
  width: 100%;
}

.segline i {
  flex: 1;
  background: var(--line);
}

.segline i:nth-child(2) {
  flex: 1.6;
  background: var(--red);
}

/* --------------------------------------------------------------------------
   Buttons und Textlinks
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 52px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-ink {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  font-weight: 500;
}

.btn-ink:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-line {
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-sm {
  min-height: 46px;
  gap: 24px;
}

.arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow,
.text-link:hover .arrow {
  transform: translate(2px, -2px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.text-link:hover {
  border-color: var(--red);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 244, 244, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex-shrink: 0;
}

/* Durchführung: Wand (Quadrat) · Abschottung (rot, 0.57) · Leitung (0.23) */
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 3px;
  background: var(--ink);
}

.logo-mark i {
  display: grid;
  place-items: center;
  width: 57%;
  height: 57%;
  border-radius: 50%;
  background: var(--red);
}

.logo-mark i::after {
  content: "";
  width: 40%;
  height: 40%;
  border-radius: 50%;
  background: var(--paper);
}

.logo-word {
  font-family: var(--font);
  font-weight: 500;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 12px;
  font-size: 14px;
  color: var(--ink);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-phone {
  margin: 0 12px 0 16px;
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.nav-phone:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 120;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Startseite: Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 88px 0 0;
}

.hero .eyebrow {
  margin-bottom: 32px;
}

.hero .display {
  max-width: 13em;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 56px;
  margin: 40px 0 56px;
}

.hero-row .lead {
  max-width: 30em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-photo {
  aspect-ratio: 16 / 7;
}

.hero-photo img {
  object-position: 55% 38%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 28px 0 0;
}

.hero-facts dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}

.hero-facts dd {
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Sektionen
   -------------------------------------------------------------------------- */

.section {
  padding: 120px 0;
}

.section + .section {
  padding-top: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 120px;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 24px 80px;
  align-items: end;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -4px;
}

.section-head p {
  color: var(--ink-3);
  max-width: 28em;
}

/* Text links, Bild oder Panel rechts */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.split > div > .eyebrow {
  margin-bottom: 20px;
}

.split .h2 + p {
  margin-top: 24px;
  color: var(--ink-3);
  max-width: 30em;
}

.split .index-list {
  margin-top: 40px;
}

.split .text-link {
  margin-top: 32px;
}

.split .photo {
  aspect-ratio: 4 / 3.3;
}

/* Technisches Panel */
.panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: 28px 32px 32px;
  background:
    linear-gradient(rgba(41, 49, 51, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(41, 49, 51, 0.05) 1px, transparent 1px) 0 0 / 48px 48px,
    var(--panel);
}

.panel .num {
  color: var(--ink);
}

.panel p {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
   Index-Liste (Leistungen)
   -------------------------------------------------------------------------- */

.index-list {
  border-top: 1px solid var(--line);
}

.index-row {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 28px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.index-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.index-row:hover::after {
  transform: scaleX(1);
}

.index-row h3,
.index-row h4 {
  font-size: clamp(1.15rem, 1.7vw, 1.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.index-row p {
  grid-column: 2 / 3;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-3);
  margin-top: -10px;
}

.index-row .count {
  font-size: 12px;
  color: var(--ink-3);
  white-space: nowrap;
}

.index-arrow {
  justify-self: end;
  font-size: 22px;
  line-height: 1;
  font-weight: 300;
  transition: transform 0.25s var(--ease), color 0.2s var(--ease);
}

.index-row:hover .index-arrow {
  transform: translate(3px, -3px);
  color: var(--red);
}

.index-row:has(p) {
  grid-template-rows: auto auto;
}

.index-row:has(p) .index-arrow,
.index-row:has(p) .count {
  grid-row: 1 / 3;
}

/* --------------------------------------------------------------------------
   Fotos
   -------------------------------------------------------------------------- */

.photo {
  position: relative;
  margin: 0;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--panel);
}

.photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 8px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-wide {
  aspect-ratio: 16 / 7;
}

.photo-wide img {
  object-position: 60% 35%;
}

/* --------------------------------------------------------------------------
   Detail mit Schnittzeichnung
   -------------------------------------------------------------------------- */

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}

.drawing {
  position: relative;
  margin: 0;
  aspect-ratio: 1 / 0.92;
  background:
    linear-gradient(rgba(41, 49, 51, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(41, 49, 51, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--paper-2);
  border: 1px solid var(--line);
}

.drawing svg {
  width: 100%;
  height: 100%;
}

.drawing-caption {
  position: absolute;
  left: 20px;
  bottom: 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.drawing-tag {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.d-stroke {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.d-thin {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 1;
}

.d-label {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  fill: var(--ink-2);
}

.d-label-red {
  fill: var(--red);
  font-weight: 500;
}

.d-seal {
  fill: var(--red);
}

.d-seal-line {
  fill: none;
  stroke: var(--red);
  stroke-width: 1.5;
}

.js .drawing .d-anim {
  stroke-dasharray: var(--len, 600);
  stroke-dashoffset: var(--len, 600);
}

.js .drawing .d-fade {
  opacity: 0;
}

.draw .d-anim {
  animation: draw 1.6s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

.draw .d-fade {
  animation: fade 0.6s var(--ease) forwards;
  animation-delay: var(--delay, 1.2s);
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes fade {
  to { opacity: 1; }
}

.drawing [data-part] {
  transition: opacity 0.3s var(--ease);
}

.drawing[data-focus] [data-part] {
  animation: none;
  opacity: 0.18;
}

.drawing[data-focus="abschottung"] [data-part="abschottung"],
.drawing[data-focus="manschette"] [data-part="manschette"],
.drawing[data-focus="beschichtung"] [data-part="beschichtung"] {
  opacity: 1;
}

.legend {
  border-top: 1px solid var(--ink);
}

.legend button {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  text-align: left;
  cursor: pointer;
  transition: padding 0.25s var(--ease);
}

.legend button:hover,
.legend button:focus-visible,
.legend button[aria-pressed="true"] {
  padding-left: 12px;
  box-shadow: inset 2px 0 0 var(--red);
}

.legend button.replay,
.legend button.replay:hover,
.legend button.replay:focus-visible {
  display: inline-flex;
  width: auto;
  margin-top: 28px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  box-shadow: none;
  font-size: 14px;
  font-weight: 500;
}

.legend button.replay:hover {
  border-bottom-color: var(--red);
}

.legend button.replay:hover .arrow {
  transform: rotate(-180deg);
}

.legend strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}

.legend .txt {
  color: var(--ink-3);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Einsatzformen und Schritte
   -------------------------------------------------------------------------- */

.modes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.mode {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 24px 24px 24px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.15rem;
  letter-spacing: -0.015em;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.steps.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step .segline {
  margin-bottom: 22px;
}

.js .step .segline i {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease);
}

.js .step.visible .segline i {
  transform: scaleX(1);
}

.step.visible .segline i:nth-child(2) { transition-delay: 0.1s; }
.step.visible .segline i:nth-child(3) { transition-delay: 0.2s; }

.step .num {
  display: block;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-3);
  font-size: 14.5px;
}

/* --------------------------------------------------------------------------
   Abschluss-CTA
   -------------------------------------------------------------------------- */

.page-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 80px;
  align-items: end;
  padding: 72px 0 120px;
  border-top: 1px solid var(--line);
}

.page-cta .eyebrow {
  margin-bottom: 20px;
}

.cta-side {
  display: grid;
  gap: 20px;
  justify-items: start;
}

.cta-contact {
  display: grid;
  gap: 2px;
  font-size: 15px;
}

.cta-contact a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Unterseiten: Seitenkopf, Brotkrumen
   -------------------------------------------------------------------------- */

.page-head {
  padding: 72px 0 96px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb [aria-current] {
  color: var(--ink);
}

.page-head .eyebrow {
  display: none;
}

.page-head .display {
  max-width: 12em;
}

.page-head .lead {
  margin-top: 32px;
}

.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: 80px;
  align-items: end;
}

.page-head-grid .photo {
  aspect-ratio: 4 / 3.2;
}

.page-head-grid .display {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

.narrow {
  max-width: 760px;
}

.narrow .h2 {
  margin-top: 20px;
}

.narrow p {
  color: var(--ink-3);
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Datenblatt-Tabelle (Unterleistungen)
   -------------------------------------------------------------------------- */

.spec-table {
  border-top: 1px solid var(--ink);
}

.spec-head,
.spec-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 32px;
}

.spec-head {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.spec-row {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.spec-row h3 {
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.spec-row p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
}

.spec-row .app {
  color: var(--ink-3);
}

.spec-row .app::before {
  content: "Anwendung: ";
  display: none;
}

.fineprint {
  margin-top: 24px;
  max-width: 46em;
  font-size: 13.5px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 80px;
}

.two-col .h2 {
  margin-top: 20px;
}

.faq {
  border-top: 1px solid var(--ink);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 56px 26px 0;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Weitere Bereiche
   -------------------------------------------------------------------------- */

.siblings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.sibling {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s var(--ease);
}

.sibling:hover {
  background: var(--paper-2);
}

.sibling strong {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sibling .arrow {
  align-self: flex-end;
  font-size: 22px;
  font-weight: 300;
}

.sibling:hover .arrow {
  transform: translate(3px, -3px);
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Firmendaten
   -------------------------------------------------------------------------- */

.datasheet {
  border-top: 1px solid var(--ink);
}

.datasheet div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.datasheet dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 4px;
}

.datasheet dd {
  font-size: 1.05rem;
}

.datasheet a:hover {
  color: var(--red);
}

/* --------------------------------------------------------------------------
   Referenzen
   -------------------------------------------------------------------------- */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filters button:hover {
  border-color: var(--ink);
}

.filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 32px;
}

.photo-grid .photo img {
  aspect-ratio: 4 / 3;
}

.photo-grid figcaption {
  position: static;
  margin-top: 16px;
  padding: 0;
  background: none;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.photo-grid figcaption strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.photo-grid figcaption span {
  color: var(--ink-3);
  font-size: 14px;
}

.empty {
  padding: 56px 24px;
  border: 1px dashed var(--line);
  text-align: center;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 80px;
  padding-bottom: 120px;
}

.contact-list {
  border-top: 1px solid var(--ink);
}

.contact-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.contact-item dt {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 5px;
}

.contact-item dd {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  line-height: 1.5;
}

.contact-item a:hover {
  color: var(--red);
}

.checklist {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--panel);
}

.checklist h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.checklist li {
  display: flex;
  gap: 14px;
  padding: 5px 0;
  color: var(--ink-2);
  font-size: 15px;
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 10px;
  background: var(--red);
}

.form {
  padding: 40px;
  background: #fafafa;
  border: 1px solid var(--line);
}

.form h2 {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--ink-3);
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  transition: border-color 0.2s var(--ease);
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171a1f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.form .btn {
  width: 100%;
  margin-top: 8px;
}

.form-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-3);
}

.form-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Rechtsseiten
   -------------------------------------------------------------------------- */

.legal {
  max-width: 760px;
  padding-bottom: 120px;
}

.legal h2 {
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal h2:first-child {
  margin-top: 0;
}

.legal p {
  color: var(--ink-2);
  margin-bottom: 12px;
}

.legal a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  padding: 72px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 64px;
}

/* Montageplatte: 2:1, Schrauben Ø 7.5 % / Abstand 9.5 %, Schrift 80 % der Höhe */
/* Typenschild im Footer: Montageplatte mit Firmenangaben */
.info-plate {
  position: relative;
  max-width: 440px;
  padding: 30px 34px 28px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
}

.info-plate > i {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7d0b12;
}

.info-plate > i:nth-child(1) { top: 12px; left: 12px; }
.info-plate > i:nth-child(2) { top: 12px; right: 12px; }
.info-plate > i:nth-child(3) { bottom: 12px; left: 12px; }
.info-plate > i:nth-child(4) { bottom: 12px; right: 12px; }

.info-plate-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.info-plate-word {
  font-size: 60px;
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.03em;
}

.info-plate-head span {
  font-size: 13px;
  line-height: 1.4;
  text-align: right;
}

.info-plate-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  padding-top: 18px;
  font-style: normal;
  font-size: 14px;
  line-height: 1.65;
}

.info-plate-body span {
  display: flex;
  flex-direction: column;
}

.info-plate-body strong {
  font-weight: 500;
}

.info-plate a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .info-plate-body {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.footer-brand p {
  margin-top: 20px;
  max-width: 20em;
  font-size: 14px;
  color: var(--ink-3);
}

.footer-col h2 {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a,
.footer-col li {
  font-size: 14px;
  color: var(--ink-2);
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-3);
}

.footer-bottom nav {
  display: flex;
  gap: 24px;
}

.footer-bottom a:hover {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Vorher / Nachher
   -------------------------------------------------------------------------- */

.compare-split {
  align-items: center;
}

.compare-steps {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.compare-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.compare-steps strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.compare-steps div span {
  font-size: 14.5px;
  color: var(--ink-3);
}

.compare {
  margin: 0;
  --pos: 50%;
}

.compare-stage {
  position: relative;
  aspect-ratio: 1374 / 1145;
  overflow: hidden;
  background: var(--panel);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}

.compare-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.compare-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(41, 49, 51, 0.12);
  pointer-events: none;
}

.compare-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  background: var(--ink);
  color: var(--paper);
  font-size: 20px;
  transition: background 0.2s var(--ease);
}

.compare-tag {
  position: absolute;
  top: 16px;
  padding: 7px 10px;
  background: var(--paper);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-tag.is-left {
  left: 16px;
}

.compare-tag.is-right {
  right: 16px;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.compare-range:focus-visible + .compare-line,
.compare-stage:has(.compare-range:focus-visible) .compare-handle {
  background: var(--red);
}

.compare-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.compare-switch {
  display: inline-flex;
  border: 1px solid var(--line);
}

.compare-switch button {
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.compare-switch button + button {
  border-left: 1px solid var(--line);
}

.compare-switch button:hover {
  background: var(--paper-2);
}

.compare-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}

/* --------------------------------------------------------------------------
   Auftraggeber, Nachweise
   -------------------------------------------------------------------------- */

.audiences,
.deliverables {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.audience,
.deliverables li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px 24px 28px 0;
  border-bottom: 1px solid var(--line);
}

.audience + .audience,
.deliverables li + li {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.audience h3,
.deliverables strong {
  margin-top: 24px;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.audience p,
.deliverables span:last-child {
  font-size: 14.5px;
  color: var(--ink-3);
}

.deliverables + .text-link {
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Kennzeichnungsschild
   -------------------------------------------------------------------------- */

.plate-figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 460px;
}

.plate {
  border: 2px solid var(--ink);
  background: #fafafa;
  box-shadow: 10px 10px 0 var(--panel);
}

.plate-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plate-top span:last-child {
  font-weight: 500;
  opacity: 0.85;
}

.plate dl {
  padding: 4px 16px;
}

.plate dl div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.plate dt {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.plate dd {
  min-height: 20px;
  border-bottom: 1px dashed var(--ink-3);
  font-size: 14px;
}

.plate dd:not(:empty) {
  border-bottom-color: transparent;
}

.plate-foot {
  padding: 10px 16px 14px;
  font-size: 11px;
  color: var(--ink-3);
}

.plate-figure figcaption {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   Einblenden beim Scrollen
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: none;
}

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

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .drawing .d-anim,
  .js .drawing .d-fade,
  .draw .d-anim,
  .draw .d-fade {
    animation: none;
    stroke-dashoffset: 0;
    opacity: 1;
  }

  .js .step .segline i {
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  :root {
    --gutter: 28px;
  }

  .split,
  .detail-grid,
  .page-head-grid,
  .two-col,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 96px 28px 48px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  }

  .nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    padding: 18px 0;
    font-size: 2rem;
    letter-spacing: -0.03em;
    border-bottom: 1px solid var(--line);
  }

  .nav-link::after {
    left: 0;
    right: auto;
    width: 48px;
    bottom: -1px;
  }

  .nav-phone {
    margin: 32px 0 0;
    font-size: 16px;
  }

  .nav .btn {
    margin-top: 16px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-photo,
  .photo-wide {
    aspect-ratio: 4 / 3;
  }

  .modes {
    grid-template-columns: 1fr 1fr;
  }

  .audiences,
  .deliverables {
    grid-template-columns: 1fr 1fr;
  }

  .audience:nth-child(3),
  .deliverables li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .steps,
  .steps.three {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .spec-head {
    display: none;
  }

  .spec-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 6px 16px;
  }

  .spec-row p {
    grid-column: 2;
  }

  .spec-row .app::before {
    display: inline;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .siblings {
    grid-template-columns: 1fr;
  }

  .page-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --gutter: 20px;
    --header-h: 72px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-row .btn,
  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-facts {
    grid-template-columns: 1fr 1fr;
  }

  .section {
    padding: 88px 0;
  }

  .rule {
    margin-bottom: 88px;
  }

  .panel {
    min-height: 240px;
  }

  .page-head {
    padding: 48px 0 64px;
  }

  .index-row {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
  }

  .index-row .count {
    display: none;
  }

  .modes,
  .steps,
  .steps.three,
  .photo-grid,
  .audiences,
  .deliverables {
    grid-template-columns: 1fr;
  }

  .audience + .audience,
  .deliverables li + li {
    padding-left: 0;
    border-left: 0;
  }

  .audience h3,
  .deliverables strong {
    margin-top: 8px;
  }

  .plate dl div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .compare-handle {
    width: 44px;
    height: 44px;
  }

  .datasheet div,
  .contact-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .faq details p {
    padding-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
