@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --bg: #a4c2df;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(255, 255, 255, 0.94);
  --ink: #17202a;
  --ink-soft: #475565;
  --ink-muted: #65717e;
  --line: rgba(24, 54, 80, 0.14);
  --steel: #22485f;
  --steel-dark: #152f3f;
  --accent: #2874b2;
  --accent-dark: #1c5a8c;
  --shadow: 0 24px 60px rgba(22, 52, 80, 0.14);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --content-width: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(40, 116, 178, 0.30), transparent 30rem),
    radial-gradient(circle at 85% 8%, rgba(28, 86, 140, 0.24), transparent 28rem),
    linear-gradient(180deg, #bcd6ee 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 32, 42, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 32, 42, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 90%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

.container {
  width: min(var(--content-width), calc(100vw - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(184, 207, 231, 0.9);
  border-bottom: 1px solid rgba(23, 32, 42, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: white;
  background:
    linear-gradient(145deg, var(--steel) 0%, var(--steel-dark) 55%, #0b1d29 100%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.brand__name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand__tagline {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  position: relative;
  padding: 0.45rem 0.15rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a.active::after,
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.25rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--steel));
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 0.26rem 0;
  border-radius: 999px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background-color 0.24s ease,
    border-color 0.24s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  box-shadow: 0 18px 34px rgba(38, 116, 184, 0.22);
}

.button--secondary {
  color: var(--ink);
  border-color: rgba(23, 32, 42, 0.12);
  background: rgba(255, 255, 255, 0.68);
}

.hero,
.page-hero {
  padding: 3.4rem 0 2.8rem;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(34, 72, 95, 0.08);
  color: var(--steel-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
  line-height: 0.97;
  letter-spacing: -0.04em;
}

.hero p,
.page-hero p,
.feature-card p,
.info-card p,
.list-card p,
.contact-card p,
.page-card p,
.legal-card p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.metric {
  padding: 1.1rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
}

.metric strong {
  display: block;
  margin-bottom: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
}

.metric span {
  color: var(--ink-muted);
  line-height: 1.5;
}

.hero-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 37rem;
  background:
    linear-gradient(180deg, rgba(19, 41, 54, 0.12) 0%, rgba(19, 41, 54, 0.7) 100%),
    url("../img/produktfotos/m11.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 10%, rgba(11, 29, 41, 0.12) 38%, rgba(11, 29, 41, 0.72) 100%);
}

.hero-panel__card {
  position: absolute;
  right: 1.35rem;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 1;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background: rgba(12, 23, 31, 0.68);
  color: white;
}

.hero-panel__card h2,
.feature-card h3,
.section-header h2,
.contact-card h2,
.list-card h3,
.info-card h3,
.page-card h2,
.site-footer h2,
.site-footer h3 {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.08;
}

.hero-panel__details {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.hero-panel__label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-panel__value {
  font-weight: 600;
  line-height: 1.5;
}

.section {
  padding: 3.4rem 0;
}

.section--tight {
  padding: 2rem 0 3rem;
}

.section-band > .container {
  padding: 2.4rem clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.34) 100%);
  box-shadow: 0 18px 48px rgba(22, 52, 80, 0.07);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card,
.info-card,
.list-card,
.contact-card,
.page-card,
.legal-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.feature-card::before,
.page-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), rgba(34, 72, 95, 0.75));
}

.feature-card__icon {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  margin-bottom: 1rem;
  padding: 0.7rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(34, 72, 95, 0.1), rgba(34, 72, 95, 0.04));
}

.tag-list,
.bullet-list,
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0;
  margin: 1.1rem 0 0;
  list-style: none;
}

.tag-list li,
.bullet-list li,
.detail-list li,
.page-hero__meta span {
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(34, 72, 95, 0.08);
  color: var(--steel-dark);
  font-size: 0.92rem;
  font-weight: 500;
}

.bullet-list,
.detail-list {
  flex-direction: column;
}

.bullet-list li,
.detail-list li {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink-soft);
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  align-items: start;
}

.stack {
  display: grid;
  gap: 1rem;
}

.image-card,
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.image-card {
  min-height: 20rem;
}

.image-card img,
.gallery__item img {
  height: 100%;
  object-fit: cover;
}

.image-card__caption,
.gallery__caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(12, 23, 31, 0.68);
  color: white;
}

.image-card__caption strong,
.gallery__caption strong {
  display: block;
  margin-bottom: 0.2rem;
  font-family: "Space Grotesk", sans-serif;
}

.industry-grid,
.process-grid {
  display: grid;
  gap: 1rem;
}

.industry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.industry-item {
  padding: 1.15rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
  font-weight: 600;
  text-align: center;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.process-step__number {
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--steel), var(--steel-dark));
  color: white;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1rem;
}

.gallery__item {
  min-height: 21rem;
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(12, 23, 31, 0.78) 100%);
}

.gallery__caption {
  z-index: 1;
}

.cta-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at left top, rgba(38, 116, 184, 0.28), transparent 18rem),
    linear-gradient(135deg, rgba(34, 72, 95, 0.98), rgba(11, 29, 41, 0.98));
  color: white;
  box-shadow: var(--shadow);
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.legal-note {
  margin: 0 0 1.2rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(38, 116, 184, 0.25);
  border-radius: var(--radius-md);
  background: rgba(38, 116, 184, 0.08);
  color: var(--ink-soft);
}

.site-footer {
  padding: 3.2rem 0 2.5rem;
  color: var(--ink-soft);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 1.2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
}

.site-footer ul {
  display: grid;
  gap: 0.6rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer__subline {
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero__grid,
  .cta-banner,
  .split-layout,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-grid,
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

  .site-header__actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.2rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero__meta,
  .grid--3,
  .grid--2,
  .process-grid,
  .gallery,
  .industry-grid,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 26rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--content-width), calc(100vw - 1.2rem));
  }

  .site-header__actions .button {
    display: none;
  }

  .hero__actions,
  .section-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .product {
    padding: 1.1rem;
    gap: 1rem;
  }

  .product__title {
    font-size: 1.25rem;
  }

  .spec-table {
    min-width: 22rem;
    font-size: 0.84rem;
  }

  .spec-table th,
  .spec-table td {
    padding: 0.5rem 0.55rem;
  }

  .overview-figure {
    padding: 0.9rem;
  }
}

@media (max-width: 480px) {
  .spec-table {
    min-width: 20rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.product-list {
  display: grid;
  gap: 1.5rem;
}

.product {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.6rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
  scroll-margin-top: 6rem;
}

.product__media {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.product__shot {
  display: grid;
  place-items: center;
  margin: 0;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: radial-gradient(circle at 50% 35%, #ffffff, rgba(255, 255, 255, 0.45));
}

.product__shot img {
  width: auto;
  max-width: 100%;
  max-height: 14rem;
}

.product__draw {
  margin: 0;
}

.product__draw img {
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
}

.product__draw figcaption {
  margin-top: 0.5rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
  text-align: center;
}

.product__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product__title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  line-height: 1.12;
}

.product__features {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  width: 100%;
  min-width: 26rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table th,
.spec-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table thead th {
  background: rgba(34, 72, 95, 0.1);
  color: var(--steel-dark);
  font-family: "Space Grotesk", sans-serif;
}

.spec-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.spec-table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.4);
}

.spec-table tbody tr:last-child th,
.spec-table tbody tr:last-child td {
  border-bottom: 0;
}

.product__surface {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.product__cta {
  align-self: flex-start;
  margin-top: 0.2rem;
}

.overview-figure {
  margin: 0;
  padding: 1.4rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.overview-figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* === Produkt-Übersicht als Karten-Grid === */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.ov-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem 0.8rem;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #eaf4fd 0%, #d2e6f7 100%);
  border: 1px solid rgba(40, 116, 178, 0.16);
  box-shadow: 0 6px 16px rgba(34, 72, 95, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ov-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(34, 72, 95, 0.16);
}

.ov-card:focus-visible {
  outline: 3px solid rgba(40, 116, 178, 0.34);
  outline-offset: 3px;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(34, 72, 95, 0.16);
}

.ov-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 104px;
}

.ov-thumb img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 5px rgba(22, 52, 80, 0.22));
}

.ov-card figcaption,
.ov-cap {
  margin-top: 0.6rem;
  text-align: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--ink);
}

@media (max-width: 900px) {
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); gap: 0.7rem; }
  .ov-thumb { height: 88px; }
}

@media (max-width: 860px) {
  .product {
    grid-template-columns: 1fr;
  }
}

/* === Lösungs-Galerie (leistungen.html) === */
.solution-groups {
  display: grid;
  gap: 2.2rem;
}

.solution-group > h3 {
  margin: 0 0 1rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.15rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.9rem;
}

.photo-grid figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-header p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* === RAL-Farbpalette (leistungen.html) === */
.ral-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 0.6rem;
  margin: 1.4rem 0 0;
}

.ral {
  margin: 0;
}

.ral > span {
  display: block;
  height: 48px;
  border-radius: 10px;
  background: var(--ral);
  border: 1px solid rgba(23, 32, 42, 0.16);
}

.ral figcaption {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--ink-muted);
  text-align: center;
}

.ral--standard > span {
  box-shadow: 0 0 0 2px var(--accent);
}

.ral--standard figcaption {
  color: var(--ink);
  font-weight: 600;
}

.ral-note {
  margin: 0.9rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* === Logo + Social (Umbau 2026-06) === */
.brand__logo {
  width: auto;
  height: auto;
  max-height: 42px;
  max-width: min(72vw, 440px);
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0.2rem 0 0;
  padding: 0;
  list-style: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--steel-dark);
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent-dark);
}

.social-links svg {
  width: 1.3rem;
  height: 1.3rem;
}

.footer-social h3 {
  margin-bottom: 0.6rem;
}

@media (max-width: 860px) {
  .brand__logo {
    max-height: 36px;
    max-width: min(58vw, 320px);
  }
}

/* === Logo modern + Lightbox (Umbau 2026-06) === */
.brand { gap: 0.72rem; }

.brand__mark {
  flex: none;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--steel) 0%, var(--steel-dark) 55%, #0b1d29 100%);
  box-shadow: 0 6px 16px rgba(22, 52, 80, 0.28);
}

.brand__mark svg {
  width: 64%;
  height: 64%;
  display: block;
}

.brand__name {
  font-size: 1.04rem;
  line-height: 1.1;
}

.brand__tagline {
  font-size: 0.74rem;
}

@media (max-width: 640px) {
  .brand__tagline { display: none; }
  .brand__name { font-size: 0.98rem; }
}

/* Lightbox */
.is-zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(8, 18, 26, 0.86);
  backdrop-filter: blur(6px);
}

.lightbox.is-open { display: flex; }

.lightbox__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  max-width: 100%;
  max-height: 100%;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 84vh;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  background: #fff;
  cursor: zoom-out;
}

.lightbox__cap {
  margin: 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
}

/* === Footer-Social (Umbau 2026-06) === */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.footer-social__label {
  color: var(--ink-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* === Mobil-Feinschliff (Umbau 2026-06) === */
@media (max-width: 860px) {
  .site-nav {
    gap: 0.1rem;
    padding-top: 0.6rem;
  }
  .site-nav a {
    width: 100%;
    padding: 0.9rem 0.4rem;
    border-bottom: 1px solid rgba(23, 32, 42, 0.08);
  }
  .site-nav a:last-child {
    border-bottom: 0;
  }
  /* Unterstrich-Indikator im gestapelten Menue weglassen */
  .site-nav a.active::after,
  .site-nav a:hover::after,
  .site-nav a:focus-visible::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    gap: 0.6rem;
  }
  /* Maßtabellen: horizontal scrollbar deutlicher machen */
  .spec-table-wrap {
    position: relative;
    -webkit-overflow-scrolling: touch;
  }
  .spec-table-wrap::after {
    content: "→";
    position: absolute;
    top: 0.4rem;
    right: 0.5rem;
    font-size: 0.8rem;
    color: var(--ink-muted);
    opacity: 0.7;
    pointer-events: none;
  }
  .footer-social {
    justify-content: flex-start;
  }
}

/* === Nach-oben-Button + Fokus (Umbau 2026-06) === */
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 2.9rem;
  height: 2.9rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(22, 52, 80, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-2px);
}

.to-top svg {
  width: 1.3rem;
  height: 1.3rem;
}

@media (max-width: 640px) {
  .to-top {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
.ov-card:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(40, 116, 178, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
}

/* === Produktfotos: einheitliches Hochformat-Raster (Umbau 2026-06) === */
.photo-grid--full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 0.9rem;
}

.photo-grid--full figure {
  aspect-ratio: 3 / 4;
  margin: 0;
}

.photo-grid--full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
