/* ===================================
   LAYOUT.CSS - Grid, Sections, Structure
   =================================== */

/* Header & Navigation */
header {
  z-index: 1000;
}

.navbar {
  padding: 1rem 0;
  transition: box-shadow 0.3s;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 102, 204, 0.1);
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 4px 20px rgba(0, 102, 204, 0.3);
}

.navbar-brand .text-accent {
  display: inline-block;
  animation: pulse-accent 2s ease-in-out infinite;
}

@keyframes pulse-accent {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.1);
    filter: brightness(1.2);
  }
}

/* Footer Logo */
footer h5 .text-primary {
  transition: all 0.3s ease;
}

footer h5 .text-accent {
  display: inline-block;
  transition: all 0.3s ease;
  animation: pulse-accent 2s ease-in-out infinite;
}

footer h5:hover .text-primary {
  text-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

footer h5:hover .text-accent {
  transform: scale(1.15);
  text-shadow: 0 0 15px rgba(255, 102, 0, 0.6);
  filter: brightness(1.3);
}

/* Section Headlines with Logo */
h2 .text-accent,
h3 .text-accent,
h4 .text-accent {
  display: inline-block;
  animation: pulse-accent 2s ease-in-out infinite;
}

.navbar.scrolled {
  box-shadow: var(--box-shadow);
}

/* Hero Section */
.hero-section {
  min-height: 500px;
  display: flex;
  align-items: center;
}

/* Sections */
section {
  position: relative;
}

.py-5 {
  padding-top: var(--spacing-lg) !important;
  padding-bottom: var(--spacing-lg) !important;
}

/* Footer */
footer {
  margin-top: auto;
}

footer a:hover {
  opacity: 0.8;
}

/* Container Anpassungen */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }

  .py-5 {
    padding-top: var(--spacing-md) !important;
    padding-bottom: var(--spacing-md) !important;
  }
}

/* Grid & Spacing */
.row {
  margin-right: calc(var(--bs-gutter-x) * -0.5);
  margin-left: calc(var(--bs-gutter-x) * -0.5);
}

.g-4 {
  --bs-gutter-y: 1.5rem;
  --bs-gutter-x: 1.5rem;
}

/* Section Backgrounds */
section:nth-of-type(even) {
  background-color: var(--color-bg-light);
}
