@import url('https://fonts.googleapis.com/css2?family=Allerta+Stencil&display=swap');

:root {
  --color-black: #000000;
  --color-light: #E3F1E6;
  --color-dark-green: #172524;
  --color-pink: #f3e2de;
  --color-white: #ffffff;

  --border-radius: 18px;
  --content-width: 1100px;
  --transition: 180ms ease;
  --shadow-panel: 0 12px 40px rgba(0, 0, 0, 0.28);
  --shadow-button: 0 10px 24px rgba(243, 226, 222, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  padding-bottom: 6.5rem;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: var(--color-light);
  background:
    radial-gradient(circle at top, rgba(243, 226, 222, 0.08), transparent 35%),
    var(--color-black);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem 1.5rem;
  text-align: center;
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 850px;
}

.hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(320px, 62vw);
  transform: translate(-50%, -58%);
  opacity: 0.25;
  filter: brightness(1.35);
  pointer-events: none;
  z-index: 0;
}

.eyebrow,
.hero h1,
.hero-text {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--color-pink);
  font-family: 'Allerta Stencil', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 1.25rem;
  color: var(--color-light);
  font-family: 'Allerta Stencil', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1;
}

.hero-text {
  max-width: 650px;
  margin: 0 auto 0.75rem;
  color: rgba(227, 241, 230, 0.9);
  font-size: 1.05rem;
}

.page-content {
  display: grid;
  width: min(100% - 2rem, var(--content-width));
  margin: 0 auto 4rem;
  gap: 1.5rem;
}

.donation,
.latest-gif-section {
  padding: 1.5rem;
  border: 1px solid rgba(227, 241, 230, 0.14);
  border-radius: var(--border-radius);
  background: var(--color-dark-green);
  box-shadow: var(--shadow-panel);
}

.donation h2,
.latest-gif-section h2 {
  margin-bottom: 0.75rem;
  color: var(--color-white);
  font-family: 'Allerta Stencil', sans-serif;
  font-size: 1.5rem;
}

.donation > p,
.latest-gif-section > p {
  margin-bottom: 1rem;
  color: rgba(227, 241, 230, 0.85);
}

.upload-form {
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(227, 241, 230, 0.14);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.26);
}

.upload-form.hidden {
  display: none;
}

.upload-form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-light);
  font-size: 0.95rem;
}

.upload-form input[type="file"] {
  width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(227, 241, 230, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-light);
}

.upload-form button[type="submit"],
.download-button,
.social-links a {
  border: none;
  border-radius: 999px;
  font-family: 'Allerta Stencil', sans-serif;
  transition:
    transform var(--transition),
    opacity var(--transition),
    box-shadow var(--transition);
}

.upload-form button[type="submit"],
.download-button {
  width: 100%;
  padding: 0.95rem 1rem;
  background: var(--color-pink);
  color: #172524;
  cursor: pointer;
  box-shadow: var(--shadow-button);
}

.upload-form button[type="submit"]:hover,
.download-button:hover,
.social-links a:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

#upload-status,
#latest-gif-status {
  color: rgba(227, 241, 230, 0.72);
  font-size: 0.9rem;
}

#upload-status {
  margin-top: 1rem;
}

#latest-gif-image {
  display: none;
  width: 100%;
  max-height: 520px;
  margin-top: 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  object-fit: contain;
}

.download-button {
  display: none;
  margin-top: 1rem;
}

.social-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 1000;
  width: 100%;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(227, 241, 230, 0.14);
  background: rgba(23, 37, 36, 0.92);
  backdrop-filter: blur(10px);
}

.social-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, 1100px);
  margin: 0 auto;
  gap: 1rem;
}

.social-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
}

.social-label {
  color: var(--color-light);
  font-family: 'Allerta Stencil', sans-serif;
  font-size: 0.9rem;
}

.footer-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}

.footer-logo-slot-right {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.social-logo,
.wutkoeder-badge {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex: 1 1 auto;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
  padding: 0.65rem 1rem;
  background: var(--color-pink);
  color: #172524;
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .page-content {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 3rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .donation,
  .latest-gif-section {
    padding: 1.2rem;
  }
}

@media (max-width: 700px) {
  body {
    padding-bottom: 8.5rem;
  }

  .social-bar-inner {
    flex-direction: column;
    align-items: center;
  }

  .social-brand {
    justify-content: center;
  }

  .social-links {
    width: 100%;
    justify-content: center;
  }

  .footer-logo-slot {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
  }

  .footer-logo-slot-right {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }

  .social-label {
    font-size: 0.8rem;
  }
}

.signal-teaser {
  width: min(100% - 2rem, var(--content-width));
  margin: -2.5rem auto 5.5rem;
}

.signal-entry {
  display: inline-block;
  padding: 0.7rem 0.95rem;
  border: 1px dashed rgba(243, 226, 222, 0.35);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--color-light);
  opacity: 0.72;
  cursor: pointer;
  transition: transform var(--transition), opacity var(--transition), border-color var(--transition);
}

.signal-entry:hover {
  transform: translateY(-1px);
  opacity: 1;
  border-color: rgba(243, 226, 222, 0.85);
}

.signal-entry-label {
  color: var(--color-pink);
  font-family: 'Allerta Stencil', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.signal-entry-code {
  margin-left: 0.5rem;
  color: rgba(227, 241, 230, 0.55);
  font-family: monospace;
  font-size: 0.72rem;
}

/* =========================================================
   FREQUENZ LANDING PAGE
   ========================================================= */


/* =========================
   HEADER
   ========================= */

.landing-header {
  position: relative;
  z-index: 100;

  width: 100%;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  background: #000;
}

.landing-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: min(100% - 2rem, 1300px);
  height: 80px;

  margin: 0 auto;
}

.landing-brand {
  display: flex;
  align-items: center;
}

.landing-header-logo {
  width: 58px;
  height: 58px;

  object-fit: contain;
}

.landing-nav {
  display: flex;
  align-items: center;

  gap: 2rem;

  font-family: 'Allerta Stencil', sans-serif;
  font-size: 0.8rem;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-nav a {
  opacity: 0.7;

  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.landing-nav a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.landing-menu-button {
  padding: 0.4rem;

  border: none;

  background: transparent;
  color: white;

  font-size: 1.5rem;

  cursor: pointer;
}


/* =========================
   EVENT CAROUSEL
   ========================= */

.event-carousel {
  position: relative;

  width: 100%;
  height: min(75vh, 780px);

  min-height: 540px;

  overflow: hidden;

  background: #000;
}

.carousel-track {
  display: flex;

  width: 100%;
  height: 100%;

  transform: translateX(0);

  transition:
    transform 700ms cubic-bezier(0.77, 0, 0.175, 1);
}


/* einzelne Slides */

.event-slide {
  position: relative;

  display: flex;
  align-items: flex-end;

  min-width: 100%;
  height: 100%;

  padding:
    clamp(2rem, 7vw, 7rem)
    clamp(2rem, 8vw, 8rem);

  overflow: hidden;

  color: white;
}


/* =========================
   TEMPORÄRE HINTERGRÜNDE
   ========================= */

.event-slide-1 {
  background:
    linear-gradient(
      135deg,
      #020b31 0%,
      #075985 45%,
      #14b8a6 100%
    );
}

.event-slide-2 {
  background:
    linear-gradient(
      135deg,
      #041c32 0%,
      #064663 48%,
      #159957 100%
    );
}

.event-slide-3 {
  background:
    linear-gradient(
      135deg,
      #001219 0%,
      #005f73 45%,
      #0a9396 75%,
      #94d2bd 100%
    );
}


/* dunkler Layer über den Farben / später Bildern */

.event-slide::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.32) 55%,
      rgba(0, 0, 0, 0.08) 100%
    );

  pointer-events: none;
}


/* =========================
   EVENT TEXT
   ========================= */

.event-slide-content {
  position: relative;
  z-index: 2;

  max-width: 900px;
}

.event-slide-number {
  margin-bottom: 1.2rem;

  font-family: 'Allerta Stencil', sans-serif;

  font-size: 0.75rem;
  letter-spacing: 0.15em;

  opacity: 0.7;
}

.event-slide h1 {
  margin-bottom: 1.4rem;

  font-family: 'Allerta Stencil', sans-serif;

  font-size: clamp(3rem, 8vw, 7.5rem);

  line-height: 0.9;
  letter-spacing: -0.025em;
}

.event-slide-description {
  max-width: 600px;

  margin-bottom: 1.5rem;

  font-size: 1rem;

  opacity: 0.82;
}

.event-open-link {
  display: inline-block;

  font-family: 'Allerta Stencil', sans-serif;

  font-size: 0.85rem;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}


/* =========================
   CAROUSEL PFEILE
   ========================= */

.carousel-button {
  position: absolute;

  top: 50%;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.25);

  color: white;

  font-size: 1.2rem;

  backdrop-filter: blur(8px);

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.carousel-button:hover {
  background: rgba(0, 0, 0, 0.65);

  border-color: rgba(255, 255, 255, 0.8);
}

.carousel-button-left {
  left: 1.5rem;
}

.carousel-button-right {
  right: 1.5rem;
}


/* =========================
   CAROUSEL DOTS
   ========================= */

.carousel-indicators {
  position: absolute;

  left: 50%;
  bottom: 1.6rem;

  z-index: 5;

  display: flex;
  align-items: center;

  gap: 0.55rem;

  transform: translateX(-50%);
}

.carousel-dot {
  width: 32px;
  height: 3px;

  padding: 0;

  border: none;

  background: rgba(255, 255, 255, 0.35);

  cursor: pointer;

  transition:
    width 220ms ease,
    background 220ms ease;
}

.carousel-dot.active {
  width: 55px;

  background: white;
}


/* =========================
   ALLGEMEINE LANDING SECTIONS
   ========================= */

.landing-section {
  width: min(100% - 2rem, 1300px);

  margin: 7rem auto;
}

.landing-section-heading {
  display: flex;
  align-items: flex-start;

  gap: 1.5rem;

  margin-bottom: 2.5rem;
}

.section-number {
  margin-top: 0.7rem;

  font-family: monospace;

  font-size: 0.75rem;

  opacity: 0.4;
}

.section-eyebrow {
  margin-bottom: 0.25rem;

  color: var(--color-pink);

  font-family: 'Allerta Stencil', sans-serif;

  font-size: 0.7rem;

  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-section-heading h2 {
  font-family: 'Allerta Stencil', sans-serif;

  font-size: clamp(2.5rem, 6vw, 5rem);

  line-height: 1;

  text-transform: uppercase;
}


/* =========================
   KALENDER PLATZHALTER
   ========================= */

.calendar-placeholder {
  min-height: 370px;

  border: 1px solid rgba(255, 255, 255, 0.14);

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.04),
      rgba(255, 255, 255, 0.01)
    );
}

.calendar-placeholder-header {
  display: flex;
  justify-content: space-between;

  padding: 1rem 1.25rem;

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  font-family: 'Allerta Stencil', sans-serif;

  font-size: 0.75rem;

  letter-spacing: 0.12em;

  opacity: 0.65;
}

.calendar-placeholder-content {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-direction: column;

  min-height: 310px;

  text-align: center;
}

.calendar-placeholder-content p {
  font-family: 'Allerta Stencil', sans-serif;

  font-size: clamp(1.8rem, 6vw, 5rem);

  letter-spacing: 0.08em;

  opacity: 0.13;
}

.calendar-placeholder-content span {
  margin-top: 1rem;

  opacity: 0.45;
}


/* =========================
   LINK GRID
   ========================= */

.landing-link-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.landing-link-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 300px;

  padding: 2rem;

  border-right: 1px solid rgba(255, 255, 255, 0.14);

  transition:
    background 250ms ease,
    color 250ms ease;
}

.landing-link-card:last-child {
  border-right: none;
}

.landing-link-card:hover {
  background: white;
  color: black;
}

.landing-card-number {
  font-family: monospace;

  font-size: 0.75rem;

  opacity: 0.4;
}

.landing-card-bottom h3 {
  margin-bottom: 0.8rem;

  font-family: 'Allerta Stencil', sans-serif;

  font-size: clamp(1.8rem, 4vw, 3.2rem);

  text-transform: uppercase;
}

.landing-card-bottom span {
  font-size: 0.85rem;

  opacity: 0.65;
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 800px) {

  .landing-nav > a {
    display: none;
  }

  .event-carousel {
    min-height: 600px;
  }

  .event-slide {
    padding:
      3rem
      1.5rem
      5rem;
  }

  .event-slide h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .carousel-button {
    top: auto;
    bottom: 1rem;

    width: 44px;
    height: 44px;

    transform: none;
  }

  .carousel-button-left {
    left: 1rem;
  }

  .carousel-button-right {
    right: 1rem;
  }

  .landing-link-grid {
    grid-template-columns: 1fr;
  }

  .landing-link-card {
    min-height: 220px;

    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .landing-link-card:last-child {
    border-bottom: none;
  }

}
