/* Holzbüttzje – vollständiges Stylesheet
   Lokale Google Fonts: Dateien müssen in ../fonts/ liegen. */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow";
  src: url("../fonts/Barlow-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/BarlowCondensed-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #e60022;
  --yellow: #ffd600;
  --ink: #12131a;
  --cream: #fff8e7;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

/* Header */
.navbar {
  background: rgba(18, 19, 26, 0.96);
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease;
}

.navbar.nav-hidden {
  transform: translateY(-110%);
}

.navbar .container {
  min-height: 83px;
}

.navbar-brand {
  position: absolute;
  top: 7px;
  left: 1rem;
  z-index: 2;
  margin: 0;
}

.navbar-brand img {
  display: block;
  width: 215px;
  height: auto;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.3));
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.65);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 214, 0, 0.45);
}

.navbar-collapse {
  min-height: 75px;
  padding-left: 245px;
  justify-content: space-between;
}

.nav-link {
  color: #fff !important;
  font-family: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--yellow) !important;
}

.ticket-nav {
  margin-left: auto;
}

/* Buttons */
.btn-party {
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--yellow);
  background: var(--yellow);
  box-shadow: 5px 5px 0 var(--red);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-party:hover,
.btn-party:focus {
  border-color: var(--yellow);
  background: #fff;
  box-shadow: 2px 2px 0 var(--red);
  color: var(--ink);
  transform: translate(3px, 3px);
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 780px;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: #19110e url("../img/hero-party.jpg") center 43% / cover no-repeat;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(100deg, rgba(5, 6, 11, 0.91) 0%, rgba(5, 6, 11, 0.71) 45%, rgba(5, 6, 11, 0.18) 100%);
}

.hero::after {
  position: absolute;
  right: -20rem;
  bottom: -21rem;
  z-index: -1;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  background: var(--red);
  content: "";
  opacity: 0.26;
}

.hero-content {
  animation: hero-slide 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.eyebrow {
  display: inline-flex;
  padding: 0.45rem 0.9rem;
  transform: rotate(-2deg);
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display-title {
  color: #fff;
  font-family: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.8rem, 10vw, 8.2rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.82;
  text-shadow: 7px 7px 0 var(--red), 10px 10px 0 rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
}

.hero .lead {
  max-width: 620px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
}

/* General sections */
.section-kicker {
  color: var(--red);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  font-family: "Barlow Condensed", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
}

/* Party */
.party-section {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff;
}

.party-section::after {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 27rem;
  height: 27rem;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
  opacity: 0.96;
}

.party-content {
  position: relative;
  z-index: 1;
}

.fact {
  padding-left: 1rem;
  border-left: 4px solid var(--yellow);
}

.fact strong {
  display: block;
  color: #fff3a4;
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact span {
  font-size: 1.13rem;
  font-weight: 700;
}

.ticket-card {
  padding: 1.7rem;
  transform: rotate(1.4deg);
  background: var(--yellow);
  box-shadow: 10px 10px 0 var(--ink);
  color: var(--ink);
}

.ticket-card h3 {
  font-family: "Barlow Condensed", Impact, Haettenschweiler, sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  line-height: 0.85;
  text-transform: uppercase;
}

.ticket-price {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}

/* Flyer / Lightbox */
.poster {
  max-width: 330px;
  border: 8px solid #fff;
  box-shadow: 12px 12px 0 var(--ink);
  cursor: zoom-in;
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
}

.poster:hover,
.poster:focus {
  transform: rotate(0deg) scale(1.02);
}

#flyerTrigger:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 10px;
}

/* Contact */
.contact-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 12px 35px rgba(18, 19, 26, 0.1);
}

.contact-icon {
  display: grid;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 2rem;
  line-height: 1;
}

/* Footer */
.footer {
  background: var(--ink);
  color: #fff;
}

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

.footer a:hover,
.footer a:focus {
  color: #fff;
  text-decoration: underline;
}

/* Legal pages */
.legal main {
  min-height: 70vh;
  padding-top: 145px;
}

.legal h1 {
  color: var(--red);
  font-family: "Barlow Condensed", Impact, Haettenschweiler, sans-serif;
  font-size: 4rem;
  font-weight: 900;
  text-transform: uppercase;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  z-index: 2000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 700px;
  padding: 1.1rem 1.2rem;
  border-left: 6px solid var(--red);
  background: #fff;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.cookie-banner p {
  margin: 0;
  font-size: 0.87rem;
}

@keyframes hero-slide {
  from {
    opacity: 0;
    transform: translateX(-65px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Tablet and mobile */
@media (max-width: 991.98px) {
  .navbar .container {
    min-height: 72px;
  }

  .navbar-brand {
    top: 7px;
    left: 1rem;
  }

  .navbar-brand img {
    width: 145px;
  }

  .navbar-collapse {
    min-height: auto;
    padding: 1rem 0;
  }

  .navbar-nav {
    padding-top: 1rem;
  }

  .ticket-nav {
    margin-left: 0;
  }

  .hero {
    background-position: 55% center;
  }

  .party-section::after {
    opacity: 0.45;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 700px;
  }

  .display-title {
    text-shadow: 5px 5px 0 var(--red), 7px 7px 0 rgba(0, 0, 0, 0.55);
  }

  .poster {
    margin-top: 2rem;
  }

  .cookie-banner {
    right: 0.5rem;
    bottom: 0.5rem;
    left: 0.5rem;
  }

  .legal h1 {
    font-size: 3rem;
  }

  .contact-icon {
    width: 62px;
    height: 62px;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
