/* -------------------------------------------------------
   GLOBAL BASICS
-------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Anker / scrollIntoView: knapp unter fixem Header; Sektionen haben zusätzlich padding-top */
  scroll-padding-top: 2.25rem;
}

body {
  font-family: system-ui, sans-serif;
  color: #000;
  background: #b0ebdf;
}

/* -------------------------------------------------------
   HEADER
-------------------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 14px 26px;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.40);
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

header.is-scrolled {
  background: rgba(0, 0, 0, 0.60);
  padding: 8px 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

.logo-area {
  display: flex;
  align-items: center;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: invert(1);
  display: block;
  transition: height 0.25s ease, transform 0.25s ease;
}

header.is-scrolled .logo-img {
  height: 34px;
  max-width: 130px;
  transform: translateY(1px);
}

/* -------------------------------------------------------
   NAVIGATION
-------------------------------------------------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 2px;
  display: inline-flex;
  align-items: center;
}

/* Unterstrich */
.nav a:not(.nav-icon)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: #fff;
  transition: width 0.2s ease;
}

.nav a:not(.nav-icon):hover::after {
  width: 100%;
}

/* Aktiver Menüpunkt */
.nav a.is-active {
  font-weight: 600;
}

.nav a.is-active:not(.nav-icon)::after {
  width: 100%;
}

.nav-icon .icon {
  width: 17px;
  height: 17px;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.nav-icon:hover .icon {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
  transform: translateY(-1px);
}

/* Burger Menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 10px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle span+span {
  margin-top: 4px;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* -------------------------------------------------------
   HERO SECTION
-------------------------------------------------------- */

.hero {
  height: 100vh;
  min-height: 400px;
  width: 100%;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

/* Fullscreen-Hintergrund: zwei Layer für Crossfade */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-bg-layer--active {
  opacity: 1;
  z-index: 1;
}

/* umgebung04, jul02: oben ansetzen, unten bei Cover abschneiden */
.hero-bg-layer--umgebung-top {
  background-position: center top;
}

/* umgebung02: unten anbinden, Positionsfläche nach oben verlängern → mehr Boden sichtbar */
.hero-bg-layer--umgebung-bottom {
  top: auto;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 128%;
  background-position: center bottom;
}

/* Hero: Vollflächen-Video als eine Folie (z. B. info.html) */
.hero-bg-layer--video {
  overflow: hidden;
}

/* Soft top gradient (Transparenz wie WasserwerkderZukunft) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.12) 35%,
      rgba(0, 0, 0, 0) 70%);
  z-index: 1;
}

/* Fade-out bottom (smooth transition into page background color) */
.hero-fadeout {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(to bottom,
      rgba(176, 235, 223, 0) 0%,
      rgba(176, 235, 223, 1) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Hero-Steuerung: Pfeile + Punkte */
.hero-controls {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.hero-controls > * {
  pointer-events: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.45);
}

.hero-arrow:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.hero-arrow--prev {
  left: 20px;
}

.hero-arrow--next {
  right: 20px;
}

/* Mobile: Pfeile ausblenden (Swipe + Punkte bleiben) */
@media (max-width: 600px) {
  .hero-arrow {
    display: none;
  }
}

.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.9);
}

.hero-dot--active {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 1);
}

.hero-dot:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Hero centered content */
.hero-content-wrapper {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
  text-align: center;
  z-index: 3;
}

/* Hero Content Container */
.hero-content {
  position: relative;
}

/* .hero-content moved by JS Parallax */

/* Halbkreis nur um das Logo: zwei Viertelbögen von der Mitte oben nach außen (nach Button-Einblendung) */
.hero-logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 1.25rem;
  max-width: 400px;
  line-height: 0;
  overflow: visible;
}

.hero-logo-arc {
  position: absolute;
  left: 50%;
  bottom: 0;
  /* Vertikaler Feintuning: Desktop per JS --hero-arc-nudge an Logo-Höhe */
  transform: translate(-50%, calc(-1 * var(--hero-arc-nudge, 18px)));
  /* Bogen: Desktop per JS Durchmesser = 2×(Logo + 44px); Fallback entspricht derselben Formel. */
  width: calc(200% + 88px);
  min-width: 160px;
  height: auto;
  aspect-ratio: 2 / 1;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
  /* Bis zur Animation kein „Geister“-Bogen (pathLength/Dash-Mismatch in manchen Browsern) */
  opacity: 0;
  animation: heroArcFadeIn 0.01s linear forwards;
  animation-delay: 2.45s;
}

@keyframes heroArcFadeIn {
  to {
    opacity: 1;
  }
}

.hero-logo-arc__half {
  /* Lange Dash-Länge >> Pfadlänge (~79): zuverlässig komplett verdeckt vor Start */
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  /* both = während Delay „versteckt“, danach Endzustand bleibt sichtbar (forwards) */
  animation: heroArcDraw 2.1s cubic-bezier(0.33, 0.06, 0.19, 1) 2.45s 1 normal both;
}

@keyframes heroArcDraw {
  from {
    stroke-dashoffset: 1000;
  }

  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-arc {
    animation: none;
    opacity: 1;
  }

  .hero-logo-arc__half {
    animation: none;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* Fade + Slide-In */
/* Sequenzielles Einfaden: Logo → Text → Buttons */
.hero-inner {
  opacity: 1;
  transform: none;
  animation: none;
}

.hero-logo,
.hero-eyebrow,
.hero-title,
.hero-callout,
.hero-subtitle,
.hero-buttons {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeSlideUp 0.8s ease forwards;
}

.hero-logo {
  animation-delay: 0.6s;
}

.hero-eyebrow,
.hero-title,
.hero-callout,
.hero-subtitle {
  animation-delay: 1.05s;
}

.hero-logo {
  position: relative;
  z-index: 1;
  display: block;
  height: auto;
  max-height: 110px;
  max-width: 400px;
  width: auto;
  margin: 0 auto;
  filter: brightness(0) invert(1);
}

/* Buttons appear later */
.hero-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  animation-delay: 1.55s;
}

.warum-hilfe__cta {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

.warum-hilfe__link {
  color: #0a4f63;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.warum-hilfe__link:hover {
  color: #083f56;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* Typography */
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Startseite: längerer Eyebrow-Text unter dem Logo */
.hero-eyebrow--tagline {
  letter-spacing: 0.14em;
  line-height: 1.45;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

.hero-callout {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Callout + Buttons: zwei weiße CTAs oben, Kontakt darunter (Desktop) */
.hero-buttons--support {
  margin-top: 0.15rem;
  flex-direction: column;
  align-items: center;
}

.hero-buttons__primary-row {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.hero-buttons--support > .btn-outline {
  background: rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.55);
  color: #000;
}

.hero-buttons--support > .btn-outline:hover {
  background: rgba(255, 255, 255, 0.45);
}

.hero-subtitle {
  font-size: 0.95rem;
  /* Kein opacity hier – sonst überschreibt es die Startphase (opacity: 0) der fadeSlideUp-Animation */
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

/* Mobile Feintuning: Hero-Logo + Titel gemeinsam kleiner */
@media (max-width: 600px) {
  .hero-logo-wrap {
    margin-bottom: 0.9rem;
    max-width: 260px;
  }

  .hero-logo-arc {
    width: calc(100% + 20px);
    min-width: 140px;
    /* Mobil: ohne JS-Variable, fest wie zuvor */
    transform: translate(-50%, -12px);
  }

  .hero-logo {
    max-height: 64px;
    max-width: 260px;
  }

  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    margin-bottom: 0.45rem;
  }

  .hero-callout {
    font-size: clamp(0.95rem, 4.5vw, 1.15rem);
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
  }
}

/* -------------------------------------------------------
   NEU: HERO MIT VIDEO (media.html)
-------------------------------------------------------- */

.hero--video {
  background: none;
  /* überschreibt Bild */
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  /* unter Overlay */
}

/* -------------------------------------------------------
   GLASS BUTTONS
-------------------------------------------------------- */

.btn {
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.85);
  color: #000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn.btn-white {
  background: #ffffff;
  color: #000;
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.btn.btn-white:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.30);
}

/* No-blur fallback */
@supports not (backdrop-filter: blur(4px)) {
  .btn {
    background: rgba(255, 255, 255, 0.40);
  }

  .btn-primary,
  .btn.btn-white {
    background: #ffffff;
  }
}

/* -------------------------------------------------------
   MAIN CONTENT BACKGROUND COLOR
-------------------------------------------------------- */

.content {
  padding: 3rem 1.5rem;
  background: #b0ebdf;
  color: #000;
}

/* Kein Mindesthöhen-Zwang: kurze Sektionen (z. B. Job) würden sonst riesige Lücken erzeugen */
.content + .content {
  padding-top: 2.5rem;
}

.hero + .content {
  padding-top: 3.5rem;
}

.content h2 {
  margin-bottom: 1rem;
}

/* -------------------------------------------------------
   FLOATING HOME + SPENDEN (Stack)
-------------------------------------------------------- */

.floating-stack {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-stack.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Vertikaler Teaser (vgl. Pfennigparade: schmaler Block am Rand, Text gedreht) */
.floating-team {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-height: 220px;
  padding: 8px 0;
  margin-bottom: 2px;
  box-sizing: border-box;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease;
}

.floating-team:hover,
.floating-team:focus-visible {
  background: rgba(0, 0, 0, 0.85);
}

.floating-team:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.floating-team__text {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-90deg);
  transform-origin: center center;
}

.floating-home,
.floating-support {
  position: static;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.floating-support {
  text-decoration: none;
}

.floating-home:hover,
.floating-support:hover {
  background: rgba(0, 0, 0, 0.85);
}

.floating-home:focus,
.floating-support:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.floating-home .icon,
.floating-support .icon {
  width: 22px;
  height: 22px;
  display: block;
}


/* -------------------------------------------------------
   TESTIMONIAL (schrittweiser Aufbau)
-------------------------------------------------------- */

.testimonial-section {
  padding-top: 2.5rem;
  padding-bottom: 1rem;
}

.testimonial-probe {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto;
  padding: 0.5rem 0 1.25rem;
  overflow: visible;
}

/* Überschrift wie andere content h2 (ScrollFX-Unterstreichung), etwas nach oben: Linie nicht ins Foto */
.testimonial-section.content-connections .testimonial-probe > h2 {
  margin-top: -0.45rem;
  margin-bottom: 0.35rem;
  align-self: center;
}

.testimonial-probe > .testimonial-portrait {
  margin-bottom: 0.65rem;
}

.testimonial-portrait {
  margin: 0;
  padding: 0;
  align-self: center;
  position: relative;
  z-index: 2;
}

.testimonial-portrait__img {
  /* Darstellung 300×300 px; auf schmalen Viewports runterskalieren */
  width: min(300px, 92vw);
  height: min(300px, 92vw);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
  border: 3px solid rgba(255, 255, 255, 0.95);
  --img-hover-scale: 1;
  --img-parallax-y: 0px;
}

.testimonial-copy {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  /* Grafikgröße (kompakt); Text ragt ~50 % darüber */
  --testimonial-gfx: min(150px, 41vw);
}

/* Anführungszeichen: ~50 % der Grafikhöhe oberhalb des Textanfangs; Abstand Foto→Text unverändert */
.testimonial-quote-bg {
  position: absolute;
  top: calc(var(--testimonial-gfx) * -0.5);
  left: 0;
  width: var(--testimonial-gfx);
  height: var(--testimonial-gfx);
  z-index: 0;
  pointer-events: none;
  background-image: url("../bilder/anfuehrungszeichen.png");
  background-repeat: no-repeat;
  background-position: top left;
  background-size: contain;
  --tp-y: 0px;
  transform: translate3d(0, var(--tp-y), 0);
  will-change: transform;
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.98rem;
  line-height: 1.65;
  text-align: left;
  color: rgba(8, 50, 65, 0.96);
  max-width: none;
  /* ~50 % der Grafikbreite Überlappung mit dem Text */
  padding-left: calc(var(--testimonial-gfx) * 0.5 + 0.35rem);
  padding-top: 0.2rem;
  /* Lesbarkeit auf der mintfarbenen Grafik */
  text-shadow:
    0 0 1px rgba(255, 255, 255, 1),
    0 0 14px rgba(255, 255, 255, 0.88),
    0 0 28px rgba(255, 255, 255, 0.55),
    0 1px 2px rgba(255, 255, 255, 0.95);
}

.testimonial-quote--parallax {
  --tp-y: 0px;
  transform: translate3d(0, var(--tp-y), 0);
  will-change: transform;
}

.testimonial-quote p {
  margin: 0;
}

/* ScrollFX: Porträt + Zitat wie übrige Inhalte, ohne Unschärfe auf dem Foto */
.testimonial-section .testimonial-scrollfx.scrollfx {
  filter: none;
}

.testimonial-section .testimonial-scrollfx.scrollfx.is-visible {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-quote-bg,
  .testimonial-quote--parallax {
    transform: none !important;
    will-change: auto;
  }
}

/* -------------------------------------------------------
   VERBINDUNGEN (LINK LIST)
-------------------------------------------------------- */

.content-connections {
  max-width: 1100px;
  margin: 0 auto;
}

.content-connections h2 {
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

/* Card Layout */
.connection-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

/* Verbindungen: Bilder niemals hochskalieren */
.connection-media img {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  border-radius: 14px;
}

/* Alle Nicht-Hero-Bilder: sanfter Zoom + Scroll-Ausschnitt */
.content img {
  --img-hover-scale: 1;
  --img-parallax-y: 0px;
  transform: translate3d(0, var(--img-parallax-y), 0) scale(var(--img-hover-scale));
  transform-origin: center center;
  transition: transform 260ms ease;
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .content img:hover {
    --img-hover-scale: 1.04;
  }
}

/* Text */
.connection-info {
  flex: 1;
}

.connection-title {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.connection-url a,
.connection-card a {
  font-size: 0.9rem;
  color: #004a66;
  text-decoration: underline;
  word-break: break-all;
}

.connection-description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 0.75rem;
}

/* Desktop zweispaltig */
@media (min-width: 900px) {
  .connection-card {
    flex-direction: row;
    align-items: stretch;
    gap: 2rem;
  }

  .connection-media {
    max-width: 40%;
  }
}

/* Mobile Optimierung */
@media (max-width: 599px) {
  .connection-card {
    padding: 1.25rem;
  }
}

/* =========================
   TEAM ("WIR") – Foto links, Text rechts
   ========================= */

.connection-card.team-card .connection-media {
  flex: 0 0 400px;
  max-width: 400px;
}

.connection-card.team-card .connection-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  /* 400x400 Look */
  object-fit: cover;
  /* sauberer Crop */
  border-radius: 14px;
  display: block;
}

.connection-card.team-card .connection-media.team-photo--logo {
  background: #cdeee7;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.connection-card.team-card .connection-media img.team-photo__logo {
  width: 52%;
  max-width: 208px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Dezenter Scroll-Ausschnitt für alle Nicht-Hero-Bilder in ScrollFX-Elementen */
.scrollfx img {
  --img-parallax-y: calc((0.5 - var(--p)) * 12px);
}

/* Responsive: auf kleineren Screens nicht 400px erzwingen */
@media (max-width: 900px) {
  .connection-card.team-card .connection-media {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

/* Unterstützungsmöglichkeiten: Überschrift links, Erklärtext rechts */
.connection-card.support-option .connection-media {
  flex: 0 0 auto;
  max-width: 280px;
}

.connection-card.support-option .connection-media .connection-title {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .connection-card.support-option .connection-info {
    flex: 1;
  }
}

/* Job: weißer Kartenblock wie Partner/Wir */
.connection-card.job-card .connection-media.logo {
  flex: 0 0 auto;
  max-width: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

.connection-card.job-card .connection-media.logo img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
}

.job-card__cta {
  margin-top: 1.35rem;
  margin-bottom: 0;
  margin-left: 0;
  padding-left: 0;
  text-align: left;
}

.job-card__cta .btn {
  padding-left: 0;
}

#faq details + details {
  margin-top: 0.9rem;
}

#faq summary {
  cursor: pointer;
  font-weight: 700;
  color: #0a4f63;
}

#faq details[open] summary {
  margin-bottom: 0.45rem;
}

/* ASS-Wissensseite: aufklappbare Gliederung */
.ass-page {
  padding-top: 7rem;
}

.ass-page-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.ass-lead,
.ass-hint {
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.ass-hint:last-child {
  margin-bottom: 0;
}

/* Einheitlicher Rhythmus: X.X-Überschrift → Box (1rem) → Abstand (3rem) → nächste X.X */
.ass-chapter > .ass-subtitle {
  margin-top: 2.75rem;
  margin-bottom: 1rem;
}

/* Erster Block direkt unter Kapitelüberschrift */
.ass-chapter > h2 + .ass-subtitle,
.ass-chapter > h2 + .ass-accordion {
  margin-top: 1.25rem;
}

/* Abstand kommt von der Box darüber – kein doppeltes margin-top (Kollaps) */
.ass-chapter > .ass-accordion + .ass-subtitle {
  margin-top: 0;
}

.ass-chapter > .ass-accordion {
  margin-top: 0;
  margin-bottom: 3rem;
}

.ass-chapter .ass-accordion details + details {
  margin-top: 0.9rem;
}

.ass-chapter .ass-accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: #0a4f63;
}

.ass-chapter .ass-accordion details[open] summary {
  margin-bottom: 0.45rem;
}

/* Scrollfx: kein translateY auf Karten – sonst überlappen Boxen die nächste Überschrift */
.ass-chapter .education-card.scrollfx {
  transform: none;
  filter: none;
  opacity: calc(0.88 + (var(--p) * 0.12));
}

@media (hover: hover) and (pointer: fine) {
  .job-card__cta .btn:hover {
    transform: none;
    box-shadow: none;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
  }
}

/* -------------------------------------------------------
   BILDUNG (FLIESSTEXT)
-------------------------------------------------------- */

.content-education {
  max-width: 900px;
  margin: 0 auto;
}

.content-education h2 {
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.education-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.education-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1rem 0;
  color: inherit;
}

.education-text p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.education-text p:last-child {
  margin-bottom: 0;
}

/* Konzept: hervorgehobene Kernbereiche */
.concept-pillars-intro {
  margin-bottom: 0.4rem;
  font-weight: 500;
}

.concept-pillars {
  margin-top: 0;
  margin-bottom: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
}

.concept-pillars-word {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #0b4c67;
  text-transform: uppercase;
  text-shadow: 0 0 0 rgba(11, 76, 103, 0.08);
  transform: scale(1);
  transition: color 0.28s ease, transform 0.28s ease, text-shadow 0.28s ease;
}

.concept-pillars-word.is-passed {
  color: #0b5f81;
  transform: scale(1.04);
  text-shadow: 0 0 14px rgba(11, 95, 129, 0.32);
}

.concept-pillars-word.is-current {
  color: #0d6e95;
  transform: scale(1.09);
  text-shadow:
    0 0 20px rgba(13, 110, 149, 0.48),
    0 0 34px rgba(13, 110, 149, 0.28);
}

.concept-pillars-sep {
  color: rgba(8, 63, 86, 0.5);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .concept-pillars-word {
    transition: none;
    transform: none;
  }
}

/* -------------------------------------------------------
   Bullet-Liste: Kreise + mitwachsende Verbindungslinie
-------------------------------------------------------- */

.bullet-pulse {
  --line-progress: 0;
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  position: relative;
}

.bullet-timeline-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 100%;
  pointer-events: none;
}

.bullet-timeline-track {
  fill: none;
  stroke: transparent;
  stroke-width: 2;
  stroke-linecap: round;
}

.bullet-timeline-progress {
  fill: none;
  stroke: rgba(0, 0, 0, 0.58);
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}

.bullet-timeline-node {
  fill: rgba(255, 255, 255, 0.95);
  stroke: rgba(0, 0, 0, 0.8);
  stroke-width: 2;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.bullet-timeline-node.is-visible {
  opacity: 1;
}

.bullet-pulse li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.9rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.bullet-pulse li:last-child {
  margin-bottom: 0;
}

.bullet-pulse li.is-visible {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .bullet-timeline-progress {
    transition: none;
  }

  .bullet-pulse li {
    transition: none;
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .education-card {
    padding: 1.4rem;
  }
}

/* -------------------------------------------------------
   NEU: MEDIA (media.html) – Cards wie „Events“
-------------------------------------------------------- */

.content-media {
  max-width: 1100px;
  margin: 0 auto;
}

.content-media h2 {
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.media-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.media-inline-video {
  width: 100%;
  border-radius: 14px;
  display: block;
}

.media-title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.media-text {
  font-size: 0.95rem;
  line-height: 1.5;
}

.media-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.media-photo-placeholder {
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.08);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  opacity: 0.8;
}

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

/* === Media: YouTube Video Grid === */
.media-video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Mobile */
@media (max-width: 768px) {
  .media-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsiver YouTube-Embed */
.yt-embed {
  position: relative;
  padding-top: 56.25%;
  /* 16:9 */
  overflow: hidden;
  border-radius: 8px;
}

.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================
   MEDIA: Editorial-Galerie (Text links, Slider rechts)
   ========================= */

.gallery-card {
  /* nutzt media-card Basis (Padding, Radius, Shadow etc.) */
  position: relative;
}

.gallery-card .gallery-text {
  min-width: 0;
}

.gallery-card .gallery-slider {
  position: relative;
  min-width: 0;
}

.gallery-viewport {
  overflow: hidden;
  border-radius: 14px;
}

.gallery-track {
  display: flex;
  transition: transform 450ms cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Pfeile */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 150ms ease, background 200ms ease;
  color: #000;
}

.gallery-arrow svg {
  width: 24px;
  height: 24px;
  display: block;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.03);
  background: rgba(255, 255, 255, 0.9);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

/* Dots */
.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.12);
  cursor: pointer;
  padding: 0;
}

.gallery-dot.is-active {
  background: rgba(0, 0, 0, 0.55);
}

/* Desktop Layout: Text links, Slider rechts */
@media (min-width: 900px) {
  .gallery-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
    align-items: start;
  }
}

/* -------------------------------------------------------
   KONTAKT
-------------------------------------------------------- */

.content-contact {
  max-width: 900px;
  margin: 0 auto;
}

.content-contact h2 {
  font-size: 1.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}

.contact-text p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

/* Formular-Layout */
.contact-form .form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  padding: 0.55rem 0.9rem;
  font-size: 0.9rem;
  font-family: inherit;
}

/* Textarea leicht anders */
.contact-form textarea {
  border-radius: 18px;
  resize: vertical;
}

.contact-form__file {
  border-radius: 12px;
  padding: 0.5rem 0.25rem;
  font-size: 0.85rem;
  border: 1px dashed rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.contact-form__hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: rgba(0, 0, 0, 0.55);
  text-transform: none;
  letter-spacing: normal;
}

/* Button-Gruppe im Formular */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* Feedback-Meldungen im Kontaktbereich */
.contact-feedback {
  display: none;
  margin-bottom: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

/* Erfolg */
.contact-feedback--success {
  display: block;
  background: rgba(0, 120, 60, 0.12);
  border: 1px solid rgba(0, 120, 60, 0.4);
  color: #004225;
}

/* Fehler */
.contact-feedback--error {
  display: block;
  background: rgba(180, 0, 0, 0.12);
  border: 1px solid rgba(180, 0, 0, 0.4);
  color: #5a0000;
}


/* -------------------------------------------------------
   FOOTER (optisch wie Header: dunkle Leiste, gleiche Maße)
-------------------------------------------------------- */

.site-footer {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  padding: 14px 26px;
  margin-top: 0;
  transition: background 0.25s ease, padding 0.25s ease, box-shadow 0.25s ease;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.footer-copy {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.95);
}

.footer-address {
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.footer-address a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

/* Links und Button im Footer gleich aussehen lassen */
.footer-link,
.footer-link-button {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: none;
  border: none;
  padding: 0;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

/* Hover-Unterstrich */
.footer-link::after,
.footer-link-button::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.2s ease;
}

.footer-link:hover::after,
.footer-link-button:hover::after {
  width: 100%;
}

.footer-link--facebook {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.footer-link-icon {
  flex-shrink: 0;
  display: block;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* -------------------------------------------------------
   RESPONSIVE NAVIGATION
-------------------------------------------------------- */

@media (max-width: 900px) {
  .site-footer {
    padding: 12px 14px;
  }

  header {
    padding: 12px 14px;
  }

  header.is-scrolled {
    padding: 8px 10px;
  }

  .logo-img {
    height: 34px;
    max-width: 120px;
  }

  header.is-scrolled .logo-img {
    height: 28px;
    max-width: 100px;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: 56px 0 0 0;
    background: rgba(0, 0, 0, 0.94);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
  }

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

  .nav a {
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons__primary-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
  }
}


/* -------------------------------------------------------
   SCROLLFX: dezente Reveal/Parallax Effekte
-------------------------------------------------------- */

/* Basis: Karten + Überschriften werden per JS mit .scrollfx markiert */
.scrollfx {
  --p: 0;
  /* 0..1 Progress im Viewport */
  opacity: calc(0.20 + (var(--p) * 0.80));
  transform: translate3d(0, calc((1 - var(--p)) * 24px), 0) scale(calc(0.98 + (var(--p) * 0.02)));
  filter: blur(calc((1 - var(--p)) * 2px));
  transition:
    opacity 600ms ease,
    transform 700ms cubic-bezier(.2, .8, .2, 1),
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

/* Sobald ein Element einmal im Viewport war, bekommt es zusätzlich eine Klasse */
.scrollfx.is-visible {
  /* Progress steuert weiterhin die Feinheiten, aber wir stellen sicher, dass es sichtbar bleibt */
  opacity: calc(0.55 + (var(--p) * 0.45));
  filter: blur(0);
}

/* Überschriften etwas knackiger */
.content h2.scrollfx {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
  transform: translate3d(calc((1 - var(--p)) * -12px), calc((1 - var(--p)) * 18px), 0);
  transition:
    opacity 500ms ease,
    transform 650ms cubic-bezier(.2, .8, .2, 1),
    filter 650ms ease;
}

.content h2.scrollfx::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(8, 63, 86, 0.72);
  transform-origin: left center;
  transform: scaleX(var(--p));
}

/* ASS: Unterüberschriften (3.x / 4.x) – gleiche Scroll-Unterstreichung wie h2, etwas dezenter */
.ass-chapter .ass-subtitle.scrollfx {
  position: relative;
  display: inline-block;
  padding-bottom: 0.3rem;
  transform: translate3d(calc((1 - var(--p)) * -8px), calc((1 - var(--p)) * 14px), 0);
  transition:
    opacity 500ms ease,
    transform 650ms cubic-bezier(.2, .8, .2, 1),
    filter 650ms ease;
}

.ass-chapter .ass-subtitle.scrollfx::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(8, 63, 86, 0.62);
  transform-origin: left center;
  transform: scaleX(var(--p));
}

/* Weiße Blöcke (Cards): leichte Transparenz-Dynamik */
.connection-card.scrollfx,
.education-card.scrollfx,
.contact-card.scrollfx,
.media-card.scrollfx {
  /* Start: etwas transparenter, wird beim Scrollen „fester“ */
  background: rgba(255, 255, 255, calc(0.70 + (var(--p) * 0.25)));
  box-shadow: 0 10px 30px rgba(0, 0, 0, calc(0.06 + (var(--p) * 0.05)));
  backdrop-filter: blur(calc(2px + (var(--p) * 4)));
}

/* Optional: minimaler Abstandseindruck ohne Layout-Shift (über translateY) */
.scrollfx[data-scrollfx-tight="true"] {
  transform: translate3d(0, calc((1 - var(--p)) * 18px), 0);
}

@media (prefers-reduced-motion: reduce) {
  .scrollfx {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    background: inherit !important;
    box-shadow: inherit !important;
    backdrop-filter: none !important;
  }

  .content h2.scrollfx::after,
  .ass-chapter .ass-subtitle.scrollfx::after {
    transform: scaleX(1);
  }
}

/* =========================
   LIGHTBOX (clean): Bild groß + Pfeile + Dots
   ========================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.lightbox.is-open {
  display: block;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-panel {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.lightbox-figure {
  width: min(1100px, 92vw);
  margin: 0;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  display: block;
}

/* Close (oben rechts) */
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-close svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* Pfeile */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 150ms ease, background 200ms ease;
}

.lightbox-arrow svg {
  width: 26px;
  height: 26px;
  display: block;
}

.lightbox-arrow:hover {
  transform: translateY(-50%) scale(1.03);
  background: rgba(0, 0, 0, 0.5);
}

.lightbox-prev {
  left: 18px;
}

.lightbox-next {
  right: 18px;
}

.lightbox-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Dots */
.lightbox-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.lightbox-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.lightbox-dot.is-active {
  background: rgba(255, 255, 255, 0.75);
}

@media (max-width: 700px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}