/* Lokal gehostete Webfonts statt Google Fonts CDN — vermeidet die
   Übertragung der Besucher-IP an Google (Datenschutz/DSGVO). */
@font-face {
  font-family: 'Fjalla One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/fjalla-one-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}

:root {
  --bg: oklch(0.15 0.012 250);
  --bg-panel: oklch(0.13 0.012 250);
  --bg-frame: oklch(0.19 0.012 250);
  --text-primary: oklch(0.94 0.008 250);
  --text-secondary: oklch(0.78 0.01 250);
  --text-secondary-2: oklch(0.84 0.008 250);
  --text-muted: oklch(0.6 0.01 250);
  --text-muted-2: oklch(0.5 0.01 250);
  --accent: #ee7422;
  --accent-hover: #1f9fd6;

  --accent2: #154e18;
  --accent2-hover: #25832a;

  --hairline: oklch(1 0 0 / 0.08);
  --nav-height: 166px;

  --border-radius-image: 20px;

  --gap-small: 16px;
  --gap-large: 64px;

  --font-headline: 'Fjalla One', sans-serif;
  --font-body: 'Inter', sans-serif;

}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: var(--nav-height);
  background-color: #000;
}

body {
  margin: 0;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Fixierter Bokeh-Hintergrund hinter der gesamten Seite. Bleibt beim
   Scrollen stehen; Sektionen mit eigenem Hintergrund (Stage-Foto, Panels)
   decken ihn an der Stelle ab, alles andere lässt ihn durchscheinen. */
.page-bokeh {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}

.bokeh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}

.bokeh-orb--1 {
  width: 480px;
  height: 480px;
  top: -12%;
  left: -8%;
  background: radial-gradient(circle, var(--accent2) 0%, var(--accent2) 18%, transparent 70%);
  opacity: 0.34;
  animation: bokeh-float-a 18s ease-in-out infinite alternate;
}

.bokeh-orb--2 {
  width: 420px;
  height: 420px;
  top: 15%;
  right: -8%;
  background: radial-gradient(circle, var(--accent) 0%, var(--accent) 18%, transparent 70%);
  opacity: 0.2;
  animation: bokeh-float-b 19s ease-in-out infinite alternate;
}

.bokeh-orb--3 {
  width: 350px;
  height: 350px;
  top: 48%;
  left: 4%;
  background: radial-gradient(circle, oklch(0.54 0.065 128) 0%, oklch(0.54 0.065 128) 18%, transparent 70%);
  opacity: 0.3;
  animation: bokeh-float-c 17s ease-in-out infinite alternate;
}

.bokeh-orb--4 {
  width: 440px;
  height: 440px;
  bottom: -10%;
  right: 16%;
  background: radial-gradient(circle, oklch(0.56 0.07 135) 0%, oklch(0.56 0.07 135) 18%, transparent 70%);
  opacity: 0.32;
  animation: bokeh-float-a 18.5s ease-in-out infinite alternate-reverse;
}

.bokeh-orb--5 {
  width: 300px;
  height: 300px;
  bottom: 12%;
  left: 26%;
  background: radial-gradient(circle, oklch(0.8 0.04 105) 0%, oklch(0.8 0.04 105) 18%, transparent 70%);
  opacity: 0.22;
  animation: bokeh-float-b 17.5s ease-in-out infinite alternate-reverse;
}

@keyframes bokeh-float-a {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, 60px) scale(1.08); }
  100% { transform: translate(20px, 110px) scale(0.97); }
}

@keyframes bokeh-float-b {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-80px, -55px) scale(1.06); }
  100% { transform: translate(-25px, -100px) scale(0.96); }
}

@keyframes bokeh-float-c {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(70px, -65px) scale(0.95); }
  100% { transform: translate(-20px, -95px) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .bokeh-orb {
    animation: none;
  }
}

::selection {
  background: var(--accent);
  color: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3 {
  font-family: var(--font-headline);
  font-weight: 400;
  margin: 0;
}

/* SCROLL-REVEAL: Elemente mit .reveal starten unsichtbar/leicht versetzt
   und blenden ein, sobald sie per IntersectionObserver (nav.js/gallery.js)
   die .is-visible-Klasse bekommen. */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* NAV */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.nav.is-scrolled {
  background: oklch(0.15 0.012 250 / 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.nav__logo-icon {
  display: block;
  height: 94px;
  width: auto;
  filter: drop-shadow(0 1px 6px oklch(0.1 0.01 250 / 0.5));
  transition: height 0.3s ease;
}

.nav.is-scrolled .nav__logo-icon {
  height: 60px;
}

.nav__logo-icon .sparkle {
  animation: logo-sparkle 48s ease-in-out infinite;
}

@keyframes logo-sparkle {
  0%, 98%, 100% {
    filter: brightness(1) saturate(1);
  }
  99% {
    filter: brightness(1.25) saturate(1.08) drop-shadow(0 0 1.5px rgba(127, 227, 255, 0.4));
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav__logo-icon .sparkle {
    animation: none;
  }
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.05;
}

.nav__logo-name {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--text-primary);
  text-shadow: 0 1px 6px oklch(0.1 0.01 250 / 0.3);
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.nav__logo-tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFF;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}

.nav.is-scrolled .nav__logo-name {
  font-size: 1.485rem;
}

.nav.is-scrolled .nav__logo-tag {
  font-size: 0.625rem;
}

.nav__links {
  display: flex;
  gap: 32px;
  font-family: var(--font-headline);
  font-size: 1.375rem;
  font-weight: 200;
  color: var(--text-primary);
  text-shadow: 0 1px 6px oklch(0.1 0.01 250 / 0.3);
}

.nav__links a {
  color: inherit;
  transition: color 0.2s ease;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__links a.is-current {
  color: var(--accent);
}

.nav__toggle {
  display: none;
}

.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav.is-open .nav__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.is-open .nav__toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav.is-open .nav__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Abdunkelnder Blur-Scrim hinter dem aufgeklappten mobilen Menü — liegt
   unter der Nav (z-index 50), aber über dem restlichen Seiteninhalt. */
.nav__scrim {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: oklch(0.1 0.01 250 / 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav.is-open ~ .nav__scrim {
  opacity: 1;
  pointer-events: auto;
}

/* HERO */

.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  max-height: 1080px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, oklch(0.22 0.015 250) 0px, oklch(0.22 0.015 250) 2px, oklch(0.19 0.014 250) 2px, oklch(0.19 0.014 250) 4px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 48px;
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 65%;
  opacity: 0;
  transition: opacity 1.8s ease;
}

.hero__bg img.is-active {
  opacity: 1;
}

.hero__bg span {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  color: var(--text-muted-2);
  text-transform: uppercase;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 0%, oklch(0.15 0.012 250 / 0) 55%);
}

.hero__top-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, oklch(0.1 0.01 250 / 0.7) 0%, oklch(0.1 0.01 250 / 0) 28%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding: 0 48px 100px;
  max-width: 880px;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  line-height: 1.2;
  margin: 0 0 16px;
}

.hero__content h1 i{
  font-size: clamp(1rem, 6vw, 1.25rem);
}

.hero__content p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary-2);
  max-width: 950px;
  margin: 0;
}

.hero__scroll-hint {
  position: fixed;
  right: 48px;
  bottom: 32px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.3);
  background: oklch(0.15 0.012 250 / 0.35);
  backdrop-filter: blur(4px);
  color: var(--text-primary);
  opacity: 0;
  animation: hero-scroll-pulse 1.8s ease-in-out 2s infinite;
}

.hero__scroll-hint svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.hero__scroll-hint.is-flipped svg {
  transform: rotate(180deg);
}

.hero__scroll-hint.is-flipped {
  animation: none;
  opacity: 0.85;
}

@keyframes hero-scroll-pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.18); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-hint {
    animation: none;
    opacity: 0.8;
  }
}

/* Weicht das Seitenverhältnis des Fensters zu weit von 16:9 ab (typischerweise
 * Smartphones im Hochformat), würde object-fit:cover das Motiv seitlich zu
 * stark anschneiden, wenn die Stage weiter die volle Bildschirmhöhe einnimmt.
 * Ab dieser Schwelle wird die Stage stattdessen auf ein festes 16:9-Format
 * begrenzt und der Text steht darunter in einem eigenen Kasten statt als
 * Overlay auf dem Bild. */
@media (max-aspect-ratio: 4/3) {
  .hero {
    height: auto;
    min-height: 0;
    max-height: none;
    display: block;
    overflow: visible;
  }

  .hero__bg {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 9;
    padding-top: 0;
  }

  .hero__gradient,
  .hero__top-gradient {
    display: none;
  }

  .hero__content {
    position: static;
    max-width: none;
    padding: 32px 24px 40px;
    background: var(--bg-frame);
  }

  .hero__content p {
    max-width: none;
  }
}

/* GALLERY */

.gallery {
  /* width: min(1200px, 100% - 96px); */
  width: calc(100% - 96px);
  margin: 0 auto;
  padding: 100px 0;
}

.gallery__head {
  margin: 0 0 20px;
}

.gallery__head h2 {
  font-size: 2.125rem;
}

.gallery__head p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
  margin: 8px 0 0;
}

.gallery__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.gallery__socials {
  display: flex;
  gap: 20px;
  font-size: 0.8125rem;
  margin-left: auto;
}

.gallery__socials a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFF;
}

.gallery__filters {
  display: flex;
  flex-direction: row;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery__filter {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid oklch(1 0 0 / 0.18);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.gallery__filter:hover {
  color: var(--text-primary);
  border-color: oklch(1 0 0 / 0.35);
}

.gallery__filter.is-active {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
}

/* Basis-Layout (kein JS nötig, für Crawler/No-JS-Besucher): einfaches
   CSS-Multi-Column-Grid — alle Bilder liegen direkt im HTML. Sobald JS
   läuft, baut es daraus das feinere Masonry mit Spalten-Ausgleich (siehe
   .is-enhanced unten) und ersetzt dieses Markup. */
.gallery__grid {
  column-count: 3;
  column-gap: var(--gap-small);
  transition: opacity 0.18s ease;
}

@media (max-width: 900px) {
  .gallery__grid:not(.is-enhanced) {
    column-count: 2;
  }
}

.gallery__grid.is-enhanced {
  display: flex;
  align-items: flex-start;
  gap: var(--gap-small);
}

.gallery__grid.is-switching {
  opacity: 0;
}

.gallery__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--gap-small);
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  background: var(--bg-frame);
  border: 0;
  padding: 0;
  border-radius: var(--border-radius-image);
  break-inside: avoid;
  margin-bottom: var(--gap-small);
}

.gallery__grid.is-enhanced .gallery__item {
  margin-bottom: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery__grid.is-enhanced .gallery__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.gallery__filler {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  border-radius: var(--border-radius-image);
  overflow: hidden;
}

.gallery__filler::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url(/images/brand/logo-bird.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 50% 50%;
  opacity: 0.1;
}

.gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.03);
}

.gallery__item-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(0deg, oklch(0.1 0.01 250 / 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  text-align: left;
}

.gallery__item:hover .gallery__item-caption {
  opacity: 1;
}

.gallery__item-title {
  font-family: var(--font-headline);
  display: block;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

.gallery__item-meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.gallery__empty {
  font-size: 0.875rem;
  color: var(--text-muted-2);
  padding: 40px 0;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: oklch(0.1 0.01 250 / 0.92);
  backdrop-filter: blur(6px);
  padding: 60px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox__figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.96);
  transition: transform 0.25s ease, opacity 0.18s ease;
}

.lightbox.is-open .lightbox__figure {
  transform: scale(1);
}

.lightbox__figure.is-changing {
  opacity: 0;
  transform: scale(0.98);
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--border-radius-image);
}

.lightbox__caption {
  text-align: center;
  margin-top: 16px;
}

.lightbox__title {
  display: block;
  font-family: var(--font-headline);
  font-size: 1.375rem;
  color: var(--text-primary);
}

.lightbox__meta {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.25);
  background: oklch(0.15 0.012 250 / 0.55);
  color: var(--text-primary);
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: oklch(0.15 0.012 250 / 0.8);
}

.lightbox__close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  font-size: 1.125rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1.25rem;
}

.lightbox__nav--prev {
  left: 24px;
}

.lightbox__nav--next {
  right: 24px;
}

@media (max-width: 560px) {
  .lightbox {
    padding: 24px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .nav__logo-tag {
    display: none;
  }
}

/* EQUIPMENT */

.equipment {
  padding: 100px 0;
   background: oklch(22.425% 0.05163 240.3 / 0.463);
   overflow: hidden;

  margin: 0 0;
}

.equipment__inner {
  width: min(1200px, 100% - 96px);
  margin: 0 auto;
  position: relative;
}

.equipment__bird-watermark {
  position: absolute;
  right: 0;
  top: 0;
  height: clamp(100px, 15vw, 200px);
  width: auto;
  transform: scaleX(-1);
  opacity: .2;
  pointer-events: none;
  animation: equipment-watermark-glow 22s ease-in-out infinite;
  animation-play-state: paused;
}

/* Burst-Fenster liegt am Anfang des Zyklus (statt am Ende): sobald JS die
   Animation beim Erreichen des Viewports von "paused" auf "running" schaltet
   (siehe nav.js), spielt das Flattern sofort einmal ab — und danach alle 22s
   erneut, ganz ohne weiteres Zutun. */
.equipment__bird-watermark-rock {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: equipment-bird-rock 22s ease-in-out infinite;
  animation-play-state: paused;
}

.equipment__bird-watermark-beak-upper {
  transform-box: fill-box;
  transform-origin: 0% 0%;
  animation: equipment-beak-upper 22s ease-in-out infinite;
  animation-play-state: paused;
}

.equipment__bird-watermark-beak-lower {
  transform-box: fill-box;
  transform-origin: 0% 0%;
  animation: equipment-beak-lower 22s ease-in-out infinite;
  animation-play-state: paused;
}

.equipment__bird-watermark.is-active,
.equipment__bird-watermark.is-active .equipment__bird-watermark-rock,
.equipment__bird-watermark.is-active .equipment__bird-watermark-beak-upper,
.equipment__bird-watermark.is-active .equipment__bird-watermark-beak-lower {
  animation-play-state: running;
}

@keyframes equipment-watermark-glow {
  0%, 15%, 100% { opacity: .2; }
  6% { opacity: 1; }
}

@keyframes equipment-bird-rock {
  0%, 15%, 100% { transform: rotate(0deg); }
  2% { transform: rotate(-4deg); }
  5% { transform: rotate(4deg); }
  8% { transform: rotate(-3deg); }
  11% { transform: rotate(3deg); }
  13% { transform: rotate(0deg); }
}

@keyframes equipment-beak-upper {
  0%, 3%, 15%, 100% { transform: rotate(0deg); }
  9% { transform: rotate(-7deg); }
}

@keyframes equipment-beak-lower {
  0%, 3%, 15%, 100% { transform: rotate(0deg); }
  9% { transform: rotate(7deg); }
}

@media (prefers-reduced-motion: reduce) {
  .equipment__bird-watermark,
  .equipment__bird-watermark-rock,
  .equipment__bird-watermark-beak-upper,
  .equipment__bird-watermark-beak-lower {
    animation: none;
  }
}

.equipment h2 {
  font-size: 2.125rem;
  margin: 0 0 12px;
}

.equipment > .equipment__inner > p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 48px;
  max-width: 640px;
}

.equipment__groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--gap-large);
}

.equipment__group h3 {
  font-size: 1.125rem;
  color: var(--accent);
  margin: 0 0 16px;
}

.equipment__items {
  display: grid;
  gap: 1px;
}

.equipment__item {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}

.equipment__item:last-child {
  border-bottom: 0;
}

.equipment__item-name {
  font-size: 0.9375rem;
}

.equipment__item-detail {
  font-size: 0.8125rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted-2);
  text-align: right;
}

/* ÜBER MICH */

.about {
  padding: 100px 0;
  /* background: oklch(22.425% 0.05163 240.3 / 0.463); */
  /*background: rgba(0,0,0,.5);*/
  backdrop-filter: blur(6px);
}

.about__grid {
  width: min(1200px, 100% - 96px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--gap-large);
  align-items: center;
}

.about__portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-frame);
  border-radius: var(--border-radius-image);

}

.about__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.about__text h2 {
  font-size: 2.125rem;
  margin: 0 0 20px;
}

.about__text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary-2);
  margin: 0 0 16px;
}

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

/* STATS */

.stats {
  padding: 80px 0;
  /* background: oklch(22.425% 0.05163 240.3 / 0.463); */
  backdrop-filter: blur(6px);
}

.stats__inner {
  width: min(1200px, 100% - 96px);
  margin: 0 auto;
  text-align: center;
}

.stats__inner h2 {
  font-size: 2.125rem;
  margin: 0 0 16px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 40px;
  margin-top: 64px;
}

@media (min-width: 561px) and (max-width: 860px) {
  .stats__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
}

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

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.stats__item.reveal:nth-child(1) { transition-delay: 0s; }
.stats__item.reveal:nth-child(2) { transition-delay: 0.08s; }
.stats__item.reveal:nth-child(3) { transition-delay: 0.16s; }
.stats__item.reveal:nth-child(4) { transition-delay: 0.24s; }
.stats__item.reveal:nth-child(5) { transition-delay: 0.32s; }

.stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid oklch(1 0 0 / 0.18);
  color: var(--accent);
  flex-shrink: 0;
}

.stats__icon svg {
  width: 28px;
  height: 28px;
}

.stats__item p {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary-2);
  margin: 0;
}

/* KONTAKT */

.contact {
  padding: 100px 48px 100px 48px;
    background: oklch(22.425% 0.05163 240.3 / 0.463); 

}

.contact__inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.contact__intro-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 0px;
}

.contact__avatar {
  display: block;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--hairline);
  box-shadow: 0 4px 20px oklch(0.1 0.01 250 / 0.5);
  background: var(--bg-panel);
}

.contact__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact__avatar-eye {
  transform-box: fill-box;
  transform-origin: center;
}

.contact__avatar.is-visible .contact__avatar-eye {
  animation: contact-avatar-blink 0.32s ease-in-out 0.5s 1;
}

/* Easter Egg: nochmal blinzeln, wenn man mit der Maus über den Avatar fährt.
   Eigener Keyframe-Name nötig, sonst startet die Animation nicht neu, falls
   der Scroll-Blink (gleicher Name) schon durchgelaufen ist. */
.contact__avatar:hover .contact__avatar-eye {
  animation: contact-avatar-blink-hover 0.28s ease-in-out 1;
}

@keyframes contact-avatar-blink {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

@keyframes contact-avatar-blink-hover {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.1); }
}

@media (prefers-reduced-motion: reduce) {
  .contact__avatar.is-visible .contact__avatar-eye,
  .contact__avatar:hover .contact__avatar-eye {
    animation: none;
  }
}

.contact__intro-text {
  text-align: left;
}

.contact__intro-text h2 {
  margin: 0 0 12px;
}

@media (max-width: 640px) {
  .contact__intro-row {
    flex-direction: column;
    text-align: center;
  }

  .contact__avatar {
    width: 140px;
    height: 140px;
  }

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

.contact h2 {
  font-size: 2.125rem;
  margin: 0 0 16px;
}

.contact p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 .5em;
}

.contact h3 {
  font-size: 1rem;
  margin-top: 1.5em;
}

.contact__social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  font-size: 1rem;
  margin-top: .5em;
}

.contact__social a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .4em;
}

@media (max-width: 640px) {
  .contact__social {
    justify-content: center;
  }
}

/* FOOTER */

.footer {
  padding: 28px 48px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted-2);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 20px;
}

.footer__links a {
  color: var(--text-muted);
}

.footer__links a:hover {
  color: var(--accent-hover);
}

/* RESPONSIVE */

@media (max-width: 860px) {
  .nav {
    padding: 12px 24px;
  }

  .nav__logo {
    margin-left: -20px;
  }

  .nav__logo-icon,
  .nav.is-scrolled .nav__logo-icon {
    height: 56px;
  }

  .nav__logo-name,
  .nav.is-scrolled .nav__logo-name {
    font-size: 1.125rem;
  }

  .nav__logo-tag,
  .nav.is-scrolled .nav__logo-tag {
    font-size: 0.625rem;
  }

  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: oklch(0.13 0.012 250 / 0.98);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav__links a {
    padding: 16px 24px;
    border-top: 1px solid var(--hairline);
  }

  .nav__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 34px;
    height: 34px;
    background: none;
    border: 0;
    padding: 8px;
    cursor: pointer;
  }

  .nav.is-open .nav__links {
    max-height: 400px;
  }

  .hero__content,
  .contact {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero__scroll-hint {
    right: 24px;
    bottom: 24px;
  }

  .gallery,
  .equipment__inner,
  .about__grid,
  .stats__inner {
    width: min(1200px, 100% - 48px);
  }

  .equipment__bird-watermark {
    height: 70px;
    right: -36px;
  }


  

  .gallery,
  .equipment,
  .about,
  .stats,
  .contact {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .gallery__socials {
    display: none;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about__portrait {
    aspect-ratio: 16 / 16;
  }

  .about__portrait img {
  object-position: center 0;
}
}
