/* ==========================================================================
   NU ART | Brand Identity Design – style.css
   Eine Datei für die gesamte Website.
   Aufbau:
   01 Schriften   02 Variablen   03 Reset & Basis   04 Typografie
   05 Layout      06 Buttons     07 Header & Navigation
   08 Footer      09 Sektionen   10 Startseite      11 Brand-Design
   12 Projekte    13 Kontakt     14 Rechtstexte     15 Grafik-Seite (Aufstieg)
   16 Lightbox    17 Hilfsklassen 18 Reduzierte Bewegung & Druck
   ========================================================================== */

/* 01 Schriften (lokal eingebunden, kein Google-Server) ------------------- */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* 02 Variablen ------------------------------------------------------------ */
:root {
  --c-black: #000000;
  --c-ink: #111111;
  --c-white: #ffffff;
  --c-yellow: #ffb111;
  --c-yellow-dark: #e09a00;
  --c-grey-050: #f4f4f4;
  --c-grey-200: #d9d9d9;
  --c-grey-600: #4a4a4a;
  --c-grey-400: #b5b5b5;
  --c-error: #b00020;
  --c-success: #1d6b3a;

  --f-head: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --fs-xs: 0.8rem;
  --fs-sm: 0.9rem;
  --fs-base: 1rem;
  --fs-lead: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  --fs-display: clamp(2rem, 1.2rem + 3.6vw, 4rem);

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: clamp(3rem, 2rem + 4vw, 6rem);

  --container: 1360px;
  --container-wide: 1680px;
  --container-narrow: 980px;
  --gutter: clamp(1rem, 0.25rem + 3vw, 3.5rem);
  --header-h: 92px;
  --radius: 0;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 03 Reset & Basis ---------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--c-white);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.88rem + 0.28vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--c-yellow-dark);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 3px;
}

::selection {
  background: var(--c-yellow);
  color: var(--c-black);
}

/* 04 Typografie ------------------------------------------------------------ */
h1,
h2,
h3,
h4 {
  font-family: var(--f-head);
  line-height: 1.15;
  margin: 0 0 var(--space-2);
  letter-spacing: 0.01em;
}

h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  text-transform: uppercase;
}

h3 {
  font-size: var(--fs-h3);
  font-weight: 800;
  text-transform: uppercase;
}

h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

p,
ul,
ol {
  margin: 0 0 var(--space-2);
}

strong {
  font-weight: 700;
}

.eyebrow {
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}

.display {
  font-family: var(--f-head);
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  margin: 0 0 var(--space-2);
}

.tagline {
  font-family: var(--f-head);
  font-size: var(--fs-lead);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}

.h2-style {
  font-size: var(--fs-h2);
  font-weight: 800;
  text-transform: uppercase;
}

.lead {
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.5;
}

.claim {
  font-weight: 700;
}

.text-center {
  text-align: center;
}

.prose > * + h2 {
  margin-top: var(--space-5);
}

.prose > * + h3 {
  margin-top: var(--space-4);
}

/* 05 Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  position: relative;
  padding-block: var(--space-6);
}

.section--tight {
  padding-block: var(--space-5);
}

.section--dark {
  background-color: var(--c-black);
  color: var(--c-white);
}

.section--dark a:not(.btn):hover {
  color: var(--c-yellow);
}

.section--grey {
  background-color: var(--c-grey-050);
}

.section--pattern-dark {
  background: var(--c-black) url("img/muster-schwarz.png") center / cover no-repeat;
  color: var(--c-white);
}

.section--pattern-light {
  background: var(--c-grey-050) url("img/muster-hellgrau.png") center / cover no-repeat;
}

.section__head {
  max-width: 820px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.grid-2 {
  display: grid;
  gap: var(--space-5) var(--space-6);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stack > * + * {
  margin-top: var(--space-2);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.actions--center {
  justify-content: center;
}

/* Diagonale Trennkante oben (wie Original) */
.divider-top {
  padding-top: calc(var(--space-6) + 40px);
}

.divider-top::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 60px;
  background: var(--divider-color, var(--c-white));
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.divider-top--black {
  --divider-color: var(--c-black);
}

/* 06 Buttons ---------------------------------------------------------------- */
/* Ein einheitlicher Button für die ganze Website.
   Hover: Eine Farbfläche schiebt sich von links ins Feld (hell: schwarz, dunkel: weiß). */
.btn {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-black);
  --btn-fill: var(--c-black);
  --btn-fill-fg: var(--c-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 1rem clamp(2rem, 1.5rem + 1.5vw, 3.5rem);
  border: 0;
  background:
    linear-gradient(var(--btn-fill), var(--btn-fill)) left center / 0% 100% no-repeat,
    var(--btn-bg);
  box-shadow: inset 0 0 0 2px var(--btn-border, transparent);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-size: clamp(0.82rem, 0.75rem + 0.15vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  cursor: pointer;
  transition: background-size 0.45s var(--ease), color 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background-size: 100% 100%, auto;
  color: var(--btn-fill-fg);
}

.btn:focus-visible {
  clip-path: none;
}

/* Auf dunklen Flächen füllt der Button weiß */
.section--dark .btn,
.section--pattern-dark .btn,
.scene .btn,
.contact-hero .btn {
  --btn-fill: var(--c-white);
  --btn-fill-fg: var(--c-black);
}

/* Umriss-Variante (gleiche Form, gleiche Animation) */
.btn--outline {
  --btn-bg: transparent;
  --btn-border: var(--c-yellow);
  --btn-fill: var(--c-yellow);
  --btn-fill-fg: var(--c-black);
}

.section--dark .btn--outline,
.section--pattern-dark .btn--outline,
.btn--outline-light {
  --btn-fg: var(--c-white);
  --btn-fill: var(--c-yellow);
  --btn-fill-fg: var(--c-black);
}

.btn__icon {
  width: 1.2em;
  height: 1.2em;
  flex: none;
}

/* 07 Header & Navigation ----------------------------------------------------- */
.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--c-yellow);
  color: var(--c-black);
  font-weight: 700;
  text-decoration: none;
  transform: translate(-50%, -120%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translate(-50%, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--header-h);
}

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

.site-logo img {
  width: clamp(170px, 12vw + 40px, 240px);
  height: auto;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-black);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__bars::before {
  top: -8px;
}

.nav-toggle__bars::after {
  top: 8px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem clamp(1.5rem, 0.5rem + 1.5vw, 2.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav__link {
  position: relative;
  display: inline-block;
  padding: 0.75rem 0;
  color: var(--c-ink);
  font-size: clamp(0.8rem, 0.7rem + 0.2vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.4rem;
  height: 3px;
  background: var(--c-yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.main-nav__link:hover {
  color: var(--c-ink);
}

.main-nav__link:hover::after,
.main-nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

.main-nav__link[aria-current="page"] {
  font-weight: 700;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--c-grey-050);
  font-size: var(--fs-xs);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin: 0;
  padding: 0.75rem 0;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--c-grey-600);
}

.breadcrumb a {
  color: var(--c-grey-600);
}

.breadcrumb [aria-current="page"] {
  font-weight: 600;
}

/* 08 Footer ------------------------------------------------------------------ */
.site-footer {
  background: var(--c-black);
  color: var(--c-white);
  font-size: var(--fs-sm);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  padding-block: var(--space-5) var(--space-4);
}

.site-footer address {
  font-style: normal;
  line-height: 1.7;
}

.site-footer a {
  color: var(--c-yellow);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--c-yellow);
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  display: inline-block;
  padding: 0.35rem 0;
}

.footer-nav--main ul {
  flex-direction: column;
  gap: 0;
}

.footer-nav--main a {
  color: var(--c-white);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: var(--space-2);
  text-align: center;
  font-size: var(--fs-xs);
}

.site-footer__bottom p {
  margin: 0;
}

/* 09 Sektionen: Seitenkopf (Hero) -------------------------------------------- */
.page-hero {
  display: grid;
  place-items: center;
  min-height: clamp(320px, 55vh, 540px);
  padding-block: var(--space-6);
  text-align: center;
}

.page-hero .eyebrow {
  color: var(--c-yellow);
}

.page-hero .tagline {
  max-width: 760px;
  margin-inline: auto;
}

.page-hero--compact {
  min-height: clamp(220px, 30vh, 320px);
}

/* 10 Startseite -------------------------------------------------------------- */
.home-intro {
  padding-block: var(--space-3);
  text-align: center;
}

.home-intro .eyebrow {
  margin: 0;
  font-weight: 300;
}

.hero-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: clamp(460px, calc(100vh - var(--header-h) - 64px), 1100px);
  padding: var(--space-5) var(--gutter) var(--space-6);
  overflow: hidden;
  color: var(--c-white);
  text-align: center;
  text-decoration: none;
  isolation: isolate;
}

.hero-card:hover {
  color: var(--c-white);
}

.hero-card--brand {
  background: var(--c-black);
}

.hero-card--grafik {
  background: #2b0f3b url("img/hintergrund-landschaft.jpg") center bottom / cover no-repeat;
}

.hero-card__visual {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: grid;
  place-items: center;
}

.hero-card--brand .hero-card__visual img {
  width: clamp(160px, 22vw, 360px);
  transition: transform 0.6s var(--ease);
}

.hero-card--grafik .hero-card__visual {
  place-items: end end;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 45% 0 0 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
  pointer-events: none;
}

.hero-card--grafik .hero-card__visual img {
  width: auto;
  height: 76%;
  max-width: 62%;
  object-fit: contain;
  object-position: right bottom;
  margin-right: -2%;
  transition: transform 0.6s var(--ease);
  transform-origin: bottom right;
}

.hero-card:hover .hero-card__visual img,
.hero-card:focus-visible .hero-card__visual img {
  transform: scale(1.05);
}

.hero-card h2 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 1rem + 2.2vw, 3.2rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-card .tagline {
  font-size: clamp(0.85rem, 0.7rem + 0.4vw, 1.15rem);
  padding: 0.35rem 0.9rem;
  background: rgba(0, 0, 0, 0.35);
}

.feature-cols {
  text-align: center;
}

.feature-cols .grid-2 {
  gap: var(--space-5) clamp(3rem, 1rem + 6vw, 9rem);
}

.feature-cols h3 {
  margin-bottom: var(--space-3);
}

.statement {
  text-align: center;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery a,
.gallery figure {
  display: block;
  margin: 0;
  overflow: hidden;
  background: var(--c-grey-200);
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery a:hover img,
.gallery a:focus-visible img {
  transform: scale(1.06);
}

.gallery figcaption {
  padding: 0.6rem 0.25rem 0;
  font-size: var(--fs-xs);
  color: var(--c-grey-600);
}

.section--dark .gallery figcaption {
  color: var(--c-grey-400);
}

/* FAQ (Akkordeon mit details/summary) */
.faq {
  max-width: 1080px;
  margin-inline: auto;
}

.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.faq__item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.faq__item summary {
  position: relative;
  display: block;
  padding: 1.15rem 3rem 1.15rem 0.5rem;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--c-yellow);
  border-bottom: 2px solid var(--c-yellow);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq__item summary h3 {
  display: inline;
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.2rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.faq__item summary:hover h3 {
  color: var(--c-yellow);
}

.faq__answer {
  padding: 0 0.5rem 1.25rem;
  color: #e6e6e6;
  text-align: center;
}

.explore {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) clamp(2rem, 1rem + 5vw, 8rem);
  max-width: 1200px;
  margin-inline: auto;
}

.explore__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

.explore__visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: clamp(220px, 28vw, 420px);
}

.explore__visual img {
  width: auto;
  height: 100%;
  transition: transform 0.6s var(--ease);
  transform-origin: bottom center;
}

.explore__visual--signet img {
  height: 30%;
}

.explore__item:hover .explore__visual img {
  transform: scale(1.05) rotate(-2deg);
}

.explore .btn {
  min-width: min(100%, 340px);
}

/* 11 Brand-Design ------------------------------------------------------------ */
.media-text {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-5);
  align-items: center;
}

.media-text__media img {
  width: 100%;
  box-shadow: var(--shadow);
}

.phases {
  counter-reset: phase;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5) clamp(3rem, 1rem + 5vw, 8rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.phase {
  display: grid;
  grid-template-columns: clamp(96px, 5vw + 40px, 132px) minmax(0, 1fr);
  gap: var(--space-3);
  align-items: start;
}

.phase__icon {
  display: grid;
  place-items: center;
  width: clamp(96px, 5vw + 40px, 132px);
  aspect-ratio: 1 / 1;
}

.phase__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.phase h3 {
  margin-bottom: 0.5rem;
  color: var(--c-white);
}

.phase p {
  margin: 0;
  color: #e6e6e6;
}

/* 12 Projekte ---------------------------------------------------------------- */
.project-list {
  display: grid;
  gap: var(--space-6);
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 5vw, 7rem);
  align-items: center;
}

.project-teaser h2 {
  font-size: clamp(1.6rem, 1rem + 2vw, 3rem);
}

.project-teaser:nth-child(even) .project-teaser__media {
  order: 2;
}

.project-teaser__media {
  display: block;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.project-teaser__media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-teaser__media:hover img,
.project-teaser__media:focus-visible img {
  transform: scale(1.04);
}

.project-teaser h2 {
  margin-bottom: 0.4rem;
}

.project-teaser h2 a {
  text-decoration: none;
}

.project-teaser h2 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 3px;
}

.project-teaser .btn {
  margin-top: var(--space-1);
}

.project-services {
  margin: 0 0 var(--space-3);
  color: var(--c-grey-600);
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--dark .project-services,
.section--pattern-dark .project-services {
  color: var(--c-yellow);
}

.project-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 5vw, 7rem);
  align-items: start;
}

.project-head__media {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  margin: 0;
}

.project-head__media img,
.project-head__media .before-after {
  width: 100%;
  box-shadow: var(--shadow);
}

.project-facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.35rem 1.25rem;
  margin: var(--space-4) 0 0;
  padding: var(--space-3);
  background: var(--c-grey-050);
  font-size: var(--fs-sm);
}

.project-facts dt {
  font-weight: 700;
}

.project-facts dd {
  margin: 0;
}

.project-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
}

.project-pager a {
  display: inline-flex;
  flex-direction: column;
  max-width: 48%;
  text-decoration: none;
}

.project-pager a:last-child {
  margin-left: auto;
  text-align: right;
}

.project-pager small {
  color: var(--c-grey-600);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-pager span {
  font-family: var(--f-head);
  font-weight: 800;
  text-transform: uppercase;
}

/* Vorher/Nachher-Vergleich */
.before-after {
  position: relative;
  --pos: 50%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--c-grey-200);
  user-select: none;
}

.before-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.before-after__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: var(--c-white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
  pointer-events: none;
}

.before-after__handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  border: 3px solid var(--c-white);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}

.before-after__label {
  position: absolute;
  top: 0.75rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}

.before-after__label--before {
  left: 0.75rem;
}

.before-after__label--after {
  right: 0.75rem;
}

.before-after__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}

.before-after__range:focus-visible + .before-after__handle::after {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.before-after figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(0, 0, 0, 0.65);
  color: var(--c-white);
  font-size: var(--fs-xs);
  pointer-events: none;
}

/* 13 Kontakt ----------------------------------------------------------------- */
.contact-hero {
  padding-block: clamp(3rem, 2rem + 4vw, 7rem);
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 1rem + 5vw, 8rem);
  align-items: center;
}

.contact-hero__intro .eyebrow {
  color: var(--c-yellow);
}

.contact-hero__intro .display {
  font-size: clamp(2.4rem, 1rem + 4.4vw, 6rem);
}

.contact-hero__intro .tagline {
  margin-bottom: var(--space-4);
}

.contact-hero__text {
  max-width: 560px;
  color: #e6e6e6;
}

.contact-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: var(--space-4) 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: var(--space-2);
  align-items: start;
}

.contact-list svg {
  width: 48px;
  height: 48px;
  padding: 11px;
  border: 2px solid var(--c-yellow);
  border-radius: 50%;
  color: var(--c-yellow);
}

.contact-list__label {
  display: block;
  color: var(--c-grey-400);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list a {
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
  font-weight: 700;
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--c-yellow);
}

.contact-list address {
  font-style: normal;
  line-height: 1.6;
}

.form__title {
  grid-column: 1 / -1;
  margin-bottom: 0;
  font-size: clamp(1.3rem, 1rem + 1vw, 2rem);
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 1rem + 3vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding-top: var(--space-3);
  border-top: 4px solid var(--c-yellow);
}

.step__nr {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--c-yellow-dark);
  font-family: var(--f-head);
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
}

.step h3 {
  font-size: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem);
}

/* Kontaktformular: helle Karte, gelber Akzent oben, ruhige abgerundete Felder */
.form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.25rem;
  padding: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
  border-top: 6px solid var(--c-yellow);
  background: var(--c-white);
  color: var(--c-ink);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), calc(100% - 36px) 100%, 0 100%);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form__field--full {
  grid-column: 1 / -1;
}

.form label,
.form legend {
  color: #3a3a3a;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form .req {
  color: var(--c-yellow-dark);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form select,
.form textarea {
  width: 100%;
  min-height: 54px;
  padding: 0.9rem 1.1rem;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  background: #fbfbfb;
  color: var(--c-ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

.form input::placeholder,
.form textarea::placeholder {
  color: #9a9a9a;
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: #cfcfcf;
}

.form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23e09a00' stroke-width='2.5'/%3E%3C/svg%3E");
  background-position: right 1rem center;
  background-repeat: no-repeat;
  background-size: 18px;
  cursor: pointer;
}

.form textarea {
  min-height: 170px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--c-yellow);
  background-color: var(--c-white);
  box-shadow: 0 0 0 4px rgba(255, 177, 17, 0.22);
  outline: none;
}

.form [aria-invalid="true"] {
  border-color: var(--c-error);
  box-shadow: 0 0 0 4px rgba(176, 0, 32, 0.12);
}

.form__hint {
  color: var(--c-grey-600);
  font-size: var(--fs-xs);
}

.form__error {
  color: var(--c-error);
  font-size: var(--fs-xs);
  font-weight: 600;
}

.form__check {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: var(--fs-sm);
}

.form__check input {
  appearance: none;
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  margin: 0;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fbfbfb center / 16px no-repeat;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.form__check input:checked {
  border-color: var(--c-yellow);
  background-color: var(--c-yellow);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='%23000' stroke-width='3'/%3E%3C/svg%3E");
}

.form__check input:focus-visible {
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

.form__check label {
  color: #3a3a3a;
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  margin-top: 0.25rem;
}

.form__submit .btn {
  flex: 1 1 260px;
}

.form .btn {
  --btn-fill: var(--c-black);
  --btn-fill-fg: var(--c-yellow);
}

.form a {
  color: var(--c-ink);
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 2px;
}

.notice {
  grid-column: 1 / -1;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--c-error);
  background: #fdecee;
  font-weight: 600;
}

.notice--success {
  border-left-color: var(--c-success);
  background: #e8f5ec;
}

/* 13b Über mich ------------------------------------------------------------ */
.about-hero {
  padding-block: clamp(3rem, 2rem + 5vw, 8rem);
}

.about-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 1rem + 5vw, 8rem);
  align-items: center;
}

.about-hero__photo {
  position: relative;
  margin: 0;
  max-width: 520px;
}

.about-hero__photo::before {
  content: "";
  position: absolute;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 3px solid var(--c-yellow);
  z-index: 0;
}

.about-hero__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%);
}

.about-hero__text .eyebrow {
  color: var(--c-yellow);
}

.about-hero__text .display {
  font-size: clamp(2.4rem, 1rem + 4.6vw, 6rem);
}

.about-hero__text .tagline {
  margin-bottom: var(--space-4);
}

.about-hero__text .lead {
  max-width: 620px;
  color: #ececec;
  font-weight: 400;
}

.story {
  display: grid;
  gap: clamp(3rem, 2rem + 3vw, 5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.story__item {
  position: relative;
  padding-left: clamp(1.25rem, 0.5rem + 2vw, 2.5rem);
  border-left: 4px solid var(--c-yellow);
}

.story__kicker {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--c-yellow-dark);
  font-family: var(--f-head);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.story__item h3 {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2.3rem);
}

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.value {
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
  border-top: 4px solid var(--c-yellow);
  background: #111;
}

.value h3 {
  color: var(--c-yellow);
  font-size: clamp(1.15rem, 0.95rem + 0.7vw, 1.6rem);
  text-transform: none;
}

.value p {
  margin: 0;
  color: #e6e6e6;
}

.about-ylvi__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: center;
}

@media (max-width: 980px) {
  .about-hero__grid,
  .about-ylvi__grid,
  .values {
    grid-template-columns: 1fr;
  }

  .about-hero__photo {
    max-width: 380px;
    margin-inline: auto 1.25rem;
  }
}

/* 14 Rechtstexte ------------------------------------------------------------- */
.legal {
  overflow-wrap: anywhere;
}

.legal h2 {
  font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem);
}

.legal h3 {
  font-size: 1.1rem;
  text-transform: none;
}

.legal ul,
.legal ol {
  padding-left: 1.4rem;
}

.legal li + li {
  margin-top: 0.3rem;
}

.legal table {
  width: 100%;
  margin: 0 0 var(--space-3);
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.legal th,
.legal td {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--c-grey-200);
  text-align: left;
  vertical-align: top;
}

.legal blockquote {
  margin: 0 0 var(--space-3);
  padding: var(--space-2) var(--space-3);
  border-left: 4px solid var(--c-yellow);
  background: var(--c-grey-050);
}

.legal a {
  color: var(--c-ink);
  text-decoration-color: var(--c-yellow);
  text-decoration-thickness: 2px;
}

.legal-toc {
  margin-bottom: var(--space-5);
  padding: var(--space-3);
  background: var(--c-grey-050);
}

/* 15 Grafik-Seite: Aufstieg von unten nach oben ------------------------------ */
.ascent-page {
  background: var(--c-black);
}

/* verhindert kurzes Aufblitzen des Seitenendes, bevor nach unten gesprungen wird */
.ascent-preparing body {
  opacity: 0;
}

/* Mit JavaScript wird die Reihenfolge visuell umgedreht:
   Der Besuch startet unten auf der Farm und führt nach oben ins All.
   Die HTML-Reihenfolge bleibt logisch (Screenreader, Suchmaschinen, ohne JS). */
.js .ascent-wrap {
  display: flex;
  flex-direction: column-reverse;
}

.js .ascent {
  display: flex;
  flex-direction: column-reverse;
}

.js .sky {
  display: flex;
  flex-direction: column-reverse;
}

.scene {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.scene .container {
  position: relative;
  z-index: 2;
}

.scene__decor {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  will-change: transform;
}

/* Szene 1: Farm am Abend (Start) */
.scene--farm {
  display: flex;
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  padding-block: var(--space-5);
  background:
    url("img/grafik/farm-abendlandschaft.jpg") right top / cover no-repeat,
    #d53652;
  color: var(--c-white);
}

.scene--farm h1 {
  max-width: min(12ch, 46vw);
  margin-bottom: var(--space-4);
  font-size: clamp(2.2rem, 1rem + 3vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

.lift-off {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0;
  color: var(--c-white);
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 0.8rem + 0.8vw, 1.8rem);
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.lift-off:hover {
  color: var(--c-yellow);
}

.lift-off svg {
  width: clamp(56px, 3vw + 30px, 96px);
  height: clamp(56px, 3vw + 30px, 96px);
  animation: lift 1.8s var(--ease) infinite;
}

@keyframes lift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.scene--farm .scene__decor {
  right: 0;
  bottom: 0;
  height: min(80%, 31vw);
  aspect-ratio: 846 / 526;
  max-width: 50%;
}

/* Hühnergruppe und Hahn sind zwei Ebenen: nur der Hahn läuft beim Hochscrollen nach links */
.farm-group__hens,
.farm-group__rooster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.farm-group__rooster {
  z-index: 1;
  will-change: transform;
}

.scene--farm {
  border: 0;
  outline: 0;
}

/* Nahtlose Übergänge: Farbverläufe an den Sektionskanten (keine sichtbaren Linien) */
.scene--farm::before,
.sky::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2px;
  z-index: 0;
  height: clamp(60px, 8vh, 120px);
  pointer-events: none;
}

.scene--farm::before {
  background: linear-gradient(to bottom, #c11454, rgba(193, 20, 84, 0));
}

/* Unterkante des Himmels geht exakt in die Oberkante der Farm über */
.sky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  z-index: 0;
  height: 45vh;
  background: linear-gradient(to top, #c11454 0%, rgba(193, 20, 84, 0.9) 25%, rgba(193, 20, 84, 0) 100%);
  pointer-events: none;
}

.sky > .scene {
  z-index: 1;
}

.sky::before {
  background: linear-gradient(to bottom, #2a0764 0, #2a0764 24px, rgba(42, 7, 100, 0) 100%);
}

/* Szene 2: Himmel mit Wolken */
.sky {
  position: relative;
  background:
    url("img/grafik/himmel-wolken.jpg") center bottom / 100% 100% no-repeat,
    linear-gradient(to top, #c8235a, #5a1f7a 60%, #2a124a);
  color: var(--c-white);
  overflow: hidden;
}

.sky__clouds {
  position: absolute;
  inset: -25% 0;
  z-index: 0;
  background: url("img/grafik/wolken.png") center / 100% auto repeat-y;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 22%, #000 78%, transparent 100%);
  pointer-events: none;
  will-change: transform;
}

.scene--climb {
  padding-block: var(--space-6) 0;
  text-align: center;
}

.scene--climb h2 {
  font-size: clamp(2rem, 1rem + 3.4vw, 5rem);
}

.scene--climb .lead {
  max-width: 1000px;
  margin-inline: auto;
  font-family: var(--f-head);
  font-size: clamp(1.1rem, 0.8rem + 0.9vw, 1.75rem);
  font-weight: 800;
  text-transform: uppercase;
}

.scene--climb .climb-text {
  max-width: 920px;
  margin-inline: auto;
}

.balloon {
  position: relative;
  z-index: 2;
  width: clamp(240px, 24vw, 460px);
  margin: var(--space-5) auto 0;
  will-change: transform;
}

/* Mit Animation: Der Ballon fliegt frei über dem Himmel (gesteuert per JS) */
.motion-ready .balloon--flight {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  margin: 0;
  opacity: 0;
  transform-origin: top left;
  pointer-events: none;
}

.motion-ready .scene--climb {
  padding-bottom: 65vh;
}

.scene--services {
  padding-block: var(--space-6);
}

.services {
  display: grid;
  gap: clamp(3rem, 2rem + 5vw, 9rem);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service {
  --service-img: clamp(200px, 16vw + 100px, 480px);
  display: grid;
  grid-template-columns: var(--service-img) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 6rem);
  align-items: center;
}

.service:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) var(--service-img);
  text-align: right;
}

.service:nth-child(even) .service__img {
  order: 2;
}

.service__img {
  width: var(--service-img);
  border-radius: 50%;
  transition: transform 0.6s var(--ease);
}

.service:hover .service__img {
  transform: rotate(-4deg) scale(1.04);
}

.service h3 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.75rem);
}

.service a {
  color: var(--c-yellow);
}

/* Szene 3: Stratosphäre mit Mond & Arbeitsproben */
.scene--strato {
  /* oben knapp, unten viel Abstand zur Atmosphäre (Horizont im Bild) */
  padding-top: clamp(2rem, 1rem + 2vw, 4rem);
  padding-bottom: clamp(16rem, 10rem + 18vw, 30rem);
  background:
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0) 22%),
    linear-gradient(to top, #2a0764 0, #2a0764 24px, rgba(42, 7, 100, 0) 110px),
    url("img/grafik/stratosphaere.jpg") center bottom / cover no-repeat,
    #000;
  color: var(--c-white);
}

.scene--strato .scene__decor {
  top: 38%;
  right: -5%;
  width: min(36%, 620px);
  transform: translateY(-50%);
}

.strato-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 1rem + 5vw, 8rem);
  align-items: start;
}

.strato-grid .moonbase {
  align-self: center;
}


.moonbase {
  text-align: center;
}

.strato-grid .carousel {
  order: -1;
}

.moonbase h2 {
  font-size: clamp(2.2rem, 1rem + 4vw, 6rem);
  line-height: 1.02;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.carousel {
  max-width: 760px;
}

/* Karussell der Arbeitsproben */
.carousel {
  position: relative;
}

.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  list-style: none;
  box-shadow: var(--shadow);
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  position: relative;
  scroll-snap-align: start;
  aspect-ratio: 1 / 1;
  background: #2a2140;
  overflow: hidden;
}

.carousel__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-4) var(--space-3) var(--space-3);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
  text-align: center;
}

.carousel__caption h3 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.5rem);
}

.carousel__caption p {
  margin: 0;
  font-size: var(--fs-sm);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.6);
  color: var(--c-white);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s var(--ease);
}

.carousel__btn:hover {
  background: var(--c-yellow);
  color: var(--c-black);
}

.carousel__btn svg {
  width: 22px;
  height: 22px;
}

.carousel__btn--prev {
  left: 0;
}

.carousel__btn--next {
  right: 0;
}

.carousel__status {
  margin-top: 0.75rem;
  font-size: var(--fs-xs);
  text-align: center;
  letter-spacing: 0.1em;
}

/* Szene 4: Sternenhimmel – Ylvi & Neal */
.scene--stars {
  padding-block: clamp(6rem, 4rem + 8vw, 14rem);
  background: url("img/grafik/sterne.png") center bottom / cover no-repeat, #000;
  color: var(--c-white);
  text-align: center;
}

.scene--stars .container {
  max-width: 1100px;
}

.scene--stars h2 {
  font-size: clamp(2rem, 1rem + 3vw, 4.5rem);
}

.scene--stars .ylvi {
  position: relative;
  z-index: 2;
  width: min(70%, 960px);
  margin: clamp(4rem, 3rem + 6vw, 10rem) auto 0;
  will-change: transform;
}

/* Szene 5: Milchstraße – Ziel erreicht */
.scene--galaxy {
  min-height: 90vh;
  padding-block: var(--space-5) 0;
  /* oben schwarz (Footer) → bräunlicher Wirbel → unten schwarz (Sternenhimmel) */
  background: linear-gradient(to bottom, #000 0%, #2e2106 16%, #493409 42%, #1c1404 74%, #000 100%);
  color: var(--c-white);
  text-align: center;
}

.scene--galaxy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("img/grafik/milchstrasse.png") center top / cover no-repeat;
  opacity: 0.85;
}

.scene--galaxy {
  min-height: 100vh;
}

.scene--galaxy .container {
  position: static;
}

.scene--galaxy .actions {
  position: relative;
  z-index: 3;
}

/* Hahn fliegt von rechts in den Wirbel der Milchstraße */
.balloon--vortex {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: clamp(240px, 24vw, 460px);
  margin: 0;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

/* 16 Lightbox -------------------------------------------------------------- */
.lightbox {
  width: min(92vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.lightbox img {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
}

.lightbox__caption {
  margin: 0.75rem 0 0;
  color: var(--c-white);
  font-size: var(--fs-sm);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: -56px;
  right: 0;
  width: 48px;
  height: 48px;
  border: 0;
  background: var(--c-yellow);
  color: var(--c-black);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* 17 Hilfsklassen ---------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 980px) {
  :root {
    --header-h: 64px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  }

  .js .main-nav {
    display: none;
  }

  .js .main-nav.is-open {
    display: block;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1rem;
  }

  .main-nav__link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--c-grey-050);
    font-size: 0.95rem;
  }

  .main-nav__link::after {
    bottom: 0;
  }

  .grid-2,
  .media-text,
  .project-teaser,
  .project-head,
  .contact-hero__grid,
  .strato-grid {
    grid-template-columns: 1fr;
  }

  .project-head__media {
    position: static;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .strato-grid {
    min-height: 0;
  }

  .project-teaser:nth-child(even) .project-teaser__media {
    order: 0;
  }

  .phases {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .gallery--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .scene--strato .scene__decor {
    top: 4%;
    right: -18%;
    width: 46%;
    transform: none;
    opacity: 0.6;
  }
}

@media (max-width: 720px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 420px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form {
    grid-template-columns: 1fr;
    padding: var(--space-3);
  }

  .explore {
    grid-template-columns: 1fr;
  }

  .explore .btn {
    width: 100%;
  }

  .service,
  .service:nth-child(even) {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .service:nth-child(even) .service__img {
    order: 0;
  }

  .service__img {
    width: 120px;
    margin-inline: auto;
  }

  .scene--farm {
    align-items: flex-start;
    padding-top: var(--space-6);
  }

  .scene--farm .scene__decor {
    width: 96%;
    height: auto;
    max-width: none;
  }

  .phase {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .phase__icon {
    width: 72px;
  }

  .project-pager a {
    max-width: 100%;
  }

  .btn {
    padding-inline: 2rem;
  }
}

/* 18 Reduzierte Bewegung & Druck --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  [data-parallax],
  [data-motion]:not(.balloon--vortex) {
    transform: none !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .btn,
  .carousel__btn,
  .breadcrumb {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section--dark,
  .section--pattern-dark {
    background: #fff;
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}
