/* Behutsame Modernisierung der EINFLUSS-Seite, 2026 */
:root {
  --accent: #d9a441;
  --ink: #ffffff;
  --paper: #f7f4ee;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 2rem;
}

body {
  color: var(--ink);
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .btn {
  font-family: "Segoe UI", Calibri, Arial, sans-serif;
}

img {
  height: auto;
}

.grid-overlay {
  pointer-events: none;
}

.page-hero {
  background-color: #111;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  isolation: isolate;
  overflow: hidden;
}

.page-hero.parallax-ready {
  background-image: none !important;
}

.page-hero > .parallax-layer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  inset: -32% 0;
  pointer-events: none;
  position: absolute;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  z-index: 0;
}

.page-hero::before {
  background: rgba(8, 12, 18, 0.52);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

#lieder::before {
  background: rgba(8, 12, 18, 0.9);
}

.home-content,
.home-content__main {
  position: relative;
  z-index: 4;
}

.page-hero .home-content__main,
.page-hero .home-content__main h1,
.page-hero .home-content__main h2,
.page-hero .home-content__main h3,
.page-hero .home-content__main p {
  color: #fff;
}

.page-hero .home-content__main h2,
.page-hero .home-content__main p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.page-hero .home-content__scroll {
  z-index: 5;
}

.header-menu-toggle {
  border-radius: 999px;
}

.header-menu-toggle:focus-visible,
.header-nav a:focus-visible,
a:focus-visible,
.btn:focus-visible {
  outline: 3px solid #ffd36a;
  outline-offset: 4px;
}

.header-nav__close {
  align-items: center;
  display: flex;
  justify-content: center;
}

.header-nav__close span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.historical-note {
  background: rgba(217, 164, 65, 0.14);
  border-left: 4px solid var(--accent);
  display: block;
  margin: 1.6rem 0;
  padding: 1rem 1.2rem;
}

#woche .btn {
  margin: 0.35rem;
  min-width: 8rem;
}

#lieder .home-content {
  height: auto;
  min-height: 100vh;
  padding-bottom: 8rem;
  padding-top: 8rem;
}

#lieder .home-content__main {
  max-width: 82rem;
}

#lieder h2 {
  color: #ffd36a;
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-top: 5rem;
}

#lieder p {
  font-size: clamp(1.7rem, 2.2vw, 2rem);
  line-height: 1.65;
}

.skip-link {
  background: #fff;
  color: #111;
  left: 1rem;
  padding: 1rem 1.4rem;
  position: fixed;
  top: -8rem;
  z-index: 10000;
}

.skip-link:focus {
  top: 1rem;
}

@media (max-width: 720px) {
  .s-home {
    min-height: 100svh;
  }

  .home-content {
    padding-bottom: 7rem;
    padding-top: 7rem;
  }

  .home-content__main h1 {
    font-size: clamp(4.2rem, 15vw, 6.5rem);
    overflow-wrap: anywhere;
  }

  .home-content__main h2 {
    font-size: clamp(2.2rem, 7vw, 3.2rem);
  }

  .home-content__button .btn {
    display: block;
    margin: 1rem 0;
    width: 100%;
  }

  .about-process {
    display: block;
  }

  .item-process {
    width: 100%;
  }

  #lieder .home-content {
    padding: 6rem 0 8rem;
  }

  #lieder .home-content__main {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  #lieder .home-content__scroll {
    display: none;
  }
}

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

  .page-hero > .parallax-layer {
    transform: none !important;
    will-change: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
