/* Dezente visuelle Veredelung: bestehendes Erscheinungsbild, klarere Interaktion. */
:root {
  --polish-shadow: 0 18px 42px rgb(18 48 26 / 12%);
  --polish-shadow-hover: 0 24px 50px rgb(18 48 26 / 19%);
  --polish-ring: 0 0 0 4px rgb(184 212 82 / 34%);
}

::selection {
  background: #b8d452;
  color: #10241a;
}

.site-header {
  box-shadow: 0 6px 20px rgb(19 35 27 / 4%);
}

.hero-copy,
.service-hero-copy {
  position: relative;
}

.hero-copy::before,
.service-hero-copy::before {
  position: absolute;
  top: clamp(2rem, 6vw, 5rem);
  left: 0;
  width: 3px;
  height: 4.25rem;
  border-radius: 99px;
  background: linear-gradient(#b8d452, #e47b43);
  content: "";
}

.button {
  box-shadow: 0 8px 18px rgb(18 48 26 / 9%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease,
    border-color 180ms ease, color 180ms ease;
}

.button:focus-visible,
.application-card:focus-visible,
.site-header a:focus-visible {
  outline: none;
  box-shadow: var(--polish-ring);
}

.button-primary {
  box-shadow: 0 10px 22px rgb(18 48 26 / 18%);
}

.application-card,
.service-card,
.process-grid article,
.practice-video-card,
.video-card {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease,
    background-color 220ms ease;
}

.application-card,
.service-card {
  border-radius: 14px;
}

.application-card-image,
.service-hero-image,
.hero-visual {
  isolation: isolate;
}

.application-card-image::before,
.service-hero-image::before,
.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(135deg, rgb(184 212 82 / 20%), transparent 42%);
  content: "";
  pointer-events: none;
}

.home-video-prompt {
  border-top: 3px solid #b8d452;
  box-shadow: 0 14px 34px rgb(18 48 26 / 8%);
}

.home-video-prompt > div > p:last-child {
  max-width: 44rem;
  margin: 0.8rem 0 0;
  color: var(--ink-soft, #365044);
  line-height: 1.6;
}

#videos {
  scroll-margin-top: 1.25rem;
}

.practice-video-card,
.video-card {
  border: 1px solid rgb(184 212 82 / 28%);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 25px rgb(18 48 26 / 17%);
  }

  .application-card:hover,
  .service-card:hover,
  .process-grid article:hover,
  .practice-video-card:hover,
  .video-card:hover {
    box-shadow: var(--polish-shadow-hover);
  }

  .application-card:hover,
  .service-card:hover,
  .process-grid article:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 650px) {
  .hero-copy::before,
  .service-hero-copy::before {
    top: 2rem;
    height: 3.1rem;
  }

  .home-video-prompt {
    box-shadow: 0 10px 24px rgb(18 48 26 / 8%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
