/* Lokale Schriften – DSGVO-freundlich eingebunden */
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

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

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

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Six Caps";
  src: url("../fonts/six-caps-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Grundfarben */
:root {
  --mfp-gold: #F2EB87;
  --mfp-gold-soft: #E8DF78;
  --mfp-blue: #8EC9D8;
  --mfp-blue-light: #D2F5FF;
  --mfp-dark-blue: #000131;
  --mfp-blue-deep: #06162b;
  --mfp-dark: #050510;
  --mfp-text: rgba(235, 241, 247, 0.88);
  --mfp-text-soft: rgba(235, 241, 247, 0.78);
}

/* Basis */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--mfp-text);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 14% 6%, rgba(210, 245, 255, 0.32), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(142, 201, 216, 0.28), transparent 28%),
    radial-gradient(circle at 55% 42%, rgba(242, 235, 135, 0.10), transparent 34%),
    radial-gradient(circle at 78% 76%, rgba(210, 245, 255, 0.16), transparent 30%),
    linear-gradient(
      180deg,
      #000131 0%,
      #06162b 28%,
      #082a42 46%,
      #050510 68%,
      #000131 100%
    );
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(210, 245, 255, 0.035) 30%,
      rgba(255, 255, 255, 0.045) 46%,
      rgba(242, 235, 135, 0.025) 58%,
      transparent 78%
    );
}

p,
li {
  color: var(--mfp-text);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.35px;
}

p:last-child {
  margin-bottom: 0;
}

a {
  transition: color 0.2s ease, text-decoration 0.2s ease, filter 0.2s ease;
}

img {
  max-width: 100%;
}

section,
header,
footer {
  scroll-margin-top: 105px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  padding: 18px 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 1, 49, 0.58) 0%,
      rgba(5, 5, 16, 0.36) 100%
    );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background 0.25s ease,
    padding 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.navbar.navbar-scrolled,
.navbar.fixed-top {
  padding: 10px 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 1, 49, 0.94) 0%,
      rgba(5, 5, 16, 0.96) 100%
    );
  border-bottom: 1px solid rgba(242, 235, 135, 0.22);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(142, 201, 216, 0.08);
}

.navbar-brand img {
  max-height: 76px;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}

.navbar.navbar-scrolled .navbar-brand img,
.navbar.fixed-top .navbar-brand img {
  max-height: 58px !important;
  opacity: 0.94;
}

.navbar-nav {
  gap: 20px;
}

.navbar-nav li a,
.navbar-nav .nav-link {
  color: rgba(245, 248, 252, 0.88) !important;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.64px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.navbar-nav li a:hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--mfp-gold) !important;
  text-shadow:
    0 0 10px rgba(242, 235, 135, 0.24),
    0 0 16px rgba(142, 201, 216, 0.18);
}

/* Startbereich: Video ersetzt das bisherige Startbild */
.banner.hero-video {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000131 !important;
  background-image: none !important;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  background: #000131;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 70% 22%, rgba(210, 245, 255, 0.26), transparent 30%),
    radial-gradient(circle at 28% 42%, rgba(242, 235, 135, 0.12), transparent 34%),
    linear-gradient(
      90deg,
      rgba(0, 1, 49, 0.82) 0%,
      rgba(0, 1, 49, 0.58) 42%,
      rgba(5, 5, 16, 0.42) 68%,
      rgba(0, 1, 49, 0.76) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 1, 49, 0.25) 0%,
      rgba(5, 5, 16, 0.10) 45%,
      rgba(0, 1, 49, 0.90) 100%
    );
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  text-align: center;
  color: #fff;
  padding: 140px 28px 90px;
  border-radius: 10px;
}

.welcome,
.section-label,
.contact-label {
  color: var(--mfp-gold-soft);
  text-align: center;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.banner h1 {
  color: rgba(246, 249, 252, 0.94);
  font-family: "Six Caps", sans-serif;
  font-size: clamp(70px, 9vw, 122px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 4.8px;
  text-shadow:
    0 5px 22px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(142, 201, 216, 0.18);
}

.banner .para {
  max-width: 740px;
  margin: 20px auto 0;
  color: rgba(235, 241, 247, 0.88);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.7px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.65);
}

/* Buttons */
button,
.btn,
.btn-primary {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-style: normal;
  line-height: normal;
  text-transform: uppercase;
}

.banner .btn,
.btn-primary,
.reference-link-button {
  position: relative;
  overflow: hidden;
  width: fit-content;
  padding: 11px 24px;
  color: #050505 !important;
  font-weight: 700;
  letter-spacing: 0.7px;
  text-decoration: none !important;
  background:
    linear-gradient(
      180deg,
      #fff6b8 0%,
      #f2eb87 30%,
      #c8a94a 58%,
      #fff1a3 82%,
      #b99232 100%
    ) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25),
    0 8px 18px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(242, 235, 135, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.banner .btn::after,
.btn-primary::after,
.reference-link-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -85%;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(142, 201, 216, 0.10) 34%,
      rgba(210, 245, 255, 0.58) 50%,
      rgba(142, 201, 216, 0.10) 66%,
      transparent 100%
    );
  transform: skewX(-18deg);
  transition: left 0.45s ease;
}

.banner .btn:hover,
.btn-primary:hover,
.reference-link-button:hover {
  color: #050505 !important;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 4px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(242, 235, 135, 0.18);
}

.banner .btn:hover::after,
.btn-primary:hover::after,
.reference-link-button:hover::after {
  left: 125%;
}

/* Abschnitts-Trenner */
.section-wave {
  width: 100px;
  height: 10px;
  margin-top: 0;
  margin-bottom: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='10' viewBox='0 0 100 10' fill='none'%3E%3Cpath d='M30.508 9.03843C30.2142 9.03843 29.9249 8.92298 29.7081 8.70862L23.4681 2.46871L8.35316 8.94781C7.92858 9.12658 7.43573 9.03388 7.11047 8.70862L0.330534 1.92869C-0.110178 1.48797 -0.110178 0.771247 0.330534 0.330534C0.771247 -0.110178 1.48756 -0.110178 1.92827 0.330534L8.16818 6.57044L23.2848 0.0909357C23.7098 -0.0828663 24.2027 0.00527619 24.5279 0.330534L30.7678 6.57044L45.8849 0.0909357C46.3099 -0.0828663 46.8003 0.00527619 47.128 0.330534L53.9079 7.11047C54.3486 7.55119 54.3486 8.26791 53.9079 8.70862C53.4672 9.14892 52.7505 9.14892 52.3098 8.70862L46.0703 2.46871L30.9532 8.94781C30.8084 9.00657 30.6569 9.03843 30.508 9.03843Z' fill='%23F2EB87'/%3E%3Cpath d='M76.2695 9.03843C75.9757 9.03843 75.6864 8.92298 75.4696 8.70862L69.2297 2.46871L54.1147 8.94781C53.6901 9.12409 53.1973 9.03388 52.872 8.70862L46.0921 1.92869C45.6514 1.48797 45.6514 0.771247 46.0921 0.330534C46.5328 -0.110178 47.2491 -0.110178 47.6898 0.330534L53.9297 6.57044L69.0464 0.0909357C69.4714 -0.0828663 69.9642 0.00279322 70.2895 0.330534L76.5294 6.57044L91.6464 0.0909357C92.0714 -0.0828663 92.5618 0.00279322 92.8895 0.330534L99.6695 7.11047C100.11 7.55119 100.11 8.26791 99.6695 8.70862C99.2288 9.14892 98.512 9.14892 98.0713 8.70862L91.8318 2.46871L76.7148 8.94781C76.5699 9.00657 76.4185 9.03843 76.2695 9.03843Z' fill='%23F2EB87'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.section-wave.center {
  margin-left: auto;
  margin-right: auto;
}

/* Allgemeine Sektionen */
.info-section,
.what-we-do,
.production-impressions,
.creative-media-solutions,
section.seminars-courses,
.subpage-header,
.subpage-content,
.page-ending {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(210, 245, 255, 0.13), transparent 34%),
    radial-gradient(circle at bottom left, rgba(142, 201, 216, 0.10), transparent 36%),
    linear-gradient(
      180deg,
      rgba(0, 1, 49, 0.78) 0%,
      rgba(5, 5, 16, 0.82) 54%,
      rgba(0, 1, 49, 0.76) 100%
    );
}

.info-section::after,
.what-we-do::after,
.production-impressions::after,
.creative-media-solutions::after,
section.seminars-courses::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.9;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      rgba(210, 245, 255, 0.045) 34%,
      rgba(255, 255, 255, 0.055) 48%,
      rgba(242, 235, 135, 0.035) 58%,
      transparent 78%
    );
}

.info-section > .container,
.what-we-do > .container,
.production-impressions > .container,
.creative-media-solutions > .container,
section.seminars-courses > .container {
  position: relative;
  z-index: 1;
}

.info-section {
  padding: 60px 0;
}

.info-section h2,
.Purpose h2,
.UpcomingMovies h2,
.Create h2,
.what-we-do h2,
section.seminars-courses h2,
.Bringing h2,
.creative-media-solutions h2,
.production-impressions h2,
.subpage-header h1 {
  color: rgba(246, 249, 252, 0.92);
  font-family: "Six Caps", sans-serif;
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 4px;
  text-shadow:
    0 3px 14px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(142, 201, 216, 0.08);
}

.Purpose .para,
.what-we-do .para,
.para {
  color: rgba(235, 241, 247, 0.86);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.72px;
}

/* Bildrahmen */
.image-frame-yellow {
  position: relative;
  display: inline-block;
}

.image-frame-yellow::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 18px;
  width: 100%;
  height: 100%;
  z-index: 0;
  border: 2px solid transparent;
  background:
    linear-gradient(#050510, #050510) padding-box,
    linear-gradient(
      135deg,
      #fff6b8,
      #f2eb87,
      #b99232,
      #fff1a3,
      #c8a94a
    ) border-box;
  box-shadow:
    0 0 18px rgba(242, 235, 135, 0.18),
    0 0 24px rgba(142, 201, 216, 0.10),
    inset 0 0 8px rgba(255, 255, 255, 0.25);
}

.image-frame-yellow img {
  position: relative;
  z-index: 1;
  display: block;
  border-radius: 10px;
}

/* Leistungen: ehemaliges Startbild als Hintergrund */
#leistungen.leistungen-bg {
  position: relative;
  overflow: hidden;
  padding-top: 86px !important;
  padding-bottom: 86px !important;
  background:
    linear-gradient(
      180deg,
      rgba(0, 1, 49, 0.78),
      rgba(5, 5, 16, 0.84)
    ),
    url("../images/bannerbg.png") center center / cover no-repeat !important;
}

#leistungen.leistungen-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 72% 18%, rgba(210, 245, 255, 0.26), transparent 34%),
    radial-gradient(circle at 22% 70%, rgba(242, 235, 135, 0.13), transparent 36%),
    linear-gradient(
      115deg,
      rgba(0, 1, 49, 0.80) 0%,
      rgba(8, 42, 66, 0.66) 44%,
      rgba(5, 5, 16, 0.88) 100%
    );
  pointer-events: none;
}

#leistungen.leistungen-bg > .container {
  position: relative;
  z-index: 1;
}

.what-we-do .card,
.creative-media-solutions .card,
.reference-card,
.legal-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: 14px;
  border: 1px solid rgba(242, 235, 135, 0.30) !important;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.075),
      rgba(0, 1, 49, 0.34)
    ) !important;
  color: var(--mfp-text);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease;
}

.what-we-do .card::before,
.creative-media-solutions .card::before,
.reference-card::before,
.legal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 1px;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(142, 201, 216, 0.18) 15%,
      rgba(210, 245, 255, 0.85) 50%,
      rgba(142, 201, 216, 0.18) 85%,
      transparent 100%
    );
}

.what-we-do .card:hover,
.creative-media-solutions .card:hover,
.reference-card:hover,
.legal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(142, 201, 216, 0.48) !important;
  background:
    linear-gradient(
      135deg,
      rgba(210, 245, 255, 0.11),
      rgba(0, 1, 49, 0.42)
    ) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 12px 30px rgba(0, 0, 0, 0.30),
    0 0 24px rgba(142, 201, 216, 0.13);
}

.what-we-do .card h4,
.what-we-do .card h5,
.creative-media-solutions .card h4,
.creative-media-solutions .card h5,
.reference-card h3 {
  color: rgba(246, 249, 252, 0.92);
  font-weight: 500;
}

.what-we-do .card p,
.creative-media-solutions .card p,
.reference-card p,
.card-text {
  color: rgba(235, 241, 247, 0.84);
  font-weight: 400;
}

/* Projekte */
.creative-media-solutions {
  background:
    radial-gradient(circle at 20% 10%, rgba(210, 245, 255, 0.12), transparent 36%),
    radial-gradient(circle at 84% 26%, rgba(242, 235, 135, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(0, 1, 49, 0.88), rgba(5, 5, 16, 0.88));
}

/* Impressionen-Slider */
.production-impressions {
  background:
    radial-gradient(circle at top center, rgba(142, 201, 216, 0.12), transparent 38%),
    linear-gradient(180deg, #000131 0%, #050510 50%, #000131 100%);
}

.impression-slider {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(242, 235, 135, 0.45);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(242, 235, 135, 0.10),
    0 0 28px rgba(142, 201, 216, 0.10);
}

.impression-slider img {
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.impression-caption {
  left: 32px;
  right: auto;
  bottom: 32px;
  max-width: 560px;
  width: auto;
  padding: 20px 24px 22px;
  text-align: left;
  background:
    linear-gradient(
      135deg,
      rgba(0, 1, 49, 0.92) 0%,
      rgba(5, 5, 16, 0.96) 100%
    );
  border-left: 3px solid var(--mfp-gold);
  border-radius: 10px;
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(242, 235, 135, 0.10);
}

.impression-caption h5 {
  color: var(--mfp-gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: left;
}

.impression-caption p {
  max-width: 480px;
  margin-bottom: 0;
  color: #fff;
  line-height: 1.6;
  text-align: left;
}

.impression-slider .carousel-control-prev-icon,
.impression-slider .carousel-control-next-icon {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

.impression-slider .carousel-indicators {
  margin-bottom: 12px;
}

.impression-slider .carousel-indicators button {
  background-color: var(--mfp-gold);
}

/* VHS / Kurse */
section.seminars-courses .container {
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055),
      rgba(0, 1, 49, 0.20)
    );
  border: 1px solid rgba(142, 201, 216, 0.18);
}

/* Kontakt / Footer */
footer {
  background:
    radial-gradient(circle at top center, rgba(142, 201, 216, 0.10), transparent 35%),
    linear-gradient(180deg, #050510 0%, #000131 100%) !important;
}

footer h5 {
  color: var(--mfp-gold-soft);
}

footer p,
footer li {
  color: rgba(235, 241, 247, 0.84);
  font-weight: 400;
}

footer ul li {
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.35px;
  text-transform: none;
}

footer ul li a {
  color: rgba(235, 241, 247, 0.82) !important;
  text-decoration: none;
}

footer ul li a:hover {
  color: var(--mfp-gold-soft) !important;
  text-decoration: underline;
}

.contact-link,
.external-link {
  color: var(--mfp-blue) !important;
  font-weight: 400;
  text-decoration: none;
  text-shadow: 0 0 10px rgba(142, 201, 216, 0.12);
}

.contact-link:hover,
.external-link:hover {
  color: var(--mfp-blue-light) !important;
  text-decoration: underline;
  text-shadow:
    0 0 10px rgba(142, 201, 216, 0.35),
    0 0 18px rgba(142, 201, 216, 0.18);
}

.footer-social p {
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.footer-social a {
  font-weight: 500;
}

.stamp-box img {
  max-width: 260px;
  opacity: 0.88;
  filter: drop-shadow(0 0 10px rgba(242, 235, 135, 0.16));
}

.page-ending {
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0) 0%, rgba(0, 1, 49, 0.82) 100%);
}

.page-ending-clapper {
  max-width: 260px;
  opacity: 0.85;
}

.footer-bottom-bar {
  background:
    linear-gradient(
      180deg,
      #fff6b8 0%,
      #f2eb87 28%,
      #c8a94a 55%,
      #fff1a3 78%,
      #b99232 100%
    );
  color: #050505;
  padding: 12px 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25),
    0 -8px 20px rgba(242, 235, 135, 0.08);
}

.footer-bottom-bar p,
.footer-bottom-bar a,
.footer-bottom-bar span {
  color: #050505 !important;
}

.footer-bottom-bar p {
  font-size: 0.95rem;
}

.footer-bottom-bar a {
  margin: 0 6px;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom-bar a:hover {
  text-decoration: underline;
}

/* Unterseiten */
.subpage-header {
  padding-top: 150px !important;
  padding-bottom: 54px !important;
}

.subpage-header h1,
.subpage-header p {
  color: #fff;
}

.subpage-content {
  color: var(--mfp-text);
}

.subpage-content h1,
.subpage-content h2 {
  color: var(--mfp-gold-soft);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.subpage-content h1:first-child,
.subpage-content h2:first-child {
  margin-top: 0;
}

.subpage-content h3 {
  color: rgba(246, 249, 252, 0.94);
  margin-top: 1.6rem;
}

.subpage-content h4,
.subpage-content h5 {
  color: rgba(246, 249, 252, 0.90);
}

.subpage-content a {
  color: var(--mfp-blue);
  text-decoration: none;
}

.subpage-content a:hover {
  color: var(--mfp-gold);
  text-decoration: underline;
}

.reference-card {
  padding: 28px;
  margin-top: 24px;
}

.reference-card h3 {
  color: var(--mfp-gold-soft);
  margin-bottom: 12px;
}

.reference-card p:last-child {
  margin-bottom: 0;
}

.reference-link-group {
  margin-top: 16px;
  margin-bottom: 0;
}

.reference-link-button {
  display: inline-block;
  margin-top: 8px;
  margin-right: 10px;
  padding: 9px 17px;
  border-radius: 999px;
  font-size: 0.92rem;
  letter-spacing: 0.35px;
}

/* Nach-oben-Button */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1040;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(242, 235, 135, 0.45);
  border-radius: 50%;
  background:
    linear-gradient(
      135deg,
      rgba(0, 1, 49, 0.88),
      rgba(5, 5, 16, 0.96)
    );
  color: var(--mfp-gold);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(142, 201, 216, 0.10),
    0 0 14px rgba(242, 235, 135, 0.08);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 0.86;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  opacity: 1;
  color: var(--mfp-blue-light);
  border-color: rgba(210, 245, 255, 0.55);
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.48),
    0 0 20px rgba(142, 201, 216, 0.20),
    0 0 18px rgba(242, 235, 135, 0.12);
}

.back-to-top:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(242, 235, 135, 0.25),
    0 8px 22px rgba(0, 0, 0, 0.42);
}

/* Mobile */
@media screen and (max-width: 991px) {
  body {
    background-attachment: scroll;
  }

  section,
  header,
  footer {
    scroll-margin-top: 92px;
  }

  .navbar {
    padding: 12px 16px;
    background:
      linear-gradient(
        180deg,
        rgba(0, 1, 49, 0.94) 0%,
        rgba(5, 5, 16, 0.96) 100%
      );
    border-bottom: 1px solid rgba(242, 235, 135, 0.18);
  }

  .navbar.navbar-scrolled,
  .navbar.fixed-top {
    padding: 9px 16px;
  }

  .navbar .container {
    align-items: flex-start;
  }

  .navbar-brand img,
  .navbar.navbar-scrolled .navbar-brand img,
  .navbar.fixed-top .navbar-brand img {
    max-height: 58px !important;
    max-width: 185px;
  }

  .navbar-toggler {
    margin-left: auto;
    border: 1px solid rgba(242, 235, 135, 0.55);
    background:
      linear-gradient(
        135deg,
        rgba(0, 1, 49, 0.88),
        rgba(5, 5, 16, 0.95)
      );
    box-shadow:
      0 0 14px rgba(0, 0, 0, 0.45),
      0 0 12px rgba(242, 235, 135, 0.12);
  }

  .navbar-toggler:focus {
    box-shadow:
      0 0 0 2px rgba(242, 235, 135, 0.35),
      0 0 14px rgba(0, 0, 0, 0.45);
  }

  .navbar-collapse {
    width: 38%;
    min-width: 220px;
    max-width: 280px;
    margin-top: 16px;
    margin-left: auto;
    padding: 16px 18px;
    border: 1px solid rgba(142, 201, 216, 0.35);
    border-radius: 14px;
    background:
      radial-gradient(circle at top right, rgba(142, 201, 216, 0.16), transparent 38%),
      linear-gradient(
        135deg,
        rgba(0, 1, 49, 0.97),
        rgba(5, 5, 16, 0.99)
      );
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.55),
      0 0 18px rgba(142, 201, 216, 0.12),
      0 0 14px rgba(242, 235, 135, 0.08);
    backdrop-filter: blur(8px);
  }

  .navbar-nav {
    width: 100%;
    gap: 0 !important;
  }

  .navbar-nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-nav li:last-child {
    border-bottom: none;
  }

  .navbar-nav li a,
  .navbar-nav .nav-link {
    display: block;
    padding: 11px 4px;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0.7px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  }

  .banner.hero-video {
    min-height: 88vh;
  }

  .banner-content {
    padding: 110px 18px 60px;
  }

  .hero-video-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(0, 1, 49, 0.78) 0%,
        rgba(5, 5, 16, 0.50) 45%,
        rgba(0, 1, 49, 0.90) 100%
      );
  }
}

@media screen and (max-width: 767px) {
  .banner h1 {
    font-size: 70px;
    line-height: 1.05;
    letter-spacing: 2.8px;
  }

  .banner .para {
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 0.56px;
  }

  .welcome,
  .section-label,
  .contact-label {
    font-size: 16px;
  }

  .impression-slider img {
    height: 320px;
  }

  .impression-caption {
    display: block !important;
    left: 12px;
    right: 12px;
    bottom: 14px;
    max-width: none;
    padding: 12px 14px 14px;
  }

  .impression-caption h5 {
    font-size: 0.95rem;
    margin-bottom: 4px;
  }

  .impression-caption p {
    max-width: none;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .reference-link-button {
    display: block;
    width: fit-content;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .back-to-top {
    right: 16px;
    bottom: 18px;
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media screen and (max-width: 480px) {
  .navbar-collapse {
    width: 70%;
    min-width: 220px;
  }

  .banner h1 {
    font-size: 62px;
  }
}

/* =========================================================
   Finale Korrektur: Hero-Video, Impressionen-Slider, Leistungen-Hintergrund
   ========================================================= */

/* Hero oben: Video sichtbar, altes Bannerbild dort vollständig entfernt */
#start.banner.hero-video {
  position: relative;
  min-height: 100vh;
  height: auto;
  overflow: hidden;
  background: #000131 !important;
  background-image: none !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#start.banner.hero-video .hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

#start.banner.hero-video .hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Neutraler Overlay: kein Blau-/Violett-Schleier über dem Video */
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.52) 34%,
      rgba(0, 0, 0, 0.28) 64%,
      rgba(0, 0, 0, 0.56) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.36) 0%,
      rgba(0, 0, 0, 0.08) 42%,
      rgba(0, 0, 0, 0.82) 100%
    );
}

#start.banner.hero-video .banner-content {
  position: relative;
  z-index: 2;
}

/* Leistungen: altes Startbild jetzt hier als Hintergrund */
#leistungen.leistungen-bg {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(
      115deg,
      rgba(0, 1, 49, 0.72) 0%,
      rgba(8, 42, 66, 0.58) 44%,
      rgba(5, 5, 16, 0.78) 100%
    ),
    url('../images/bannerbg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#leistungen.leistungen-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 74% 16%, rgba(210, 245, 255, 0.26), transparent 34%),
    radial-gradient(circle at 22% 76%, rgba(242, 235, 135, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(0, 1, 49, 0.24), rgba(5, 5, 16, 0.42));
}

#leistungen.leistungen-bg::after {
  display: none !important;
}

#leistungen.leistungen-bg > .container {
  position: relative;
  z-index: 1;
}

/* Impressionen: echtes Bootstrap-Einzelbild-Carousel, keine untereinander stehenden Bilder */
.impression-slider .carousel-inner {
  display: block;
  width: 100%;
}

.impression-slider .carousel-item {
  display: none;
  width: 100%;
}

.impression-slider .carousel-item.active,
.impression-slider .carousel-item-next,
.impression-slider .carousel-item-prev {
  display: block;
}

.impression-slider .carousel-item > img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

/* Falls ein altes Script bereits zusätzliche Bilder in Carousel-Items geklont hat: ausblenden */
.impression-slider .carousel-item > img:not(:first-of-type) {
  display: none !important;
}

@media screen and (max-width: 767px) {
  #start.banner.hero-video {
    min-height: 88vh;
  }

  .impression-slider .carousel-item > img {
    height: 320px;
  }
}

/* =========================================================
   KORREKTUR IMPRESSIONEN-SLIDER
   Bilder werden vollständig gezeigt und nicht mehr hart beschnitten.
   Besonders Hochformat- und quadratische Bilder bleiben dadurch erkennbar.
   ========================================================= */

.impression-slider {
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 42%, rgba(210, 245, 255, 0.10), transparent 42%),
    linear-gradient(135deg, rgba(0, 1, 49, 0.96), rgba(5, 5, 16, 0.98));
}

.impression-slider .carousel-inner {
  display: block;
  width: 100%;
  background:
    radial-gradient(circle at center, rgba(142, 201, 216, 0.10), transparent 42%),
    linear-gradient(135deg, rgba(0, 1, 49, 0.96), rgba(5, 5, 16, 0.98));
}

.impression-slider .carousel-item {
  display: none;
  width: 100%;
  height: 520px;
  background:
    radial-gradient(circle at center, rgba(210, 245, 255, 0.08), transparent 44%),
    linear-gradient(135deg, rgba(0, 1, 49, 0.96), rgba(5, 5, 16, 0.98));
}

.impression-slider .carousel-item.active,
.impression-slider .carousel-item-next,
.impression-slider .carousel-item-prev {
  display: flex;
  align-items: center;
  justify-content: center;
}

.impression-slider img,
.impression-slider .carousel-item > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 520px;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
}

/* Falls durch eine alte Script-Version geklonte Bilder im HTML gelandet sind */
.impression-slider .carousel-item > img:not(:first-of-type) {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .impression-slider .carousel-item {
    height: 360px;
  }

  .impression-slider img,
  .impression-slider .carousel-item > img {
    max-height: 360px;
  }

  .impression-caption {
    left: 12px;
    right: 12px;
    bottom: 14px;
    max-width: none;
  }
}

/* =========================================================
   FINALE KORREKTUR: Durchgehender MFP-Farbverlauf
   Ziel: keine optisch abgehackten Farbboxen zwischen den Sektionen.
   Die meisten Bereiche werden transparent, der Seitenhintergrund trägt den Verlauf.
   ========================================================= */

body {
  background-color: #000131 !important;
  background-image:
    radial-gradient(ellipse at 18% 8%, rgba(210, 245, 255, 0.26), transparent 34rem),
    radial-gradient(ellipse at 82% 18%, rgba(142, 201, 216, 0.24), transparent 38rem),
    radial-gradient(ellipse at 28% 48%, rgba(255, 255, 255, 0.095), transparent 46rem),
    radial-gradient(ellipse at 78% 66%, rgba(242, 235, 135, 0.10), transparent 34rem),
    radial-gradient(ellipse at 52% 88%, rgba(210, 245, 255, 0.12), transparent 42rem),
    linear-gradient(
      180deg,
      #000131 0%,
      #06162b 18%,
      #0b2e49 34%,
      #0a3652 48%,
      #071b32 64%,
      #050510 82%,
      #000131 100%
    ) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-attachment: fixed !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      120deg,
      transparent 0%,
      rgba(210, 245, 255, 0.040) 28%,
      rgba(255, 255, 255, 0.060) 42%,
      rgba(242, 235, 135, 0.030) 56%,
      transparent 76%
    );
}

/* Keine harten eigenen Abschnittshintergründe mehr – der Body-Verlauf läuft durch */
.info-section,
.production-impressions,
.creative-media-solutions,
section.seminars-courses,
.page-ending,
.subpage-header,
.subpage-content,
.what-we-do:not(.leistungen-bg) {
  background: transparent !important;
  background-image: none !important;
}

/* Alte Lichtflächen aus vorherigen Versionen deaktivieren, damit keine Streifen entstehen */
.info-section::after,
.production-impressions::after,
.creative-media-solutions::after,
section.seminars-courses::after,
.what-we-do:not(.leistungen-bg)::after {
  display: none !important;
}

/* Die kleinen Wellen bleiben nur als dezentes Trennelement, ohne eigenen Farbbalken */
.section-wave {
  opacity: 0.78;
  margin-top: 6px;
  margin-bottom: 6px;
}

/* Leistungen: bannerbg.png bleibt dort als Hintergrund, aber mit weichen Übergängen oben/unten */
#leistungen.leistungen-bg {
  position: relative;
  overflow: hidden;
  background-color: transparent !important;
  background-image:
    linear-gradient(
      115deg,
      rgba(0, 1, 49, 0.58) 0%,
      rgba(8, 42, 66, 0.50) 44%,
      rgba(5, 5, 16, 0.70) 100%
    ),
    url('../images/bannerbg.png') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

#leistungen.leistungen-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 72% 18%, rgba(210, 245, 255, 0.24), transparent 34%),
    radial-gradient(circle at 20% 74%, rgba(242, 235, 135, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(0, 1, 49, 0.34), rgba(5, 5, 16, 0.40));
}

#leistungen.leistungen-bg::after {
  content: "";
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(6, 22, 43, 0.96) 0%,
      rgba(6, 22, 43, 0.52) 10%,
      rgba(6, 22, 43, 0.08) 24%,
      rgba(6, 22, 43, 0.06) 74%,
      rgba(6, 22, 43, 0.58) 90%,
      rgba(6, 22, 43, 0.96) 100%
    );
}

#leistungen.leistungen-bg > .container {
  position: relative;
  z-index: 1;
}

#leistungen.leistungen-bg .card {
  background:
    linear-gradient(135deg, rgba(0, 1, 49, 0.60), rgba(5, 5, 16, 0.66)) !important;
  border: 1px solid rgba(210, 245, 255, 0.16) !important;
  border-radius: 14px;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.20),
    0 0 22px rgba(142, 201, 216, 0.07);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Projekte/Kurse/Footer bleiben optisch geführt, aber nicht als harte Farbboxen */
.creative-media-solutions .card,
.reference-card {
  background:
    linear-gradient(135deg, rgba(0, 1, 49, 0.50), rgba(5, 5, 16, 0.58)) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

footer {
  background:
    linear-gradient(180deg, rgba(5, 5, 16, 0.36) 0%, rgba(0, 1, 49, 0.72) 100%) !important;
}

/* Der Goldbalken unten bleibt bewusst eigenständig */
.footer-bottom-bar {
  background:
    linear-gradient(
      180deg,
      #fff6b8 0%,
      #f2eb87 28%,
      #c8a94a 55%,
      #fff1a3 78%,
      #b99232 100%
    ) !important;
}

@media screen and (max-width: 991px) {
  body {
    background-attachment: scroll !important;
  }
}

/* Kontaktbereich: Hauptbox mit zwei Innenboxen */
.footer-contact-mainbox {
  position: relative;
  padding: 28px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(210, 245, 255, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(0, 1, 49, 0.66), rgba(5, 5, 16, 0.78));
  border: 1px solid rgba(210, 245, 255, 0.22);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.28),
    0 0 24px rgba(142, 201, 216, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  overflow: hidden;
}

.footer-contact-mainbox::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(242, 235, 135, 0.22) 18%,
      rgba(210, 245, 255, 0.72) 50%,
      rgba(242, 235, 135, 0.22) 82%,
      transparent 100%
    );
}

.footer-contact-kicker {
  margin-bottom: 4px;
  color: #E8DF78;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.footer-contact-mainbox h5 {
  margin-bottom: 14px;
  color: rgba(246, 249, 252, 0.94);
}

.footer-contact-mainbox p {
  color: rgba(235, 241, 247, 0.84);
}

.footer-mail-button {
  margin-top: 6px;
}

.footer-contact-innerbox {
  padding: 18px 18px 16px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.055), rgba(0, 1, 49, 0.30));
  border: 1px solid rgba(242, 235, 135, 0.20);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 8px 20px rgba(0, 0, 0, 0.18);
}

.footer-contact-innerbox h6 {
  margin-bottom: 10px;
  color: #E8DF78;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-contact-innerbox p {
  font-size: 0.94rem;
  line-height: 1.65;
}

.footer-contact-innerbox .small {
  color: rgba(235, 241, 247, 0.72);
  font-size: 0.82rem;
}

.footer-contact-innerbox .contact-link {
  word-break: break-word;
}

@media screen and (max-width: 991px) {
  .footer-contact-mainbox {
    padding: 24px;
  }
}



/* Feine Trennlinie in der Erreichbarkeitsbox */
.footer-availability-divider {
  height: 1px;
  margin: 13px 0 12px;
  background:
    linear-gradient(
      90deg,
      transparent 0%,
      rgba(242, 235, 135, 0.20) 16%,
      rgba(210, 245, 255, 0.44) 50%,
      rgba(242, 235, 135, 0.20) 84%,
      transparent 100%
    );
}

/* Sprachwechsel auf Rechtsseiten */
.legal-language-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 34px;
  padding: 16px;
  border-radius: 16px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.055),
      rgba(0, 1, 49, 0.28)
    );
  border: 1px solid rgba(142, 201, 216, 0.30);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.20),
    0 0 24px rgba(142, 201, 216, 0.08);
}

.legal-language-switch-label {
  width: 100%;
  margin: 0 0 2px;
  color: rgba(235, 241, 247, 0.76);
  font-size: 0.92rem;
  line-height: 1.45;
}

.legal-language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #050505 !important;
  text-decoration: none !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  background:
    linear-gradient(
      180deg,
      #fff6b8 0%,
      #f2eb87 30%,
      #c8a94a 58%,
      #fff1a3 82%,
      #b99232 100%
    );
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    inset 0 -2px 4px rgba(0, 0, 0, 0.25),
    0 7px 18px rgba(0, 0, 0, 0.28),
    0 0 16px rgba(242, 235, 135, 0.12);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.legal-language-button:hover {
  color: #050505 !important;
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -2px 4px rgba(0, 0, 0, 0.22),
    0 10px 24px rgba(0, 0, 0, 0.34),
    0 0 22px rgba(242, 235, 135, 0.18),
    0 0 18px rgba(142, 201, 216, 0.12);
}

.legal-language-section,
#datenschutz-de,
#privacy-en,
#impressum-de,
#site-notice-en {
  scroll-margin-top: 120px;
}

.legal-content-card {
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.045),
      rgba(0, 1, 49, 0.25)
    );
  border: 1px solid rgba(242, 235, 135, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(0, 0, 0, 0.18),
    0 0 24px rgba(142, 201, 216, 0.06);
}

@media screen and (max-width: 767px) {
  .legal-language-switch {
    padding: 14px;
    gap: 10px;
  }

  .legal-language-button {
    width: 100%;
  }

  .legal-content-card {
    padding: 22px 18px;
  }
}

/* Referenzen-Seite: saubere, nicht überlagernde Struktur */
.references-page main,
.references-page .references-content,
.references-page footer {
  position: relative;
  z-index: 1;
  clear: both;
}

.references-page .references-content {
  overflow: visible;
}

.references-page .references-section {
  margin-bottom: 3rem;
}

.references-page .reference-card {
  display: block;
  float: none;
  clear: both;
  height: auto;
  min-height: 0;
  margin: 22px 0 0;
}

.references-page .reference-card p {
  margin-bottom: 1rem;
}

.references-page .reference-card p:last-child {
  margin-bottom: 0;
}

.references-page .reference-link-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.references-page .reference-link-group .reference-link-button {
  margin: 0;
}

.references-page .section-wave {
  clear: both;
}

@media screen and (max-width: 767px) {
  .references-page .reference-link-group {
    display: block;
  }

  .references-page .reference-link-group .reference-link-button {
    display: inline-block;
    margin: 0 0 8px;
  }
}
