:root {
  --black: #080808;
  --anthracite: #151515;
  --red: #c5001a;
  --red-light: #ff3046;
  --white: #ffffff;
  --gray: #c9c9c9;
  --gray-soft: #919191;
  --glass: rgba(18, 18, 18, 0.76);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --radius-xl: 32px;
  --radius-lg: 26px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.24);

  /* Gleicher Abstand wie bei der Visitenkartenseite */
  --site-gutter: clamp(28px, 5vw, 92px);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--white);
  background: #000000;
  font-family: "Avenir Next", Avenir, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.045em;
}

p {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.75;
}


/* ==========================================================
   HEADER
========================================================== */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;

  width: 100%;
  min-height: 92px;
  padding: 0 var(--site-gutter);

  display: flex;
  align-items: center;

  background: rgba(8, 8, 8, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  width: 100%;
  min-height: 92px;
  margin: 0;

  display: flex;
  align-items: center;
  gap: clamp(26px, 3vw, 54px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.logo {
  display: block;
  text-decoration: none;
}

.logo img {
  width: auto;
  height: 64px;
}

.company-name {
  display: flex;
  flex-direction: column;

  line-height: 1.05;
  text-decoration: none;
}

.company-name span {
  color: #ffffff;
  font-size: 1.03rem;
  font-weight: 800;
  white-space: nowrap;
}

.company-name strong {
  color: var(--red-light);
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.nav {
  margin-left: auto;

  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 1.75vw, 34px);
}

.nav a {
  position: relative;

  padding: 11px 0;

  color: rgba(255, 255, 255, 0.88);

  font-size: clamp(0.88rem, 0.82vw, 1rem);
  font-weight: 760;
  line-height: 1.2;

  text-decoration: none;
  white-space: nowrap;
}

.nav a::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;

  height: 2px;

  background: var(--red-light);

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.3s ease;
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  margin-left: auto;

  color: var(--white);
  background: transparent;
  border: 0;

  font-size: 1.9rem;
  cursor: pointer;
}


/* ==========================================================
   HERO
========================================================== */

.hero {
  padding-top: 92px;
}

.hero-video-banner {
  position: relative;

  width: 100%;
  height: clamp(380px, 46vw, 720px);

  overflow: hidden;
  background: #050505;
}

.hero-video-banner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.48),
      rgba(0, 0, 0, 0.1)
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.05),
      rgba(0, 0, 0, 0.58)
    );
}

.hero-content {
  width: 100%;
  margin: 0;
  padding:
    62px
    var(--site-gutter)
    88px;
}

.hero-title {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.5vw, 34px);

  margin-bottom: 22px;

  font-size: clamp(3rem, 7vw, 7.1rem);
  line-height: 0.96;
  letter-spacing: -0.075em;
}

.hero-title span {
  transition:
    color 0.4s ease,
    text-shadow 0.4s ease;
}

.hero-title span.active {
  color: var(--red-light);
  text-shadow: 0 0 28px rgba(255, 48, 70, 0.18);
}

.hero-subline {
  max-width: 820px;
  margin-bottom: 30px;

  font-size: clamp(1rem, 1.2vw, 1.16rem);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 48px;
  padding: 0 26px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;

  font-weight: 800;
  text-decoration: none;

  cursor: pointer;
  backdrop-filter: blur(14px);

  transition:
    transform 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(197, 0, 26, 0.8);

  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
}


/* ==========================================================
   MARQUEE
========================================================== */

.marquee {
  width: 100%;
  overflow: hidden;

  background: rgba(20, 20, 20, 0.62);
  border-block: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(16px);
}

.marquee-track {
  width: max-content;
  padding: 13px 0;

  display: flex;
  align-items: center;
  gap: 26px;

  will-change: transform;
}

.marquee-track span {
  color: var(--white);

  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-dot {
  width: 7px;
  height: 7px;

  flex-shrink: 0;

  background: var(--red-light);
  border-radius: 50%;

  box-shadow: 0 0 10px rgba(255, 48, 70, 0.45);
}


/* ==========================================================
   ALLGEMEINE SECTIONS
========================================================== */

.section {
  position: relative;

  width: 100%;
  margin: 0;
  padding:
    110px
    var(--site-gutter);

  overflow: visible;
}

.section-head {
  max-width: 850px;
  margin: 0 0 54px;
  text-align: left;
}

.section-head .eyebrow {
  margin-bottom: 14px;
}

.eyebrow {
  color: var(--red-light);

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 18px;

  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.1;
}


/* ==========================================================
   LEISTUNGEN
========================================================== */

.services-section {
  padding-bottom: 92px;
}

.service-layout {
  width: 100%;
  display: grid;
  gap: 24px;
}

.service-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;

  width: 100%;
  min-height: 420px;

  overflow: hidden;

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  text-decoration: none;
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.service-card img {
  position: absolute;
  inset: 18px 18px auto;

  width: calc(100% - 36px);
  height: 56%;

  object-fit: contain;
  border-radius: 22px;

  transition: transform 0.45s ease;
}

.service-card::after {
  content: "";

  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0.06) 43%,
    rgba(0, 0, 0, 0.95) 100%
  );
}

.service-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;

  padding: 24px;
}

.service-content span {
  color: var(--red-light);

  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-content h3 {
  margin: 8px 0;
  font-size: 1.36rem;
}

.service-content p {
  min-height: 60px;

  font-size: 0.84rem;
  line-height: 1.5;
}

.service-content strong {
  margin-top: 8px;

  display: inline-flex;
  align-items: center;
  gap: 7px;

  font-size: 0.8rem;
  white-space: nowrap;
}

.service-content strong::after {
  content: "→";
  transition: transform 0.3s ease;
}

.service-card:hover {
  border-color: var(--border-hover);

  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.service-card:hover img {
  transform: scale(1.035);
}

.service-card:hover strong {
  color: var(--red-light);
}

.service-card:hover strong::after {
  transform: translateX(4px);
}


/* ==========================================================
   COUNTER
========================================================== */

.service-side-info {
  width: 100%;
  padding: 34px;

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.service-counter-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.service-counter-head h3 {
  margin: 10px 0;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.service-text {
  font-size: 0.92rem;
  line-height: 1.6;
}

.counter-box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.counter-item {
  min-height: 145px;
  padding: 24px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.counter-number {
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.counter,
.plus {
  color: var(--red-light);
  font-weight: 900;
  line-height: 1;
}

.counter {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.plus {
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.counter-item p {
  margin-top: 10px;
  font-size: 0.9rem;
}


/* ==========================================================
   PRODUKTE
========================================================== */

.products-section {
  width: 100%;
}

.product-grid {
  width: 100%;
  margin: 70px 0 110px;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;

  width: 100%;
  min-height: 350px;

  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  text-decoration: none;
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card img {
  width: min(72%, 330px);
  height: 210px;
  margin: 22px auto 4px;

  object-fit: contain;

  transition: transform 0.4s ease;
}

.product-card > div {
  flex: 1;
  padding: 12px 24px 36px;
  text-align: center;
}

.product-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.product-card p {
  max-width: 270px;
  margin: 0 auto;

  font-size: 0.84rem;
  line-height: 1.5;
}

.product-card span {
  display: none;
}

.product-card::after {
  content: "Mehr erfahren →";

  position: absolute;
  bottom: 15px;
  left: 50%;

  color: var(--red-light);

  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;

  opacity: 0;
  transform: translate(-50%, 7px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.product-card:hover {
  background: rgba(30, 30, 30, 0.86);
  border-color: var(--border-hover);

  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card:hover::after {
  opacity: 1;
  transform: translate(-50%, 0);
}


/* ==========================================================
   KUNDENLOGOS
========================================================== */

.client-section .section-head {
  margin-bottom: 34px;
}

.logo-slider {
  position: relative;

  width: 100%;
  margin-top: 30px;

  overflow: hidden;

  mask-image: linear-gradient(
    90deg,
    transparent,
    #000000 7%,
    #000000 93%,
    transparent
  );
}

.logo-track {
  width: max-content;

  display: flex;
  gap: 22px;

  will-change: transform;
}

.logo-item {
  width: clamp(220px, 18vw, 290px);
  height: clamp(125px, 10vw, 160px);
  padding: 18px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(245, 245, 245, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 22px;

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.logo-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  transition: transform 0.35s ease;
}

.logo-large img {
  width: 112%;
  height: 112%;
}

.logo-wide img {
  width: 122%;
  height: auto;
}

.logo-crop img {
  width: 136%;
  height: 136%;
}

.logo-item:hover {
  background: rgba(255, 255, 255, 0.96);

  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.logo-item:hover img {
  transform: scale(1.04);
}

.slider-btn,
.person-btn {
  position: absolute;
  top: 50%;
  z-index: 20;

  width: 46px;
  height: 46px;

  color: var(--white);
  background: rgba(255, 255, 255, 0.1);

  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;

  font-size: 1.7rem;
  cursor: pointer;

  opacity: 0;
  pointer-events: none;

  transform: translateY(-50%);
  backdrop-filter: blur(14px);

  transition:
    opacity 0.3s ease,
    background 0.3s ease;
}

.logo-slider:hover .slider-btn,
.person-slider:hover .person-btn {
  opacity: 1;
  pointer-events: auto;
}

.slider-btn:hover,
.person-btn:hover {
  background: rgba(197, 0, 26, 0.9);
}

.prev,
.logo-prev,
.person-prev {
  left: 14px;
}

.next,
.logo-next,
.person-next {
  right: 14px;
}

/* ==========================================================
   HISTORIE
========================================================== */

.history-section {
  position: relative;

  width: 100%;

  overflow: visible;

  z-index: 1;
}


/* ==========================================================
   TIMELINE
========================================================== */

.timeline-horizontal {
  position: relative;

  width: 100%;

  min-height: 720px;

  margin-top: 60px;

  padding:
    210px
    55px;

  display: flex;

  align-items: center;

  justify-content: space-between;

  overflow: visible;
}


/* ==========================================================
   GRUNDLINIE + FORTSCHRITT
========================================================== */

.timeline-base,
.timeline-progress {
  position: absolute;

  top: 50%;
  left: 55px;

  height: 7px;

  border-radius: 999px;

  transform: translateY(-50%);
}


.timeline-base {
  right: 55px;

  z-index: 1;

  background:
    rgba(255, 255, 255, 0.17);
}


.timeline-progress {
  z-index: 2;

  width: 0;

  background:
    linear-gradient(
      90deg,
      var(--red),
      var(--red-light)
    );

  transition:
    width 0.6s
    cubic-bezier(
      0.22,
      0.9,
      0.3,
      1
    );
}


/* ==========================================================
   EINZELNE TIMELINE-STATION
========================================================== */

.timeline-item {
  position: relative;

  z-index: 4;

  width: 110px;
  height: 370px;

  flex:
    0 0
    110px;

  display: flex;

  align-items: center;

  justify-content: center;
}


/*
   WICHTIG:
   Das GESAMTE aktive Element muss vor
   den benachbarten Jahreszahlen liegen.
*/

.timeline-item:hover,
.timeline-item.is-active,
.timeline-item.active {
  z-index: 200;
}


/* ==========================================================
   PUNKT
========================================================== */

.timeline-point {
  position: absolute;

  top: 50%;
  left: 50%;

  z-index: 5;

  width: 24px;
  height: 24px;

  background: #111111;

  border:
    4px solid
    var(--white);

  border-radius: 50%;

  transform:
    translate(
      -50%,
      -50%
    );

  transition:
    transform 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}


/* ==========================================================
   JAHRESZAHL
========================================================== */

.timeline-year {
  position: absolute;

  z-index: 7;

  padding: 0;

  color: var(--white);

  background: transparent;

  border: 0;

  font-size:
    clamp(
      1.1rem,
      1.7vw,
      1.65rem
    );

  font-weight: 900;

  cursor: pointer;

  transition:
    color 0.35s ease;
}


.timeline-item:nth-of-type(odd)
.timeline-year {
  bottom: 58px;
}


.timeline-item:nth-of-type(even)
.timeline-year {
  top: 58px;
}


/* ==========================================================
   VERBINDUNG ZUR LINIE
========================================================== */

.timeline-item::before {
  content: "";

  position: absolute;

  left: 50%;

  width: 2px;
  height: 78px;

  background:
    rgba(255, 255, 255, 0.26);

  transform:
    translateX(-50%);
}


.timeline-item:nth-of-type(odd)::before {
  top: 50%;
}


.timeline-item:nth-of-type(even)::before {
  bottom: 50%;
}


/* ==========================================================
   INFO-KARTE
========================================================== */

.timeline-info-card {
  position: absolute;

  z-index: 20;

 width:
  clamp(
    320px,
    23vw,
    375px
  );

  overflow: hidden;

  background: #000000;

  border:
    1px solid
    rgba(255, 255, 255, 0.14);

  border-radius: 22px;

  box-shadow:
    0 28px 80px
    rgba(0, 0, 0, 0.7);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.35s ease;
}


/* ==========================================================
   POSITION OBEN / UNTEN
========================================================== */
.timeline-item:nth-of-type(odd)
.timeline-info-card {
  top: -155px;

  left: 50%;

  transform:
    translateX(-50%)
    translateY(16px)
    scale(0.98);
}


.timeline-item:nth-of-type(even)
.timeline-info-card {
  bottom: -155px;

  left: 50%;

  transform:
    translateX(-50%)
    translateY(16px)
    scale(0.98);
}

/* ==========================================================
   ERSTE KARTE
========================================================== */

.timeline-item:first-of-type
.timeline-info-card {
  left: 0;

  transform:
    translateX(0)
    translateY(16px)
    scale(0.98);
}


/* ==========================================================
   LETZTE KARTE
========================================================== */

.timeline-item:last-of-type
.timeline-info-card {
  right: 0;
  left: auto;

  transform:
    translateX(0)
    translateY(16px)
    scale(0.98);
}


/* ==========================================================
   BILDER
========================================================== */

.timeline-info-card img {
  position: relative;

  z-index: 2;

  width: 100%;

  height:
    clamp(
      190px,
      16vw,
      245px
    );

  padding: 10px;

  object-fit: contain;

  object-position: center;

  background: #000000;

  transition:
    transform 0.45s ease;
}


/*
   Nur ganz leicht vergrößern,
   Inhalt bleibt vollständig sichtbar.
*/

.timeline-item:hover
.timeline-year,
.timeline-item.is-active
.timeline-year,
.timeline-item.active
.timeline-year {
  color: var(--red-light);

  text-shadow:
    0 0 12px rgba(255, 48, 70, 0.32);
}


/* ==========================================================
   TEXTBEREICH
========================================================== */

.timeline-info-card > div {
  position: relative;

  z-index: 3;

  padding:
    18px
    22px
    22px;

  background: #000000;
}


.timeline-info-card h3 {
  margin:
    0 0 9px;

  color:
    var(--red-light);

  font-size: 1rem;

  line-height: 1.25;

  overflow-wrap: anywhere;
}


.timeline-info-card p {
  margin: 0;

  color:
    var(--gray);

  font-size: 0.78rem;

  line-height: 1.55;

  overflow-wrap: anywhere;
}


/* ==========================================================
   KARTE SICHTBAR
========================================================== */

.timeline-item:hover
.timeline-info-card,
.timeline-item.is-active
.timeline-info-card,
.timeline-item.active
.timeline-info-card {
  opacity: 1;

  pointer-events: auto;

  border-color:
    rgba(
      255,
      48,
      70,
      0.3
    );
}


/* ==========================================================
   MITTLERE KARTEN AKTIV
========================================================== */

.timeline-item:not(:first-of-type):not(:last-of-type):hover
.timeline-info-card,
.timeline-item:not(:first-of-type):not(:last-of-type).is-active
.timeline-info-card,
.timeline-item:not(:first-of-type):not(:last-of-type).active
.timeline-info-card {
  transform:
    translateX(-50%)
    translateY(0)
    scale(1);
}


/* ==========================================================
   ERSTE + LETZTE KARTE AKTIV
========================================================== */

.timeline-item:first-of-type:hover
.timeline-info-card,
.timeline-item:first-of-type.is-active
.timeline-info-card,
.timeline-item:first-of-type.active
.timeline-info-card,
.timeline-item:last-of-type:hover
.timeline-info-card,
.timeline-item:last-of-type.is-active
.timeline-info-card,
.timeline-item:last-of-type.active
.timeline-info-card {
  transform:
    translateX(0)
    translateY(0)
    scale(1);
}


/* ==========================================================
   AKTIVER PUNKT
========================================================== */

.timeline-item:hover
.timeline-point,
.timeline-item.is-active
.timeline-point,
.timeline-item.active
.timeline-point {
  background: var(--red);

  border-color: var(--red);

  transform:
    translate(
      -50%,
      -50%
    )
    scale(1.25);

  box-shadow:
    0 0 24px
    rgba(
      197,
      0,
      26,
      0.72
    );
}


/* ==========================================================
   AKTIVES JAHR
========================================================== */

.timeline-item:hover
.timeline-year,
.timeline-item.is-active
.timeline-year,
.timeline-item.active
.timeline-year {
  color: var(--red-light);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 980px) {

  .timeline-horizontal {
    position: relative;

    width: 100%;

    min-height: 0;

    margin-top: 38px;

    padding:
      0
      0
      0
      70px;

    display: grid;

    gap: 18px;

    overflow: visible;
  }


  .timeline-base,
  .timeline-progress {
    display: none;
  }


  .timeline-horizontal::before {
    content: "";

    position: absolute;

    top: 18px;
    bottom: 18px;
    left: 28px;

    width: 2px;

    background:
      rgba(255, 255, 255, 0.14);

    border-radius: 999px;
  }


  .timeline-item {
    position: relative;

    width: 100%;

    min-width: 0;

    height: auto;

    display: block;
  }


  /*
     Auf Tablet liegen die Karten ohnehin
     direkt im normalen Layout.
  */

  .timeline-item:hover,
  .timeline-item.is-active,
  .timeline-item.active {
    z-index: 10;
  }


  .timeline-item::before {
    top: 29px;
    left: -35px;

    width: 35px;
    height: 2px;

    transform: none;
  }


  .timeline-year {
    top: 10px !important;
    bottom: auto !important;

    left: -70px;

    width: 60px;

    min-height: 38px;

    padding:
      0 6px;

    display: grid;

    place-items: center;

    background:
      #0e0e0e;

    border:
      1px solid
      rgba(255, 255, 255, 0.14);

    border-radius: 999px;

    font-size: 0.68rem;

    transform: none;
  }


  .timeline-point {
    top: 23px;
    left: -48px;

    width: 13px;
    height: 13px;

    border-width: 2px;

    transform: none;
  }


  .timeline-info-card,
  .timeline-item:first-of-type
  .timeline-info-card,
  .timeline-item:last-of-type
  .timeline-info-card {
    position: relative;

    inset: auto;

    width: 100%;

    min-height: 175px;

    padding: 10px;

    display: grid;

    grid-template-columns:
      minmax(
        180px,
        31%
      )
      minmax(
        0,
        1fr
      );

    gap: 16px;

    background: #000000;

    opacity: 1;

    pointer-events: auto;

    transform: none;

    box-shadow:
      0 18px 45px
      rgba(0, 0, 0, 0.35);
  }


  .timeline-info-card img {
    width: 100%;

    height: 155px;

    padding: 4px;

    object-fit: contain;

    object-position: center;

    background: #000000;

    border-radius: 14px;
  }


  .timeline-info-card > div {
    padding:
      10px
      14px
      10px
      0;

    display: flex;

    flex-direction: column;

    justify-content: center;

    background: #000000;
  }


  .timeline-info-card h3 {
    font-size: 1rem;
  }


  .timeline-info-card p {
    font-size: 0.78rem;

    line-height: 1.52;
  }


  .timeline-item:hover
  .timeline-info-card,
  .timeline-item.is-active
  .timeline-info-card,
  .timeline-item.active
  .timeline-info-card,
  .timeline-item:first-of-type:hover
  .timeline-info-card,
  .timeline-item:first-of-type.is-active
  .timeline-info-card,
  .timeline-item:first-of-type.active
  .timeline-info-card,
  .timeline-item:last-of-type:hover
  .timeline-info-card,
  .timeline-item:last-of-type.is-active
  .timeline-info-card,
  .timeline-item:last-of-type.active
  .timeline-info-card {
    transform: none;
  }


  .timeline-item:hover
  .timeline-info-card img,
  .timeline-item.is-active
  .timeline-info-card img,
  .timeline-item.active
  .timeline-info-card img {
    transform: none;
  }

}


/* ==========================================================
   HANDY
========================================================== */

@media (max-width: 700px) {

  .timeline-horizontal {
    padding-left: 64px;
  }


  .timeline-horizontal::before {
    left: 26px;
  }


  .timeline-year {
    left: -64px;

    width: 54px;
  }


  .timeline-point {
    left: -43px;
  }


  .timeline-item::before {
    left: -30px;

    width: 30px;
  }


  .timeline-info-card,
  .timeline-item:first-of-type
  .timeline-info-card,
  .timeline-item:last-of-type
  .timeline-info-card {
    min-height: 130px;

    padding: 8px;

    grid-template-columns:
      125px
      minmax(
        0,
        1fr
      );

    gap: 11px;

    background: #000000;
  }


  .timeline-info-card img {
    height: 112px;

    padding: 2px;

    object-fit: contain;

    background: #000000;

    border-radius: 10px;
  }


  .timeline-info-card > div {
    padding:
      4px
      5px
      4px
      0;

    background: #000000;
  }


  .timeline-info-card h3 {
    margin-bottom: 5px;

    font-size: 0.88rem;
  }


  .timeline-info-card p {
    display: -webkit-box;

    overflow: hidden;

    font-size: 0.68rem;

    line-height: 1.42;

    -webkit-line-clamp: 5;

    -webkit-box-orient: vertical;
  }

}


/* ==========================================================
   KLEINE HANDYS
========================================================== */

@media (max-width: 420px) {

  .timeline-horizontal {
    padding-left: 56px;
  }


  .timeline-horizontal::before {
    left: 21px;
  }


  .timeline-year {
    left: -56px;

    width: 48px;

    font-size: 0.59rem;
  }


  .timeline-point {
    left: -39px;
  }


  .timeline-item::before {
    left: -25px;

    width: 25px;
  }


  .timeline-info-card,
  .timeline-item:first-of-type
  .timeline-info-card,
  .timeline-item:last-of-type
  .timeline-info-card {
    grid-template-columns:
      105px
      minmax(
        0,
        1fr
      );
  }


  .timeline-info-card img {
    height: 100px;
  }


  .timeline-info-card p {
    -webkit-line-clamp: 4;
  }

}


/* ==========================================================
   KLEINE HANDYS
========================================================== */

@media (max-width: 420px) {

  .timeline-horizontal {
    padding-left:
      56px;
  }


  .timeline-horizontal::before {
    left: 21px;
  }


  .timeline-year {
    left: -56px;

    width: 48px;

    font-size:
      0.59rem;
  }


  .timeline-point {
    left: -39px;
  }


  .timeline-item::before {
    left: -25px;

    width: 25px;
  }


  .timeline-info-card,
  .timeline-item:first-of-type
  .timeline-info-card,
  .timeline-item:last-of-type
  .timeline-info-card {
    grid-template-columns:
      105px
      minmax(
        0,
        1fr
      );
  }


  .timeline-info-card img {
    height: 100px;
  }


  .timeline-info-card p {
    -webkit-line-clamp:
      4;
  }

}

/* ==========================================================
   KARRIERE
========================================================== */

.career-grid {
  width: 100%;

  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.career-card {
  min-height: 190px;
  padding: 26px;

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 24px;

  text-decoration: none;
  box-shadow: var(--shadow-soft);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.career-card h3 {
  margin-bottom: 12px;
  font-size: 1.34rem;
}

.career-card p {
  font-size: 0.9rem;
}

.career-card span {
  display: inline-block;
  margin-top: 20px;

  color: var(--red-light);
  font-weight: 800;
}

.career-card:hover {
  background: rgba(30, 30, 30, 0.84);
  border-color: var(--border-hover);

  transform: translateY(-7px);
  box-shadow: var(--shadow);
}


/* ==========================================================
   TEAM
========================================================== */

.team-section {
  overflow: hidden;
}

.person-slider {
  position: relative;
  width: 100%;

  overflow: hidden;

  mask-image: linear-gradient(
    90deg,
    transparent,
    #000000 5%,
    #000000 95%,
    transparent
  );
}

.person-track {
  width: max-content;

  display: flex;
  gap: 22px;

  will-change: transform;
}

.person-card {
  width: 330px;
  min-width: 330px;
  height: 420px;
  padding: 28px;

  flex-shrink: 0;

  display: flex;
  flex-direction: column;

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-soft);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.person-card h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.person-position {
  min-height: 48px;
  margin-bottom: 22px;

  color: var(--gray);
  line-height: 1.5;
}

.person-contact {
  display: grid;
  gap: 13px;
}

.person-contact span {
  display: block;
  margin-bottom: 3px;

  color: var(--red-light);

  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.person-contact p {
  color: var(--white);

  font-size: 0.9rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.person-button {
  min-height: 46px;
  margin-top: auto;
  padding: 0 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  font-weight: 800;
  text-decoration: none;

  transition: background 0.3s ease;
}

.person-card:hover {
  background: rgba(30, 30, 30, 0.84);
  border-color: var(--border-hover);

  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.person-button:hover {
  background: rgba(197, 0, 26, 0.88);
}


/* ==========================================================
   KONTAKT
========================================================== */

.contact-form-box {
  width: 100%;
  padding: clamp(30px, 4vw, 56px);

  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.contact-form-box > p:not(.eyebrow) {
  max-width: 760px;
}

.contact-form {
  width: 100%;
  margin-top: 30px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-form textarea,
.contact-form .file-upload,
.contact-form button {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 17px;

  color: var(--white);
  background: rgba(255, 255, 255, 0.075);

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255, 48, 70, 0.72);
  box-shadow: 0 0 0 3px rgba(255, 48, 70, 0.08);
}

.contact-form select option {
  color: var(--black);
}

.file-upload {
  padding: 18px;

  color: var(--gray);
  border: 1px dashed rgba(255, 255, 255, 0.34);
  border-radius: 14px;

  cursor: pointer;
}

.file-upload input {
  margin-top: 10px;
}

.contact-form button.btn.primary {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);

  box-shadow: 0 12px 30px rgba(197, 0, 26, 0.28);
}

.contact-form button.btn.primary:hover,
.contact-form button.btn.primary:focus-visible {
  color: #ffffff;
  background: var(--red-light);
  border-color: var(--red-light);

  box-shadow: 0 16px 38px rgba(197, 0, 26, 0.38);
  outline: none;
}

.map-box {
  width: 100%;
  height: clamp(340px, 34vw, 520px);
  margin-top: 30px;

  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);

  box-shadow: var(--shadow-soft);
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* ==========================================================
   FOOTER
========================================================== */

.footer {
  width: 100%;
  padding:
    52px
    var(--site-gutter);

  background: rgba(10, 10, 10, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);

  text-align: center;
  backdrop-filter: blur(12px);
}

.footer > * {
  width: 100%;
  margin-right: 0;
  margin-left: 0;
}

.footer-main {
  margin-bottom: 8px;

  color: var(--white);
  font-weight: 800;
}

.footer-small {
  margin-bottom: 4px;

  color: var(--gray-soft);
  font-size: 0.86rem;
}

.footer-links {
  margin-top: 18px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer a {
  color: var(--gray);
  font-weight: 700;
  text-decoration: none;
}

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


/* ==========================================================
   NACH-OBEN-BUTTON
========================================================== */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;

  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  background: var(--red);
  border-radius: 50%;

  text-decoration: none;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}


/* ==========================================================
   COOKIE-BANNER
========================================================== */

.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 3000;

  padding: 20px 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  background: rgba(8, 8, 8, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
}

.cookie-banner.hide {
  display: none;
}

.cookie-banner button {
  min-height: 42px;
  padding: 0 20px;

  color: var(--white);
  background: var(--red);

  border: 0;
  border-radius: 999px;

  cursor: pointer;
}


/* ==========================================================
   REVEAL
========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(38px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1180px) {
  .header-inner {
    min-height: 86px;
  }

  .header .logo img {
    height: 58px;
  }

  .header .nav {
    gap: 17px;
  }

  .header .nav a {
    font-size: 0.88rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .career-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ==========================================================
   TABLET-NAVIGATION UND VERTIKALE HISTORIE
========================================================== */

@media (max-width: 980px) {
  .header {
    min-height: 82px;
  }

  .header-inner {
    position: relative;
    min-height: 82px;
  }

  .header .menu-btn {
    display: block;
    margin-left: auto;
  }

  .header .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    z-index: 1001;

    margin: 0;
    padding: 16px;

    display: grid;
    gap: 4px;

    background: rgba(13, 13, 13, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;

    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;

    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .header .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .header .nav a {
    width: 100%;
    padding: 13px 14px;

    border-radius: 12px;
    font-size: 0.96rem;
  }

  .header .nav a:hover,
  .header .nav a:focus-visible {
    background: rgba(255, 255, 255, 0.06);
  }

  .header .nav a::after {
    display: none;
  }

  .hero-video-banner {
    height: 460px;
  }

  .counter-box {
    grid-template-columns: 1fr;
  }

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

  .timeline-horizontal {
    position: relative;

    width: 100%;
    min-height: 0;
    margin-top: 38px;
    padding: 0 0 0 70px;

    display: grid;
    gap: 18px;

    overflow: visible;
  }

  .timeline-base,
  .timeline-progress {
    display: none;
  }

  .timeline-horizontal::before {
    content: "";

    position: absolute;
    top: 18px;
    bottom: 18px;
    left: 28px;

    width: 2px;

    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
  }

  .timeline-item {
    position: relative;

    width: 100%;
    min-width: 0;
    height: auto;

    display: block;
  }

  .timeline-item::before {
    top: 29px;
    left: -35px;

    width: 35px;
    height: 2px;

    transform: none;
  }

  .timeline-year {
    top: 10px !important;
    bottom: auto !important;
    left: -70px;

    width: 60px;
    min-height: 38px;
    padding: 0 6px;

    display: grid;
    place-items: center;

    background: rgba(14, 14, 14, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;

    font-size: 0.68rem;
    transform: none;
  }

  .timeline-point {
    top: 23px;
    left: -48px;

    width: 13px;
    height: 13px;

    border-width: 2px;
    transform: none;
  }

  .timeline-info-card,
  .timeline-item:first-of-type .timeline-info-card,
  .timeline-item:last-of-type .timeline-info-card {
    position: relative;
    inset: auto;

    width: 100%;
    min-height: 150px;
    padding: 10px;

    display: grid;
    grid-template-columns:
      minmax(145px, 28%)
      minmax(0, 1fr);
    gap: 16px;

    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .timeline-info-card img {
    width: 100%;
    height: 130px;
    border-radius: 14px;
  }

  .timeline-info-card > div {
    padding: 10px 14px 10px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .timeline-info-card h3 {
    font-size: 1rem;
  }

  .timeline-info-card p {
    font-size: 0.78rem;
    line-height: 1.52;
  }

  .timeline-item:hover .timeline-info-card,
  .timeline-item.is-active .timeline-info-card,
  .timeline-item.active .timeline-info-card,
  .timeline-item:first-of-type:hover .timeline-info-card,
  .timeline-item:first-of-type.is-active .timeline-info-card,
  .timeline-item:first-of-type.active .timeline-info-card,
  .timeline-item:last-of-type:hover .timeline-info-card,
  .timeline-item:last-of-type.is-active .timeline-info-card,
  .timeline-item:last-of-type.active .timeline-info-card {
    transform: none;
  }
}


/* ==========================================================
   HANDY
========================================================== */

@media (max-width: 700px) {
  :root {
    --site-gutter: 18px;
  }

  .header {
    min-height: 76px;
    padding-right: var(--site-gutter);
    padding-left: var(--site-gutter);
  }

  .header-inner {
    width: 100%;
    min-height: 76px;
  }

  .header .logo img {
    height: 48px;
  }

  .company-name span {
    font-size: 0.86rem;
  }

  .company-name strong {
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-video-banner {
    height: 330px;
  }

  .hero-content {
    padding:
      42px
      var(--site-gutter)
      62px;
  }

  .hero-title {
    gap: 10px 18px;
    font-size: clamp(2.6rem, 15vw, 4.6rem);
  }

  .hero-subline {
    font-size: 0.94rem;
    white-space: normal;
  }

  .hero-buttons {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding:
      78px
      var(--site-gutter);
  }

  .section-head {
    margin-bottom: 38px;
    text-align: left;
  }

  .section-head p {
    font-size: 0.92rem;
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

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

  .service-card {
    min-height: 390px;
  }

  .service-card img {
    height: 54%;
  }

  .service-side-info {
    padding: 24px 18px;
  }

  .counter-item {
    min-height: 125px;
  }

  .product-grid {
    margin-top: 35px;
    margin-bottom: 80px;

    grid-template-columns: 1fr;
    gap: 22px;
  }

  .product-card {
    min-height: 320px;
  }

  .product-card img {
    height: 185px;
  }

  .logo-item {
    width: 220px;
    height: 130px;
  }

  .slider-btn,
  .person-btn {
    opacity: 1;
    pointer-events: auto;
  }

  .timeline-horizontal {
    padding-left: 64px;
  }

  .timeline-horizontal::before {
    left: 26px;
  }

  .timeline-year {
    left: -64px;
    width: 54px;
  }

  .timeline-point {
    left: -43px;
  }

  .timeline-item::before {
    left: -30px;
    width: 30px;
  }

  .timeline-info-card,
  .timeline-item:first-of-type .timeline-info-card,
  .timeline-item:last-of-type .timeline-info-card {
    min-height: 118px;
    padding: 9px;

    grid-template-columns:
      108px
      minmax(0, 1fr);
    gap: 10px;
  }

  .timeline-info-card img {
    height: 96px;
    border-radius: 11px;
  }

  .timeline-info-card > div {
    padding: 4px 5px 4px 0;
  }

  .timeline-info-card h3 {
    margin-bottom: 5px;
    font-size: 0.86rem;
  }

  .timeline-info-card p {
    display: -webkit-box;

    overflow: hidden;

    font-size: 0.66rem;
    line-height: 1.4;

    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
  }

  .person-card {
    width: 290px;
    min-width: 290px;
    height: 410px;
    padding: 24px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea,
  .contact-form .file-upload,
  .contact-form button {
    grid-column: auto;
  }

  .contact-form button.btn.primary {
    width: 100%;
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    left: 14px;

    padding: 18px;

    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner button {
    width: 100%;
  }
}


/* ==========================================================
   KLEINE HANDYS
========================================================== */

@media (max-width: 420px) {
  .brand {
    gap: 10px;
  }

  .company-name {
    display: none;
  }

  .hero-video-banner {
    height: 285px;
  }

  .service-card {
    min-height: 370px;
  }

  .product-card img {
    width: 72%;
  }

  .timeline-horizontal {
    padding-left: 56px;
  }

  .timeline-horizontal::before {
    left: 21px;
  }

  .timeline-year {
    left: -56px;

    width: 48px;
    font-size: 0.59rem;
  }

  .timeline-point {
    left: -39px;
  }

  .timeline-item::before {
    left: -25px;
    width: 25px;
  }

  .timeline-info-card,
  .timeline-item:first-of-type .timeline-info-card,
  .timeline-item:last-of-type .timeline-info-card {
    grid-template-columns:
      92px
      minmax(0, 1fr);
  }

  .timeline-info-card img {
    height: 88px;
  }

  .timeline-info-card p {
    -webkit-line-clamp: 4;
  }
}


/* ==========================================================
   REDUZIERTE BEWEGUNGEN
========================================================== */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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