@font-face {
  font-family: 'Nulshock Bd';
  src: url('sources/fonts/nulshock-bd.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Poppins Local Fonts */
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-ExtraLightItalic.ttf') format('truetype');
  font-weight: 200;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-MediumItalic.ttf') format('truetype');
  font-weight: 500;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-ExtraBoldItalic.ttf') format('truetype');
  font-weight: 800;
  font-style: italic;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: 'Poppins';
  src: url('sources/fonts/poppins/Poppins-BlackItalic.ttf') format('truetype');
  font-weight: 900;
  font-style: italic;
}

/* --- CSS-Variablen --- */
:root {
  --color-bg: #ffffff;
  --color-primary: rgb(245, 155, 43);
  --color-primary-dark: rgb(224, 138, 30);
  --color-secondary: rgb(127, 228, 255);
  --color-text: #090720;
  --color-text-light: #555;
  --color-border: #eee;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  --font-family: "Poppins", sans-serif;
  --container-width: 1140px;
  --transition-speed: 0.3s;
}

/* --- Globale Stile & Resets --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

@font-face {
  font-family: 'Orbitron';
  src: url('sources/fonts/orbitron/theleagueof-orbitron-13e6a52/webfonts/orbitron-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron';
  src: url('sources/fonts/orbitron/theleagueof-orbitron-13e6a52/webfonts/orbitron-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron';
  src: url('sources/fonts/orbitron/theleagueof-orbitron-13e6a52/webfonts/orbitron-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Orbitron';
  src: url('sources/fonts/orbitron/theleagueof-orbitron-13e6a52/webfonts/orbitron-black-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: "Nulshock Bd", sans-serif;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 20px;
  color: var(--color-text-light);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}

a:hover,
a:focus {
  color: var(--color-primary-dark);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- Buttons & Badges --- */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color var(--transition-speed),
    transform var(--transition-speed);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-primary-dark);
  color: var(--color-bg);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-border);
  color: var(--color-text);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: #ddd;
  color: var(--color-text);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-read-more {
  margin-top: 20px;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--color-secondary);
  color: var(--color-text);
  border-radius: var(--radius);
  font-weight: 500;
}

/* --- Announcement Banner --- */
#announcement-banner {
  background-color: var(--color-primary);
  color: var(--color-bg);
  padding: 10px 0;
  text-align: center;
  font-weight: 500;
  z-index: 99;
  position: relative;
}

#announcement-banner .container {
  display: flex;
  align-items: center;
  position: relative;
}

#announcement-banner p {
  margin: 0;
  color: var(--color-bg);
  text-align: center;
  flex-grow: 1; /* Allow paragraph to take available space */
  padding-right: 60px; /* Space for the close button */
}

#close-banner-btn {
  background: none;
  border: none;
  color: var(--color-bg);
  font-size: 1.5rem;
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 10px;
  line-height: 1;
}

#close-banner-btn:hover {
  opacity: 0.8;
}

/* --- Header & Navigation --- */
#header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 20px 0;
  transition: padding var(--transition-speed);
}

#header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow);
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
}

.logo span {
  font-family: "Orbitron", sans-serif;
  color: var(--color-text);
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 30px;
  margin-right: 30px;
}

nav a {
  color: var(--color-text);
  font-weight: 500;
  position: relative;
  font-family: "Orbitron", sans-serif;
}

nav a.active {
  color: var(--color-primary);
}

nav a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

/* --- Hero Section --- */
#hero {
  position: relative;
  text-align: center;
  padding: 100px 0;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  margin-bottom: 20px;
  color: var(--color-text);
}

#hero p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

#hero .btn-large {
  margin-bottom: 20px;
}

#hero .badge {
  margin-bottom: 40px;
}

#hero .hero-visual {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 100%;
  height: auto;
  max-height: 400px;
  margin: 0 auto;
  overflow: hidden; /* This will clip any overflowing content */
}

#hero .hero-visual video,
#hero .hero-visual img {
  width: 100%; /* Ensure video fills the container */
  height: 100%;
  object-fit: cover;
}

/* --- About Section --- */
#about .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

#about .about-content {
  flex: 1;
}

#about figure {
  flex: 1;
  max-width: 450px;
}

#about figure img {
  border-radius: var(--radius);
}

#about ul {
  list-style-type: "✓ ";
  padding-left: 20px;
}

#about ul li {
  margin-bottom: 10px;
}

/* --- How It Works Section --- */
#how {
  background-color: #f9f9f9;
}

#how h2 {
  text-align: center;
  margin-bottom: 60px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.card {
  background-color: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s,
    transform 0.5s,
    box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card p {
  flex-grow: 1;
}


.card.visible {
  opacity: 1;
  transform: translateY(0);
}

.card:hover,
.card:focus {
  box-shadow: 0 8px 24px rgba(127, 228, 255, 0.4);
  transform: translateY(-5px);
}

/* --- Assortment Section --- */
#assortment {
  text-align: center;
}

.assortment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.assortment-card {
  background-color: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform var(--transition-speed),
    box-shadow 0.3s ease;
}

.assortment-card:hover,
.assortment-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(127, 228, 255, 0.4);
}

.assortment-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.assortment-card h3 {
  font-size: 1.2rem;
  padding: 20px;
  margin: 0;
}

#assortment .btn {
  margin-top: 20px;
}

/* --- Location Section --- */
#location .container {
  display: flex;
  gap: 60px;
  align-items: center;
}

.location-details {
  flex: 1;
}

.location-address {
  margin-bottom: 25px; /* Increased space below address */
}

.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px; /* Space between icon and text */
}

.map-container {
  flex: 1.5;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

/* --- Contact Section --- */
#contact {
  background-color: #f9f9f9;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background-color: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--color-text);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover,
.contact-card:focus {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(127, 228, 255, 0.4);
  color: var(--color-primary-dark);
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  height: 40px; /* 2.5rem * 16px/rem = 40px */
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-icon img {
  height: 100%;
  width: auto;
}

@media (max-width: 576px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --- */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  margin-right: 20px;
  color: var(--color-text-light);
}

#cookie-settings-trigger {
  text-decoration: none;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

#cookie-settings-trigger:hover {
  transform: scale(1.2);
}

.footer-copy {
  color: var(--color-text-light);
}

.footer-logo img {
  height: 30px;
  opacity: 0.7;
}

/* --- Cookie Banner --- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-text);
  color: var(--color-bg);
  padding: 20px 0;
  z-index: 200;
  transform: translateY(100%);
  transition: transform 0.5s ease-in-out;
}

#cookie-banner.visible {
  transform: translateY(0);
}

#cookie-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cookie-banner p {
  margin: 0;
  color: var(--color-bg);
}

#cookie-banner a {
  color: var(--color-secondary);
  text-decoration: underline;
}

#cookie-banner div {
  display: flex;
  gap: 15px;
}

/* --- Scroll Animations --- */
.animated-item {
  opacity: 0;
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in-up {
  transform: translateY(30px);
}

.slide-in-left {
  transform: translateX(-50px);
}

.slide-in-right {
  transform: translateX(50px);
}

.animated-item.visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* --- Mobile Optimizations --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }

  section {
    padding: 60px 0;
  }

  nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background-color: var(--color-bg);
    flex-direction: column;
    padding-top: 100px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

  nav.active {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 20px;
    margin: 0;
    width: 100%;
    text-align: center;
  }

  nav ul li {
    width: 100%;
  }

  nav .btn {
    margin-top: 30px;
  }

  .mobile-nav-toggle {
    display: block;
    width: 30px;
    height: 22px;
    position: relative;
  }

  .mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    position: absolute;
    left: 0;
    transition:
      transform 0.3s,
      opacity 0.3s;
  }

  .mobile-nav-toggle span:nth-child(1) {
    top: 0;
  }
  .mobile-nav-toggle span:nth-child(2) {
    top: 10px;
  }
  .mobile-nav-toggle span:nth-child(3) {
    bottom: 0;
  }

  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  #about .container,
  #location .container {
    flex-direction: column;
  }

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

  footer .container {
    flex-direction: column;
    gap: 20px;
  }

  #cookie-banner .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.hidden {
    display: none !important;
}

/* --- Map Placeholder --- */
#map-placeholder {
    width: 100%;
    height: 450px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #ccc;
    color: #333;
    padding: 20px;
}

#map-placeholder.hidden {
    display: none !important;
}

/* --- Responsive Map --- */
@media (max-width: 768px) {
    .map-container iframe,
    #map-placeholder {
        height: 300px;
    }
}
