@font-face {
  font-family: "Brown Std";
  src: url("/fonts/Brown-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brown Std";
  src: url("/fonts/Brown-Regular-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Brown Std";
  src: url("/fonts/Brown-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brown Std";
  src: url("/fonts/Brown-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

:root {
  --flaneur-red: #EB5A4F;
  --flaneur-ink: #231F20;
  --slide-fade: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--flaneur-ink);
  color: #fff;
  font-family: "Brown Std", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0;
  transition: opacity var(--slide-fade) ease-in-out;
  will-change: opacity;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0) 65%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  width: 100%;
  max-width: 720px;
  pointer-events: none;
}

.hero__logo {
  display: block;
  margin: 0 auto;
  width: min(58vw, 380px);
  height: auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.55));
}

.hero__tagline {
  margin: 1.25rem 0 0;
  font-family: "Brown Std", serif;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.hero__filename {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.55);
  padding: 0.45rem 0.7rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  max-width: calc(100% - 2rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: all;
}

body.is-paused .hero__filename::before {
  content: "⏸ ";
  color: var(--flaneur-red);
  font-weight: 700;
}

.hero__credit {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  margin: 0;
  font-family: "Brown Std", system-ui, sans-serif;
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
  mix-blend-mode: overlay;
  user-select: none;
  pointer-events: auto;
}

.hero__credit a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 200ms ease, border-color 200ms ease;
}

.hero__credit a:hover,
.hero__credit a:focus-visible {
  /* Hover bricht den blend-mode-Effekt auf, damit der Link normal anklickbar wirkt. */
  color: rgba(255, 255, 255, 1);
  border-bottom-color: rgba(255, 255, 255, 0.85);
}

.hero__credit:hover,
.hero__credit:focus-within {
  mix-blend-mode: normal;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

@media (max-width: 480px) {
  .hero__credit { font-size: 0.65rem; right: 0.75rem; bottom: 0.75rem; }
}

.hero__hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 3;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.45);
  padding: 0.4rem 0.65rem;
  border-radius: 4px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.hero__hint kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  padding: 0.08rem 0.38rem;
  margin: 0 0.1rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  color: #fff;
}

@media (max-width: 600px) {
  .hero__hint { display: none; }
}

@media (max-width: 480px) {
  .hero__logo { width: 72vw; }
  .hero__filename { font-size: 0.7rem; padding: 0.35rem 0.55rem; }
}
