/* ============================================
   DATENHAUS — Shared Overrides
   Loaded after datenhaus-def50c.webflow.css
   ============================================ */

/* --- Desktop nav link hover --- */
.nav-links .dropdown-toggle,
.nav-links .dropdown-toggle:hover {
  transform: none !important;
  padding: 10px 0 !important;
}
.nav-links .text-block-3 {
  position: relative;
  display: inline-block;
  transform: none !important;
  transition: color 0.35s ease, text-shadow 0.35s ease;
  padding: 4px 0;
}
.nav-links .text-block-3::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 1px;
  background: linear-gradient(90deg, #a87af5, #5a8fff);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.nav-links .text-block-3:hover {
  color: #a87af5;
  text-shadow: 0 0 12px rgba(168, 122, 245, 0.4);
  transform: none !important;
}
.nav-links .text-block-3:hover::after {
  width: 100%;
  left: 0%;
}

/* --- Dropdown panel --- */
.nav-links .dropdown-list {
  left: 50% !important;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px !important;
  background: rgba(12, 12, 12, 0.95) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(123, 45, 255, 0.12);
  border-radius: 10px;
  padding: 0.5rem 0 !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  overflow: hidden;
}
.nav-links .dropdown-list.w--open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  background: rgba(12, 12, 12, 0.95) !important;
}
/* Subtle top accent line */
.nav-links .dropdown-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(123, 45, 255, 0.4), transparent);
}

/* --- Dropdown links --- */
.nav-links .menu-dropdown {
  text-align: left !important;
  padding: 0.65rem 1.25rem !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.6) !important;
  background: transparent !important;
  transition: color 0.25s ease, background 0.25s ease, padding-left 0.25s ease;
  position: relative;
}
.nav-links .menu-dropdown:hover {
  color: #fff !important;
  background: rgba(123, 45, 255, 0.1) !important;
  padding-left: 1.5rem !important;
}
.nav-links .menu-dropdown::after {
  content: '\2192';
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%) translateX(-6px);
  opacity: 0;
  font-size: 0.7rem;
  color: #a87af5;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-links .menu-dropdown:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}
.nav-links .menu-dropdown.w--current {
  color: #a87af5 !important;
}
.nav-links .menu-dropdown:hover,
.nav-links .menu-dropdown {
  transform: none !important;
}

/* ─── NAV OVERLAY & HAMBURGER BUTTON (shared across all pages) ─── */

/* Nav wrapper must be above backdrop (Webflow sets z-index:1000 + mix-blend-mode
   which creates a stacking context — descendants can't escape it) */
.nav-wrapper {
  z-index: 10000 !important;
  transition: background-color 0.4s ease;
}

/* Homepage transparent nav — class removed on scroll */
.nav-wrapper.nav-home-transparent {
  background-color: transparent !important;
  mix-blend-mode: normal !important;
}

/* Nav button always on top */
.w-nav-button {
  z-index: 10001 !important;
}
.w-nav-button.w--open {
  background: #000;
}

/* Slide-over panel positioning */
.w-nav-overlay {
  width: 40vw !important;
  right: 0 !important;
  left: auto !important;
  top: 0 !important;
  min-height: 100vh !important;
  position: fixed !important;
  z-index: 9999 !important;
  overflow-y: auto !important;
}
@media only screen and (max-width: 767px) {
  .w-nav-overlay {
    width: 100vw !important;
  }
}
.w-nav-overlay .w-nav-menu {
  width: 100% !important;
}

/* Prevent hero/body elements from intercepting clicks over the menu */
.image-8 {
  pointer-events: none;
}

/* Force overlay & panel to be fully visible (prevent Webflow animation dimming) */
.w-nav-overlay,
.w-nav-overlay .w-nav-menu,
.w-nav-overlay .div-block-6 {
  opacity: 1 !important;
}
/* Reset blend mode on overlay so menu content isn't inverted
   (nav-wrapper has mix-blend-mode: difference from Webflow) */
.w-nav-overlay {
  mix-blend-mode: normal !important;
}

/* Disable global scale-on-hover inside hamburger menu */
.div-block-6.large-menu.text-white a,
.div-block-6.large-menu.text-white a:hover,
.div-block-6.large-menu.text-white .w-nav-link:hover {
  transform: none !important;
}

/* ─── SLIDE MENU ─── */

/* Backdrop overlay when menu is open */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.menu-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Panel background — gradient + subtle texture */
.div-block-6.large-menu.text-white {
  background:
    repeating-linear-gradient(90deg, transparent 0px, transparent 80px, rgba(168,122,245,0.015) 80px, rgba(168,122,245,0.015) 81px),
    repeating-linear-gradient(0deg, transparent 0px, transparent 80px, rgba(168,122,245,0.015) 80px, rgba(168,122,245,0.015) 81px),
    radial-gradient(ellipse at 30% 0%, rgba(168,122,245,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 100%, rgba(90,143,255,0.05) 0%, transparent 50%),
    linear-gradient(165deg, #0a0a0a 0%, #050510 50%, #080512 100%) !important;
  border-left: 1px solid rgba(168,122,245,0.12) !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  max-height: 100vh !important;
  text-align: center !important;
}
/* Kill white bleed from Webflow default .nav-menu { background-color: #fff } */
.nav-menu.w-nav-menu {
  min-height: 100vh;
  height: auto !important;
  overflow-y: auto !important;
  background-color: #000 !important;
}

/* Accent top line on menu panel */
.div-block-6.large-menu.text-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,122,245,0.4), transparent);
  z-index: 1;
}

/* Burger lines — consistent sizing across all breakpoints */
.hamburger-line.burger-line {
  display: block !important;
  width: 22px !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  background-color: #fff !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}
.menu-button.w-nav-button {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 10px !important;
}

/* Burger line transition */
.burger-line {
  transition: transform 0.35s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* Hamburger → X: symmetric transforms
   gap: 5px + height: 1px = 6px center-to-center */
.w--open .burger-line.top { transform: translateY(6px) rotate(45deg) !important; }
.w--open .burger-line.middle { opacity: 0 !important; }
.w--open .burger-line.bottom { transform: translateY(-6px) rotate(-45deg) !important; }

/* Hide mobile-only nav items on tablet+ (already in top nav) */
@media screen and (min-width: 768px) {
  .div-block-6.large-menu.text-white .d-md-none.w-nav-link,
  .nav-sub.d-md-none {
    display: none !important;
  }
}

/* ─── MOBILE NAV: SUBLINK CHEVRONS + ACCORDION ─── */

/* Chevron indicator inside parent links */
.nav-chevron {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.3em;
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.has-sub.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 0.7;
}

/* Submenu — hidden by default, expands below parent link */
.nav-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), padding 0.3s ease;
  padding: 0;
  text-align: center;
}
.nav-sub.is-open {
  max-height: 300px;
  padding: 0.4rem 0 0.6rem;
}
.nav-sub a {
  font-family: 'Inter', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 300 !important;
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
  display: block;
}
.nav-sub a:hover {
  color: #a87af5 !important;
  transform: none !important;
}

/* Main links — Noto Serif with gradient underline */
.div-block-6.large-menu.text-white .w-nav-link,
.div-block-6.large-menu.text-white .d-md-none.w-nav-link,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link {
  font-family: 'Noto Serif', serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-transform: none !important;
  text-decoration: none !important;
  border-bottom: none !important;
  color: rgba(255,255,255,0.85) !important;
  position: relative;
  display: block;
  padding-bottom: 0.4em !important;
  transition: color 0.5s ease, padding-left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), text-shadow 0.5s ease !important;
}
.div-block-6.large-menu.text-white .w-nav-link:hover,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link:hover {
  color: #a87af5 !important;
  text-shadow: 0 0 20px rgba(168, 122, 245, 0.3);
}
/* Gradient underline — expands from center on hover */
.div-block-6.large-menu.text-white .w-nav-link::after,
.div-block-6.large-menu.text-white .d-md-none.w-nav-link::after,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.15em;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #a87af5, #5a8fff);
  transition: width 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.div-block-6.large-menu.text-white .w-nav-link:hover::after,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link:hover::after {
  width: 100%;
  left: 0%;
}

/* Current page link — gradient text always visible */
.div-block-6.large-menu.text-white .w-nav-link.w--current,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link.w--current {
  background: linear-gradient(90deg, #a87af5, #5a8fff) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-decoration: none !important;
}
.div-block-6.large-menu.text-white .w-nav-link.w--current::after,
.div-block-6.large-menu.text-white .nav-link-2.w-nav-link.w--current::after {
  width: 100%;
  left: 0%;
}

/* Contact section at bottom */
.div-block-6.large-menu.text-white .text-align-right.align-bottom {
  margin-top: auto !important;
  padding-top: 2rem;
  border-top: 1px solid rgba(168,122,245,0.1) !important;
}
.div-block-6.large-menu.text-white .links-menu {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}
.div-block-6.large-menu.text-white .links-menu:hover {
  color: #a87af5;
}

/* Stagger entrance — links start hidden, animated by JS */
.div-block-6.large-menu.text-white .menu-reveal {
  opacity: 0;
  transform: translateX(20px);
}

/* ─── SLIDE MENU MOBILE ─── */
@media screen and (max-width: 991px) {
  .div-block-6.large-menu.text-white {
    font-size: 1.8rem !important;
    padding: 3rem 2.5rem !important;
  }
  .div-block-6.large-menu.text-white .w-nav-link,
  .div-block-6.large-menu.text-white .d-md-none.w-nav-link,
  .div-block-6.large-menu.text-white .nav-link-2.w-nav-link {
    font-size: 1.6rem !important;
    padding: 0.75rem 0 !important;
  }
}
@media screen and (max-width: 767px) {
  .div-block-6.large-menu.text-white {
    font-size: 1.4rem !important;
    padding: 2.5rem 2rem !important;
    align-items: center !important;
    text-align: center !important;
  }
  .div-block-6.large-menu.text-white .w-nav-link,
  .div-block-6.large-menu.text-white .d-md-none.w-nav-link,
  .div-block-6.large-menu.text-white .nav-link-2.w-nav-link {
    font-size: 1.3rem !important;
    padding: 0.6rem 0 !important;
  }
}
@media screen and (max-width: 479px) {
  .div-block-6.large-menu.text-white {
    font-size: 1.2rem !important;
    padding: 2rem 1.5rem !important;
  }
  .div-block-6.large-menu.text-white .w-nav-link,
  .div-block-6.large-menu.text-white .d-md-none.w-nav-link,
  .div-block-6.large-menu.text-white .nav-link-2.w-nav-link {
    font-size: 1.1rem !important;
    padding: 0.5rem 0 !important;
  }
}

/* ─── CUSTOM CURSOR — keep above nav (z-index:10000) ─── */
.custom-cursor {
  z-index: 10010 !important;
}
.cursor-spray {
  z-index: 10009 !important;
}

/* ─── PHASE TIMELINE RIBBON ─── */
.phase-ribbon {
  display: flex;
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.phase-ribbon__group {
  flex: 1;
  text-decoration: none !important;
  padding: 0;
  transition: opacity 0.4s ease;
}
.phase-ribbon__group:hover {
  transform: none !important;
}
.phase-ribbon__group:hover .phase-ribbon__label {
  color: rgba(255,255,255,0.8);
}
.phase-ribbon__group:hover .phase-ribbon__steps {
  color: rgba(255,255,255,0.7);
}
.phase-ribbon__group:hover .phase-ribbon__line {
  background: rgba(255,255,255,0.25);
}
.phase-ribbon__group--active .phase-ribbon__label {
  color: #a87af5;
}
.phase-ribbon__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.5rem;
  transition: color 0.4s ease;
}
.phase-ribbon__group--active .phase-ribbon__label {
  color: #a87af5;
}
.phase-ribbon__steps {
  display: flex;
  gap: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
  margin-bottom: 0.6rem;
  transition: color 0.4s ease;
}
.phase-ribbon__group--active .phase-ribbon__steps {
  color: rgba(255,255,255,0.7);
}
.phase-ribbon__line {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-right: 1.5rem;
  transition: background 0.4s ease;
}
.phase-ribbon__group:last-child .phase-ribbon__line {
  margin-right: 0;
}
.phase-ribbon__group--active .phase-ribbon__line {
  height: 2px;
  background: linear-gradient(90deg, #a87af5, #5a8fff);
}
@media screen and (max-width: 767px) {
  .phase-ribbon {
    flex-direction: column;
    gap: 1rem;
  }
  .phase-ribbon__line {
    margin-right: 0;
  }
}

/* ─── TECHNOLOGY GRID ─── */
.tech-section {
  text-align: center;
}
.tech-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 3rem;
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.tech-grid__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}
.tech-grid__item img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  opacity: 1;
  transition: all 0.4s ease;
}
.tech-grid__item:hover img {
  filter: brightness(0) invert(27%) sepia(80%) saturate(5000%) hue-rotate(255deg);
  transform: scale(1.1) !important;
}
.tech-grid__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  transition: color 0.4s ease;
}
.tech-grid__item:hover .tech-grid__label {
  color: rgba(255,255,255,0.7);
}
.tech-section__link {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none !important;
  margin-top: 3rem;
  padding: 1rem 2.5rem;
  background: transparent;
  border: 1px solid rgba(168,122,245,0.3);
  border-radius: 0;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.tech-section__link:hover {
  color: #fff;
  background: rgba(168,122,245,0.08);
  border-color: #a87af5;
  box-shadow: 0 0 30px rgba(168,122,245,0.2), 0 0 60px rgba(123,45,255,0.08);
  transform: none !important;
}
.tech-section__link span {
  transition: transform 0.3s ease;
  display: inline-block;
}
.tech-section__link:hover span {
  transform: translateX(4px);
}
.tech-grid__heading {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a87af5;
  margin-bottom: -0.5rem;
}
@media screen and (max-width: 767px) {
  .tech-grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 2rem 1.5rem;
  }
  .tech-grid__item img {
    width: 67px;
    height: 67px;
  }
}

/* ─── SHARED FORM STYLES ─── */
.form_field-label,
.contact-form .form-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.6rem;
}
.form_input,
.contact-form .form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
  color: #111 !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  -webkit-appearance: none;
}
.form_input::placeholder,
.contact-form .form-input::placeholder {
  color: rgba(0,0,0,0.3) !important;
}
.form_input:focus,
.contact-form .form-input:focus {
  border-color: #7b2dff !important;
  box-shadow: 0 0 0 3px rgba(123,45,255,0.15);
}
.form_input.is-text-area,
.contact-form textarea.form-input {
  min-height: 140px;
  resize: vertical;
}
.form_field-wrapper {
  margin-bottom: 1.5rem;
}
/* Checkbox */
.form_checkbox,
.contact-form .form-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.form_checkbox-label,
.contact-form .form-checkbox-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  line-height: 1.5;
}
.form_checkbox-label a,
.contact-form .form-checkbox-label a {
  color: #a87af5;
  text-decoration: none;
}
.form_checkbox-label a:hover,
.contact-form .form-checkbox-label a:hover {
  color: #fff;
  transform: none !important;
}
/* Submit button — shared style */
.contact9_form .btn-primary.accent-button,
.contact-form__submit {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem !important;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff !important;
  padding: 1rem 2.5rem !important;
  background: transparent !important;
  border: 1px solid rgba(168,122,245,0.3) !important;
  border-radius: 5px !important;
  cursor: pointer;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease !important;
  width: 100%;
  text-align: center;
}
.contact9_form .btn-primary.accent-button:hover,
.contact-form__submit:hover {
  border-color: #a87af5 !important;
  box-shadow: 0 0 30px rgba(168,122,245,0.2), 0 0 60px rgba(123,45,255,0.08);
  background: rgba(168,122,245,0.08) !important;
  color: #fff !important;
  transform: none !important;
}

/* ─── SITE FOOTER ─── */
.site-footer {
  background: #000;
  padding: 0 5vw 2.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* CTA tagline */
.site-footer__cta {
  padding: 5rem 0 4rem;
  text-align: center;
}
.site-footer__cta-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a87af5;
  margin-bottom: 1.2rem;
}
.site-footer__cta-heading {
  font-family: 'Noto Serif', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color 0.4s ease;
  display: inline-block;
}
.site-footer__cta-heading span {
  background: linear-gradient(135deg, #a87af5 0%, #7b2dff 50%, #5a8fff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.site-footer__cta-heading:hover {
  color: rgba(255,255,255,0.55);
  transform: none !important;
}

/* Divider */
.site-footer__divider {
  height: 1px;
  background: rgba(255,255,255,0.06);
}

/* Main grid */
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  padding: 2.5rem 0;
}
.site-footer__col-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

/* Footer nav — two columns */
.site-footer__nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 2rem;
}
.site-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.site-footer__nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding: 4px 0;
  width: fit-content;
}
.site-footer__nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #a87af5, #5a8fff);
  transition: width 0.35s ease, left 0.35s ease;
}
.site-footer__nav-link:hover {
  color: #fff;
  transform: none !important;
}
.site-footer__nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Contact + text */
.site-footer__contact-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.site-footer__contact-link {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  line-height: 1.9;
  transition: color 0.3s ease;
}
.site-footer__contact-link:hover {
  color: #a87af5;
  transform: none !important;
}

/* Bottom row */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 0 0;
  gap: 2rem;
}
.site-footer__logo {
  flex-shrink: 0;
  text-decoration: none;
}
.site-footer__logo:hover {
  transform: none !important;
}
.site-footer__logo img {
  height: 32px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.site-footer__logo:hover img {
  opacity: 0.9;
}
.site-footer__copyright {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
}
.site-footer__legal {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}
.site-footer__legal-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer__legal-link:hover {
  color: rgba(255,255,255,0.7);
  transform: none !important;
}

/* Footer responsive */
@media screen and (max-width: 991px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  /* Nav spans full row; Adresse + Kontakt fill the two columns below */
  .site-footer__nav-cols {
    grid-column: 1 / -1;
  }
  .site-footer__nav {
    gap: 0.2rem 1.5rem;
  }
}
@media screen and (max-width: 767px) {
  .site-footer {
    padding: 0 1.5rem 2rem;
  }
  .site-footer__cta {
    padding: 3.5rem 0 3rem;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
  }
  .site-footer__bottom {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .site-footer__legal {
    flex-wrap: wrap;
    gap: 1rem;
    margin-left: 0;
    width: 100%;
  }
}

/* ─── Portfolio Lightbox / Carousel ─── */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  cursor: default;
}
.pf-lightbox.active {
  opacity: 1;
  visibility: visible;
}
body.pf-lightbox-open .custom-cursor,
body.pf-lightbox-open .cursor-spray {
  display: none !important;
}
.pf-lightbox__img {
  max-width: 88vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 6px;
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}
.pf-lightbox.active .pf-lightbox__img {
  transform: scale(1);
}
.pf-lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 2;
}
.pf-lightbox__close:hover {
  background: rgba(255,255,255,0.15);
  transform: none !important;
}
.pf-lightbox__close svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}
.pf-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.25s ease;
  z-index: 2;
}
.pf-lightbox__arrow:hover {
  background: rgba(168,122,245,0.15);
  border-color: rgba(168,122,245,0.3);
  transform: translateY(-50%) !important;
}
.pf-lightbox__arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}
.pf-lightbox__arrow--prev { left: 1.5rem; }
.pf-lightbox__arrow--next { right: 1.5rem; }
.pf-lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.5);
}
@media (max-width: 767px) {
  .pf-lightbox__img { max-width: 94vw; max-height: 80vh; }
  .pf-lightbox__arrow { width: 40px; height: 40px; }
  .pf-lightbox__arrow--prev { left: 0.75rem; }
  .pf-lightbox__arrow--next { right: 0.75rem; }
  .pf-lightbox__close { top: 1rem; right: 1rem; }
}

/* ─── ACCESSIBILITY: Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .image-8 {
    animation: none !important;
    opacity: 0.7 !important;
  }
  .hero-scroll-line {
    animation: none !important;
    opacity: 0.5 !important;
  }
}

/* ─── ACCESSIBILITY: Focus Visible ─── */
*:focus-visible {
  outline: 2px solid #a87af5;
  outline-offset: 3px;
  border-radius: 3px;
}
.pf-lightbox__close:focus-visible,
.pf-lightbox__arrow:focus-visible {
  outline-color: #fff;
  outline-offset: 2px;
}
.w-nav-button:focus-visible {
  outline: 2px solid #a87af5;
  outline-offset: 4px;
}

/* ─── ACCESSIBILITY: Skip to Content ─── */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 100000;
  padding: 0.75rem 1.5rem;
  background: #a87af5;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
}

/* ─── FIX: Replace global scale hover with subtle color transition ─── */
a:hover, .dropdown-toggle:hover {
  transform: none !important;
}
a {
  transition: color 0.25s ease;
}

/* ─── GLOBAL BUTTON STYLE ─── */
.btn-primary,
.accent-button {
  position: relative;
  background: transparent !important;
  border: 1px solid rgba(168,122,245,0.3) !important;
  color: #fff !important;
  padding: 1rem 2.5rem !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease !important;
  cursor: pointer;
}
.btn-primary:hover,
.accent-button:hover {
  border-color: #a87af5 !important;
  box-shadow: 0 0 30px rgba(168,122,245,0.2), 0 0 60px rgba(123,45,255,0.08);
  background: rgba(168,122,245,0.08) !important;
  transform: none !important;
  color: #fff !important;
}
/* On white / light backgrounds */
.bg-white .btn-primary,
.bg-white .accent-button,
.blurred-white-section .btn-primary,
.blurred-white-section .accent-button {
  color: #1a1a1a !important;
  border-color: rgba(123,45,255,0.4) !important;
}
.bg-white .btn-primary:hover,
.bg-white .accent-button:hover,
.blurred-white-section .btn-primary:hover,
.blurred-white-section .accent-button:hover {
  color: #7b2dff !important;
  border-color: #7b2dff !important;
  background: rgba(123,45,255,0.06) !important;
  box-shadow: 0 0 30px rgba(123,45,255,0.12), 0 0 60px rgba(123,45,255,0.04);
}

/* === CTA TYPOGRAPHY === */
.cta-title {
  font-family: 'Noto Serif', serif;
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .cta-title { font-size: 2.2rem; }
}

/* === CTA BACKGROUND ANIMATION === */
@keyframes cta-bg-drift {
  0%   { transform: scale(1.06) translate(0%, 0%);      filter: brightness(0.88) saturate(1.1); }
  25%  { transform: scale(1.09) translate(-1.2%, 0.6%); filter: brightness(0.96) saturate(1.25); }
  50%  { transform: scale(1.07) translate(-0.4%, -0.8%); filter: brightness(0.82) saturate(1.15); }
  75%  { transform: scale(1.1)  translate(0.8%, 0.4%);  filter: brightness(0.92) saturate(1.2); }
  100% { transform: scale(1.06) translate(0%, 0%);      filter: brightness(0.88) saturate(1.1); }
}
.cta-bg-animated {
  animation: cta-bg-drift 18s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform, filter;
}
