/* ========================================================================
   RIEGER MEDIASOLUTIONS – CUSTOM.CSS
   Joomla / Helix Ultimate / SP Page Builder

   Farben:
   Blau       #0078BF
   Grün       #21A73F
   Anthrazit  #14171A

   SP-Page-Builder-Klassen für den Hero:
   Sektion:                rd-hero
   Inhalts-/linke Spalte:  rd-hero-content
   Zeile über H1:          rd-hero-kicker
   H1:                     rd-hero-title
   Einleitung:             rd-hero-intro
   Persönliche Zeile:      rd-hero-meta
   Button-Gruppe:          rd-hero-actions
   Vertrauenszeile:        rd-hero-trust

   Joomla-Menü:
   Dem Menüpunkt „Projekt anfragen“ die CSS-Klasse menu-cta geben.
   ======================================================================== */

:root {
  --rd-bg: #14171A;
  --rd-bg-soft: #1C2024;
  --rd-surface: #23282D;
  --rd-border: rgba(255, 255, 255, 0.10);

  --rd-blue: #0078BF;
  --rd-blue-hover: #006AA9;
  --rd-green: #21A73F;

  --rd-text: #F4F5F5;
  --rd-text-soft: #D8DDE0;
  --rd-muted: #B7BEC4;

  --rd-header-height: 112px;
  --rd-header-sticky-height: 82px;
  --rd-content-width: 1440px;

  /* Nach dem Upload bei Bedarf anpassen. */
  --rd-hero-image: url('/images/rieger/hero-frosch.webp');
  --rd-hero-image-mobile: url('/images/rieger/hero-frosch-mobile.webp');
}

/* =========================================================
   VERLÄSSLICHE GRUNDLAGEN / PARTNERBEREICH
   Konfliktfreie Bezeichnung: rd-web-foundations
   ========================================================= */

body.itemid-110 {
  overflow-x: clip !important;
}

.rd-web-foundations,
.rd-web-foundations *,
.rd-web-foundations *::before,
.rd-web-foundations *::after {
  box-sizing: border-box;
}

.rd-web-foundations {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #f5f8f9;
  background:
    radial-gradient(
      circle at 12% 24%,
      rgba(0, 139, 207, 0.10),
      transparent 34%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(33, 167, 63, 0.07),
      transparent 32%
    ),
    #06171e;
}

.rd-web-foundations::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px
    );
  background-size: 64px 64px;
}

.rd-web-foundations-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding:
    clamp(90px, 8vw, 140px)
    clamp(24px, 4vw, 56px)
    clamp(85px, 7vw, 125px);
}

/* Einleitung */

.rd-web-foundations-intro {
  width: 100%;
  max-width: 990px;
  margin: 0 0 clamp(55px, 6vw, 82px);
}

.rd-web-foundations-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 23px;
  color: #2bd154;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.rd-web-foundations-eyebrow::before {
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  content: "";
  background: #008bcf;
}

.rd-web-foundations-intro h2 {
  margin: 0;
  color: #f7f9fa;
  font-size: clamp(3.2rem, 5vw, 5.4rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -0.055em;
}

.rd-web-foundations-intro h2 span {
  display: block;
  margin-top: 10px;
  color: #a8bac1;
  font-size: 0.57em;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.rd-web-foundations-lead {
  width: 100%;
  max-width: 820px;
  margin: 31px 0 0;
  color: #afc0c6;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.75;
}

/* Karten */

.rd-web-partner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(22px, 2.2vw, 32px);
  width: 100%;
}

.rd-web-partner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  padding: clamp(38px, 3vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(14, 43, 52, 0.98),
      rgba(7, 27, 34, 0.99)
    );
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.20),
    inset 0 1px rgba(255, 255, 255, 0.04);
}

.rd-web-partner-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, #008bcf, #21b64a);
}

.rd-web-partner-card-erecht::before {
  background: linear-gradient(90deg, #16a9df, #39d3e3);
}

/* Kartenkopf */

.rd-web-partner-head {
  margin: 0 0 27px;
}

.rd-web-partner-label {
  margin: 0 0 18px;
  color: #2bd154;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rd-web-partner-card-erecht .rd-web-partner-label {
  color: #2bc5ee;
}

.rd-web-partner-head h3 {
  max-width: 620px;
  margin: 0;
  color: #f7f9fa;
  font-size: clamp(2.15rem, 2.5vw, 2.9rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

/* Karteninhalt */

.rd-web-partner-main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.rd-web-partner-text {
  width: 100%;
  margin: 0;
  color: #b7c7cd;
  font-size: 1rem;
  line-height: 1.72;
}

.rd-web-partner-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 28px;
  width: 100%;
  margin-top: auto;
  padding-top: 32px;
}

/* Vorteile */

.rd-web-partner-benefits {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-web-partner-benefits li {
  position: relative;
  margin: 0;
  padding: 0 0 0 23px;
  color: #e0e8eb;
  font-size: 0.91rem;
  line-height: 1.45;
}

.rd-web-partner-benefits li::before {
  position: absolute;
  top: 0.5em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: #22c54b;
  box-shadow: 0 0 12px rgba(34, 197, 75, 0.35);
}

.rd-web-partner-card-erecht .rd-web-partner-benefits li::before {
  background: #28bfe9;
  box-shadow: 0 0 12px rgba(40, 191, 233, 0.35);
}

/* Partnerlogos und Siegel */

.rd-web-partner-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.rd-web-ionos-badge {
  flex-direction: column;
  gap: 11px;
}

.rd-web-ionos-badge a,
.rd-web-erecht-seals a {
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.rd-web-ionos-badge a:hover,
.rd-web-erecht-seals a:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
}

.rd-web-ionos-badge img {
  display: block;
  width: 175px;
  max-width: 100%;
  height: auto;
}

.rd-web-ionos-badge span {
  color: #78939c;
  font-size: 0.67rem;
  line-height: 1.4;
  text-align: center;
}

.rd-web-erecht-seals {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rd-web-erecht-seals img {
  display: block;
  width: 100%;
  max-width: 88px;
  height: auto;
  margin: 0 auto;
}

/* Hinweis innerhalb der eRecht24-Karte */

.rd-web-legal-note {
  margin: 24px 0 0;
  padding: 14px 16px;
  border-left: 3px solid rgba(43, 197, 238, 0.70);
  border-radius: 0 8px 8px 0;
  color: #839aa3;
  font-size: 0.72rem;
  line-height: 1.55;
  background: rgba(0, 0, 0, 0.15);
}

/* Partnerbereich: kleiner Desktop und Tablet */

@media (max-width: 1199.98px) {
  .rd-web-foundations-inner {
    max-width: 880px;
  }

  .rd-web-partner-grid {
    grid-template-columns: 1fr;
  }

  .rd-web-partner-card {
    padding: 45px;
  }

  .rd-web-partner-bottom {
    grid-template-columns: minmax(0, 1fr) 220px;
  }

  .rd-web-partner-head h3 {
    max-width: 720px;
  }

  .rd-web-erecht-seals img {
    max-width: 102px;
  }
}

/* Partnerbereich: Smartphone */

@media (max-width: 767.98px) {
  .rd-web-foundations-inner {
    padding: 75px 20px 65px;
  }

  .rd-web-foundations-intro {
    margin-bottom: 45px;
  }

  .rd-web-foundations-eyebrow {
    gap: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .rd-web-foundations-eyebrow::before {
    flex-basis: 30px;
    width: 30px;
  }

  .rd-web-foundations-intro h2 {
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .rd-web-foundations-intro h2 span {
    margin-top: 13px;
    font-size: 0.55em;
    line-height: 1.2;
  }

  .rd-web-foundations-lead {
    margin-top: 25px;
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .rd-web-partner-grid {
    gap: 20px;
  }

  .rd-web-partner-card {
    padding: 34px 26px;
    border-radius: 20px;
  }

  .rd-web-partner-head {
    margin-bottom: 24px;
  }

  .rd-web-partner-label {
    margin-bottom: 16px;
    font-size: 0.65rem;
  }

  .rd-web-partner-head h3 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .rd-web-partner-text {
    font-size: 0.96rem;
    line-height: 1.7;
  }

  .rd-web-partner-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 28px;
  }

  .rd-web-partner-benefits li {
    font-size: 0.89rem;
  }

  .rd-web-partner-media {
    width: 100%;
  }

  .rd-web-ionos-badge img {
    width: 185px;
  }

  .rd-web-erecht-seals {
    width: min(100%, 260px);
    margin: 0 auto;
    gap: 16px;
  }

  .rd-web-erecht-seals img {
    max-width: 116px;
  }

  .rd-web-legal-note {
    margin-top: 25px;
    font-size: 0.70rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-web-ionos-badge a,
  .rd-web-erecht-seals a {
    transition: none;
  }
}

/* ------------------------------------------------------------------------
   Grundlayout
   ------------------------------------------------------------------------ */

html {
  scroll-behavior: smooth;
}

body {
  background: var(--rd-bg);
  color: var(--rd-text-soft);
}

::selection {
  background: var(--rd-blue);
  color: #FFFFFF;
}

a {
  color: var(--rd-blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus {
  color: var(--rd-text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--rd-green);
  outline-offset: 4px;
}

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

#sp-header {
  position: relative;
  z-index: 1000;
  height: var(--rd-header-height);
  background: rgba(20, 23, 26, 0.94);
  border-bottom: 1px solid var(--rd-border);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: height 0.25s ease, background-color 0.25s ease;
}

#sp-header .container,
#sp-header .container-inner,
#sp-header .row,
#sp-header [class*='col-'] {
  height: 100%;
}

#sp-header .sp-column,
#sp-header #sp-logo,
#sp-header #sp-menu {
  height: 100%;
  display: flex;
  align-items: center;
}

#sp-header #sp-menu {
  justify-content: flex-end;
}

#sp-header .logo,
#sp-header .logo a {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

#sp-header .logo img,
#sp-header .logo-image {
  width: auto;
  max-width: 490px;
  max-height: 80px;
  transition: max-height 0.25s ease;
}

/* Desktop-Navigation */

#sp-header .sp-megamenu-parent {
  display: flex;
  align-items: stretch;
  height: 100%;
}

#sp-header .sp-megamenu-parent > li {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  float: left;
}

#sp-header .sp-megamenu-parent > li > a,
#sp-header .sp-megamenu-parent > li > span {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--rd-header-height);
  padding: 0 16px;
  color: #E9ECEE;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition: height 0.25s ease, color 0.2s ease;
}

#sp-header .sp-megamenu-parent > li > a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 25px;
  height: 3px;
  border-radius: 3px;
  background: var(--rd-green);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.2s ease, transform 0.2s ease, bottom 0.25s ease;
}

#sp-header .sp-megamenu-parent > li:hover > a,
#sp-header .sp-megamenu-parent > li:focus-within > a,
#sp-header .sp-megamenu-parent > li.active > a,
#sp-header .sp-megamenu-parent > li.current-item > a {
  color: #FFFFFF;
}

#sp-header .sp-megamenu-parent > li:hover > a::after,
#sp-header .sp-megamenu-parent > li:focus-within > a::after,
#sp-header .sp-megamenu-parent > li.active > a::after,
#sp-header .sp-megamenu-parent > li.current-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

/* CTA-Menüpunkt */

#sp-header .sp-megamenu-parent > li.menu-cta {
  margin-left: 18px;
}

#sp-header .sp-megamenu-parent > li.menu-cta > a,
#sp-header .sp-megamenu-parent > li > a.menu-cta {
  height: 50px;
  min-height: 50px;
  margin: 0;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--rd-blue);
  color: #FFFFFF;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 120, 191, 0.18);
}

#sp-header .sp-megamenu-parent > li.menu-cta > a::after,
#sp-header .sp-megamenu-parent > li > a.menu-cta::after {
  display: none;
}

#sp-header .sp-megamenu-parent > li.menu-cta > a:hover,
#sp-header .sp-megamenu-parent > li.menu-cta > a:focus,
#sp-header .sp-megamenu-parent > li > a.menu-cta:hover,
#sp-header .sp-megamenu-parent > li > a.menu-cta:focus {
  background: var(--rd-blue-hover);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Sticky Header */

#sp-header.header-sticky {
  height: var(--rd-header-sticky-height);
  background: rgba(20, 23, 26, 0.98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.20);
}

#sp-header.header-sticky .logo img,
#sp-header.header-sticky .logo-image {
  max-height: 62px;
}

#sp-header.header-sticky .sp-megamenu-parent > li > a,
#sp-header.header-sticky .sp-megamenu-parent > li > span {
  height: var(--rd-header-sticky-height);
}

#sp-header.header-sticky .sp-megamenu-parent > li > a::after {
  bottom: 16px;
}

#sp-header.header-sticky .sp-megamenu-parent > li.menu-cta > a,
#sp-header.header-sticky .sp-megamenu-parent > li > a.menu-cta {
  height: 46px;
  min-height: 46px;
}

/* Dropdowns */

#sp-header .sp-dropdown .sp-dropdown-inner {
  padding: 12px;
  border: 1px solid var(--rd-border);
  border-radius: 10px;
  background: rgba(28, 32, 36, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}

#sp-header .sp-dropdown li.sp-menu-item > a {
  padding: 11px 14px;
  border-radius: 6px;
  color: var(--rd-text-soft);
}

#sp-header .sp-dropdown li.sp-menu-item > a:hover,
#sp-header .sp-dropdown li.sp-menu-item.active > a {
  background: rgba(0, 120, 191, 0.16);
  color: #FFFFFF;
}

/* ------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------ */

.rd-hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--rd-header-height));
  overflow: hidden;
  background-color: var(--rd-bg);
  background-image: var(--rd-hero-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.rd-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #14171A 0%,
    rgba(20, 23, 26, 0.98) 34%,
    rgba(20, 23, 26, 0.72) 53%,
    rgba(20, 23, 26, 0.14) 73%,
    rgba(20, 23, 26, 0.08) 100%
  );
  pointer-events: none;
}

.rd-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(20, 23, 26, 0.62));
  pointer-events: none;
}

.rd-hero > .sppb-row-container,
.rd-hero > .sppb-container-inner,
.rd-hero > .container {
  min-height: inherit;
  display: flex;
  align-items: center;
}

.rd-hero .sppb-row {
  width: 100%;
}

.rd-hero-content {
  position: relative;
  z-index: 2;
  width: min(100%, 760px);
  padding: 76px 0 64px;
}

.rd-hero-kicker {
  margin: 0 0 30px;
  color: var(--rd-green);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.rd-hero-title {
  margin: 0;
  color: var(--rd-text);
  font-size: clamp(54px, 5.15vw, 82px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.rd-hero-title span {
  display: block;
  margin-top: 0.28em;
  font-size: 0.6em;
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.rd-hero-title::after {
  content: '';
  display: block;
  width: 76px;
  height: 5px;
  margin: 34px 0 30px;
  border-radius: 5px;
  background: var(--rd-blue);
}

.rd-hero-intro {
  max-width: 640px;
  margin: 0 0 18px;
  color: var(--rd-text-soft);
  font-size: clamp(19px, 1.55vw, 24px);
  font-weight: 400;
  line-height: 1.48;
}

.rd-hero-meta {
  margin: 0;
  color: var(--rd-muted);
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
}

.rd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
}

.rd-btn,
.rd-hero-actions .sppb-btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.015em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, background-color 0.2s ease,
              border-color 0.2s ease, color 0.2s ease;
}

.rd-btn-primary,
.rd-hero-actions .sppb-btn-primary {
  background: var(--rd-blue);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(0, 120, 191, 0.20);
}

.rd-btn-primary:hover,
.rd-btn-primary:focus,
.rd-hero-actions .sppb-btn-primary:hover,
.rd-hero-actions .sppb-btn-primary:focus {
  background: var(--rd-blue-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.rd-btn-secondary,
.rd-hero-actions .sppb-btn-default,
.rd-hero-actions .sppb-btn-secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(20, 23, 26, 0.32);
  color: var(--rd-text);
}

.rd-btn-secondary:hover,
.rd-btn-secondary:focus,
.rd-hero-actions .sppb-btn-default:hover,
.rd-hero-actions .sppb-btn-default:focus,
.rd-hero-actions .sppb-btn-secondary:hover,
.rd-hero-actions .sppb-btn-secondary:focus {
  border-color: var(--rd-green);
  background: rgba(33, 167, 63, 0.12);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.rd-hero-trust {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: #D4D9DC;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.035em;
}

.rd-hero-trust::before {
  content: '';
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rd-green);
}

/* ------------------------------------------------------------------------
   Offcanvas / Mobile Navigation
   ------------------------------------------------------------------------ */

#offcanvas-toggler {
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rd-border);
  border-radius: 8px;
  color: var(--rd-text);
}

#offcanvas-toggler .burger-icon > span {
  background-color: var(--rd-text);
}

.offcanvas-menu {
  background: var(--rd-bg);
  color: var(--rd-text-soft);
}

.offcanvas-menu .offcanvas-inner ul.menu > li > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > span {
  padding: 14px 0;
  border-bottom: 1px solid var(--rd-border);
  color: var(--rd-text-soft);
  font-size: 17px;
  font-weight: 700;
}

.offcanvas-menu .offcanvas-inner ul.menu > li.active > a,
.offcanvas-menu .offcanvas-inner ul.menu > li > a:hover {
  color: var(--rd-green);
}

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

@media (max-width: 1399.98px) {
  #sp-header .logo img,
  #sp-header .logo-image {
    max-width: 410px;
    max-height: 72px;
  }

  #sp-header .sp-megamenu-parent > li > a,
  #sp-header .sp-megamenu-parent > li > span {
    padding-right: 12px;
    padding-left: 12px;
    font-size: 14px;
  }

  #sp-header .sp-megamenu-parent > li > a::after {
    right: 12px;
    left: 12px;
  }

  #sp-header .sp-megamenu-parent > li.menu-cta {
    margin-left: 10px;
  }
}

@media (max-width: 1199.98px) {
  :root {
    --rd-header-height: 92px;
  }

  #sp-header .logo img,
  #sp-header .logo-image {
    max-width: 340px;
    max-height: 68px;
  }

  .rd-hero-content {
    width: min(100%, 680px);
  }
}

@media (max-width: 991.98px) {
  :root {
    --rd-header-height: 78px;
  }

  #sp-header,
  #sp-header.header-sticky {
    height: var(--rd-header-height);
  }

  #sp-header .logo img,
  #sp-header .logo-image,
  #sp-header.header-sticky .logo img,
  #sp-header.header-sticky .logo-image {
    max-width: 270px;
    max-height: 58px;
  }

  .rd-hero {
    min-height: calc(100svh - var(--rd-header-height));
    background-image: var(--rd-hero-image-mobile);
    background-position: center bottom;
  }

  .rd-hero::before {
    background: linear-gradient(
      180deg,
      #14171A 0%,
      rgba(20, 23, 26, 0.98) 38%,
      rgba(20, 23, 26, 0.78) 56%,
      rgba(20, 23, 26, 0.20) 78%,
      rgba(20, 23, 26, 0.42) 100%
    );
  }

  .rd-hero-content {
    width: 100%;
    max-width: 720px;
    padding: 60px 0 360px;
  }

  .rd-hero-title {
    font-size: clamp(44px, 9.5vw, 68px);
  }

  .rd-hero-intro {
    max-width: 580px;
  }

  .rd-hero-trust {
    margin-top: 6px;
  }
}

@media (max-width: 575.98px) {
  #sp-header .logo img,
  #sp-header .logo-image,
  #sp-header.header-sticky .logo img,
  #sp-header.header-sticky .logo-image {
    max-width: 220px;
    max-height: 52px;
  }

  .rd-hero-content {
    padding: 46px 0 300px;
  }

  .rd-hero-kicker {
    margin-bottom: 22px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .rd-hero-title {
    font-size: clamp(38px, 12vw, 54px);
  }

  .rd-hero-title span {
    margin-top: 0.22em;
    font-size: 0.70em;
  }

  .rd-hero-title::after {
    width: 60px;
    height: 4px;
    margin: 16px 0 14px;
  }

  .rd-hero-intro {
    font-size: 18px;
  }

  .rd-hero-meta {
    font-size: 15px;
  }

  .rd-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .rd-btn,
  .rd-hero-actions .sppb-btn {
    width: 100%;
    min-height: 54px;
  }

  .rd-hero-trust {
    align-items: flex-start;
    font-size: 13px;
  }
}

/* Bewegungen bei entsprechender Systemeinstellung reduzieren. */

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
/* =====================================================
   RIEGER HERO  MOBILE FEINSCHLIFF
   ===================================================== */

@media (max-width: 575.98px) {

	.rd-hero .sppb-row-container {
		padding-left: 22px !important;
		padding-right: 22px !important;
	}

	.rd-hero-content {
		padding-top: 17px !important;
	}

	.rd-hero-kicker {
		font-size: 11px !important;
		letter-spacing: 0.20em !important;
		margin-bottom: 8px !important;
	}

	.rd-hero-title {
		font-size: clamp(42px, 12vw, 50px) !important;
		line-height: 1 !important;
		margin-bottom: 8px !important;
	}

	.rd-hero-title span {
		font-size: 0.52em !important;
		line-height: 1.12 !important;
		margin-top: 12px !important;
	}

	.rd-hero-intro {
		font-size: 17px !important;
		line-height: 1.45 !important;
		margin-bottom: 8px !important;
	}

	.rd-hero-meta {
		font-size: 14px !important;
		line-height: 1.4 !important;
		margin-bottom: 10px !important;
	}

	.rd-hero-actions {
		gap: 12px !important;
		margin-bottom: 26px !important;
	}

	.rd-hero-actions .rd-btn {
		min-height: 52px !important;
		padding: 0 18px !important;
	}

	.rd-hero-trust {
		font-size: 12.5px !important;
		line-height: 1.45 !important;
	}
}
@media (max-width: 575.98px) {

	.rd-hero {
		background-size: auto 112% !important;
		background-position: 50% calc(100% + 22px) !important;
		background-repeat: no-repeat !important;
	}
}
/* =====================================================
   RIEGER – INTRO-SECTION
   ===================================================== */

.rd-intro {
	position: relative;
	overflow: hidden;
	padding: 0 !important;
	color: #f5f7f8;
	border-top: 1px solid rgba(0, 139, 207, 0.22);

	background:
		radial-gradient(
			circle at 85% 20%,
			rgba(33, 167, 63, 0.14) 0%,
			transparent 34%
		),
		linear-gradient(
			135deg,
			#0b2230 0%,
			#103740 100%
		);
}

.rd-intro .sppb-row-container {
	width: 100%;
	max-width: 1440px;
	padding-left: clamp(28px, 6vw, 96px);
	padding-right: clamp(28px, 6vw, 96px);
}

.rd-intro .sppb-row {
	margin-left: 0;
	margin-right: 0;
}

.rd-intro .sppb-row-column {
	padding-left: 0;
	padding-right: 0;
}

.rd-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
	align-items: center;
	gap: clamp(60px, 8vw, 130px);
	padding: 110px 0 115px;
}

.rd-intro-kicker {
	margin-bottom: 25px;
	color: #21a73f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.rd-intro-title {
	max-width: 780px;
	margin: 0;
	color: #f5f7f8;
	font-size: clamp(42px, 4.4vw, 68px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.rd-intro-title span {
	display: block;
	margin-top: 10px;
	color: #d7e3e7;
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: -0.025em;
}

.rd-intro-copy {
	max-width: 560px;
}

.rd-intro-line {
	width: 64px;
	height: 4px;
	margin-bottom: 30px;
	border-radius: 10px;
	background: #008bcf;
}

.rd-intro-copy p {
	margin: 0;
	color: #c8d1d5;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.7;
}


/* TABLET */

@media (max-width: 991.98px) {

	.rd-intro-grid {
		grid-template-columns: 1fr;
		gap: 42px;
		padding: 85px 0 90px;
	}

	.rd-intro-copy {
		max-width: 680px;
	}

	.rd-intro-title {
		max-width: 800px;
	}
}


/* SMARTPHONE */

@media (max-width: 575.98px) {

	.rd-intro .sppb-row-container {
		padding-left: 22px;
		padding-right: 22px;
	}

	.rd-intro-grid {
		gap: 34px;
		padding: 70px 0 76px;
	}

	.rd-intro-kicker {
		margin-bottom: 20px;
		font-size: 11px;
		letter-spacing: 0.18em;
	}

	.rd-intro-title {
		font-size: clamp(36px, 10vw, 46px);
		line-height: 1.04;
	}

	.rd-intro-title span {
		margin-top: 12px;
		font-size: 0.70em;
		line-height: 1.15;
	}

	.rd-intro-line {
		width: 58px;
		margin-bottom: 24px;
	}

	.rd-intro-copy p {
		font-size: 17px;
		line-height: 1.6;
	}
}
/* =====================================================
   RIEGER – LEISTUNGEN
   ===================================================== */

.rd-services {
	padding: 0 !important;
	color: #f5f7f8;
	background:
		radial-gradient(
			circle at 10% 80%,
			rgba(0, 139, 207, 0.10) 0%,
			transparent 35%
		),
		#08191f;
}

.rd-services .sppb-row-container {
	width: 100%;
	max-width: 1440px;
	padding-left: clamp(28px, 6vw, 96px);
	padding-right: clamp(28px, 6vw, 96px);
}

.rd-services .sppb-row {
	margin-left: 0;
	margin-right: 0;
}

.rd-services .sppb-row-column {
	padding-left: 0;
	padding-right: 0;
}

.rd-services-inner {
	padding: 110px 0 120px;
}


/* Überschrift */

.rd-services-head {
	max-width: 920px;
	margin-bottom: 64px;
}

.rd-services-kicker {
	margin-bottom: 22px;
	color: #21a73f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.rd-services-title {
	margin: 0;
	color: #f5f7f8;
	font-size: clamp(42px, 4.3vw, 66px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.rd-services-title span {
	display: block;
	margin-top: 8px;
	color: #d7e3e7;
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: -0.025em;
}

.rd-services-intro {
	max-width: 720px;
	margin: 30px 0 0;
	color: #aebdc3;
	font-size: 19px;
	line-height: 1.65;
}


/* Karten */

.rd-services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rd-service-card {
	--rd-card-accent: #008bcf;

	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 440px;
	padding: 38px 34px 32px;
	overflow: hidden;

	background: rgba(255, 255, 255, 0.045);
	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 14px;

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

.rd-service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: var(--rd-card-accent);
}

.rd-service-card:hover {
	transform: translateY(-6px);
	background: rgba(255, 255, 255, 0.065);
	border-color: color-mix(
		in srgb,
		var(--rd-card-accent) 55%,
		transparent
	);
	box-shadow: 0 22px 45px rgba(0, 0, 0, 0.22);
}

.rd-service-web {
	--rd-card-accent: #008bcf;
}

.rd-service-grafik {
	--rd-card-accent: #21a73f;
}

.rd-service-werbung {
	--rd-card-accent: #18a6a8;
}

.rd-service-number {
	margin-bottom: 35px;
	color: var(--rd-card-accent);
	font-size: 54px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.05em;
	opacity: 0.75;
}

.rd-service-card h3 {
	margin: 0 0 18px;
	color: #f5f7f8;
	font-size: 31px;
	font-weight: 700;
	line-height: 1.1;
}

.rd-service-card p {
	margin: 0 0 26px;
	color: #b9c6ca;
	font-size: 17px;
	line-height: 1.6;
}

.rd-service-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
}

.rd-service-tags span {
	padding: 7px 11px;
	color: #cbd5d9;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 30px;
	background: rgba(255, 255, 255, 0.035);
}

.rd-service-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	width: fit-content;
	margin-top: auto;
	color: #f5f7f8;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
}

.rd-service-link span {
	color: var(--rd-card-accent);
	font-size: 22px;
	transition: transform 0.25s ease;
}

.rd-service-link:hover {
	color: #ffffff;
	text-decoration: none;
}

.rd-service-link:hover span {
	transform: translateX(5px);
}


/* TABLET */

@media (max-width: 991.98px) {

	.rd-services-inner {
		padding: 85px 0 95px;
	}

	.rd-services-grid {
		grid-template-columns: 1fr;
	}

	.rd-service-card {
		min-height: 0;
	}

	.rd-services-head {
		margin-bottom: 48px;
	}
}


/* SMARTPHONE */

@media (max-width: 575.98px) {

	.rd-services .sppb-row-container {
		padding-left: 22px;
		padding-right: 22px;
	}

	.rd-services-inner {
		padding: 72px 0 80px;
	}

	.rd-services-kicker {
		font-size: 11px;
		letter-spacing: 0.18em;
	}

	.rd-services-title {
		font-size: clamp(36px, 10vw, 46px);
	}

	.rd-services-title span {
		font-size: 0.70em;
		line-height: 1.15;
	}

	.rd-services-intro {
		margin-top: 24px;
		font-size: 17px;
		line-height: 1.6;
	}

	.rd-services-head {
		margin-bottom: 40px;
	}

	.rd-services-grid {
		gap: 18px;
	}

	.rd-service-card {
		padding: 32px 26px 28px;
	}

	.rd-service-number {
		margin-bottom: 28px;
		font-size: 46px;
	}

	.rd-service-card h3 {
		font-size: 28px;
	}
}
/* =====================================================
   RIEGER – PERSÖNLICH
   ===================================================== */

.rd-personal {
	position: relative;
	overflow: hidden;
	padding: 0 !important;
	color: #f5f7f8;

	background:
		radial-gradient(
			circle at 12% 42%,
			rgba(0, 139, 207, 0.13) 0%,
			transparent 36%
		),
		radial-gradient(
			circle at 88% 15%,
			rgba(33, 167, 63, 0.10) 0%,
			transparent 30%
		),
		linear-gradient(
			135deg,
			#0b2230 0%,
			#103740 100%
		);
}

.rd-personal .sppb-row-container {
	width: 100%;
	max-width: 1440px;
	padding-left: clamp(28px, 6vw, 96px);
	padding-right: clamp(28px, 6vw, 96px);
}

.rd-personal .sppb-row {
	margin-left: 0;
	margin-right: 0;
}

.rd-personal .sppb-row-column {
	padding-left: 0;
	padding-right: 0;
}

.rd-personal-grid {
	display: grid;
	grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: clamp(65px, 8vw, 125px);
	padding: 110px 0 120px;
}


/* Bild */

.rd-personal-media {
	position: relative;
}

.rd-personal-media::before {
	content: "";
	position: absolute;
	top: -18px;
	left: -18px;
	width: 115px;
	height: 115px;
	border-top: 3px solid #008bcf;
	border-left: 3px solid #21a73f;
	border-radius: 18px 0 0;
	opacity: 0.8;
}

.rd-personal-image {
	position: relative;
	overflow: hidden;
	max-width: 560px;
	margin: 0 auto;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 18px;
	background: #08191f;
	box-shadow: 0 30px 65px rgba(0, 0, 0, 0.28);
}

.rd-personal-image::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		to top,
		rgba(8, 25, 31, 0.88) 0%,
		rgba(8, 25, 31, 0.28) 24%,
		transparent 48%
	);
}

.rd-personal-image img {
	display: block;
	width: 100%;
	height: auto;
}

.rd-personal-caption {
	position: absolute;
	z-index: 2;
	right: 28px;
	bottom: 25px;
	left: 28px;
	display: flex;
	flex-direction: column;
}

.rd-personal-caption strong {
	color: #ffffff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
}

.rd-personal-caption span {
	margin-top: 5px;
	color: #b9c8cd;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}


/* Text */

.rd-personal-copy {
	max-width: 660px;
}

.rd-personal-kicker {
	margin-bottom: 24px;
	color: #21a73f;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.rd-personal-title {
	margin: 0;
	color: #f5f7f8;
	font-size: clamp(42px, 4.3vw, 66px);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.035em;
}

.rd-personal-title span {
	display: block;
	margin-top: 8px;
	color: #d7e3e7;
	font-size: 0.72em;
	font-weight: 400;
	letter-spacing: -0.025em;
}

.rd-personal-line {
	width: 64px;
	height: 4px;
	margin: 32px 0 28px;
	border-radius: 10px;
	background: #008bcf;
}

.rd-personal-copy p {
	margin: 0 0 18px;
	color: #c8d1d5;
	font-size: 18px;
	line-height: 1.68;
}

.rd-personal-benefits {
	display: grid;
	gap: 13px;
	margin: 30px 0 34px;
	padding: 0;
	list-style: none;
}

.rd-personal-benefits li {
	position: relative;
	padding-left: 30px;
	color: #e1e8ea;
	font-size: 16px;
	line-height: 1.5;
}

.rd-personal-benefits li::before {
	content: "";
	position: absolute;
	top: 0.48em;
	left: 0;
	width: 11px;
	height: 11px;
	border: 3px solid #21a73f;
	border-radius: 50%;
}

.rd-personal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0 28px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;
	border-radius: 7px;
	background: #008bcf;
	transition:
		transform 0.25s ease,
		background-color 0.25s ease,
		box-shadow 0.25s ease;
}

.rd-personal-button:hover {
	transform: translateY(-2px);
	color: #ffffff;
	text-decoration: none;
	background: #0078bf;
	box-shadow: 0 14px 28px rgba(0, 139, 207, 0.22);
}


/* TABLET */

@media (max-width: 991.98px) {

	.rd-personal-grid {
		grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
		gap: 55px;
		padding: 90px 0 100px;
	}
}


/* SMARTPHONE */

@media (max-width: 767.98px) {

	.rd-personal .sppb-row-container {
		padding-left: 22px;
		padding-right: 22px;
	}

	.rd-personal-grid {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 76px 0 82px;
	}

	.rd-personal-image {
		max-width: 520px;
	}

	.rd-personal-copy {
		max-width: none;
	}

	.rd-personal-kicker {
		font-size: 11px;
		letter-spacing: 0.18em;
	}

	.rd-personal-title {
		font-size: clamp(36px, 10vw, 46px);
	}

	.rd-personal-title span {
		font-size: 0.70em;
		line-height: 1.15;
	}

	.rd-personal-copy p {
		font-size: 17px;
		line-height: 1.62;
	}

	.rd-personal-benefits li {
		font-size: 15px;
	}

	.rd-personal-button {
		width: 100%;
	}
}
/* =====================================================
   RIEGER – FOOTER
   ===================================================== */

.rd-footer-module {
	padding: 0 !important;
}

.rd-footer {
	padding: 85px 0 28px;
	color: #c5d0d4;
	background:
		radial-gradient(
			circle at 85% 10%,
			rgba(33, 167, 63, 0.08) 0%,
			transparent 28%
		),
		#050f14;
}

.rd-footer-inner {
	width: min(100% - 56px, 1248px);
	margin: 0 auto;
}


/* Kontakt-CTA */

.rd-footer-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 45px;
	margin-bottom: 76px;
	padding: 44px 48px;
	overflow: hidden;

	border: 1px solid rgba(255, 255, 255, 0.11);
	border-radius: 18px;

	background:
		radial-gradient(
			circle at 90% 20%,
			rgba(33, 167, 63, 0.17) 0%,
			transparent 34%
		),
		linear-gradient(
			135deg,
			#0b2633 0%,
			#103b40 100%
		);
}

.rd-footer-kicker {
	margin-bottom: 15px;
	color: #21a73f;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.20em;
	text-transform: uppercase;
}

.rd-footer-cta h2 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(30px, 3.2vw, 48px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.03em;
}

.rd-footer-cta h2 span {
	display: block;
	margin-top: 6px;
	color: #d1dde1;
	font-size: 0.70em;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.rd-footer-cta-button {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 30px;

	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	text-transform: uppercase;

	border-radius: 7px;
	background: #008bcf;

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

.rd-footer-cta-button:hover {
	transform: translateY(-2px);
	color: #ffffff;
	text-decoration: none;
	background: #0078bf;
	box-shadow: 0 15px 30px rgba(0, 139, 207, 0.22);
}


/* Footer-Spalten */

.rd-footer-content {
	display: grid;
	grid-template-columns: 1.5fr 0.8fr 1fr 0.7fr;
	gap: clamp(35px, 5vw, 78px);
	padding-bottom: 58px;
}

.rd-footer-brandname {
	color: #ffffff;
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.16em;
}

.rd-footer-brandname span {
	display: block;
	margin-top: 8px;
	color: #aab8bd;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
}

.rd-footer-brand p {
	max-width: 330px;
	margin: 25px 0 0;
	color: #8fa0a6;
	font-size: 15px;
	line-height: 1.65;
}

.rd-footer-column h3 {
	margin: 0 0 22px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.rd-footer-column ul {
    display: grid;
    gap: 0px;
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 0.7;
}

.rd-footer a {
	color: #aebcc1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.rd-footer a:hover {
	color: #21a73f;
	text-decoration: none;
}

.rd-footer-column address {
	display: grid;
	gap: 8px;
	margin: 0;
	color: #93a4aa;
	font-size: 15px;
	font-style: normal;
	line-height: 1.45;
}

.rd-footer-column address a:first-of-type {
	margin-top: 10px;
}


/* Unterste Zeile */

.rd-footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	padding-top: 25px;
	color: #71848b;
	font-size: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
}


/* TABLET */

@media (max-width: 991.98px) {

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

	.rd-footer-column:last-child {
		grid-column: 2 / 4;
	}
}


/* SMARTPHONE */

@media (max-width: 767.98px) {

	.rd-footer {
		padding-top: 65px;
	}

	.rd-footer-inner {
		width: min(100% - 44px, 1248px);
	}

	.rd-footer-cta {
		flex-direction: column;
		align-items: stretch;
		margin-bottom: 62px;
		padding: 34px 26px;
	}

	.rd-footer-cta-button {
		width: 100%;
	}

	.rd-footer-content {
		grid-template-columns: 1fr 1fr;
		gap: 42px 28px;
	}

	.rd-footer-brand {
		grid-column: 1 / -1;
	}

	.rd-footer-column:last-child {
		grid-column: auto;
	}

	.rd-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}


/* KLEINE SMARTPHONES */

@media (max-width: 479.98px) {

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

	.rd-footer-column:last-child {
		grid-column: auto;
	}
}
/* =====================================================
   HELIX BOTTOM – VOLLE BREITE
   ===================================================== */

#sp-bottom {
	margin: 0 !important;
	padding: 0 !important;
	background: #050f14 !important;
}

#sp-bottom > .container,
#sp-bottom > .container-fluid {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

#sp-bottom .container-inner,
#sp-bottom .row,
#sp-bottom1,
#sp-bottom1 .sp-column,
#sp-bottom1 .sp-module,
#sp-bottom1 .sp-module-content {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.rd-footer-logo {
	display: inline-block;
}

.rd-footer-logo img {
	display: block;
	width: 265px;
	max-width: 100%;
	height: auto;
}

@media (max-width: 767.98px) {

	.rd-footer-logo img {
		width: 230px;
	}
}
/* =====================================================
   FOOTER – AUSRICHTUNG
   ===================================================== */

/* Inhalte innerhalb der vier Spalten zentrieren */

.rd-footer-content > * {
	text-align: center;
}

.rd-footer-logo {
	display: block;
	width: fit-content;
	margin: 0 auto;
}

.rd-footer-brand p {
	margin-right: auto;
	margin-left: auto;
}

.rd-footer-column ul {
	justify-items: center;
}

.rd-footer-column address {
	justify-items: center;
}


/* Unterste Zeile ebenfalls mittig */

.rd-footer-bottom {
	justify-content: center;
	flex-wrap: wrap;
	text-align: center;
}


/* SMARTPHONE UND TABLET HOCHKANT */

@media (max-width: 767.98px) {

	.rd-footer-content {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.rd-footer-brand,
	.rd-footer-column,
	.rd-footer-column:last-child {
		grid-column: auto;
	}

	.rd-footer-column {
		padding-top: 34px;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
	}

	.rd-footer-brand {
		padding-bottom: 5px;
	}

	.rd-footer-cta,
	.rd-footer-cta-copy {
		text-align: center;
	}

	.rd-footer-cta {
		align-items: stretch;
	}

	.rd-footer-bottom {
		align-items: center;
	}
}
/* =========================================================
   RIEGER MEDIA – WEBDESIGN HERO
   ========================================================= */

.rd-web-hero-section,
.rd-web-hero-section > .sppb-row-overlay,
.rd-web-hero-section > .sppb-row-container,
.rd-web-hero-section .sppb-row,
.rd-web-hero-section .sppb-column,
.rd-web-hero-section .sppb-column-addons,
.rd-web-hero-section .sppb-addon,
.rd-web-hero-section .sppb-addon-content {
  margin: 0 !important;
  padding: 0 !important;
}

.rd-web-hero-section > .sppb-row-container {
  width: 100% !important;
  max-width: none !important;
}

.rd-web-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 90px);
  padding: 110px 28px 105px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background:
    radial-gradient(
      circle at 80% 48%,
      rgba(0, 120, 191, 0.13) 0,
      rgba(0, 120, 191, 0) 38%
    ),
    linear-gradient(
      135deg,
      #06141b 0%,
      #081c24 48%,
      #09272d 100%
    );
}

.rd-web-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 50%,
    #000 100%
  );
}

.rd-web-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.83fr) minmax(540px, 1.17fr);
  align-items: center;
  gap: clamp(55px, 6vw, 105px);
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

/* Textbereich */

.rd-web-hero-copy {
  position: relative;
  z-index: 3;
  max-width: 680px;
}

.rd-web-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 25px;
  color: #26b74b;
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.rd-web-eyebrow::before {
  display: block;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  content: "";
  background: #008bcf;
}

.rd-web-title {
  max-width: 760px;
  margin: 0;
  color: #f7fafb;
  font-family: inherit;
  font-size: clamp(3.1rem, 4.7vw, 5.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.rd-web-title span {
  display: block;
  margin-top: 15px;
  color: #d5e3e8;
  font-size: 0.61em;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.rd-web-lead {
  max-width: 650px;
  margin: 34px 0 0;
  color: #b7c6cc;
  font-size: clamp(1.08rem, 1.4vw, 1.3rem);
  font-weight: 400;
  line-height: 1.65;
}

.rd-web-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 40px;
}

.rd-web-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rd-web-button-primary {
  color: #fff !important;
  background: #008bcf;
  box-shadow: 0 15px 34px rgba(0, 139, 207, 0.22);
}

.rd-web-button-primary:hover,
.rd-web-button-primary:focus-visible {
  color: #fff !important;
  background: #009be5;
  box-shadow: 0 18px 40px rgba(0, 139, 207, 0.32);
  transform: translateY(-3px);
}

.rd-web-button-secondary {
  color: #f3f7f8 !important;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.025);
}

.rd-web-button-secondary:hover,
.rd-web-button-secondary:focus-visible {
  color: #fff !important;
  border-color: #fff;
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}

.rd-web-button:focus-visible,
.rd-web-scroll-hint:focus-visible {
  outline: 3px solid rgba(33, 167, 63, 0.65);
  outline-offset: 4px;
}

.rd-web-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin: 34px 0 0;
  padding: 0;
  color: #91a7af;
  font-size: 0.88rem;
  line-height: 1.4;
  list-style: none;
}

.rd-web-trust li {
  position: relative;
  margin: 0;
  padding-left: 17px;
}

.rd-web-trust li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #21a73f;
  box-shadow: 0 0 12px rgba(33, 167, 63, 0.55);
}

/* Bildschirm */

.rd-web-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px 0 55px;
}

.rd-web-monitor {
  position: relative;
  width: min(100%, 820px);
  margin: 0 auto;
  transform:
    perspective(1500px)
    rotateY(-5deg)
    rotateX(1.5deg);
  transform-origin: center;
  animation: rd-web-monitor-enter 1s cubic-bezier(.2,.7,.2,1) both;
}

.rd-web-monitor-frame {
  position: relative;
  padding: 12px 12px 25px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 24px;
  background:
    linear-gradient(
      145deg,
      #2a3338 0%,
      #11171b 42%,
      #05080a 100%
    );
  box-shadow:
    0 45px 90px rgba(0,0,0,.48),
    0 0 0 1px rgba(0,139,207,.08),
    0 0 70px rgba(0,139,207,.14);
}

.rd-web-monitor-frame::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      rgba(255,255,255,.1),
      transparent 19%,
      transparent 77%,
      rgba(255,255,255,.025)
    );
}

.rd-web-monitor-camera {
  position: absolute;
  top: 4px;
  left: 50%;
  z-index: 3;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #3d555f;
  box-shadow: 0 0 0 2px rgba(0,0,0,.6);
  transform: translateX(-50%);
}

.rd-web-monitor-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.12),
    inset 0 0 25px rgba(0,0,0,.16);
}

.rd-web-monitor-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.rd-web-monitor-brand {
  position: absolute;
  right: 22px;
  bottom: 7px;
  color: rgba(255,255,255,.32);
  font-size: 0.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
}

.rd-web-monitor-brand span {
  color: rgba(33,167,63,.55);
}

.rd-web-monitor-neck {
  position: relative;
  z-index: -1;
  width: 112px;
  height: 70px;
  margin: -3px auto 0;
  background:
    linear-gradient(
      90deg,
      #10161a 0%,
      #394247 48%,
      #151b1f 100%
    );
  clip-path: polygon(23% 0, 77% 0, 90% 100%, 10% 100%);
  box-shadow: 0 22px 32px rgba(0,0,0,.25);
}

.rd-web-monitor-base {
  width: 255px;
  height: 18px;
  margin: -2px auto 0;
  border-radius: 50% 50% 7px 7px;
  background:
    linear-gradient(
      180deg,
      #4a5459 0%,
      #171d20 48%,
      #080b0d 100%
    );
  box-shadow:
    0 18px 30px rgba(0,0,0,.38),
    inset 0 1px rgba(255,255,255,.18);
}

.rd-web-project-label {
  position: absolute;
  right: 1%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 210px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 12px;
  color: #eaf1f3;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  background: rgba(6, 20, 27, 0.86);
  box-shadow: 0 18px 40px rgba(0,0,0,.3);
  backdrop-filter: blur(12px);
}

.rd-web-project-label small {
  display: block;
  margin-bottom: 3px;
  color: #81979f;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.rd-web-project-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #21a73f;
  box-shadow: 0 0 16px rgba(33,167,63,.7);
}

/* Hintergrundlichter */

.rd-web-hero-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}

.rd-web-hero-glow-blue {
  top: 18%;
  right: -12%;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0,139,207,.19) 0%,
    rgba(0,139,207,0) 68%
  );
}

.rd-web-hero-glow-green {
  right: 26%;
  bottom: -38%;
  width: 480px;
  height: 480px;
  background: radial-gradient(
    circle,
    rgba(33,167,63,.09) 0%,
    rgba(33,167,63,0) 70%
  );
}

/* Scroll-Hinweis */

.rd-web-scroll-hint {
  position: absolute;
  bottom: 27px;
  left: 50%;
  z-index: 4;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 27px;
  height: 43px;
  border: 1px solid rgba(255,255,255,.27);
  border-radius: 20px;
  transform: translateX(-50%);
}

.rd-web-scroll-hint span {
  width: 4px;
  height: 8px;
  margin-top: 8px;
  border-radius: 5px;
  background: #21a73f;
  animation: rd-web-scroll-dot 1.8s ease-in-out infinite;
}

/* Animationen */

@keyframes rd-web-monitor-enter {
  from {
    opacity: 0;
    transform:
      perspective(1500px)
      rotateY(-5deg)
      rotateX(1.5deg)
      translateY(36px)
      scale(.96);
  }

  to {
    opacity: 1;
    transform:
      perspective(1500px)
      rotateY(-5deg)
      rotateX(1.5deg)
      translateY(0)
      scale(1);
  }
}

@keyframes rd-web-scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

/* Tablet */

@media (max-width: 1199.98px) {
  .rd-web-hero {
    min-height: auto;
    padding-top: 95px;
    padding-bottom: 95px;
  }

  .rd-web-hero-inner {
    grid-template-columns: minmax(360px, .88fr) minmax(470px, 1.12fr);
    gap: 45px;
  }

  .rd-web-title {
    font-size: clamp(3rem, 5vw, 4.3rem);
  }

  .rd-web-monitor {
    transform:
      perspective(1400px)
      rotateY(-3deg)
      rotateX(1deg);
  }
}

/* Mobil */

@media (max-width: 991.98px) {
  .rd-web-hero {
    min-height: auto;
    padding: 82px 25px 75px;
  }

  .rd-web-hero-inner {
    grid-template-columns: 1fr;
    gap: 52px;
    max-width: 780px;
  }

  .rd-web-hero-copy {
    max-width: 690px;
  }

  .rd-web-visual {
    padding: 0 0 40px;
  }

  .rd-web-monitor {
    width: 100%;
    max-width: 720px;
    transform: none;
    animation-name: rd-web-monitor-enter-tablet;
  }

  .rd-web-project-label {
    right: 3%;
    bottom: 7px;
  }

  .rd-web-scroll-hint {
    display: none;
  }

  @keyframes rd-web-monitor-enter-tablet {
    from {
      opacity: 0;
      transform: translateY(30px) scale(.97);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
}

@media (max-width: 575.98px) {
  .rd-web-hero {
    padding: 25px 20px 58px;
  }

  .rd-web-eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  .rd-web-eyebrow::before {
    width: 30px;
  }

  .rd-web-title {
    font-size: clamp(2.65rem, 12vw, 3.65rem);
    line-height: 1;
  }

  .rd-web-title span {
    margin-top: 12px;
    font-size: 0.55em;
    line-height: 1.15;
  }

  .rd-web-lead {
    margin-top: 17px;
    font-size: 1.04rem;
    line-height: 1.6;
  }

  .rd-web-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 17px;
  }

  .rd-web-button {
    width: 100%;
    min-height: 56px;
  }

  .rd-web-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 16px;
    margin-top: 17px;
    font-size: 0.78rem;
  }

  .rd-web-hero-inner {
    gap: 45px;
  }

  .rd-web-monitor-frame {
    padding: 6px 6px 16px;
    border-radius: 14px;
  }

  .rd-web-monitor-screen {
    border-radius: 9px;
  }

  .rd-web-monitor-brand {
    right: 13px;
    bottom: 4px;
    font-size: 0.37rem;
  }

  .rd-web-monitor-camera {
    top: 2px;
    width: 3px;
    height: 3px;
  }

  .rd-web-monitor-neck {
    width: 72px;
    height: 43px;
  }

  .rd-web-monitor-base {
    width: 165px;
    height: 12px;
  }

  .rd-web-project-label {
    position: relative;
    right: auto;
    bottom: auto;
    width: fit-content;
    min-width: 0;
    margin: 20px auto 0;
    padding: 11px 15px;
    font-size: 0.82rem;
  }
}

/* Reduzierte Bewegung */

@media (prefers-reduced-motion: reduce) {
  .rd-web-monitor,
  .rd-web-scroll-hint span {
    animation: none !important;
  }

  .rd-web-button {
    transition: none !important;
  }
}
/* =========================================================
   WEBPROJEKTE – SCROLL STORY
   ========================================================= */

.rd-web-projects-section {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #07171d !important;
}

.rd-web-projects-section > .sppb-row-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.rd-web-projects-section .sppb-row,
.rd-web-projects-section .sppb-column,
.rd-web-projects-section .sppb-column-addons,
.rd-web-projects-section .sppb-addon,
.rd-web-projects-section .sppb-addon-content {
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

.rd-web-projects {
  position: relative;
  padding: 125px 28px 100px;
  color: #f5f8f9;
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(0,139,207,.11),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #07171d 0%,
      #081d24 48%,
      #07171d 100%
    );
}

/* Intro */

.rd-web-projects-intro {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto 80px;
}

.rd-web-projects-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  color: #25b74a;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.rd-web-projects-eyebrow::before {
  width: 42px;
  height: 3px;
  border-radius: 10px;
  content: "";
  background: #008bcf;
}

.rd-web-projects-intro h2 {
  max-width: 980px;
  margin: 0;
  color: #f5f8f9;
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.rd-web-projects-intro h2 span {
  display: block;
  margin-top: 10px;
  color: #a8bbc2;
  font-size: .61em;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.rd-web-projects-intro > p:last-child {
  max-width: 770px;
  margin: 31px 0 0;
  color: #a9bac1;
  font-size: 1.13rem;
  line-height: 1.7;
}
/* =========================================================
   ZWEISPALTIGE SCROLL-STORY
   ========================================================= */

.rd-web-story {
  display: grid;
  grid-template-columns:
    minmax(360px, .78fr)
    minmax(560px, 1.22fr);
  align-items: stretch;
  gap: clamp(55px, 7vw, 125px);
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  overflow: visible;
}

.rd-web-story-content {
  position: relative;
  z-index: 2;
}

/* =========================================================
   TEXTE UND SCROLL-KAPITEL
   ========================================================= */

.rd-web-step {
  display: flex;
  align-items: center;
  min-height: 76vh;
  opacity: .42;
  transition:
    opacity .45s ease,
    transform .45s ease;
}

.rd-web-step.is-active {
  opacity: 1;
}

.rd-web-step-inner {
  width: 100%;
  max-width: 580px;
  padding: 65px 0;
}

.rd-web-step-number {
  margin: 0 0 19px;
  color: #f3bc16;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-web-step-harlesiel .rd-web-step-number {
  color: #dd8d32;
}

.rd-web-step h3 {
  margin: 0;
  color: #f7f9fa;
  font-size: clamp(2.15rem, 3vw, 3.65rem);
  font-weight: 750;
  line-height: 1.07;
  letter-spacing: -.045em;
}

.rd-web-step-inner > p:not(.rd-web-step-number) {
  margin: 25px 0 0;
  color: #aebec4;
  font-size: 1.06rem;
  line-height: 1.75;
}

.rd-web-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.rd-web-step-tags li {
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  color: #b9c7cc;
  font-size: .75rem;
  line-height: 1;
  background: rgba(255,255,255,.035);
}

/* Bilder innerhalb der Texte nur mobil anzeigen */

.rd-web-step-media {
  display: none;
}

/* =========================================================
   STICKY-BILDBEREICH
   ========================================================= */

.rd-web-stage-column {
  position: relative;
  align-self: stretch;
  height: 100%;
  min-width: 0;
}

.rd-web-stage {
  position: sticky !important;
  top: 110px !important;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: min(720px, calc(100vh - 155px));
  min-height: 560px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Alte Hintergrund-Card und Fortschrittsbalken ausblenden */

.rd-web-stage::before,
.rd-web-stage-glow,
.rd-web-stage-progress {
  display: none !important;
}

/* =========================================================
   WECHSELNDE PROJEKTBILDER
   ========================================================= */

.rd-web-frame {
  position: absolute;
  inset: 35px 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(28px) scale(.955);
  transition:
    opacity .65s cubic-bezier(.2,.7,.2,1),
    transform .65s cubic-bezier(.2,.7,.2,1),
    visibility 0s linear .65s;
}

.rd-web-frame.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

/* =========================================================
   DESKTOP-BROWSERANSICHT
   ========================================================= */

.rd-web-browser-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 13px;
  background: #fff;
  box-shadow:
    0 38px 75px rgba(0,0,0,.48),
    0 0 55px rgba(0,139,207,.09);
}

.rd-web-browser-top {
  position: relative;
  display: flex;
  align-items: center;
  height: 39px;
  padding: 0 14px;
  background:
    linear-gradient(
      180deg,
      #26343a,
      #172229
    );
}

.rd-web-browser-dots {
  display: flex;
  gap: 6px;
}

.rd-web-browser-dots span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.rd-web-browser-dots span:nth-child(1) {
  background: #ff6258;
}

.rd-web-browser-dots span:nth-child(2) {
  background: #ffbd2e;
}

.rd-web-browser-dots span:nth-child(3) {
  background: #28c840;
}

.rd-web-browser-domain {
  position: absolute;
  left: 50%;
  color: #9daeb5;
  font-size: .66rem;
  letter-spacing: .03em;
  white-space: nowrap;
  transform: translateX(-50%);
}

.rd-web-browser-card > img {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================================
   SMARTPHONE-ANSICHT
   ========================================================= */

.rd-web-frame-phone {
  inset: 20px 0;
}

.rd-web-phone {
  position: relative;
  height: min(620px, calc(100vh - 225px));
  max-height: 92%;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 32px;
  background:
    linear-gradient(
      145deg,
      #303a3f,
      #080c0e
    );
  box-shadow:
    0 38px 70px rgba(0,0,0,.55),
    0 0 55px rgba(0,139,207,.12);
}

.rd-web-phone img {
  display: block;
  width: auto;
  height: 100%;
  border-radius: 23px;
}

.rd-web-phone-speaker {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 4;
  width: 42px;
  height: 5px;
  border-radius: 10px;
  background: rgba(0,0,0,.72);
  transform: translateX(-50%);
}

.rd-web-phone-okb {
  box-shadow:
    0 38px 70px rgba(0,0,0,.55),
    0 0 60px rgba(243,188,22,.13);
}

.rd-web-phone-harlesiel {
  box-shadow:
    0 38px 70px rgba(0,0,0,.55),
    0 0 60px rgba(221,141,50,.13);
}

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

@media (max-width: 991.98px) {
  .rd-web-projects {
    padding: 95px 24px 75px;
  }

  .rd-web-projects-intro {
    margin-bottom: 50px;
  }

  .rd-web-story {
    display: block;
    max-width: 780px;
  }

  /* Sticky-Bereich mobil abschalten */

  .rd-web-stage-column {
    display: none;
  }

  .rd-web-step {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 55px 0 75px;
    opacity: 1;
  }

  .rd-web-step + .rd-web-step {
    border-top: 1px solid rgba(255,255,255,.09);
  }

  .rd-web-step-inner {
    max-width: none;
    padding: 0;
  }

  /* Projektbilder direkt unter dem jeweiligen Text */

  .rd-web-step-media {
    display: block;
    margin: 37px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 28px 55px rgba(0,0,0,.32);
  }

  .rd-web-step-media img {
    display: block;
    width: 100%;
    height: auto;
  }

  .rd-web-step-media-phone {
    width: min(76%, 390px);
    margin-right: auto;
    margin-left: auto;
    padding: 8px;
    border-radius: 29px;
    background: #10171b;
  }

  .rd-web-step-media-phone img {
    border-radius: 21px;
  }
}

/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 575.98px) {
  .rd-web-projects {
    padding: 75px 20px 55px;
  }

  .rd-web-projects-intro {
    margin-bottom: 25px;
  }

  .rd-web-projects-eyebrow {
    font-size: .68rem;
    letter-spacing: .18em;
  }

  .rd-web-projects-eyebrow::before {
    width: 30px;
  }

  .rd-web-projects-intro h2 {
    font-size: clamp(2.5rem, 12vw, 3.45rem);
  }

  .rd-web-projects-intro h2 span {
    font-size: .56em;
  }

  .rd-web-projects-intro > p:last-child {
    margin-top: 24px;
    font-size: 1rem;
  }

  .rd-web-step {
    padding: 48px 0 62px;
  }

  .rd-web-step h3 {
    font-size: 2.25rem;
  }

  .rd-web-step-inner > p:not(.rd-web-step-number) {
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-web-step-media {
    margin-top: 30px;
  }

  .rd-web-step-media-phone {
    width: min(82%, 345px);
  }
}

/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rd-web-step,
  .rd-web-frame {
    transition: none !important;
  }
}

/* =========================================================
   HELIX / SP PAGE BUILDER – STICKY-FIX
   Nur Webdesign-Seite mit Menü-ID 110
   ========================================================= */

body.itemid-110 {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.itemid-110 .body-wrapper {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.itemid-110 .body-innerwrapper {
  overflow: visible !important;
}

body.itemid-110 #sp-main,
body.itemid-110 #sp-main-body,
body.itemid-110 #sp-component,
body.itemid-110 #sp-page-builder,
body.itemid-110 .page-content {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body.itemid-110 .rd-web-projects-section,
body.itemid-110 .rd-web-projects-section > .sppb-row-container,
body.itemid-110 .rd-web-projects-section .sppb-row,
body.itemid-110 .rd-web-projects-section [class*="sppb-col-"],
body.itemid-110 .rd-web-projects-section .sppb-row-column,
body.itemid-110 .rd-web-projects-section .sppb-column,
body.itemid-110 .rd-web-projects-section .sppb-column-addons,
body.itemid-110 .rd-web-projects-section .sppb-addon-wrapper,
body.itemid-110 .rd-web-projects-section .sppb-addon,
body.itemid-110 .rd-web-projects-section .sppb-addon-content,
body.itemid-110 .rd-web-projects,
body.itemid-110 .rd-web-story {
  overflow: visible !important;
}

body.itemid-110 .rd-web-stage-column {
  position: relative !important;
  align-self: stretch !important;
  height: 100% !important;
}

body.itemid-110 .rd-web-stage {
  position: sticky !important;
  top: 110px !important;
}
/* =========================================================
   MOBILE PROJECT REVEAL
   ========================================================= */

@media (max-width: 991.98px) {
  body.itemid-110 .rd-web-story {
    display: block !important;
    width: 100%;
    max-width: 780px;
    overflow: visible !important;
  }

  /* Desktop-Sticky mobil komplett deaktivieren */

  body.itemid-110 .rd-web-stage-column {
    display: none !important;
  }

  body.itemid-110 .rd-web-story-content {
    display: block;
    width: 100%;
  }

  /* Einzelne Projektabschnitte */

  body.itemid-110 .rd-web-step {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 70px 0 88px;
    opacity: 1 !important;
  }

  body.itemid-110 .rd-web-step:first-child {
    padding-top: 15px;
  }

  body.itemid-110 .rd-web-step + .rd-web-step {
    border-top: 1px solid rgba(255,255,255,.09);
  }

  body.itemid-110 .rd-web-step-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    padding: 0;
  }

  /* =======================================================
     BILD
     ======================================================= */

  body.itemid-110 .rd-web-step-media {
    position: relative;
    order: 1;
    display: block !important;
    width: 100%;
    margin: 0 0 38px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    opacity: 0;
    background: #fff;
    box-shadow: 0 24px 46px rgba(0,0,0,.34);

    -webkit-clip-path: inset(0 0 0 100%);
    clip-path: inset(0 0 0 100%);

    transform: translateX(38px) scale(.985);

    transition:
      opacity .7s ease,
      transform .8s cubic-bezier(.2,.7,.2,1),
      clip-path .85s cubic-bezier(.2,.7,.2,1),
      -webkit-clip-path .85s cubic-bezier(.2,.7,.2,1);
  }

  /* Jedes zweite Bild aus der anderen Richtung */

  body.itemid-110
  .rd-web-step:nth-child(even)
  .rd-web-step-media {
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
    transform: translateX(-38px) scale(.985);
  }

  body.itemid-110
  .rd-web-step.rd-mobile-visible
  .rd-web-step-media {
    opacity: 1;

    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);

    transform: translateX(0) scale(1);
  }

  body.itemid-110 .rd-web-step-media img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Kleine Browserleiste */

  body.itemid-110
  .rd-web-step-media:not(.rd-web-step-media-phone)::before {
    display: block;
    height: 30px;
    content: "";

    background:
      radial-gradient(
        circle at 16px 50%,
        #ff6258 0 3px,
        transparent 4px
      ),
      radial-gradient(
        circle at 29px 50%,
        #ffbd2e 0 3px,
        transparent 4px
      ),
      radial-gradient(
        circle at 42px 50%,
        #28c840 0 3px,
        transparent 4px
      ),
      linear-gradient(
        180deg,
        #26343a,
        #172229
      );
  }

  /* =======================================================
     SMARTPHONE-BILDER
     ======================================================= */

  body.itemid-110 .rd-web-step-media-phone,
  body.itemid-110
  .rd-web-step:nth-child(even)
  .rd-web-step-media-phone {
    width: min(74%, 360px);
    margin-right: auto;
    margin-bottom: 38px;
    margin-left: auto;
    padding: 8px;
    border-radius: 29px;
    background: #10171b;

    -webkit-clip-path: inset(0);
    clip-path: inset(0);

    transform: translateY(45px) scale(.95);
  }

  body.itemid-110
  .rd-web-step.rd-mobile-visible
  .rd-web-step-media-phone {
    transform: translateY(0) scale(1);
  }

  body.itemid-110 .rd-web-step-media-phone::before {
    display: none;
  }

  body.itemid-110 .rd-web-step-media-phone img {
    border-radius: 20px;
  }

  /* =======================================================
     TEXTREIHENFOLGE
     ======================================================= */

  body.itemid-110 .rd-web-step-number {
    order: 2;
    margin: 0 0 17px;
    opacity: 0;
    transform: translateY(22px);

    transition:
      opacity .55s ease .13s,
      transform .6s cubic-bezier(.2,.7,.2,1) .13s;
  }

  body.itemid-110 .rd-web-step h3 {
    order: 3;
    margin: 0;
    opacity: 0;
    transform: translateY(27px);

    transition:
      opacity .6s ease .2s,
      transform .65s cubic-bezier(.2,.7,.2,1) .2s;
  }

  body.itemid-110
  .rd-web-step-inner > p:not(.rd-web-step-number) {
    order: 4;
    margin-top: 22px;
    opacity: 0;
    transform: translateY(25px);

    transition:
      opacity .6s ease .29s,
      transform .65s cubic-bezier(.2,.7,.2,1) .29s;
  }

  body.itemid-110 .rd-web-step-tags {
    order: 5;
    margin-top: 26px;
  }

  body.itemid-110 .rd-web-step-tags li {
    opacity: 0;
    transform: translateY(14px);
    transition:
      opacity .45s ease,
      transform .5s cubic-bezier(.2,.7,.2,1);
  }

  body.itemid-110 .rd-web-step-tags li:nth-child(1) {
    transition-delay: .39s;
  }

  body.itemid-110 .rd-web-step-tags li:nth-child(2) {
    transition-delay: .46s;
  }

  body.itemid-110 .rd-web-step-tags li:nth-child(3) {
    transition-delay: .53s;
  }

  /* Sichtbarer Zustand */

  body.itemid-110
  .rd-web-step.rd-mobile-visible
  .rd-web-step-number,
  body.itemid-110
  .rd-web-step.rd-mobile-visible h3,
  body.itemid-110
  .rd-web-step.rd-mobile-visible
  .rd-web-step-inner > p:not(.rd-web-step-number),
  body.itemid-110
  .rd-web-step.rd-mobile-visible
  .rd-web-step-tags li {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   KLEINE SMARTPHONES
   ========================================================= */

@media (max-width: 575.98px) {
  body.itemid-110 .rd-web-step {
    padding: 58px 0 72px;
  }

  body.itemid-110 .rd-web-step:first-child {
    padding-top: 10px;
  }

  body.itemid-110 .rd-web-step-media {
    margin-bottom: 31px;
    border-radius: 11px;
  }

  body.itemid-110
  .rd-web-step-media:not(.rd-web-step-media-phone)::before {
    height: 27px;
  }

  body.itemid-110 .rd-web-step-media-phone {
    width: min(78%, 320px);
    padding: 7px;
    border-radius: 25px;
  }

  body.itemid-110 .rd-web-step-media-phone img {
    border-radius: 18px;
  }

  body.itemid-110 .rd-web-step h3 {
    font-size: clamp(2.05rem, 10vw, 2.65rem);
  }

  body.itemid-110
  .rd-web-step-inner > p:not(.rd-web-step-number) {
    font-size: .98rem;
    line-height: 1.65;
  }
}

/* =========================================================
   BEWEGUNG REDUZIEREN
   ========================================================= */

@media (
  max-width: 991.98px
) and (
  prefers-reduced-motion: reduce
) {
  body.itemid-110 .rd-web-step-media,
  body.itemid-110 .rd-web-step-number,
  body.itemid-110 .rd-web-step h3,
  body.itemid-110
  .rd-web-step-inner > p:not(.rd-web-step-number),
  body.itemid-110 .rd-web-step-tags li {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;

    -webkit-clip-path: none !important;
    clip-path: none !important;
  }
}
/* =========================================================
   WEBDESIGN – PROJEKTABLAUF
   ========================================================= */

.rd-web-process,
.rd-web-process *,
.rd-web-process *::before,
.rd-web-process *::after {
  box-sizing: border-box;
}

.rd-web-process {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #f5f8f9;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background:
    radial-gradient(
      circle at 82% 20%,
      rgba(0,139,207,.09),
      transparent 32%
    ),
    linear-gradient(
      135deg,
      #081b22,
      #09242a
    );
}

.rd-web-process-inner {
  position: relative;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding:
    clamp(90px, 8vw, 135px)
    clamp(24px, 4vw, 56px)
    clamp(95px, 8vw, 140px);
}


/* Einleitung */

.rd-web-process-intro {
  max-width: 980px;
  margin: 0 0 clamp(60px, 7vw, 92px);
}

.rd-web-process-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 23px;
  color: #2bd154;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-web-process-eyebrow::before {
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  content: "";
  background: #008bcf;
}

.rd-web-process-intro h2 {
  margin: 0;
  color: #f7f9fa;
  font-size: clamp(3rem, 4.8vw, 5.15rem);
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.052em;
}

.rd-web-process-intro h2 span {
  display: block;
  margin-top: 11px;
  color: #a8bac1;
  font-size: .58em;
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.035em;
}


/* Horizontale Prozesslinie */

.rd-web-process-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(28px, 3.5vw, 55px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-web-process-list::before {
  position: absolute;
  top: 27px;
  right: 12.5%;
  left: 12.5%;
  z-index: 0;
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    rgba(0,139,207,.3),
    rgba(33,167,63,.55),
    rgba(0,139,207,.3)
  );
}

.rd-web-process-step {
  position: relative;
  z-index: 2;
  margin: 0;
}


/* Nummer */

.rd-web-process-number {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  margin-bottom: 30px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  color: #f5f8f9;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  background:
    linear-gradient(
      145deg,
      #0d3540,
      #07171d
    );
  box-shadow:
    0 0 0 8px #081e25,
    0 12px 28px rgba(0,0,0,.22);
  transition:
    border-color .3s ease,
    background-color .3s ease,
    transform .3s ease;
}

.rd-web-process-step:hover
.rd-web-process-number {
  border-color: rgba(33,167,63,.7);
  transform: translateY(-4px);
}


/* Text */

.rd-web-process-copy h3 {
  margin: 0 0 15px;
  color: #f5f8f9;
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.rd-web-process-copy p {
  margin: 0;
  color: #aebec4;
  font-size: .98rem;
  line-height: 1.7;
}


/* Tablet */

@media (max-width: 991.98px) {
  .rd-web-process-inner {
    max-width: 820px;
  }

  .rd-web-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 58px 45px;
  }

  .rd-web-process-list::before {
    display: none;
  }

  .rd-web-process-step {
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .rd-web-process-number {
    margin-bottom: 25px;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
  }
}


/* Smartphone */

@media (max-width: 575.98px) {
  .rd-web-process-inner {
    padding: 75px 20px 80px;
  }

  .rd-web-process-intro {
    margin-bottom: 52px;
  }

  .rd-web-process-eyebrow {
    gap: 12px;
    font-size: .66rem;
    letter-spacing: .14em;
  }

  .rd-web-process-eyebrow::before {
    flex-basis: 30px;
    width: 30px;
  }

  .rd-web-process-intro h2 {
    font-size: clamp(2.65rem, 11.5vw, 3.65rem);
  }

  .rd-web-process-intro h2 span {
    margin-top: 13px;
    font-size: .55em;
    line-height: 1.2;
  }

  .rd-web-process-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rd-web-process-list::before {
    display: block;
    top: 27px;
    bottom: 27px;
    left: 27px;
    width: 1px;
    height: auto;
    background: linear-gradient(
      180deg,
      rgba(0,139,207,.5),
      rgba(33,167,63,.55),
      rgba(0,139,207,.25)
    );
  }

  .rd-web-process-step {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr);
    gap: 22px;
    padding: 0 0 48px;
    border: 0;
  }

  .rd-web-process-step:last-child {
    padding-bottom: 0;
  }

  .rd-web-process-number {
    margin: 0;
    box-shadow: 0 0 0 7px #081e25;
  }

  .rd-web-process-copy {
    padding-top: 3px;
  }

  .rd-web-process-copy h3 {
    font-size: 1.45rem;
  }

  .rd-web-process-copy p {
    font-size: .95rem;
    line-height: 1.65;
  }
}
/* Prozesslinie auf Desktop sauber zwischen den Punkten */

@media (min-width: 992px) {
  .rd-web-process-list {
    --rd-process-gap: clamp(28px, 3.5vw, 55px);
    gap: var(--rd-process-gap);
  }

  .rd-web-process-list::before {
    display: none;
  }

  .rd-web-process-step:not(:last-child)::after {
    position: absolute;
    top: 27px;
    left: 63px;
    z-index: 0;
    width: calc(100% + var(--rd-process-gap) - 71px);
    height: 1px;
    content: "";
    background: linear-gradient(
      90deg,
      rgba(0,139,207,.35),
      rgba(33,167,63,.55)
    );
  }

  .rd-web-process-number {
    position: relative;
    z-index: 2;
  }
}

/* =========================================================
   RIEGER MEDIA – GRAFIK HERO
   ========================================================= */

.rd-gfx-hero,
.rd-gfx-hero *,
.rd-gfx-hero *::before,
.rd-gfx-hero *::after {
  box-sizing: border-box;
}

.rd-gfx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100vw;
  min-height: calc(100svh - 90px);
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  color: #f5f8f9;
  background:
    linear-gradient(135deg, #06141b 0%, #081d24 52%, #092a2f 100%);
}

.rd-gfx-hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
}

.rd-gfx-hero-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1540px);
  margin: 0 auto;
  padding:
    clamp(85px, 7vw, 120px)
    clamp(24px, 4vw, 56px)
    clamp(85px, 7vw, 110px);
}

/* Text */

.rd-gfx-copy {
  position: relative;
  z-index: 4;
  width: min(100%, 920px);
}

.rd-gfx-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  color: #29c653;
  font-size: 0.8rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rd-gfx-eyebrow::before {
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  border-radius: 10px;
  content: "";
  background: #008bcf;
}

.rd-gfx-title {
  max-width: 960px;
  margin: 0;
  color: #f7fafb;
  font-size: clamp(3.5rem, 5.4vw, 6rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.rd-gfx-title span {
  display: block;
  margin-top: 14px;
  color: #b7c8ce;
  font-size: 0.52em;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.rd-gfx-lead {
  max-width: 710px;
  margin: 31px 0 0;
  color: #b1c1c7;
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.7;
}

/* Buttons */

.rd-gfx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 36px;
}

.rd-gfx-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 57px;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.055em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.rd-gfx-button-primary {
  color: #fff !important;
  background: #008bcf;
  box-shadow: 0 15px 34px rgba(0, 139, 207, 0.22);
}

.rd-gfx-button-primary:hover,
.rd-gfx-button-primary:focus-visible {
  color: #fff !important;
  background: #009be5;
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 139, 207, 0.32);
}

.rd-gfx-button-secondary {
  color: #f3f7f8 !important;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.025);
}

.rd-gfx-button-secondary:hover,
.rd-gfx-button-secondary:focus-visible {
  color: #fff !important;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

/* Leistungszeile */

.rd-gfx-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 25px;
  margin: 29px 0 0;
  padding: 0;
  color: #91a7af;
  font-size: 0.86rem;
  line-height: 1.4;
  list-style: none;
}

.rd-gfx-services li {
  position: relative;
  margin: 0;
  padding-left: 17px;
}

.rd-gfx-services li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: #21a73f;
  box-shadow: 0 0 12px rgba(33, 167, 63, 0.55);
}

/* Skyline */

.rd-gfx-visual {
  position: relative;
  z-index: 2;
  width: 100%;
  min-height: clamp(275px, 27vw, 420px);
  margin-top: clamp(42px, 5vw, 75px);
}

.rd-gfx-skyline-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
  animation: rd-gfx-reveal 3.4s cubic-bezier(.2,.7,.2,1) 0.15s forwards;
}

.rd-gfx-skyline {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.30));
}

.rd-gfx-project-label {
  position: absolute;
  right: 1%;
  bottom: 7%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  color: #eaf1f3;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  background: rgba(6, 20, 27, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(12px);
}

.rd-gfx-project-label small {
  display: block;
  margin-bottom: 3px;
  color: #81979f;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rd-gfx-project-dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #21a73f;
  box-shadow: 0 0 16px rgba(33, 167, 63, 0.70);
}

/* Hintergrundlichter */

.rd-gfx-glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.rd-gfx-glow-blue {
  top: 14%;
  right: -12%;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, rgba(0, 139, 207, 0.17), transparent 68%);
}

.rd-gfx-glow-green {
  bottom: -32%;
  left: 28%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(33, 167, 63, 0.09), transparent 70%);
}

/* Scroll-Hinweis */

.rd-gfx-scroll-hint {
  position: absolute;
  bottom: 25px;
  left: 50%;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 27px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.27);
  border-radius: 20px;
  transform: translateX(-50%);
}

.rd-gfx-scroll-hint span {
  width: 4px;
  height: 8px;
  margin-top: 8px;
  border-radius: 5px;
  background: #21a73f;
  animation: rd-gfx-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes rd-gfx-reveal {
  to {
    opacity: 1;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
  }
}

@keyframes rd-gfx-scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translateY(15px);
  }
}

/* Tablet */

@media (max-width: 991.98px) {
  .rd-gfx-hero {
    min-height: auto;
  }

  .rd-gfx-hero-inner {
    max-width: 820px;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .rd-gfx-visual {
    min-height: 300px;
  }

  .rd-gfx-scroll-hint {
    display: none;
  }
}

/* Smartphone */

@media (max-width: 575.98px) {
  .rd-gfx-hero-inner {
    padding: 56px 20px 65px;
  }

  .rd-gfx-eyebrow {
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.67rem;
    letter-spacing: 0.17em;
  }

  .rd-gfx-eyebrow::before {
    flex-basis: 30px;
    width: 30px;
  }

  .rd-gfx-title {
    font-size: clamp(2.75rem, 12vw, 3.75rem);
  }

  .rd-gfx-title span {
    margin-top: 13px;
    font-size: 0.55em;
    line-height: 1.18;
  }

  .rd-gfx-lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .rd-gfx-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 27px;
  }

  .rd-gfx-button {
    width: 100%;
    min-height: 55px;
  }

  .rd-gfx-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px 15px;
    margin-top: 25px;
    font-size: 0.77rem;
  }

  .rd-gfx-visual {
    min-height: 250px;
    margin-top: 42px;
    overflow: hidden;
  }

  .rd-gfx-skyline-mask {
    right: auto;
    left: 50%;
    width: 760px;
    transform: translateX(-50%);
  }

  .rd-gfx-skyline {
    width: 760px;
    max-width: none;
  }

  .rd-gfx-project-label {
    right: 50%;
    bottom: 4px;
    min-width: 0;
    padding: 11px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    transform: translateX(50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-gfx-skyline-mask {
    opacity: 1;
    -webkit-clip-path: none;
    clip-path: none;
    animation: none;
  }

  .rd-gfx-scroll-hint span {
    animation: none;
  }

  .rd-gfx-button {
    transition: none;
  }
}

/* =========================================================
   SKYLINE-POSITION UND GRÖSSEN
   ========================================================= */

/* Großer Desktop: Text links, Skyline im freien Raum rechts */

@media (min-width: 1200px) {
  .rd-gfx-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(42px, 4vw, 72px);
  }

  .rd-gfx-copy {
    width: 100%;
    max-width: 700px;
  }

  .rd-gfx-title {
    max-width: 700px;
    font-size: clamp(3.4rem, 4.1vw, 4.9rem);
  }

  .rd-gfx-visual {
    width: 100%;
    min-height: clamp(380px, 29vw, 480px);
    margin: 0;
  }

  .rd-gfx-skyline-mask {
    right: -13%;
    left: -5%;
  }

  .rd-gfx-project-label {
    right: 0;
    bottom: 4%;
  }
}

/* Kleiner Desktop */

@media (min-width: 992px) and (max-width: 1199.98px) {
  .rd-gfx-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 35px;
  }

  .rd-gfx-copy {
    width: 100%;
    max-width: 600px;
  }

  .rd-gfx-title {
    font-size: clamp(3.1rem, 4.7vw, 4.3rem);
  }

  .rd-gfx-visual {
    min-height: 350px;
    margin: 0;
  }

  .rd-gfx-skyline-mask {
    right: -18%;
    left: 0;
  }

  .rd-gfx-project-label {
    right: 0;
  }
}

/* Tablet: Skyline vor dem Text */

@media (max-width: 991.98px) {
  .rd-gfx-hero-inner {
    display: flex;
    flex-direction: column;
    padding-top: 42px;
  }

  .rd-gfx-visual {
    order: 1;
    width: 100%;
    min-height: clamp(210px, 34vw, 300px);
    margin: 0 0 32px;
    overflow: hidden;
  }

  .rd-gfx-copy {
    order: 2;
  }

  .rd-gfx-skyline-mask {
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(100%, 760px);
    transform: translateX(-50%);
  }

  .rd-gfx-skyline {
    width: 100%;
    max-width: none;
  }
}

/* Smartphone */

@media (max-width: 575.98px) {
  .rd-gfx-hero-inner {
    padding-top: 28px;
  }

  .rd-gfx-visual {
    width: 100%;
    min-height: clamp(150px, 43vw, 180px);
    margin: 0 0 26px;
    overflow: visible;
  }

  .rd-gfx-skyline-mask {
    width: 112%;
    overflow: visible;
  }

  .rd-gfx-title {
    font-size: clamp(2.55rem, 10.5vw, 3.25rem);
    line-height: 1.01;
  }

  .rd-gfx-title span {
    font-size: 0.5em;
    line-height: 1.2;
  }

  .rd-gfx-project-label {
    display: none;
  }
}

@media (max-width: 379.98px) {
  .rd-gfx-visual {
    min-height: 145px;
  }

  .rd-gfx-skyline-mask {
    width: 116%;
  }
}
/* =========================================================
   RIEGER MEDIA – GRAFIK / BECK'S LOGOAUFBAU
   ========================================================= */

.rd-gfx-becks,
.rd-gfx-becks *,
.rd-gfx-becks *::before,
.rd-gfx-becks *::after {
  box-sizing: border-box;
}

.rd-gfx-becks {
  position: relative;
  isolation: isolate;
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: visible;
  color: #f4f8f9;
  background:
    radial-gradient(circle at 86% 35%, rgba(185, 125, 49, .11), transparent 30%),
    radial-gradient(circle at 12% 72%, rgba(33, 167, 63, .07), transparent 28%),
    #07171d;
}

.rd-gfx-becks::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  opacity: .25;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 68px 68px;
}

.rd-gfx-becks-glow {
  position: absolute;
  top: 21%;
  right: -13%;
  z-index: -1;
  width: min(60vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(203, 147, 71, .10), transparent 67%);
  filter: blur(8px);
}

.rd-gfx-becks-inner {
  position: relative;
  z-index: 2;
  width: min(100%, 1480px);
  margin: 0 auto;
  padding:
    clamp(95px, 9vw, 150px)
    clamp(24px, 4vw, 56px)
    clamp(90px, 8vw, 130px);
}

/* Einleitung */

.rd-gfx-becks-intro {
  max-width: 1020px;
  margin: 0 0 clamp(50px, 6vw, 86px);
}

.rd-gfx-becks-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  color: #2bc956;
  font-size: .76rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rd-gfx-becks-eyebrow::before {
  flex: 0 0 42px;
  width: 42px;
  height: 3px;
  border-radius: 20px;
  content: "";
  background: #008bcf;
}

.rd-gfx-becks-intro h2 {
  max-width: 1050px;
  margin: 0;
  color: #f7fafb;
  font-size: clamp(3rem, 5.2vw, 5.7rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.055em;
}

.rd-gfx-becks-intro h2 span {
  display: block;
  margin-top: 16px;
  color: #a9bbc2;
  font-size: .49em;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.035em;
}

.rd-gfx-becks-lead {
  max-width: 820px;
  margin: 32px 0 0;
  color: #aec0c6;
  font-size: clamp(1.02rem, 1.25vw, 1.17rem);
  line-height: 1.75;
}

/* Zweispaltige Scrollgeschichte */

.rd-gfx-becks-story {
  display: grid;
  grid-template-columns: minmax(350px, .78fr) minmax(520px, 1.22fr);
  gap: clamp(55px, 7vw, 120px);
  align-items: stretch;
}

.rd-gfx-becks-steps {
  position: relative;
  z-index: 3;
}

.rd-gfx-becks-step {
  display: flex;
  align-items: center;
  min-height: 68vh;
  opacity: .28;
  transition: opacity .45s ease;
}

.rd-gfx-becks-step.is-active {
  opacity: 1;
}

.rd-gfx-becks-step-inner {
  width: 100%;
  max-width: 570px;
  padding: 55px 0;
}

.rd-gfx-becks-number {
  margin: 0 0 18px;
  color: #d89b4d;
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-gfx-becks-step h3 {
  margin: 0;
  color: #f6f9fa;
  font-size: clamp(2.1rem, 3vw, 3.55rem);
  font-weight: 760;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number) {
  margin: 24px 0 0;
  color: #aebec4;
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Mobile Projektbilder werden erst im mobilen Layout eingeblendet. */

.rd-gfx-becks-step-media {
  display: none;
}

/* Sticky Bildbühne – ohne Card und ohne Transform-Bewegung */

.rd-gfx-becks-stage-column {
  position: relative;
  min-width: 0;
  height: 100%;
}

.rd-gfx-becks-stage {
  position: sticky;
  top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: min(760px, calc(100svh - 145px));
  min-height: 570px;
}

.rd-gfx-becks-visual {
  position: relative;
  width: min(100%, 720px);
  aspect-ratio: 1;
  isolation: isolate;
}

.rd-gfx-becks-visual::before {
  position: absolute;
  inset: 10%;
  z-index: -1;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(210, 153, 78, .13), transparent 68%);
  filter: blur(12px);
}

.rd-gfx-becks-frame {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  visibility: hidden;
  opacity: 0;
  transition:
    opacity .62s cubic-bezier(.2, .7, .2, 1),
    visibility 0s linear .62s;
}

.rd-gfx-becks-frame.is-active {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.rd-gfx-becks-frame-photo {
  inset: 4%;
  width: 92%;
  height: 92%;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  object-fit: cover;
  box-shadow:
    0 32px 70px rgba(0, 0, 0, .38),
    0 0 45px rgba(0, 139, 207, .08);
}

.rd-gfx-becks-status {
  display: flex;
  align-items: center;
  width: min(100%, 620px);
  margin-top: -10px;
  color: #81969e;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .13em;
}

.rd-gfx-becks-status-current {
  color: #d89b4d;
}

.rd-gfx-becks-status-line {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 12px;
  background: linear-gradient(90deg, rgba(216, 155, 77, .75), rgba(255, 255, 255, .12));
}

.rd-gfx-becks-status-title {
  margin-left: 20px;
  color: #b9c8cd;
  font-size: .69rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Abschluss */

.rd-gfx-becks-result {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: clamp(55px, 7vw, 90px);
  padding: clamp(26px, 3vw, 42px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .10);
}

.rd-gfx-becks-result p {
  margin: 0;
}

.rd-gfx-becks-result-label {
  color: #2bc956;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.rd-gfx-becks-result > p:nth-child(2) {
  max-width: 730px;
  color: #aec0c6;
  font-size: 1rem;
  line-height: 1.7;
}

.rd-gfx-becks-result ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rd-gfx-becks-result li {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 100px;
  color: #b6c6cb;
  font-size: .74rem;
  line-height: 1;
  background: rgba(255, 255, 255, .03);
}

/* =========================================================
   HELIX / SP PAGE BUILDER – STICKY-FIX
   Klassenbasiert, daher keine Menü-ID erforderlich
   ========================================================= */

body:has(.rd-gfx-becks) {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body:has(.rd-gfx-becks) .body-wrapper,
body:has(.rd-gfx-becks) #sp-main,
body:has(.rd-gfx-becks) #sp-main-body,
body:has(.rd-gfx-becks) #sp-component,
body:has(.rd-gfx-becks) #sp-page-builder,
body:has(.rd-gfx-becks) .page-content {
  overflow-x: clip !important;
  overflow-y: visible !important;
}

body:has(.rd-gfx-becks) .body-innerwrapper,
body:has(.rd-gfx-becks) .sppb-section:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-row-container:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-row:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) [class*="sppb-col-"]:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-column:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-column-addons:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-addon-wrapper:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-addon:has(.rd-gfx-becks),
body:has(.rd-gfx-becks) .sppb-addon-content:has(.rd-gfx-becks),
.rd-gfx-becks,
.rd-gfx-becks-inner,
.rd-gfx-becks-story,
.rd-gfx-becks-stage-column {
  overflow: visible !important;
}

@media (min-width: 992px) {
  .rd-gfx-becks-story {
    align-items: stretch !important;
  }

  .rd-gfx-becks-stage-column {
    position: relative !important;
    align-self: stretch !important;
    height: 100% !important;
  }

  .rd-gfx-becks-stage {
    position: sticky !important;
    top: 110px !important;
    z-index: 10;
  }
}

/* Tablet und Smartphone: Text und zugehöriges Bild als Scroll-Reveal */

@media (max-width: 991.98px) {
  .rd-gfx-becks-inner {
    max-width: 820px;
    padding-top: 90px;
    padding-bottom: 85px;
  }

  .rd-gfx-becks-intro {
    margin-bottom: 48px;
  }

  .rd-gfx-becks-story {
    display: block;
  }

  .rd-gfx-becks-stage-column {
    display: none !important;
  }

  .rd-gfx-becks-steps {
    margin-top: 0;
  }

  .rd-gfx-becks-step {
    display: block;
    min-height: 0;
    padding: 48px 0 72px;
    opacity: 1;
  }

  .rd-gfx-becks-step + .rd-gfx-becks-step {
    border-top: 1px solid rgba(255, 255, 255, .085);
  }

  .rd-gfx-becks-step-inner {
    max-width: 680px;
    padding: 0;
  }

  .rd-gfx-becks-step h3 {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .rd-gfx-becks-step-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 38px;
    padding: clamp(8px, 2vw, 18px);
    background: radial-gradient(
      circle,
      rgba(216, 155, 77, .085),
      transparent 68%
    );
  }

  .rd-gfx-becks-step-media img {
    display: block;
    width: min(100%, 560px);
    height: auto;
  }

  .rd-gfx-becks-step-media-photo {
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    background: transparent;
    box-shadow: 0 28px 55px rgba(0, 0, 0, .30);
  }

  .rd-gfx-becks-step-media-photo img {
    width: 100%;
  }

  /* Dieselbe ruhige Reveal-Logik wie in der Webdesign-Section. */

  .rd-gfx-becks-step .rd-gfx-becks-number,
  .rd-gfx-becks-step h3,
  .rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number),
  .rd-gfx-becks-step-media {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity .7s ease,
      transform .7s cubic-bezier(.2, .7, .2, 1);
  }

  .rd-gfx-becks-step h3 {
    transition-delay: .07s;
  }

  .rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number) {
    transition-delay: .13s;
  }

  .rd-gfx-becks-step-media {
    transform: translateY(30px) scale(.97);
    transition-delay: .2s;
  }

  .rd-gfx-becks-step.rd-mobile-visible .rd-gfx-becks-number,
  .rd-gfx-becks-step.rd-mobile-visible h3,
  .rd-gfx-becks-step.rd-mobile-visible .rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number) {
    opacity: 1;
    transform: translateY(0);
  }

  .rd-gfx-becks-step.rd-mobile-visible .rd-gfx-becks-step-media {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  .rd-gfx-becks-result {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 45px;
  }

  .rd-gfx-becks-result ul {
    justify-content: flex-start;
    margin-top: 8px;
  }
}

@media (max-width: 575.98px) {
  .rd-gfx-becks-inner {
    padding: 75px 20px 65px;
  }

  .rd-gfx-becks-eyebrow {
    gap: 12px;
    font-size: .67rem;
    letter-spacing: .16em;
  }

  .rd-gfx-becks-eyebrow::before {
    flex-basis: 30px;
    width: 30px;
  }

  .rd-gfx-becks-intro h2 {
    font-size: clamp(2.55rem, 12vw, 3.55rem);
  }

  .rd-gfx-becks-intro h2 span {
    margin-top: 14px;
    font-size: .53em;
    line-height: 1.18;
  }

  .rd-gfx-becks-lead {
    margin-top: 26px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-gfx-becks-step {
    padding: 42px 0 62px;
  }

  .rd-gfx-becks-number {
    margin-bottom: 13px;
    font-size: .68rem;
  }

  .rd-gfx-becks-step h3 {
    font-size: 2.05rem;
  }

  .rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number) {
    margin-top: 18px;
    font-size: .98rem;
    line-height: 1.68;
  }

  .rd-gfx-becks-step-media {
    margin-top: 30px;
    padding: 4px;
  }

  .rd-gfx-becks-step-media-photo {
    padding: 0;
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-gfx-becks-frame,
  .rd-gfx-becks-step,
  .rd-gfx-becks-step .rd-gfx-becks-number,
  .rd-gfx-becks-step h3,
  .rd-gfx-becks-step-inner > p:not(.rd-gfx-becks-number),
  .rd-gfx-becks-step-media {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* =========================================================
   GRAFIK – LOGOAUSWAHL AUS 25 JAHREN
   ========================================================= */

.rd-gfx-logo-wall,
.rd-gfx-logo-wall * {
  box-sizing: border-box;
}

.rd-gfx-logo-wall {
  --rd-blue: #008bcf;
  --rd-green: #21a73f;
  --rd-green-light: #2bc956;
  --rd-bg: #07171d;
  --rd-card: #0b222a;
  --rd-text: #f7f9fa;
  --rd-muted: #aebec4;

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  overflow: hidden;
  isolation: isolate;
  padding:
    clamp(90px, 9vw, 150px)
    clamp(20px, 5vw, 72px)
    clamp(80px, 8vw, 130px);
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(0, 139, 207, .1),
      transparent 32%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(33, 167, 63, .08),
      transparent 30%
    ),
    var(--rd-bg);
}

.rd-gfx-logo-wall::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .28;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, .018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .018) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
}

.rd-gfx-logo-wall-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

/* =========================================================
   EINLEITUNG
   ========================================================= */

.rd-gfx-logo-intro {
  max-width: 980px;
  margin: 0 0 clamp(52px, 6vw, 86px);
}

.rd-gfx-logo-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 24px;
  color: var(--rd-green-light);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-gfx-logo-eyebrow::before {
  flex: 0 0 auto;
  width: 42px;
  height: 3px;
  border-radius: 20px;
  content: "";
  background: var(--rd-blue);
}

.rd-gfx-logo-intro h2 {
  margin: 0;
  color: var(--rd-text);
  font-size: clamp(3rem, 5.35vw, 5.8rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}

.rd-gfx-logo-intro h2 span {
  display: block;
  margin-top: 10px;
  color: #a9bbc2;
  font-size: .66em;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.038em;
}

.rd-gfx-logo-lead {
  max-width: 800px;
  margin: 32px 0 0;
  color: var(--rd-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}

/* =========================================================
   LOGORASTER
   ========================================================= */

.rd-gfx-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.55vw, 24px);
}

.rd-gfx-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(245px, 18vw, 300px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  background: var(--rd-card);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .035);
  transition:
    transform .38s cubic-bezier(.2, .7, .2, 1),
    border-color .38s ease,
    box-shadow .38s ease;
}

.rd-gfx-logo-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  content: "";
  opacity: .72;
  background: linear-gradient(
    90deg,
    var(--rd-blue),
    var(--rd-green)
  );
}

.rd-gfx-logo-stage {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(25px, 2.4vw, 40px);
}

.rd-gfx-logo-card--light .rd-gfx-logo-stage {
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(255, 255, 255, .9),
      transparent 48%
    ),
    linear-gradient(145deg, #dfe4e1, #f4f6f3);
}

.rd-gfx-logo-card--dark .rd-gfx-logo-stage {
  background:
    radial-gradient(
      circle at 78% 18%,
      rgba(0, 139, 207, .13),
      transparent 48%
    ),
    linear-gradient(145deg, #102b34, #07161c);
}

.rd-gfx-logo-stage::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  content: "";
  pointer-events: none;
}

.rd-gfx-logo-card--light .rd-gfx-logo-stage::after {
  border-color: rgba(7, 23, 29, .075);
}

.rd-gfx-logo-stage img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: 90%;
  height: 100%;
  max-height: 155px;
  object-fit: contain;
  transform: translateZ(0);
  transition: transform .38s cubic-bezier(.2, .7, .2, 1);
}

.rd-gfx-logo-card--portrait .rd-gfx-logo-stage img {
  max-width: 65%;
  max-height: 175px;
}

.rd-gfx-logo-card figcaption {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 52px;
  margin: 0;
  padding: 13px 19px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #91a6ae;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: rgba(5, 18, 23, .72);
}

@media (hover: hover) and (pointer: fine) {
  .rd-gfx-logo-card:hover {
    z-index: 4;
    border-color: rgba(43, 201, 86, .32);
    box-shadow:
      0 30px 65px rgba(0, 0, 0, .28),
      0 0 38px rgba(0, 139, 207, .07),
      inset 0 1px rgba(255, 255, 255, .05);
    transform: translateY(-7px);
  }

  .rd-gfx-logo-card:hover .rd-gfx-logo-stage img {
    transform: scale(1.025) translateZ(0);
  }
}

/* =========================================================
   REVEAL – NUR WENN JAVASCRIPT AKTIV IST
   ========================================================= */

.rd-gfx-logo-wall.rd-gfx-logo-wall--js [data-logo-reveal] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.rd-gfx-logo-wall.rd-gfx-logo-wall--js .rd-gfx-logo-intro[data-logo-reveal] {
  transform: translateY(22px);
}

.rd-gfx-logo-wall.rd-gfx-logo-wall--js [data-logo-reveal].is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .68s cubic-bezier(.2, .7, .2, 1) var(--rd-logo-delay, 0ms),
    transform .68s cubic-bezier(.2, .7, .2, 1) var(--rd-logo-delay, 0ms),
    visibility 0s linear var(--rd-logo-delay, 0ms);
}

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

@media (max-width: 1199.98px) {
  .rd-gfx-logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rd-gfx-logo-card {
    min-height: 265px;
  }
}

@media (max-width: 767.98px) {
  .rd-gfx-logo-wall {
    padding:
      82px
      clamp(18px, 5vw, 28px)
      72px;
  }

  .rd-gfx-logo-intro {
    margin-bottom: 45px;
  }

  .rd-gfx-logo-intro h2 {
    font-size: clamp(2.7rem, 11vw, 4.25rem);
  }

  .rd-gfx-logo-intro h2 span {
    font-size: .62em;
  }

  .rd-gfx-logo-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-gfx-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .rd-gfx-logo-card {
    min-height: 210px;
    border-radius: 16px;
  }

  .rd-gfx-logo-stage {
    padding: 21px 15px;
  }

  .rd-gfx-logo-stage::after {
    inset: 9px;
  }

  .rd-gfx-logo-stage img {
    max-width: 94%;
    max-height: 115px;
  }

  .rd-gfx-logo-card--portrait .rd-gfx-logo-stage img {
    max-width: 72%;
    max-height: 130px;
  }

  .rd-gfx-logo-card figcaption {
    min-height: 48px;
    padding: 11px 13px;
    font-size: .61rem;
    letter-spacing: .075em;
  }
}

@media (max-width: 479.98px) {
  .rd-gfx-logo-wall {
    padding-right: 20px;
    padding-left: 20px;
  }

  .rd-gfx-logo-eyebrow {
    font-size: .67rem;
    letter-spacing: .15em;
  }

  .rd-gfx-logo-eyebrow::before {
    width: 31px;
  }

  .rd-gfx-logo-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .rd-gfx-logo-card {
    min-height: 235px;
  }

  .rd-gfx-logo-stage {
    padding: 29px 25px;
  }

  .rd-gfx-logo-stage img {
    max-width: 90%;
    max-height: 140px;
  }

  .rd-gfx-logo-card--portrait .rd-gfx-logo-stage img {
    max-width: 60%;
    max-height: 155px;
  }

  .rd-gfx-logo-card figcaption {
    min-height: 50px;
    padding: 12px 17px;
    font-size: .66rem;
  }
}

/* =========================================================
   BARRIEREARME DARSTELLUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rd-gfx-logo-card,
  .rd-gfx-logo-stage img,
  .rd-gfx-logo-wall [data-logo-reveal] {
    transition: none !important;
    transform: none !important;
  }
}
/* =========================================================
   GRAFIK – PERSÖNLICHE PROJEKTE AUS SIZILIEN
   ========================================================= */

.rd-gfx-sicily,
.rd-gfx-sicily * {
  box-sizing: border-box;
}

.rd-gfx-sicily {
  --rd-blue: #008bcf;
  --rd-green: #21a73f;
  --rd-green-light: #2bc956;
  --rd-gold: #d7b466;
  --rd-red: #d92d32;
  --rd-bg: #06151a;
  --rd-card: #0a222a;
  --rd-text: #f7f9fa;
  --rd-muted: #aebec4;

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-left: -50vw;
  overflow: hidden;
  isolation: isolate;
  padding:
    clamp(90px, 9vw, 150px)
    clamp(20px, 5vw, 72px)
    clamp(85px, 9vw, 145px);
  border-top: 1px solid rgba(255, 255, 255, .055);
  background:
    radial-gradient(
      circle at 13% 25%,
      rgba(0, 139, 207, .11),
      transparent 31%
    ),
    radial-gradient(
      circle at 88% 64%,
      rgba(215, 180, 102, .075),
      transparent 30%
    ),
    var(--rd-bg);
}

.rd-gfx-sicily::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .27;
  background-image:
    linear-gradient(
      rgba(255, 255, 255, .018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, .018) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
}

.rd-gfx-sicily-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}

/* =========================================================
   EINLEITUNG
   ========================================================= */

.rd-gfx-sicily-intro {
  max-width: 1040px;
  margin: 0 0 clamp(58px, 7vw, 100px);
}

.rd-gfx-sicily-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 24px;
  color: var(--rd-green-light);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-gfx-sicily-eyebrow::before {
  flex: 0 0 auto;
  width: 42px;
  height: 3px;
  border-radius: 20px;
  content: "";
  background: var(--rd-blue);
}

.rd-gfx-sicily-intro h2 {
  margin: 0;
  color: var(--rd-text);
  font-size: clamp(3rem, 5.35vw, 5.8rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}

.rd-gfx-sicily-intro h2 span {
  display: block;
  margin-top: 11px;
  color: #a9bbc2;
  font-size: .57em;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.036em;
}

.rd-gfx-sicily-lead {
  max-width: 820px;
  margin: 32px 0 0;
  color: var(--rd-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}

/* =========================================================
   PROJEKTBLÖCKE
   ========================================================= */

.rd-gfx-sicily-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(350px, .82fr) minmax(560px, 1.18fr);
  grid-template-areas: "copy media";
  gap: clamp(45px, 6vw, 96px);
  align-items: center;
  padding: clamp(34px, 4.6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(14, 48, 58, .92),
      rgba(5, 20, 26, .97)
    );
  box-shadow:
    0 38px 82px rgba(0, 0, 0, .22),
    inset 0 1px rgba(255, 255, 255, .045);
}

.rd-gfx-sicily-story::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  opacity: .85;
  background: linear-gradient(
    90deg,
    var(--rd-blue),
    var(--rd-green)
  );
}

.rd-gfx-sicily-story--italia::after {
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  opacity: .35;
  background: radial-gradient(
    circle,
    rgba(215, 180, 102, .14),
    transparent 69%
  );
}

.rd-gfx-sicily-story + .rd-gfx-sicily-story {
  margin-top: clamp(40px, 5vw, 72px);
}

.rd-gfx-sicily-story--sensi {
  grid-template-columns: minmax(560px, 1.18fr) minmax(350px, .82fr);
  grid-template-areas: "media copy";
}

.rd-gfx-sicily-copy {
  position: relative;
  z-index: 3;
  grid-area: copy;
  min-width: 0;
}

.rd-gfx-sicily-media {
  position: relative;
  z-index: 2;
  grid-area: media;
  min-width: 0;
}

.rd-gfx-sicily-kicker {
  margin: 0 0 20px;
  color: var(--rd-gold);
  font-size: .73rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-gfx-sicily-story--sensi .rd-gfx-sicily-kicker {
  color: #31bfea;
}

.rd-gfx-sicily-copy h3 {
  margin: 0 0 27px;
  color: var(--rd-text);
  font-size: clamp(2.2rem, 3.35vw, 4.2rem);
  font-weight: 750;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.rd-gfx-sicily-copy > p:not(.rd-gfx-sicily-kicker):not(.rd-gfx-sicily-quote) {
  margin: 0;
  color: var(--rd-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.rd-gfx-sicily-copy > p + p:not(.rd-gfx-sicily-quote) {
  margin-top: 18px;
}

.rd-gfx-sicily-quote {
  margin: -5px 0 26px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--rd-gold);
  color: #e1c98f;
  font-size: clamp(1.06rem, 1.35vw, 1.3rem);
  font-weight: 550;
  line-height: 1.55;
}

.rd-gfx-sicily-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.rd-gfx-sicily-tags li {
  margin: 0;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 100px;
  color: #b9c7cc;
  font-size: .73rem;
  line-height: 1;
  background: rgba(255, 255, 255, .035);
}

/* =========================================================
   ITALIA – WAPPEN UND LOGO
   ========================================================= */

.rd-gfx-sicily-italia-media {
  display: grid;
  grid-template-columns: minmax(190px, .72fr) minmax(300px, 1.28fr);
  gap: 17px;
  align-items: stretch;
}

.rd-gfx-sicily-visual {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 19px;
  background: #091a20;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .22);
}

.rd-gfx-sicily-visual-stage {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(20px, 2.25vw, 36px);
}

.rd-gfx-sicily-visual--crest .rd-gfx-sicily-visual-stage {
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(215, 180, 102, .18),
      rgba(215, 180, 102, .055) 42%,
      transparent 70%
    ),
    linear-gradient(
      145deg,
      #17343d,
      #081a21
    );
}

.rd-gfx-sicily-visual--crest .rd-gfx-sicily-visual-stage img {
  filter:
    drop-shadow(0 20px 30px rgba(0, 0, 0, .3))
    drop-shadow(0 0 1px rgba(255, 255, 255, .25));
}

.rd-gfx-sicily-visual--italia-logo .rd-gfx-sicily-visual-stage {
  background:
    radial-gradient(
      circle at 75% 22%,
      rgba(0, 139, 207, .12),
      transparent 46%
    ),
    linear-gradient(145deg, #0d2831, #061318);
}

.rd-gfx-sicily-visual-stage img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: contain;
}

.rd-gfx-sicily-visual--crest .rd-gfx-sicily-visual-stage img {
  max-width: 88%;
}

.rd-gfx-sicily-visual--italia-logo .rd-gfx-sicily-visual-stage img {
  max-width: 92%;
}

.rd-gfx-sicily-visual figcaption,
.rd-gfx-sicily-sensi-logo figcaption,
.rd-gfx-sicily-video-card figcaption,
.rd-gfx-sicily-photo figcaption {
  flex: 0 0 auto;
  margin: 0;
  padding: 13px 17px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #91a6ae;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .09em;
  text-transform: uppercase;
  background: rgba(5, 18, 23, .82);
}

/* =========================================================
   CINQUE SENSI – VIDEO UND FOTOS
   ========================================================= */

.rd-gfx-sicily-sensi-media {
  display: grid;
  gap: 17px;
}

.rd-gfx-sicily-sensi-logo,
.rd-gfx-sicily-video-card,
.rd-gfx-sicily-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 19px;
  background: #091a20;
  box-shadow: 0 26px 55px rgba(0, 0, 0, .22);
}

.rd-gfx-sicily-sensi-logo {
  margin: 0;
}

.rd-gfx-sicily-sensi-logo-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 175px;
  padding: 28px clamp(24px, 4vw, 55px);
  background:
    radial-gradient(
      circle at 75% 20%,
      rgba(255, 255, 255, .95),
      transparent 48%
    ),
    linear-gradient(145deg, #e4e7e3, #f8f8f5);
}

.rd-gfx-sicily-sensi-logo-stage img {
  display: block;
  width: 100%;
  max-width: 92%;
  max-height: 130px;
  object-fit: contain;
}

.rd-gfx-sicily-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #030708;
}

.rd-gfx-sicily-video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rd-gfx-sicily-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.rd-gfx-sicily-photo {
  display: flex;
  flex-direction: column;
}

.rd-gfx-sicily-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* =========================================================
   REVEAL – NUR WENN JAVASCRIPT AKTIV IST
   ========================================================= */

.rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal] {
  visibility: hidden;
  opacity: 0;
  transition:
    opacity .72s cubic-bezier(.2, .7, .2, 1),
    transform .72s cubic-bezier(.2, .7, .2, 1),
    visibility 0s linear .72s;
}

.rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal="left"] {
  transform: translateX(-34px);
}

.rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal="right"] {
  transform: translateX(34px);
}

.rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal="up"] {
  transform: translateY(28px);
}

.rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal].is-visible {
  visibility: visible;
  opacity: 1;
  transform: translate(0, 0);
  transition-delay: var(--rd-sicily-delay, 0ms);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1199.98px) {
  .rd-gfx-sicily-story,
  .rd-gfx-sicily-story--sensi {
    grid-template-columns: minmax(300px, .85fr) minmax(470px, 1.15fr);
    gap: 42px;
  }

  .rd-gfx-sicily-story--sensi {
    grid-template-columns: minmax(470px, 1.15fr) minmax(300px, .85fr);
  }

  .rd-gfx-sicily-italia-media {
    grid-template-columns: minmax(170px, .75fr) minmax(245px, 1.25fr);
  }

  .rd-gfx-sicily-visual {
    min-height: 390px;
  }
}

@media (max-width: 991.98px) {
  .rd-gfx-sicily-story,
  .rd-gfx-sicily-story--sensi {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "copy"
      "media";
    gap: 42px;
  }

  .rd-gfx-sicily-copy {
    max-width: 760px;
  }

  .rd-gfx-sicily-visual {
    min-height: 420px;
  }

  .rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal="left"],
  .rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal="right"] {
    transform: translateY(28px);
  }

  .rd-gfx-sicily.rd-gfx-sicily--js [data-sicily-reveal].is-visible {
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .rd-gfx-sicily {
    padding:
      82px
      clamp(18px, 5vw, 28px)
      72px;
  }

  .rd-gfx-sicily-intro {
    margin-bottom: 48px;
  }

  .rd-gfx-sicily-intro h2 {
    font-size: clamp(2.7rem, 11vw, 4.25rem);
  }

  .rd-gfx-sicily-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-gfx-sicily-story {
    gap: 35px;
    padding: 27px 22px 24px;
    border-radius: 21px;
  }

  .rd-gfx-sicily-copy h3 {
    margin-bottom: 23px;
    font-size: clamp(2.15rem, 9vw, 3.4rem);
  }

  .rd-gfx-sicily-copy > p:not(.rd-gfx-sicily-kicker):not(.rd-gfx-sicily-quote) {
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-gfx-sicily-italia-media {
    grid-template-columns: minmax(0, .76fr) minmax(0, 1.24fr);
    gap: 12px;
  }

  .rd-gfx-sicily-visual {
    min-height: 320px;
    border-radius: 15px;
  }

  .rd-gfx-sicily-visual-stage {
    padding: 17px 13px;
  }

  .rd-gfx-sicily-visual figcaption,
  .rd-gfx-sicily-sensi-logo figcaption,
  .rd-gfx-sicily-video-card figcaption,
  .rd-gfx-sicily-photo figcaption {
    padding: 11px 12px;
    font-size: .59rem;
    letter-spacing: .06em;
  }

  .rd-gfx-sicily-video-card,
  .rd-gfx-sicily-sensi-logo,
  .rd-gfx-sicily-photo {
    border-radius: 15px;
  }

  .rd-gfx-sicily-photo-grid,
  .rd-gfx-sicily-sensi-media {
    gap: 12px;
  }
}

@media (max-width: 479.98px) {
  .rd-gfx-sicily {
    padding-right: 20px;
    padding-left: 20px;
  }

  .rd-gfx-sicily-eyebrow {
    font-size: .67rem;
    letter-spacing: .15em;
  }

  .rd-gfx-sicily-eyebrow::before {
    width: 31px;
  }

  .rd-gfx-sicily-story {
    padding: 25px 18px 18px;
  }

  .rd-gfx-sicily-sensi-logo-stage {
    min-height: 145px;
    padding: 24px 20px;
  }

  .rd-gfx-sicily-kicker {
    font-size: .66rem;
  }

  .rd-gfx-sicily-italia-media,
  .rd-gfx-sicily-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .rd-gfx-sicily-visual {
    min-height: 0;
  }

  .rd-gfx-sicily-visual-stage {
    min-height: 285px;
    padding: 25px;
  }

  .rd-gfx-sicily-visual--crest .rd-gfx-sicily-visual-stage img {
    max-width: 62%;
    max-height: 245px;
  }

  .rd-gfx-sicily-photo figcaption {
    min-height: 48px;
  }
}

/* =========================================================
   BARRIEREARME DARSTELLUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rd-gfx-sicily [data-sicily-reveal] {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =========================================================
   GRAFIKSEITE – HORIZONTALEN ÜBERLAUF VERHINDERN
   clip erhält die Sticky-Funktion der Projektbereiche.
   ========================================================= */

body:has(.rd-gfx-hero),
body:has(.rd-gfx-hero) .body-wrapper,
body:has(.rd-gfx-hero) .body-innerwrapper,
body:has(.rd-gfx-hero) #sp-main,
body:has(.rd-gfx-hero) #sp-main-body,
body:has(.rd-gfx-hero) #sp-component,
body:has(.rd-gfx-hero) #sp-page-builder,
body:has(.rd-gfx-hero) .sppb-page-content,
body:has(.rd-gfx-hero) .page-content {
  max-width: 100%;
  overflow-x: clip !important;
}

.rd-gfx-variety-lightbox,
.rd-gfx-variety-lightbox *,
.rd-gfx-variety-lightbox *::before,
.rd-gfx-variety-lightbox *::after {
  box-sizing: border-box;
}

/* =========================================================
   GRAFIK – VIELFALT IN DER GESTALTUNG
   Bento-Galerie mit Lightbox und einmaliger Reveal-Animation
   ========================================================= */

.rd-gfx-variety,
.rd-gfx-variety * {
  box-sizing: border-box;
}

.rd-gfx-variety {
  --rd-blue: #008bcf;
  --rd-green: #21a73f;
  --rd-green-light: #2bc956;
  --rd-bg: #08191f;
  --rd-card: #0c242c;
  --rd-card-dark: #07171d;
  --rd-text: #f7f9fa;
  --rd-muted: #aebec4;
  --rd-line: rgba(255, 255, 255, .1);

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0 0 0 -50vw;
  overflow: hidden;
  isolation: isolate;
  padding:
    clamp(90px, 9vw, 150px)
    clamp(20px, 5vw, 72px)
    clamp(85px, 9vw, 145px);
  color: var(--rd-text);
  background:
    radial-gradient(circle at 10% 15%, rgba(0, 139, 207, .1), transparent 31%),
    radial-gradient(circle at 88% 82%, rgba(33, 167, 63, .075), transparent 29%),
    var(--rd-bg);
}

.rd-gfx-variety::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .27;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 60px 60px;
}

.rd-gfx-variety-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
}


/* =========================================================
   EINLEITUNG
   ========================================================= */

.rd-gfx-variety-intro {
  max-width: 980px;
  margin: 0 0 clamp(55px, 6.5vw, 92px);
}

.rd-gfx-variety-eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 24px;
  color: var(--rd-green-light);
  font-size: .75rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.rd-gfx-variety-eyebrow::before {
  flex: 0 0 auto;
  width: 42px;
  height: 3px;
  border-radius: 20px;
  content: "";
  background: var(--rd-blue);
}

.rd-gfx-variety-intro h2 {
  margin: 0;
  color: var(--rd-text);
  font-size: clamp(3rem, 5.35vw, 5.8rem);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.055em;
}

.rd-gfx-variety-intro h2 span {
  display: block;
  margin-top: 10px;
  color: #a9bbc2;
  font-size: .66em;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.038em;
}

.rd-gfx-variety-lead {
  max-width: 830px;
  margin: 32px 0 0;
  color: var(--rd-muted);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}


/* =========================================================
   BENTO-RASTER
   ========================================================= */

.rd-gfx-variety-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(18px, 1.65vw, 26px);
  align-items: stretch;
}

.rd-gfx-variety-card {
  --rd-card-tilt: 0deg;

  position: relative;
  display: flex;
  grid-column: span 4;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--rd-line);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(15, 47, 57, .96), rgba(8, 27, 34, .98));
  box-shadow:
    0 28px 58px rgba(0, 0, 0, .2),
    inset 0 1px rgba(255, 255, 255, .04);
  transform: rotate(var(--rd-card-tilt));
  transition:
    transform .42s cubic-bezier(.2, .7, .2, 1),
    border-color .42s ease,
    box-shadow .42s ease;
}

.rd-gfx-variety-card:nth-child(4n + 1) {
  --rd-card-tilt: -.22deg;
}

.rd-gfx-variety-card:nth-child(4n + 3) {
  --rd-card-tilt: .22deg;
}

.rd-gfx-variety-card--wide {
  grid-column: span 7;
}

.rd-gfx-variety-card--medium {
  grid-column: span 5;
}

.rd-gfx-variety-card--archive {
  border-color: rgba(0, 139, 207, .22);
}

.rd-gfx-variety-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  height: 3px;
  content: "";
  opacity: .78;
  background: linear-gradient(90deg, var(--rd-blue), var(--rd-green));
}

.rd-gfx-variety-card--archive::before {
  background: linear-gradient(90deg, #6daed0, #008bcf);
}

.rd-gfx-variety-card-media {
  position: relative;
  min-height: 365px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(circle at 72% 22%, rgba(0, 139, 207, .14), transparent 44%),
    linear-gradient(145deg, #102d36, #07171d);
}

.rd-gfx-variety-card--wide .rd-gfx-variety-card-media {
  min-height: 410px;
}

.rd-gfx-variety-card-media::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 68%, rgba(3, 13, 17, .34));
}

.rd-gfx-variety-card-media--yellow {
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 210, 0, .19), transparent 42%),
    linear-gradient(145deg, #16332b, #081a1f);
}

.rd-gfx-variety-card-media--pastel {
  background:
    radial-gradient(circle at 70% 18%, rgba(158, 214, 231, .2), transparent 43%),
    linear-gradient(145deg, #19343c, #08191f);
}

.rd-gfx-variety-card-media--architecture {
  background:
    radial-gradient(circle at 68% 18%, rgba(225, 61, 55, .12), transparent 43%),
    linear-gradient(145deg, #293136, #101b20);
}

.rd-gfx-variety-card-media--sardinia {
  background:
    radial-gradient(circle at 68% 18%, rgba(0, 139, 207, .2), transparent 45%),
    linear-gradient(145deg, #123541, #07191f);
}

.rd-gfx-variety-card-media--sport {
  background:
    radial-gradient(circle at 68% 18%, rgba(226, 31, 41, .16), transparent 42%),
    linear-gradient(145deg, #24303a, #09191f);
}

.rd-gfx-variety-card-media--form {
  background:
    radial-gradient(circle at 68% 18%, rgba(49, 76, 132, .19), transparent 44%),
    linear-gradient(145deg, #21303a, #0a1a20);
}

.rd-gfx-variety-card-media--archive {
  background:
    radial-gradient(circle at 70% 18%, rgba(0, 139, 207, .17), transparent 44%),
    linear-gradient(145deg, #0d2d38, #07171d);
}


/* =========================================================
   PAPIERSTAPEL UND EINZELSEITEN
   ========================================================= */

.rd-gfx-variety-paper {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow:
    0 28px 55px rgba(0, 0, 0, .36),
    0 3px 10px rgba(0, 0, 0, .2);
  transition:
    transform .48s cubic-bezier(.2, .7, .2, 1),
    box-shadow .48s ease;
}

.rd-gfx-variety-paper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

/* Gemeinde: Titel vor einer großen Doppelseite */

.rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--cover {
  top: 42px;
  left: 7%;
  width: 25%;
  height: auto;
  aspect-ratio: 573 / 806;
  transform: rotate(-3deg);
}

.rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--spread {
  top: 28px;
  right: 5%;
  width: 60%;
  height: auto;
  aspect-ratio: 1147 / 808;
  transform: rotate(1.2deg);
}

/* Zwei Hochformate */

.rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper {
  top: 33px;
  width: min(45%, 255px);
  height: auto;
  aspect-ratio: 1460 / 2048;
}

.rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--back {
  right: 10%;
  opacity: .88;
  transform: translateX(9%) rotate(5deg) scale(.92);
}

.rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--front {
  left: 14%;
  transform: rotate(-3deg);
}

.rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper {
  width: min(35%, 260px);
}

.rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--back {
  right: 22%;
}

.rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--front {
  left: 23%;
}

/* Zwei breite Flyerseiten */

.rd-gfx-variety-card-media--landscape-pair .rd-gfx-variety-paper {
  width: 76%;
  height: auto;
  aspect-ratio: 2048 / 1459;
}

.rd-gfx-variety-paper--landscape-back {
  top: 35px;
  right: 8%;
  transform: rotate(3deg);
}

.rd-gfx-variety-paper--landscape-front {
  bottom: 36px;
  left: 7%;
  transform: rotate(-2.2deg);
}

/* Einzelseiten */

.rd-gfx-variety-card-media--single-portrait .rd-gfx-variety-paper--single {
  top: 20px;
  left: 50%;
  width: min(58%, 230px);
  height: auto;
  aspect-ratio: 1459 / 2048;
  transform: translateX(-50%) rotate(-1.4deg);
}

.rd-gfx-variety-card-media--single-landscape .rd-gfx-variety-paper--single {
  top: 50%;
  left: 50%;
  width: 88%;
  height: auto;
  aspect-ratio: 2048 / 1443;
  transform: translate(-50%, -50%) rotate(-.7deg);
}

.rd-gfx-variety-card-media--sardinia .rd-gfx-variety-paper--single {
  aspect-ratio: 2048 / 1324;
}

.rd-gfx-variety-year {
  position: absolute;
  top: 19px;
  left: 21px;
  z-index: 4;
  color: rgba(255, 255, 255, .09);
  font-size: clamp(3.8rem, 7vw, 7rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
}


/* =========================================================
   ÖFFNEN-BUTTON
   ========================================================= */

.rd-gfx-variety-open {
  position: absolute;
  right: 18px;
  bottom: 17px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  margin: 0;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 11px;
  color: #eaf2f5;
  font: inherit;
  font-size: .69rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
  background: rgba(5, 20, 26, .9);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    background-color .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.rd-gfx-variety-open:hover,
.rd-gfx-variety-open:focus-visible {
  border-color: rgba(43, 201, 86, .5);
  outline: none;
  background: rgba(9, 54, 44, .95);
  transform: translateY(-2px);
}


/* =========================================================
   KARTENTEXT
   ========================================================= */

.rd-gfx-variety-card-copy {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: clamp(25px, 2.1vw, 34px);
}

.rd-gfx-variety-kicker {
  margin: 0 0 14px;
  color: var(--rd-green-light);
  font-size: .69rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rd-gfx-variety-card:nth-child(even) .rd-gfx-variety-kicker {
  color: #38bfee;
}

.rd-gfx-variety-card h3 {
  margin: 0;
  color: var(--rd-text);
  font-size: clamp(1.65rem, 2.2vw, 2.45rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.rd-gfx-variety-card-copy > p:last-child {
  max-width: 640px;
  margin: 19px 0 0;
  color: var(--rd-muted);
  font-size: .98rem;
  line-height: 1.7;
}

@media (hover: hover) and (pointer: fine) {
  .rd-gfx-variety-card:hover {
    z-index: 4;
    border-color: rgba(43, 201, 86, .3);
    box-shadow:
      0 35px 72px rgba(0, 0, 0, .29),
      0 0 42px rgba(0, 139, 207, .06),
      inset 0 1px rgba(255, 255, 255, .05);
    transform: translateY(-7px) rotate(0deg);
  }

  /* Gleiche Hover-Wirkung nach abgeschlossener JS-Reveal-Animation */
  .rd-gfx-variety.rd-gfx-variety--js .rd-gfx-variety-card.is-visible:hover {
    transition-delay: 0s;
    transform: translateY(-7px) rotate(0deg);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--front,
  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--cover {
    transform: rotate(-1deg) translateY(-4px);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--back,
  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--spread {
    transform: rotate(1deg) translateY(-3px);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--landscape-front {
    transform: rotate(-1deg) translateY(-4px);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-paper--landscape-back {
    transform: rotate(1deg) translateY(-3px);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-card-media--single-portrait .rd-gfx-variety-paper--single {
    transform: translateX(-50%) rotate(0deg) translateY(-4px);
  }

  .rd-gfx-variety-card:hover .rd-gfx-variety-card-media--single-landscape .rd-gfx-variety-paper--single {
    transform: translate(-50%, -50%) rotate(0deg) scale(1.012);
  }
}


/* =========================================================
   REVEAL – NUR MIT JAVASCRIPT
   ========================================================= */

.rd-gfx-variety.rd-gfx-variety--js [data-variety-reveal] {
  visibility: hidden;
  opacity: 0;
  transform: translateY(38px) scale(.985) rotate(var(--rd-card-tilt, 0deg));
}

.rd-gfx-variety.rd-gfx-variety--js .rd-gfx-variety-intro[data-variety-reveal] {
  transform: translateY(24px);
}

.rd-gfx-variety.rd-gfx-variety--js [data-variety-reveal].is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1) rotate(var(--rd-card-tilt, 0deg));
  transition:
    opacity .72s cubic-bezier(.2, .7, .2, 1) var(--rd-variety-delay, 0ms),
    transform .72s cubic-bezier(.2, .7, .2, 1) var(--rd-variety-delay, 0ms),
    visibility 0s linear var(--rd-variety-delay, 0ms),
    border-color .42s ease,
    box-shadow .42s ease;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

body.rd-gfx-variety-lightbox-open {
  overflow: hidden;
}

.rd-gfx-variety-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 38px);
  opacity: 0;
  transition: opacity .25s ease;
}

.rd-gfx-variety-lightbox[hidden] {
  display: none;
}

.rd-gfx-variety-lightbox.is-open {
  opacity: 1;
}

.rd-gfx-variety-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 8, 11, .91);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rd-gfx-variety-lightbox-dialog {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(1180px, 94vw);
  height: min(900px, 92vh);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: #07171d;
  box-shadow: 0 42px 100px rgba(0, 0, 0, .62);
  transform: translateY(18px) scale(.985);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}

.rd-gfx-variety-lightbox.is-open .rd-gfx-variety-lightbox-dialog {
  transform: translateY(0) scale(1);
}

.rd-gfx-variety-lightbox-close {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  color: #fff;
  font: inherit;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  background: rgba(5, 20, 26, .88);
  transition: background-color .25s ease, transform .25s ease;
}

.rd-gfx-variety-lightbox-close:hover,
.rd-gfx-variety-lightbox-close:focus-visible {
  outline: none;
  background: #0d5362;
  transform: rotate(5deg);
}

.rd-gfx-variety-lightbox-stage {
  --rd-lightbox-stage-padding: clamp(18px, 3vw, 42px);
  display: grid;
  position: relative;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  padding: 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 139, 207, .12), transparent 48%),
    #061217;
}

body > .rd-gfx-variety-lightbox .rd-gfx-variety-lightbox-stage img,
.rd-gfx-variety-lightbox-stage img {
  position: absolute !important;
  top: var(--rd-lightbox-stage-padding) !important;
  right: var(--rd-lightbox-stage-padding) !important;
  bottom: var(--rd-lightbox-stage-padding) !important;
  left: var(--rd-lightbox-stage-padding) !important;
  display: block;
  width: calc(100% - var(--rd-lightbox-stage-padding) - var(--rd-lightbox-stage-padding)) !important;
  height: calc(100% - var(--rd-lightbox-stage-padding) - var(--rd-lightbox-stage-padding)) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
  box-shadow: none !important;
}

.rd-gfx-variety-lightbox-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
  padding: 17px clamp(20px, 3vw, 34px);
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: #0a2028;
}

.rd-gfx-variety-lightbox-count {
  margin: 0 0 4px;
  color: #2bc956;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.rd-gfx-variety-lightbox-footer h3 {
  margin: 0;
  color: #f7f9fa;
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
}

.rd-gfx-variety-lightbox-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.rd-gfx-variety-lightbox-nav button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 12px;
  color: #fff;
  font: inherit;
  font-size: 1.3rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .045);
  transition: background-color .25s ease, border-color .25s ease;
}

.rd-gfx-variety-lightbox-nav button:hover,
.rd-gfx-variety-lightbox-nav button:focus-visible {
  border-color: rgba(43, 201, 86, .48);
  outline: none;
  background: rgba(33, 167, 63, .16);
}

.rd-gfx-variety-lightbox-nav button[hidden] {
  display: none;
}


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

@media (max-width: 1199.98px) {
  .rd-gfx-variety-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rd-gfx-variety-card,
  .rd-gfx-variety-card--wide,
  .rd-gfx-variety-card--medium {
    grid-column: span 1;
  }

  .rd-gfx-variety-card-media,
  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media {
    min-height: 375px;
  }

  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper {
    width: min(45%, 255px);
  }

  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--back {
    right: 10%;
  }

  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--front {
    left: 14%;
  }

  .rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--cover {
    left: 6%;
    width: 28%;
  }

  .rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--spread {
    right: 4%;
    width: 66%;
  }
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 767.98px) {
  .rd-gfx-variety {
    padding:
      82px
      clamp(18px, 5vw, 28px)
      74px;
  }

  .rd-gfx-variety-intro {
    margin-bottom: 46px;
  }

  .rd-gfx-variety-intro h2 {
    font-size: clamp(2.7rem, 11vw, 4.25rem);
  }

  .rd-gfx-variety-intro h2 span {
    font-size: .62em;
  }

  .rd-gfx-variety-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .rd-gfx-variety-grid {
    display: block;
  }

  .rd-gfx-variety-card,
  .rd-gfx-variety-card:nth-child(n) {
    --rd-card-tilt: 0deg;
    margin: 0 0 22px;
    border-radius: 18px;
  }

  .rd-gfx-variety-card:last-child {
    margin-bottom: 0;
  }

  .rd-gfx-variety-card-media,
  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media {
    min-height: clamp(290px, 88vw, 390px);
  }

  .rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--cover {
    top: 34px;
    left: 6%;
    width: 31%;
    height: auto;
  }

  .rd-gfx-variety-card-media--editorial .rd-gfx-variety-paper--spread {
    top: 38px;
    right: 3%;
    width: 63%;
    height: auto;
  }

  .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper,
  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper {
    top: 28px;
    width: min(44%, 230px);
    height: auto;
  }

  .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--back,
  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--back {
    right: 8%;
  }

  .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--front,
  .rd-gfx-variety-card--wide .rd-gfx-variety-card-media--portrait-pair .rd-gfx-variety-paper--front {
    left: 12%;
  }

  .rd-gfx-variety-card-media--landscape-pair .rd-gfx-variety-paper {
    width: 80%;
    height: auto;
  }

  .rd-gfx-variety-paper--landscape-back {
    top: 30px;
    right: 5%;
  }

  .rd-gfx-variety-paper--landscape-front {
    bottom: 30px;
    left: 5%;
  }

  .rd-gfx-variety-card-media--single-portrait .rd-gfx-variety-paper--single {
    top: 24px;
    bottom: auto;
    width: min(61%, 240px);
    height: auto;
  }

  .rd-gfx-variety-card-media--single-landscape .rd-gfx-variety-paper--single {
    width: 91%;
    height: auto;
  }

  .rd-gfx-variety-card-copy {
    padding: 25px 23px 28px;
  }

  .rd-gfx-variety-card h3 {
    font-size: clamp(1.7rem, 8vw, 2.25rem);
  }

  .rd-gfx-variety-card-copy > p:last-child {
    margin-top: 16px;
    font-size: .96rem;
  }

  .rd-gfx-variety-open {
    right: 13px;
    bottom: 13px;
  }

  .rd-gfx-variety-lightbox {
    padding: 9px;
  }

  .rd-gfx-variety-lightbox-dialog {
    width: calc(100vw - 18px);
    height: calc(100dvh - 18px);
    border-radius: 16px;
  }

  .rd-gfx-variety-lightbox-stage {
    --rd-lightbox-stage-padding: 15px;
  }

  .rd-gfx-variety-lightbox-footer {
    min-height: 82px;
    padding: 14px 15px;
  }

  .rd-gfx-variety-lightbox-count {
    font-size: .6rem;
  }

  .rd-gfx-variety-lightbox-nav button {
    width: 43px;
    height: 43px;
  }
}


/* =========================================================
   REDUZIERTE BEWEGUNG
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .rd-gfx-variety-card,
  .rd-gfx-variety-paper,
  .rd-gfx-variety-open,
  .rd-gfx-variety-lightbox,
  .rd-gfx-variety-lightbox-dialog,
  .rd-gfx-variety.rd-gfx-variety--js [data-variety-reveal] {
    transition: none !important;
  }
}
.offcanvas-active .burger-icon>span, #modal-menu-toggler.active .burger-icon>span {
    background-color: #fff;
}
.offcanvas-menu .fa, .offcanvas-menu .fab, .offcanvas-menu .far, .offcanvas-menu .fas {
    color: #fff !important;
}