/* FILE: style.css · Analog Festival · v2.0 · 2025-11-16 */
:root { 
  color-scheme: dark;
}

* { 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #000000;
  color: #ffffff;
  z-index: 1000;
  overflow: hidden;
  animation: announcement-fade-in 0.8s ease-out forwards;
}

.announcement-inner {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-track {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
  animation: announcement-ticker 20s linear infinite;
}

/* Fade-In der gesamten Bar */
@keyframes announcement-fade-in {
  0% {
    opacity: 0;
    transform: translateY(-8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ticker von rechts nach links */
@keyframes announcement-ticker {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  color: #fff;
  font-family: 'Supreme', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

#bgContainer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

#bgContainer img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  filter: grayscale(100%);
}

#bgContainer img.active { 
  opacity: 0.75; 
}

.card {
  width: 100%;
  max-width: 720px;
  margin: 96px auto 40px;
  background: rgba(0, 0, 0, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: clamp(2rem, 4vw, 3rem);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Recia', serif;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: Normal;
  margin: 0;
}

h1 {
  margin-bottom: 0.5rem;
  font-size: clamp(2.3rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.tagline {
  margin: 0 0 1.8rem;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: Normal;
  opacity: 0.76;
}

p {
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.92;
}

.newsletter {
  margin-top: 1.8rem;
  text-align: left;
}

.contact {
  text-align: left;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease;
}

.contact.is-open {
  max-height: 900px;
  opacity: 1;
  margin-top: 2.4rem;
}

.newsletter .headline,
.contact .headline {
  font-family: 'Recia', serif;
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: Normal;
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.fields {
  display: grid;
  gap: 1.2rem;
  margin-top: 0.4rem;
}

.fields input[type="text"],
.fields input[type="email"] {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-family: 'Supreme', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
}

.fields textarea {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font-family: 'Supreme', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  min-height: 140px;
  resize: vertical;
}

.fields input::placeholder,
.fields textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.fields input:focus,
.fields textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

label {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.9rem;
  opacity: 0.9;
  font-family: 'Supreme', sans-serif;
}

label input[type="checkbox"] {
  margin-top: 0.2rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  text-decoration: none;
  font-family: 'Supreme', sans-serif;
  font-weight: 500;
  font-size: 0.82rem;
  color: #fff;
  min-width: 9rem;
  width: auto;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.16) inset,
    0 14px 36px rgba(0, 0, 0, 0.78);
  transition:
    transform 0.16s ease-out,
    background-color 0.22s ease-out,
    box-shadow 0.22s ease-out,
    border-color 0.22s ease-out,
    color 0.22s ease-out;
}

.cta:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.35) inset,
    0 22px 48px rgba(0, 0, 0, 0.95);
}

.cta--primary {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.28), transparent 55%) #0a84ff;
  border-color: rgba(53, 151, 255, 0.95);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(22, 142, 255, 0.9) inset,
    0 24px 54px rgba(0, 0, 0, 1);
}

.cta--primary:hover {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.36), transparent 55%) #0a84ff;
  border-color: rgba(192, 220, 255, 0.98);
  box-shadow:
    0 0 0 1px rgba(240, 248, 255, 1) inset,
    0 30px 70px rgba(0, 0, 0, 1);
}

.cta--secondary {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 10px 26px rgba(0, 0, 0, 0.6);
}

.cta--secondary:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 16px 38px rgba(0, 0, 0, 0.8);
}

.cta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.9rem;
  height: 0.9rem;
  flex-shrink: 0;
}

.cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cta:hover .cta-icon svg {
  transform: translateX(4px);
  transition: transform 0.18s ease-out;
}

.meta {
  margin-top: 1.7rem;
  font-size: 0.85rem;
  opacity: 0.7;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: 'Supreme', sans-serif;
}

/* FOOTER */

.site-footer {
  padding: 0 1.5rem 2.8rem;
  margin-top: 2.4rem;
}

.footer-inner {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.78);
  border-radius: 24px;
  padding: 1.9rem 2.1rem 1.6rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  color: #bbbbbb;
  font-family: 'Supreme', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand h2 {
  font-family: 'Recia', serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  text-transform: Normal;
  margin: 0 0 0.45rem;
}

.footer-brand p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 400;
  opacity: 0.9;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  min-width: 220px;
}

.footer-column {
  min-width: 120px;
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 0.35rem;
}

.footer-column a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: #acacac;
  opacity: 0.88;
  padding: 0.05rem 0;
}

.footer-column a:hover {
  opacity: 1;
}

.footer-current {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: #acacac;
  opacity: 0.85;
  padding: 0.1rem 0;
  cursor: default;
  pointer-events: none;
  position: relative;
  gap: 6px;
}

.footer-current::before {
  content: "\2192";  /* → */
  font-size: 0.9rem;
  opacity: 0.9;
  position: relative;
  top: 0;
}


.footer-meta {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.8rem;
  opacity: 0.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 560px) {
  .footer-main {
    flex-direction: column;
    gap: 1.6rem;
  }

  .footer-inner {
    padding: 1.6rem 1.4rem 1.5rem;
  }

  .actions .cta {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Flash Messages – v3.0 */
#flash {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 250px;
  padding: 1.4rem 1.6rem;
  border-radius: 28px;
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  font-family: 'Supreme', sans-serif;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 6000;
  box-shadow: 0 18px 48px rgba(0,0,0,0.55);
  transition: opacity 0.25s ease-out;
}

#flash::before,
#flash::after {
  content: none !important;
}

#flash.is-visible {
  opacity: 1;
  pointer-events: auto;
  animation: flash-pop 0.32s ease-out;
}

#flash.fade-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.94);
  transition: opacity 0.28s ease-in, transform 0.28s ease-in;
}

/* Erfolg */
#flash.flash-success {
  background: rgba(24, 122, 58, 0.45);
}


/* Fehler */
#flash.flash-error {
  background: rgba(182, 28, 28, 0.45);
}

#flash.flash-warning {
  background: rgba(255, 204, 0, 0.45);
}

#flash .flash-icon lottie-player {
  width: 72px;
  height: 72px;
  display: block;
  filter: brightness(0) invert(1); /* Schwarz → Weiss */
}

#flash .flash-icon lottie-player {
  width: 72px;
  height: 72px;
  display: block;
}

#flash .flash-text {
  font-size: 1.1rem;
  line-height: 1.45;
  max-width: 90%;
}

@keyframes flash-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.88);
  }
  60% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
/* === Analog Festival · Frontend Navigation ================================= */

/* Shell oben: AF + Hamburger */
.af-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 18px 24px;
  display: flex;
  justify-content: center;
  pointer-events: none; /* Overlay steuert Klicks */
}

.af-shell-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.af-logo {
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d9d9d9;
  text-decoration: none;
}

/* Hamburger Button rechts */

.af-nav-toggle {
  width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(5,5,7,0.8);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.af-nav-toggle-line {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #d9d9d9;
  display: block;
  transition: transform 0.24s ease, opacity 0.24s ease;
}


/* === Analog Festival · CMS Page Background Animation ==================== */

.af-page {
  background: radial-gradient(circle at top left, #272a34 0%, #050608 55%);
  background-size: 220% 220%;
  animation: af-bg-move 22s ease-in-out infinite alternate;
}

@keyframes af-bg-move {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 40%;
  }
  100% {
    background-position: 0% 100%;
  }
}

/* === Analog Festival · CMS Page Layout & Typo =========================== */

.af-page .wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 0px 24px 80px;
}

.af-page .card {
  margin: 56px auto 40px; /* NEU: statt 96px von .card */
  background: rgba(0, 0, 0, 0.82);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 32px 28px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.75);
  text-align: left;
}

.af-page h1 {
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 22px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.af-page .page-content {
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #d9d9d9;
}

.af-page .page-content > *:first-child {
  margin-top: 0;
}

.af-page .page-content p {
  margin: 0 0 1.3em;
}

.af-page .page-content h2,
.af-page .page-content h3 {
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 2.2em 0 0.7em;
  color: #efefef;
}

.af-page .page-content a {
  color: #f0f0f0;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 240, 240, 0.4);
}

.af-page .page-content a:hover {
  border-bottom-color: rgba(240, 240, 240, 0.9);
}

.af-page .page-content ul,
.af-page .page-content ol {
  padding-left: 1.3em;
  margin: 0 0 1.4em;
}

.af-page .page-content li {
  margin: 0.15em 0;
}

.af-page .page-content blockquote {
  margin: 1.6em 0;
  padding-left: 1.1em;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
  font-size: 0.96em;
  opacity: 0.9;
}

.af-page .page-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.8em auto;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.af-page .page-content figure {
  margin: 2em 0;
  text-align: center;
}

.af-page .page-content figure img {
  margin: 0 auto 0.6em;
}

.af-page .page-content figure figcaption {
  font-size: 0.8em;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .af-page .wrap {
    padding: 42px 16px 64px;
  }

  .af-page .card {
    margin: 32px auto 32px;
    padding: 24px 18px 22px;
    border-radius: 20px;
  }

  .af-page h1 {
    font-size: 18px;
    letter-spacing: 0.14em;
  }

  .af-page .page-content {
    font-size: 14px;
    line-height: 1.65;
  }
}/* === Analog Festival · CMS Page Footer =================================== */

.af-page-footer {
  padding: 0 24px 40px;
  margin-top: auto; /* Footer immer an den unteren Seitenrand pushen */
}

.af-page-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: space-between;
  align-items: flex-end; 
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.78);
}

.af-page-footer-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.af-page-footer-brand {
  font-weight: 600;
}

.af-page-footer-meta {
  opacity: 0.8;
}

.af-page-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.af-footer-link,
.af-footer-link--current {
  text-decoration: none;
  color: rgba(217, 217, 217, 0.78);
}

.af-footer-link:hover {
  color: #ffffff;
}

.af-footer-link--current {
  cursor: default;
  pointer-events: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.af-footer-link-arrow {
  font-size: 0.9em;
  position: relative;
  top: -1px;
}

/* Mobile: untereinander statt links/rechts */

@media (max-width: 720px) {
  .af-page-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .af-page-footer-nav {
    gap: 6px 14px;
  }
}
.af-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  opacity: 0;
  background: transparent; /* wichtig: ueberschreibt alten Vollflaechen-Gradient */
  transition: opacity 0.25s ease;
}

.af-nav-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(10, 11, 15, 0.5), rgba(0, 0, 0, 0.85));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.af-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.af-nav-overlay.is-open::before {
  opacity: 0.6;
}
.af-nav-overlay-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  background: rgba(5, 5, 7, 0.98);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.9);
  padding: 72px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.af-nav-overlay.is-open .af-nav-overlay-inner {
  transform: translateX(0);
}

/* === Analog Festival · Overlay Navigation =============================== */

.af-nav-primary {
  margin-bottom: 40px;
}

.af-nav-primary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.af-nav-primary li {
  margin: 0;
}

.af-nav-primary a {
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d9d9d9;
}

.af-nav-primary li.is-active a {
  color: #ffffff;
}

.af-nav-primary a:hover {
  color: #ffffff;
}

.af-nav-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 18px;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: "Supreme", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(217, 217, 217, 0.78);
}

.af-nav-footer-label {
  opacity: 0.8;
}

.af-nav-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.af-nav-footer a {
  text-decoration: none;
  color: rgba(217, 217, 217, 0.78);
}

.af-nav-footer a:hover {
  color: #ffffff;
}

/* Navigation Toggle: Burger -> X Animation (via body.af-nav-open) */
.af-nav-open .af-nav-toggle-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.af-nav-open .af-nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.af-nav-open .af-nav-toggle-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}