/* === FONTS === */
@font-face { font-family: "Abel"; font-weight: 400; font-display: swap; src: url(../fonts/Abel-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 300; font-display: swap; src: url(../fonts/Roboto-300.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 400; font-display: swap; src: url(../fonts/Roboto-400.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 500; font-display: swap; src: url(../fonts/Roboto-500.woff2) format("woff2"); }
@font-face { font-family: "Roboto"; font-weight: 700; font-display: swap; src: url(../fonts/Roboto-700.woff2) format("woff2"); }
@font-face { font-family: "Special Elite"; font-weight: 400; font-display: swap; src: url(../fonts/SpecialElite-400.woff2) format("woff2"); }

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background-color: #d4c6b5; }
body { font-family: "Abel", sans-serif; font-weight: 400; font-size: 16px; color: #e0e0e0; background: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* === HERO (Startseite) === */
.hero {
  background-image: url(../images/bckg-mit-schatten1.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 20px;
  overflow: hidden;
}
.hero > * { position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: linear-gradient(rgba(0,0,0,0.17), rgba(0,0,0,0.17));
  pointer-events: none;
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.hero-logo-wrap {
  width: 80%;
}
.lottie-container {
  width: 100%;
}

/* === VIDEO SECTION === */
.videos-section {
  background-color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 100px;
}
.videos-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.videos-wrap {
  width: 70%;
}
.video-item {
  border: 1px solid #303030;
  margin-top: 20px;
  margin-bottom: 40px;
  background-color: #000;
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
.video-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-play-btn {
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.video-play-btn:hover { color: #e0e0e0; }
.video-item iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* === LIVE TERMINE (hidden) === */
.live-section { width: 70%; margin-top: 30px; padding: 30px 0; display: none; }

/* === POEM === */
.poem {
  color: #f5f5f5;
  font-size: 25px;
  font-family: "Special Elite", cursive;
  font-weight: 400;
  text-shadow: 0 0 3px #e0e0e0;
  text-align: center;
  margin-top: 80px;
  line-height: 1.6;
}

/* === TAGLINE === */
.tagline-wrap {
  display: flex;
  flex-direction: row;
  margin-top: 80px;
  align-items: center;
  max-width: 1100px;
  width: 100%;
}
.tagline-text-block {
  display: flex;
  align-items: flex-end;
  padding-right: 50px;
}
.tagline-text {
  color: #f5f5f5;
  font-size: 25px;
  font-family: "Special Elite", cursive;
  font-weight: 400;
  text-shadow: 0 0 3px #e0e0e0;
  flex-direction: column;
  position: relative;
  top: 10px;
  left: 20px;
  justify-content: flex-start;
}
.tagline-logo {
  width: 200px;
  height: 94px;
}

/* === HERO (Unterseiten) === */
.hero-sub {
  background-size: cover;
  background-attachment: fixed;
  background-position: top center;
  padding-top: 75px;
  position: relative;
}
.hero-sub > * { position: relative; }
.hero-sub::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: linear-gradient(rgba(0,0,0,0.41), rgba(0,0,0,0.41));
  pointer-events: none;
}
.hero-sub-bg {
  background-image: url(../images/Hannerl_2_backgroundjpg.jpg);
}
.hero-sub-inner {
  margin-top: 150px;
  max-width: 1100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub-logo {
  width: 200px;
  display: flex;
  align-self: flex-end;
}
.content-box {
  background-color: rgba(0,0,0,0.71);
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.home-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  margin-bottom: 30px;
  color: #e0e0e0;
  transition: all 0.2s ease-in;
}
.home-icon:hover { color: #ff9800; }
.page-title {
  text-transform: uppercase;
  font-size: 25px;
  margin-bottom: 20px;
  color: #f5f5f5;
  font-family: "Abel", sans-serif;
}
.page-text { color: #e0e0e0; }
.page-text p { margin-bottom: 1em; }
.page-text b { color: #f5f5f5; }
.page-text a { color: #e0e0e0; text-decoration: underline; }
.page-text a:hover { color: #ff9800; }

/* === FOOTER === */
.footer {
  background-color: #000;
  background-image: url(../images/Hannerl_footer_bckg.jpg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  padding-top: 68px;
  padding-bottom: 30px;
  box-shadow: inset 0 0 30px 30px #000;
}
.footer > * { position: relative; }
.footer::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-image: linear-gradient(rgba(0,0,0,0.59), rgba(0,0,0,0.59));
  pointer-events: none;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.social-icons {
  display: flex;
  column-gap: 120px;
  margin-bottom: 30px;
}
.social-icon {
  width: 84px;
  height: 84px;
  transition: all 0.3s ease-in;
}
.social-icon:hover { transform: scaleX(0.9) scaleY(0.9); }
.footer-links {
  display: flex;
  column-gap: 20px;
}
.footer-link {
  color: #e0e0e0;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
}
.footer-link:hover { color: #ffeb3b; }
.footer-copy {
  color: #9e9e9e;
  font-size: 12px;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  margin-top: 10px;
}

/* === SCROLL ANIMATIONS (matching Bricks interactions) === */
/* Videos: zoomIn, 2s, enterView, runOnce */
.anim-zoom {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 2s ease, transform 2s ease;
}
.anim-zoom.visible {
  opacity: 1;
  transform: scale(1);
}
/* Poem: fadeInUp, enterView, runOnce */
.anim-fade-up {
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  transition: opacity 1s ease, transform 1s ease;
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Tagline text: fadeInLeft, scroll, runOnce */
.anim-fade-left {
  opacity: 0;
  transform: translate3d(-100%, 0, 0);
  transition: opacity 1s ease, transform 1s ease;
}
.anim-fade-left.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
/* Tagline logo: fadeInUp, 1.5s, delay 1s, scroll, runOnce */
.anim-fade-up-slow {
  opacity: 0;
  transform: translate3d(0, 100%, 0);
  transition: opacity 1.5s ease 1s, transform 1.5s ease 1s;
}
.anim-fade-up-slow.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .poem { font-size: 20px; }
  .tagline-text { font-size: 20px; }
  .tagline-logo { width: 160px; height: 75px; }
  .tagline-wrap { flex-wrap: nowrap; }
  .page-title { font-size: 20px; }
  body { font-size: 14px; }
  .hero-sub { background-attachment: scroll; }
}
@media (max-width: 478px) {
  .hero {
    background-image: url(../images/bckg-mit-schatten1-phone2.jpg);
    background-size: cover;
    background-position: 55% 50%;
  }
  .hero-content { height: 100%; justify-content: flex-end; padding-bottom: 100px; }
  .videos-wrap { width: 90%; }
  .videos-section { padding-bottom: 60px; }
  .live-section { width: 90%; }
  .poem { font-size: 16px; margin-top: 0; }
  .tagline-text { font-size: 16px; }
  .tagline-wrap { margin-top: 30px; }
  .social-icons { column-gap: 70px; }
  .social-icon { width: 60px; height: 60px; }
  .video-play-btn { font-size: 50px; }
  .hero-sub-inner { margin-top: 80px; }
  .page-title { font-size: 20px; }
  .page-text { font-size: 13px; }
  .hero-sub {
    background-image: url(../images/Hannerl_2_background-mobile2.jpg);
    background-attachment: scroll;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #212121;
  }
}
