/**
 * DSI Laser Wire – orientiert am YOOtheme/UIkit-Design von rz-photovoltaik.de
 * Primärfarbe #ff6f00, Fließtext #45515b, Überschriften #212c34, Teko für Display
 * Quelle Farben/Typo: Theme-Stylesheet rz-photovoltaik.de (YOOtheme)
 */

:root {
  --rz-orange: #e6007e;
  --rz-orange-hover: #f27bbc;
  --rz-text: #45515b;
  --rz-heading: #212c34;
  --rz-gray: #505050;
  --rz-muted-bg: #ebebeb;
  --rz-white: #ffffff;
  --rz-border: #d0d5d8;
  --rz-teko: "Teko", "Helvetica Neue", Arial, sans-serif;
  --rz-body: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rz-max: 1200px;
  --rz-narrow: 720px;
  --tl-blue: #2b5ea8;
}

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

html {
  font-family: var(--rz-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--rz-white);
  color: var(--rz-text);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Skip link (wie R&Z uk-hidden-visually Pattern, sichtbar bei Fokus) */
.rz-skip {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 200;
  padding: 12px 20px;
  background: var(--rz-orange);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.rz-skip:focus {
  left: 1rem;
}

/* Links global wie UIkit .uk-link */
a.rz-link {
  color: var(--rz-orange);
  text-decoration: none;
  font-weight: 600;
}

a.rz-link:hover {
  color: var(--rz-gray);
}

.rz-page {
  position: relative;
}

.rz-container {
  max-width: var(--rz-max);
  margin: 0 auto;
  padding: 0 24px;
}

.rz-narrow {
  max-width: var(--rz-narrow);
  margin-left: auto;
  margin-right: auto;
}

.rz-text-center {
  text-align: center;
}

/* Toolbar (Empfehlungszeile-Stil) */
.rz-toolbar {
  background: var(--rz-white);
  border-bottom: 1px solid var(--rz-border);
  font-size: 0.9375rem;
}

.rz-toolbar-inner {
  padding: 10px 24px;
  text-align: center;
}

.rz-toolbar-text {
  margin: 0;
  color: var(--rz-heading);
}

.rz-toolbar-text a {
  color: var(--rz-orange);
  text-decoration: none;
  font-weight: 700;
}

.rz-toolbar-text a:hover {
  color: var(--rz-gray);
}

/* Header */
.rz-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--rz-white);
  border-bottom: 1px solid var(--rz-border);
}

.rz-header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 16px 24px;
  min-height: 72px;
}

/* Logo fest linksbündig, Menü nach rechts (auch wenn nur Toggle sichtbar) */
.rz-logo {
  flex: 0 0 auto;
  margin-right: auto;
  line-height: 0;
  align-self: center;
}

.rz-logo img {
  display: block;
  max-height: 52px;
}

.rz-nav {
  flex: 0 0 auto;
}

.rz-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.rz-nav a {
  color: var(--rz-heading);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
}

.rz-nav a:hover {
  color: var(--rz-orange);
}

.rz-nav-toggle {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.rz-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--rz-heading);
}

.rz-nav-panel {
  border-top: 1px solid var(--rz-border);
  background: var(--rz-white);
  padding: 0 24px 16px;
}

.rz-nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rz-nav-panel a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--rz-muted-bg);
  color: var(--rz-heading);
  text-decoration: none;
  font-weight: 600;
}

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

  .rz-nav-toggle {
    display: flex;
  }
}

@media (min-width: 901px) {
  .rz-nav-panel {
    display: none !important;
  }
}

/* Sections */
.rz-section {
  padding: 56px 0;
}

.rz-section-white {
  background: var(--rz-white);
  padding: 48px 0;
}

.rz-section-muted {
  background: var(--rz-muted-bg);
}

/* Block intro – „Ihre Energie, unsere Expertise“ */
.rz-block-intro {
  padding: 40px 0 36px;
  text-align: center;
}

.rz-block-intro--visual {
  position: relative;
  isolation: isolate;
  padding: 0;
  min-height: 280px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.rz-block-intro-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.rz-block-intro-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rz-block-intro-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(33, 44, 52, 0.82) 0%,
    rgba(33, 44, 52, 0.55) 45%,
    rgba(255, 111, 0, 0.22) 100%
  );
  pointer-events: none;
}

.rz-block-intro-inner {
  position: relative;
  z-index: 2;
  padding: 48px 24px 44px;
}

.rz-block-intro--visual .rz-title-lead {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.rz-title-lead {
  margin: 0 0 24px;
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  color: var(--rz-heading);
  text-transform: none;
}

.rz-title-lead-sub {
  font-weight: 700;
}

.rz-intro-cta-wrap {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  align-items: center;
}

/* Display-Überschriften = .uk-heading-large (Teko 900 → 700) */
.rz-display {
  margin: 0 0 20px;
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.5vw, 3.4rem);
  line-height: 1.1;
  color: var(--rz-heading);
  text-transform: none;
}

.rz-display-section {
  text-align: center;
  margin-bottom: 16px;
}

.rz-display-follow {
  margin: 0 0 16px;
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
  color: var(--rz-heading);
}

.rz-display-light {
  color: #fff;
}

.rz-body-lead {
  margin: 0 0 20px;
  font-size: 1.0625rem;
  max-width: 52rem;
}

.rz-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero: Bild-Slider + Text-Overlay */
.rz-hero-combo {
  position: relative;
  isolation: isolate;
}

.rz-slider {
  position: relative;
  width: 100%;
}

.rz-slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  max-height: min(72vh, 700px);
  min-height: 260px;
  overflow: hidden;
  background: #1a2228;
}

@media (max-width: 640px) {
  .rz-slider-viewport {
    aspect-ratio: 3 / 4;
    max-height: min(78vh, 560px);
  }
}

.rz-slider-track {
  position: absolute;
  inset: 0;
}

.rz-slider-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
}

@media (prefers-reduced-motion: reduce) {
  .rz-slider-slide {
    transition: none;
  }
}

.rz-slider-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.rz-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rz-slider-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(33, 44, 52, 0.5) 0%, transparent 55%),
    linear-gradient(to top, rgba(18, 22, 26, 0.78) 0%, transparent 52%),
    linear-gradient(90deg, rgba(255, 111, 0, 0.14) 100%, transparent 42%);
}

.rz-slider-nav {
  position: absolute;
  top: 36%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--rz-heading);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.rz-slider-nav:hover {
  background: var(--rz-orange);
  color: #fff;
}

.rz-slider-prev {
  left: 14px;
}

.rz-slider-next {
  right: 14px;
}

@media (max-width: 640px) {
  .rz-slider-nav {
    top: 32%;
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }

  .rz-slider-prev {
    left: 8px;
  }

  .rz-slider-next {
    right: 8px;
  }
}

.rz-hero-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 0 0 28px;
  pointer-events: none;
}

.rz-hero-overlay .rz-container {
  pointer-events: auto;
}

.rz-hero-overlay .rz-display,
.rz-hero-overlay .rz-display-follow {
  color: #fff;
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.4);
}

.rz-hero-overlay .rz-body-lead {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.35);
}

.rz-hero-overlay a.rz-link {
  color: #fff;
  border-bottom: 2px solid var(--rz-orange);
  padding-bottom: 2px;
}

.rz-hero-overlay a.rz-link:hover {
  color: #ffe8d9;
}

.rz-slider-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 18px;
}

.rz-slider-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.rz-slider-dot:hover,
.rz-slider-dot:focus-visible {
  background: rgba(255, 255, 255, 0.45);
  outline: none;
}

.rz-slider-dot.is-active {
  background: var(--rz-orange);
  border-color: var(--rz-orange);
  transform: scale(1.12);
}

.rz-photo-credit {
  margin: 16px 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.rz-photo-credit a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rz-photo-credit a:hover {
  color: #fff;
}

/* Banner über Fusionstext */
.rz-banner-img {
  margin: 0 0 36px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(33, 44, 52, 0.1);
}

.rz-banner-img img {
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 340px;
  object-fit: cover;
  display: block;
}

/* Buttons ≈ uk-button */
.rz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--rz-body);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rz-btn-primary {
  background-color: var(--rz-orange);
  color: #fff;
  border: 2px solid transparent;
  padding: 12px 28px;
}

.rz-btn-primary:hover {
  background-color: var(--rz-orange-hover);
  color: #fff;
}

/* uk-button-text */
.rz-btn-text {
  padding: 0;
  line-height: 1.75;
  background: transparent;
  color: var(--rz-heading);
  border: none;
  border-bottom: 2px solid var(--rz-orange);
  border-radius: 0;
}

.rz-btn-text:hover {
  color: var(--rz-gray);
}

.rz-btn-text-on-dark {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

.rz-btn-text-on-dark:hover {
  color: #ffe8d9;
  border-bottom-color: var(--rz-orange);
}

.rz-btn-inverse {
  background-color: #fff;
  color: var(--rz-orange);
  border: 2px solid #fff;
  padding: 14px 32px;
  font-weight: 700;
}

.rz-btn-inverse:hover {
  background-color: transparent;
  color: #fff;
}

/* Kacheln */
.rz-kicker {
  text-align: center;
  margin: 0 0 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rz-orange);
}

.rz-tiles {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .rz-tiles {
    grid-template-columns: 1fr;
  }
}

.rz-tile {
  display: block;
  text-decoration: none;
  background: var(--rz-white);
  color: var(--rz-heading);
  box-shadow: 0 4px 24px rgba(33, 44, 52, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rz-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(33, 44, 52, 0.12);
}

.rz-tile-media {
  display: block;
  height: 200px;
  overflow: hidden;
  background: #212c34;
}

.rz-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rz-tile:hover .rz-tile-media img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .rz-tile:hover .rz-tile-media img {
    transform: none;
  }
}

.rz-tile-title {
  display: block;
  padding: 18px 20px;
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  border-top: 3px solid var(--rz-orange);
}

/* Vorteile */
.rz-hr {
  border: none;
  border-top: 2px solid var(--rz-heading);
  max-width: 80px;
  margin: 0 auto 28px;
}

.rz-hr-light {
  border-top-color: rgba(255, 255, 255, 0.6);
}

.rz-lead-strong {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 40px;
  font-size: 1.0625rem;
}

.rz-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 32px;
}

@media (max-width: 900px) {
  .rz-benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .rz-benefit-grid {
    grid-template-columns: 1fr;
  }
}

.rz-h3 {
  margin: 0 0 10px;
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: 1.65rem;
  line-height: 1.15;
  color: var(--rz-heading);
}

.rz-benefit-item p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Fusionstext */
.rz-section-white p {
  margin: 0 0 1em;
}

.rz-notice {
  margin: 1.5em 0 !important;
  padding: 20px 22px;
  background: var(--rz-white);
  border-left: 4px solid var(--rz-orange);
  box-shadow: 0 2px 12px rgba(33, 44, 52, 0.06);
}

.rz-signoff {
  margin-top: 1.5em !important;
  font-weight: 700;
  color: var(--rz-orange) !important;
}

/* Steps */
.rz-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .rz-steps {
    grid-template-columns: 1fr;
  }
}

.rz-step {
  background: var(--rz-white);
  padding: 24px 26px;
  border: 1px solid var(--rz-border);
}

.rz-step-num {
  color: var(--rz-orange);
  font-weight: 700;
  margin-right: 6px;
}

.rz-step p {
  margin: 0;
  font-size: 0.9375rem;
}

/* Primary section */
.rz-section-primary {
  background: var(--rz-orange);
  color: #fff;
  padding: 64px 0;
}

.rz-section-primary .rz-primary-text {
  margin: 0 0 28px;
  opacity: 0.98;
  font-size: 1.0625rem;
}

/* Footer uk-section-secondary #505050 */
.rz-footer {
  background: var(--rz-gray);
  color: #cfd5d9;
  padding: 40px 0 32px;
  font-size: 0.875rem;
}

.rz-footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .rz-footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .rz-footer-nav {
    justify-self: end;
    align-self: center;
  }

  .rz-footer-copy {
    grid-column: 1 / -1;
  }
}

.rz-footer-logo {
  max-height: 40px;
  width: auto;
  margin-bottom: 10px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.rz-footer-brand {
  margin: 0;
  font-weight: 700;
  color: #fff;
}

.rz-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.rz-footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.rz-footer-nav a:hover {
  text-decoration: underline;
}

.rz-footer-copy {
  margin: 0;
  color: #a8b0b5;
}

/* Aktive Navigation */
.rz-nav a[aria-current="page"] {
  color: var(--rz-orange);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* —— History / Zeitstrahl —— */
:root {
  --tl-pink: var(--rz-orange);
  --tl-pink-soft: #f9d9ec;
}

.rz-history-pagehead {
  padding-top: 32px;
  padding-bottom: 24px;
}

.rz-breadcrumb {
  font-size: 0.875rem;
  color: var(--rz-muted);
  margin-bottom: 12px;
}

.rz-breadcrumb a {
  color: var(--rz-orange);
  text-decoration: none;
  font-weight: 600;
}

.rz-breadcrumb a:hover {
  text-decoration: underline;
}

.rz-breadcrumb-sep {
  margin: 0 0.35em;
  color: var(--rz-border);
}

.rz-breadcrumb-current {
  color: var(--rz-heading);
  font-weight: 600;
}

.rz-history-maintitle {
  margin-bottom: 12px;
}

.rz-history-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  color: var(--rz-text);
}

.rz-history-section {
  padding-top: 40px;
  padding-bottom: 56px;
}

.tl-grid-title {
  margin: 0 0 36px;
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  line-height: 1.15;
  color: var(--rz-heading);
  text-align: center;
}

.tl-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22%;
  row-gap: 0;
  align-items: stretch;
}

/* Kopfzeilen (Zeile 1) */
.tl-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.tl-head--dsi {
  grid-column: 1;
  grid-row: 1;
  align-items: flex-start;
  text-align: left;
}

.tl-head--stehle {
  grid-column: 2;
  grid-row: 1;
  align-items: flex-end;
  text-align: right;
}

.tl-col-logo {
  line-height: 0;
}

.tl-col-logo img {
  display: block;
  max-height: 64px;
  width: auto;
}

/* DSI-Logo: 300 px breit, wie vom Kunden gewünscht */
.tl-head--dsi .tl-col-logo img {
  max-width: 300px;
  max-height: 60px;
}

.tl-head--stehle .tl-col-logo img {
  max-width: 200px;
  max-height: 72px;
}

.tl-col-title {
  margin: 0;
  font-family: var(--rz-body);
  font-weight: 600;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.2;
  color: var(--rz-heading);
}

/* Fallback-Textbadge, falls Logos fehlen */
.tl-logo-fallback {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 4px 8px;
  border: 2px solid var(--tl-pink);
  line-height: 1;
  background: #fff;
}

.tl-logo-fallback--stehle {
  border-color: #1b1b1b;
  align-items: flex-end;
}

.tl-logo-fallback-mark {
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: #111;
}

.tl-logo-fallback--stehle .tl-logo-fallback-mark {
  color: #cc1c2c;
}

.tl-logo-fallback-sub {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: #555;
  margin-top: 2px;
  text-transform: none;
}

.tl-logo-fallback--sm .tl-logo-fallback-mark {
  font-size: 1.2rem;
}

.tl-logo-fallback--sm .tl-logo-fallback-sub {
  font-size: 0.55rem;
}

/* Körper der Spalten (Zeile 2): Liste + vertikale Linie, beide Spalten gleich hoch */
.tl-body {
  display: flex;
  align-self: stretch;
  min-height: 380px;
}

.tl-body--dsi {
  grid-column: 1;
  grid-row: 2;
  flex-direction: row;
}

.tl-body--stehle {
  grid-column: 2;
  grid-row: 2;
  flex-direction: row;
}

.tl-events {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tl-events li {
  position: relative;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--rz-text);
}

.tl-events time {
  font-weight: 700;
  color: var(--tl-blue);
  margin-right: 0.35em;
}

.tl-events--left {
  text-align: right;
  padding-right: 18px;
  padding-top: 4px;
}

.tl-events--right {
  text-align: left;
  padding-left: 18px;
  padding-top: 4px;
}

.tl-vline {
  position: relative;
  flex: 0 0 2px;
  width: 2px;
  background: var(--tl-blue);
  border-radius: 1px;
  align-self: stretch;
}

/* Kreis am unteren Ende der blauen Linie (zeigt den Fusions-Andockpunkt) */
.tl-vline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--tl-pink);
}

/* Merge-Kurven (Zeile 3): spannen beide Spalten + Gap und treffen die Enden der blauen Linien */
.tl-merge-row {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 6px;
}

.tl-merge-svg {
  display: block;
  width: 100%;
  height: 90px;
  overflow: visible;
}

.tl-merge-path {
  stroke: var(--tl-pink);
  stroke-width: 2.5;
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mittiger Zentrum-Block (Zeile 4) – liegt unterhalb der blauen Linien */
.tl-center-block {
  grid-column: 1 / -1;
  grid-row: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 8px 0 12px;
}

.tl-center-logo {
  max-width: 280px;
  width: 100%;
  height: auto;
}

.tl-center-event {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rz-heading);
}

.tl-center-event time {
  color: var(--tl-blue);
  font-weight: 700;
  margin-right: 0.3em;
}

.tl-fusion-note {
  margin: 0;
  max-width: 420px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--rz-heading);
}

.tl-fusion-note time {
  font-weight: 700;
  color: var(--tl-pink);
  margin-right: 0.3em;
}

.tl-arrow-down {
  color: var(--tl-pink);
  margin-top: 4px;
}

.tl-arrow-down svg {
  width: 28px;
  height: 56px;
  stroke: currentColor;
  fill: none;
}

/* Link-Box (Zeile 5) – unten links unter der DSI-Spalte */
.tl-link-box {
  grid-column: 1;
  grid-row: 5;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--tl-pink);
  transition: color 0.15s ease, transform 0.15s ease;
}

.tl-link-box:hover {
  color: var(--rz-orange-hover);
  transform: translateY(-1px);
}

.tl-link-label {
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--tl-pink);
}

.tl-link-logo img {
  display: block;
  max-width: 300px;
  max-height: 54px;
  width: auto;
  height: auto;
}

/* Responsive: ab Mittel-Viewport alles untereinander, Merge-SVG ausblenden */
@media (max-width: 768px) {
  .tl-layout {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .tl-head--dsi,
  .tl-head--stehle,
  .tl-body--dsi,
  .tl-body--stehle,
  .tl-merge-row,
  .tl-center-block,
  .tl-link-box {
    grid-column: 1;
  }

  .tl-head--dsi     { grid-row: 1; }
  .tl-body--dsi     { grid-row: 2; min-height: 0; }
  .tl-head--stehle  { grid-row: 3; margin-top: 24px; align-items: flex-start; text-align: left; }
  .tl-body--stehle  { grid-row: 4; min-height: 0; }
  .tl-merge-row     { grid-row: 5; display: none; }
  .tl-center-block  { grid-row: 6; margin-top: 28px; }
  .tl-link-box      { grid-row: 7; }

  .tl-body--dsi {
    flex-direction: row-reverse;
  }

  .tl-events--left {
    text-align: left;
    padding-left: 18px;
    padding-right: 0;
  }

  .tl-events--left .tl-event--merge::after {
    right: auto;
    left: -24px;
  }
}

/* ============================================================
   Über-uns-Seite (ueber-uns.html)
   ============================================================ */

.uu-section {
  padding: 64px 0;
}

.uu-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: center;
}

.uu-split--reverse .uu-media {
  order: 2;
}

.uu-split--reverse .uu-text {
  order: 1;
}

@media (max-width: 900px) {
  .uu-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .uu-split--reverse .uu-media,
  .uu-split--reverse .uu-text {
    order: initial;
  }
}

.uu-media {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 10px 32px rgba(33, 44, 52, 0.14);
  aspect-ratio: 16 / 9;
  background: #0f1418;
}

.uu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.uu-media:hover img {
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .uu-media:hover img {
    transform: none;
  }
}

.uu-text {
  min-width: 0;
}

.uu-heading {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.uu-hr {
  margin: 0 0 22px;
  max-width: 72px;
  border-top-color: var(--rz-orange);
}

.uu-text p {
  margin: 0 0 1em;
  font-size: 1rem;
  line-height: 1.7;
}

/* Bullet-Liste innerhalb von Mission */
.uu-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.uu-list li {
  position: relative;
  padding: 10px 14px 10px 36px;
  background: #fafafa;
  border-left: 3px solid var(--rz-orange);
  font-size: 0.95rem;
  line-height: 1.5;
}

.uu-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rz-orange);
}

/* Stats-Zeile im Vision-Block */
.uu-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 20px;
  margin-top: 24px;
}

@media (max-width: 520px) {
  .uu-stats {
    grid-template-columns: 1fr;
  }
}

.uu-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
  background: #fff;
  border-top: 3px solid var(--rz-orange);
  box-shadow: 0 2px 14px rgba(33, 44, 52, 0.08);
}

.uu-stat-num {
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--rz-heading);
}

.uu-stat-label {
  font-size: 0.85rem;
  color: var(--rz-text);
  line-height: 1.35;
}

/* Werte-Grid im letzten Abschnitt */
.uu-values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 16px;
}

@media (max-width: 560px) {
  .uu-values-grid {
    grid-template-columns: 1fr;
  }
}

.uu-value {
  padding: 18px 20px;
  background: var(--rz-muted-bg);
  border-top: 3px solid var(--rz-orange);
}

.uu-value .rz-h3 {
  margin-bottom: 6px;
  font-size: 1.35rem;
}

.uu-value p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ============================================================
   Schweißzusätze-Seite (schweisszusaetze.html)
   ============================================================ */

/* Hero mit Headergrafik */
.sz-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #0f1418;
}

@media (min-width: 900px) {
  .sz-hero {
    min-height: 440px;
  }
}

.sz-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sz-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sz-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 24, 0.15) 0%,
    rgba(15, 20, 24, 0.45) 55%,
    rgba(15, 20, 24, 0.85) 100%
  );
}

.sz-hero-inner {
  position: relative;
  z-index: 1;
  padding: 40px 0 44px;
}

.sz-hero-crumb {
  color: rgba(255, 255, 255, 0.85);
}

.sz-hero-crumb a {
  color: rgba(255, 255, 255, 0.9);
}

.sz-hero-crumb .rz-breadcrumb-current {
  color: #fff;
}

.sz-hero-kicker {
  color: var(--rz-orange);
  margin: 0 0 6px;
  text-align: left;
}

.sz-hero-title {
  color: #fff;
  margin: 0 0 14px;
  max-width: 900px;
}

.sz-hero-lead {
  max-width: 720px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* kleine, linksbündige HR */
.sz-hr-left {
  margin: 0 0 22px;
  max-width: 72px;
}

.sz-intro {
  max-width: 820px;
  margin: 0 0 24px;
  line-height: 1.7;
}

/* Durchmesser-Grid */
.sz-diam-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 8px 0 20px;
}

@media (max-width: 720px) {
  .sz-diam-grid {
    grid-template-columns: 1fr;
  }
}

.sz-diam {
  padding: 22px 24px;
  background: #fff;
  border-top: 3px solid var(--rz-orange);
  box-shadow: 0 2px 14px rgba(33, 44, 52, 0.08);
}

.sz-diam-range {
  display: block;
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--rz-heading);
}

.sz-diam-step {
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--rz-orange);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sz-diam-desc {
  margin: 12px 0 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.sz-diam-note {
  max-width: 820px;
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--rz-text);
}

/* Werkstoff-Tiles im Periodensystem-Stil */
.sz-elements {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .sz-elements {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .sz-elements {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sz-elements--special {
  grid-template-columns: repeat(7, 1fr);
}

@media (max-width: 1100px) {
  .sz-elements--special {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .sz-elements--special {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 420px) {
  .sz-elements--special {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sz-el {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid #e6e8ea;
  border-top: 3px solid var(--rz-orange);
  box-shadow: 0 2px 10px rgba(33, 44, 52, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sz-el-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.sz-el-link .sz-el-symbol,
.sz-el-link .sz-el-name,
.sz-el-link .sz-el-desc {
  text-decoration: none;
}

.sz-el:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(33, 44, 52, 0.12);
}

.sz-el-link:focus-visible {
  outline: 2px solid var(--rz-orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .sz-el:hover {
    transform: none;
  }
}

.sz-el-symbol {
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--rz-heading);
}

.sz-el-name {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--rz-heading);
}

.sz-el-desc {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--rz-text);
}

.sz-elements--special .sz-el {
  align-items: center;
  text-align: center;
  padding: 16px 12px;
}

.sz-cta-wrap {
  margin-top: 28px;
}

/* ============================================================
   Schweißdrähte-Seite (schweissdraehte.html) – Produkttabellen
   ============================================================ */

/* Anker-Navigation über alle Serien */
.sd-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.sd-anchor-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d9dcdf;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--rz-heading);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.sd-anchor-nav a:hover,
.sd-anchor-nav a:focus-visible {
  border-color: var(--rz-orange);
  color: var(--rz-orange);
}

/* Serien-Sections */
.sd-series {
  margin-top: 48px;
  scroll-margin-top: 96px;
}

.sd-series:first-of-type {
  margin-top: 0;
}

.sd-series-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 6px;
}

.sd-series-title {
  margin: 0;
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  color: var(--rz-heading);
  line-height: 1.15;
}

.sd-series-desc {
  margin: 4px 0 18px;
  color: var(--rz-text);
  max-width: 820px;
}

/* Tabelle */
.sd-table-wrap {
  overflow-x: auto;
  border: 1px solid #e6e8ea;
  box-shadow: 0 2px 10px rgba(33, 44, 52, 0.06);
  background: #fff;
}

.sd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 720px;
}

.sd-table thead th {
  position: sticky;
  top: 0;
  text-align: left;
  padding: 10px 12px;
  background: #f4f5f6;
  border-bottom: 2px solid var(--rz-orange);
  font-weight: 700;
  color: var(--rz-heading);
  white-space: nowrap;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sd-table tbody td {
  padding: 9px 12px;
  border-bottom: 1px solid #eceef0;
  vertical-align: middle;
  color: var(--rz-text);
}

.sd-table tbody tr:hover td {
  background: #fafafa;
}

.sd-table tbody tr:last-child td {
  border-bottom: 0;
}

.sd-table td.sd-c-art,
.sd-table td.sd-c-code,
.sd-table td.sd-c-wno {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
  color: var(--rz-heading);
  font-size: 0.85rem;
}

.sd-table td.sd-c-name {
  font-weight: 600;
  color: var(--rz-heading);
}

.sd-table td.sd-c-name a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #c7cbce;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.sd-table td.sd-c-name a:hover,
.sd-table td.sd-c-name a:focus-visible {
  color: var(--rz-orange);
  border-bottom-color: var(--rz-orange);
}

.sd-table td.sd-c-basis {
  text-align: center;
  width: 1%;
  white-space: nowrap;
}

.sd-table td.sd-c-remark {
  font-size: 0.85rem;
  color: #6a7075;
  font-style: italic;
}

/* Basis-Chips */
.sd-basis {
  display: inline-block;
  min-width: 42px;
  padding: 3px 8px;
  border-radius: 3px;
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: center;
}

.sd-basis--fe  { background: #2b6cb0; }
.sd-basis--cu  { background: #dd6b20; }
.sd-basis--al  { background: #718096; }
.sd-basis--ni  { background: #48bb78; }
.sd-basis--ti  { background: #8b6e3c; }
.sd-basis--co  { background: #2f855a; }
.sd-basis--au  { background: #d69e2e; color: #3a2e00; }
.sd-basis--ag  { background: #e2a58d; color: #3a2414; }
.sd-basis--mg  { background: #d17b9a; }
.sd-basis--nb  { background: #4a5568; }
.sd-basis--ta  { background: #6b46c1; }
.sd-basis--mo  { background: #8a8936; }
.sd-basis--w   { background: #4c5a34; }
.sd-basis--wni { background: #0f9d93; }

/* Hinweiszeile über CTA */
.sd-datasheet-note {
  margin-top: 16px;
  padding: 12px 16px;
  background: #fff8ef;
  border-left: 3px solid var(--rz-orange);
  font-size: 0.9rem;
  color: var(--rz-text);
}

/* ============================================================
   Kontakt-Seite (kontakt.html)
   ============================================================ */

/* Standort-Karten */
.kt-loc-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .kt-loc-grid {
    grid-template-columns: 1fr;
  }
}

.kt-loc {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px 24px 20px;
  background: #fff;
  border-top: 3px solid var(--rz-orange);
  box-shadow: 0 2px 14px rgba(33, 44, 52, 0.08);
}

.kt-loc-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--rz-muted-bg);
  color: var(--rz-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.kt-loc:first-child .kt-loc-badge {
  background: var(--rz-orange);
  color: #fff;
}

.kt-loc-city {
  margin: 10px 0 10px;
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
  color: var(--rz-heading);
}

.kt-loc-addr {
  margin: 0 0 14px;
  font-style: normal;
  line-height: 1.55;
  color: var(--rz-text);
}

.kt-loc-map {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rz-orange);
  text-decoration: none;
}

.kt-loc-map:hover,
.kt-loc-map:focus-visible {
  text-decoration: underline;
}

/* Split: Direktkontakt + Formular */
.kt-split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 40px 56px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .kt-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* Direktkontakt-Liste */
.kt-contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 2px;
}

.kt-contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid #eceef0;
}

.kt-contact-list li:last-child {
  border-bottom: 0;
}

.kt-contact-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6a7075;
}

.kt-contact-value {
  font-family: var(--rz-teko);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--rz-heading);
  text-decoration: none;
  word-break: break-word;
}

.kt-contact-value:hover,
.kt-contact-value:focus-visible {
  color: var(--rz-orange);
}

/* Öffnungszeiten */
.kt-hours {
  padding: 18px 20px;
  background: var(--rz-muted-bg);
  border-left: 3px solid var(--rz-orange);
}

.kt-hours-title {
  margin: 0 0 10px;
  font-size: 1.125rem;
}

.kt-hours-list {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  font-size: 0.9rem;
}

.kt-hours-list dt {
  color: var(--rz-text);
}

.kt-hours-list dd {
  margin: 0;
  font-weight: 600;
  color: var(--rz-heading);
  text-align: right;
}

/* Formular */
.kt-form-intro {
  margin: 0 0 18px;
  color: var(--rz-text);
}

.kt-req {
  color: var(--rz-orange);
  font-weight: 700;
}

.kt-form {
  display: grid;
  gap: 14px;
}

.kt-form-row {
  display: grid;
  gap: 14px;
}

.kt-form-row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 520px) {
  .kt-form-row--2 {
    grid-template-columns: 1fr;
  }
}

.kt-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.kt-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--rz-heading);
  text-transform: uppercase;
}

.kt-field input[type="text"],
.kt-field input[type="email"],
.kt-field input[type="tel"],
.kt-field select,
.kt-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d9dcdf;
  border-radius: 0;
  background: #fff;
  font: inherit;
  color: var(--rz-heading);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kt-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.55;
}

.kt-field input:focus,
.kt-field select:focus,
.kt-field textarea:focus {
  outline: none;
  border-color: var(--rz-orange);
  box-shadow: 0 0 0 3px rgba(214, 39, 137, 0.15);
}

.kt-field input:invalid:not(:placeholder-shown),
.kt-field textarea:invalid:not(:placeholder-shown) {
  border-color: #c53030;
}

.kt-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 4px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.kt-check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--rz-orange);
  flex: 0 0 auto;
}

.kt-check a {
  color: var(--rz-orange);
}

.kt-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  margin-top: 8px;
}

.kt-form-note {
  margin-top: 4px;
  padding: 12px 14px;
  background: #fff8ef;
  border-left: 3px solid var(--rz-orange);
  font-size: 0.85rem;
  color: var(--rz-text);
}

.kt-form-note a {
  color: var(--rz-orange);
}

/* ============================================================
   Legal-Seiten (impressum.html, datenschutz.html)
   ============================================================ */

.rz-legal p {
  margin: 0 0 1em;
  line-height: 1.7;
}

.rz-legal a {
  color: var(--rz-orange);
}

.rz-legal-h {
  margin: 28px 0 8px;
  font-size: 1.25rem;
  color: var(--rz-heading);
}

.rz-legal-h:first-of-type {
  margin-top: 0;
}

.rz-legal-source {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #e6e8ea;
  font-size: 0.85rem;
  color: #6a7075;
}

/* Helle Variante des rz-link für dunkle CTA-Bereiche */
.rz-link-light {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.rz-link-light:hover,
.rz-link-light:focus-visible {
  text-decoration-thickness: 2px;
}

/* ============================================================
   Startseite: Werkstoff-Karussell „Das erwartet Sie bei uns"
   ============================================================ */

.hp-mat-lead {
  max-width: 820px;
  margin: 6px 0 22px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--rz-text);
}

.hp-mat-carousel {
  position: relative;
  padding: 0 56px;
}

.hp-mat-viewport {
  overflow: hidden;
}

.hp-mat-track {
  list-style: none;
  margin: 0;
  padding: 4px 2px;
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.hp-mat-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
}

@media (max-width: 980px) {
  .hp-mat-slide {
    flex-basis: calc((100% - 24px) / 2);
  }
  .hp-mat-track {
    gap: 24px;
  }
}

@media (max-width: 620px) {
  .hp-mat-carousel {
    padding: 0 44px;
  }
  .hp-mat-slide {
    flex-basis: 100%;
  }
}

.hp-mat-tile {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px 20px 22px;
  background: #fff;
  border: 1px solid #e6e8ea;
  border-top: 3px solid var(--rz-orange);
  box-shadow: 0 2px 10px rgba(33, 44, 52, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.hp-mat-tile:hover,
.hp-mat-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(33, 44, 52, 0.14);
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .hp-mat-tile:hover,
  .hp-mat-tile:focus-visible {
    transform: none;
  }
  .hp-mat-track {
    transition: none;
  }
}

.hp-mat-symbol {
  font-family: var(--rz-teko);
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--rz-heading);
}

.hp-mat-name {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--rz-heading);
}

.hp-mat-desc {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--rz-text);
}

/* Pfeil-Navigation */
.hp-mat-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid #d7dadd;
  border-radius: 50%;
  background: #fff;
  color: var(--rz-heading);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(33, 44, 52, 0.08);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}

.hp-mat-nav span {
  display: block;
  margin-top: -3px;
}

.hp-mat-nav:hover:not(:disabled),
.hp-mat-nav:focus-visible:not(:disabled) {
  background: var(--rz-orange);
  border-color: var(--rz-orange);
  color: #fff;
  outline: none;
}

.hp-mat-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.hp-mat-prev {
  left: 0;
}

.hp-mat-next {
  right: 0;
}

/* Dots unter dem Karussell */
.hp-mat-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hp-mat-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #b6bbc0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.hp-mat-dot:hover,
.hp-mat-dot:focus-visible {
  border-color: var(--rz-orange);
  outline: none;
}

.hp-mat-dot.is-active {
  background: var(--rz-orange);
  border-color: var(--rz-orange);
  transform: scale(1.1);
}

.hp-mat-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}
