/* =============================================
   WebsiteAgent – Generated CSS
   Site: Intranet-Spidol-Echternach
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, sans-serif;
  color: #e2e8f0;
  background-color: #0d0f1a;
  line-height: 1.6;
}

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

a {
  color: #a5b4fc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
/* --section-max-width erlaubt individuelle Breiten-Überschreibung pro Section */
.container {
  max-width: var(--section-max-width, 1200px);
  margin: 0 auto;
  padding: 0 24px;
}

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

header {
  background-color: #b0c762;
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: Inter, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* =============================================
   NAVIGATION
   ============================================= */

nav ul {
  list-style: none;
  display: flex;
  gap: 8px;
}

nav ul li a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: rgba(255,255,255,0.15);
  color: #fff;
  text-decoration: none;
}

/* Dropdown Navigation */
nav ul li { position: relative; }

nav ul li.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.75em;
  opacity: 0.8;
}

nav ul li.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 0;
  background-color: #b0c762;
  border-radius: 6px;
  min-width: 200px;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  padding: 6px 0;
}

nav ul li.has-dropdown:hover .dropdown { display: block; }
nav ul li.has-dropdown .dropdown li   { display: block; }

nav ul li.has-dropdown .dropdown a {
  display: block;
  padding: 9px 18px;
  white-space: nowrap;
  border-radius: 0;
}

nav ul li.has-dropdown .dropdown a:hover {
  background-color: rgba(255,255,255,0.15);
}

@media (max-width: 768px) {
  nav ul li.has-dropdown .dropdown {
    display: block;
    position: static;
    box-shadow: none;
    padding: 0 0 4px 16px;
    border-radius: 0;
    background-color: transparent;
    min-width: 0;
  }
  nav ul li.has-dropdown > a::after { content: none; }
  nav ul li.has-dropdown .dropdown li { display: block; }
  nav ul li.has-dropdown .dropdown a { padding: 10px 16px; font-size: 0.95rem; opacity: 0.85; }
}

/* =============================================
   LOGO-BANNER (optional, zwischen Header und Content)
   ============================================= */

.logo-banner {
  text-align: center;
  padding: 32px 24px 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  background: #0d0f1a;
}

.logo-banner-link {
  display: inline-block;
  text-decoration: none;
}

.logo-banner-link:hover {
  opacity: 0.85;
  text-decoration: none;
}

.logo-banner-img {
  max-height: 120px;
  width: auto;
  margin: 0 auto;
  display: block;
}

.logo-banner-text {
  font-family: Inter, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #b0c762;
  letter-spacing: -0.5px;
}

/* Header ohne Logo: Navigation rechts ausrichten */
header.header-nav-only .header-inner {
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .logo-banner { padding: 20px 16px 16px; }
  .logo-banner-img  { max-height: 70px; }
  .logo-banner-text { font-size: 1.8rem; }
}

/* =============================================
   SECTIONS – Gemeinsam
   ============================================= */

section {
  padding: 80px 0;
}

section:nth-child(even) {
  background-color: #f8f9fa;
}

.section-headline {
  font-family: Inter, sans-serif;
  font-size: 2rem;
  color: #b0c762;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #e2e8f0;
  max-width: 720px;
}

/* =============================================
   HERO SECTION
   ============================================= */

.section-hero {
  background: linear-gradient(135deg, #b0c762 0%, #34495e 100%);
  color: #fff;
  padding: 100px 0;
}

.section-hero .section-headline {
  color: #fff;
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.section-hero .section-body {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  margin-bottom: 36px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-image {
  flex: 1;
}

.hero-image img {
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background-color: #a5b4fc;
  color: #fff;
  border: 2px solid #a5b4fc;
}

.btn-primary:hover {
  background-color: transparent;
  color: #a5b4fc;
  text-decoration: none;
}

/* =============================================
   TEXT SECTION
   ============================================= */

.section-text .section-body {
  max-width: 800px;
}

/* =============================================
   TEXT-IMAGE SECTION
   ============================================= */

.text-image-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.text-image-inner.image-left {
  flex-direction: row-reverse;
}

.text-image-content {
  flex: 1;
}

.text-image-img {
  flex: 1;
}

.text-image-img img {
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e0e7ef, #c8d6e5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8fa6;
  font-size: 0.9rem;
}

/* =============================================
   CARDS SECTION
   ============================================= */

.cards-grid {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}

.cards-grid.cols-1 { grid-template-columns: 1fr; }
.cards-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.card-title {
  font-family: Inter, sans-serif;
  font-size: 1.2rem;
  color: #b0c762;
  margin-bottom: 10px;
  font-weight: 700;
}

.card-text {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* =============================================
   CONTACT INFO SECTION
   ============================================= */

.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}

.contact-icon {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  background: #a5b4fc1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  color: #b0c762;
  margin-right: 8px;
}

/* =============================================
   FOOTER
   ============================================= */

footer {
  background-color: #b0c762;
  color: rgba(255,255,255,0.8);
  padding: 60px 0 30px;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* =============================================
   HAMBURGER NAVIGATION
   ============================================= */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
  gap: 5px;
  flex-shrink: 0;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.12);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* X-Animation wenn offen */
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 900px) {
  .hero-inner,
  .text-image-inner,
  .text-image-inner.image-left {
    flex-direction: column;
    gap: 36px;
  }

  .section-hero .section-headline {
    font-size: 2rem;
  }

  .cards-grid.cols-3,
  .cards-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #b0c762;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 16px 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 999;
    pointer-events: none;
  }

  nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0 16px;
  }

  nav ul li a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: 8px;
  }
}

@media (max-width: 600px) {
  section {
    padding: 60px 0;
  }

  .section-headline {
    font-size: 1.6rem;
  }

  .cards-grid.cols-2,
  .cards-grid.cols-3,
  .cards-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FAQ ACCORDION
   ============================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text, #333);
  text-align: left;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-question[aria-expanded="true"] {
  color: var(--color-primary, #2c3e50);
}

.faq-icon {
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-accent, #3498db);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
}

/* =============================================
   GALERIE
   ============================================= */

.gallery-grid {
  display: grid;
  gap: 14px;
  margin-top: 32px;
}

.gallery-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 8px 12px;
  font-size: 0.82rem;
  color: #6b7280;
  text-align: center;
  background: #fff;
}

@media (max-width: 768px) {
  .gallery-grid.cols-3,
  .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .gallery-grid.cols-2,
  .gallery-grid.cols-3,
  .gallery-grid.cols-4 { grid-template-columns: 1fr; }
}

/* =============================================
   LAZY LOAD / SCROLL REVEAL
   ============================================= */

section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

/* Erste Section (Hero) sofort sichtbar – kein Fade beim Seitenaufruf */
section:first-of-type {
  opacity: 1;
  transform: none;
  transition: none;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */

#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  line-height: 1;
  background: var(--color-primary, #2c3e50);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  pointer-events: none;
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

#back-to-top:hover {
  background: var(--color-accent, #3498db);
  transform: translateY(-2px) scale(1.08);
}

@media (max-width: 600px) {
  #back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* =============================================
   HERO-GRID SECTION (Splash mit Hintergrund-Medium)
   ============================================= */

.section-hero-grid {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-grid-wrap {
  position: relative;
  z-index: 2;
  flex: 1;
  width: 100%;
}

.hero-grid-content {
  display: grid;
  gap: 40px;
  padding: 80px 0;
  align-items: center;
}

.hero-grid-content.cols-1 { grid-template-columns: 1fr; }
.hero-grid-content.cols-2 { grid-template-columns: 1fr 1fr; }

.hero-grid-content.align-left   { text-align: left; }
.hero-grid-content.align-center { text-align: center; }
.hero-grid-content.align-right  { text-align: right; }

/* Kinder-Sections: kein eigenes Padding, kein Container-Limit */
.section-hero-grid .hg-child > section {
  padding: 0;
}
.section-hero-grid .hg-child .container {
  max-width: none;
  padding: 0;
}

/* Text-Farben hell (auf dunklem Hintergrund) */
.section-hero-grid .section-headline { color: #fff; }
.section-hero-grid .section-body     { color: rgba(255,255,255,0.88); max-width: none; }

/* Alternierenden Hintergrund für Kinder-Sections deaktivieren */
.section-hero-grid .hg-child section:nth-child(even) {
  background-color: inherit;
}

@media (max-width: 900px) {
  .hero-grid-content.cols-2 { grid-template-columns: 1fr; }
}

/* =============================================
   HERO-GRID – Frosted-Glass-Variante
   ============================================= */

.section-hero-grid.hero-frosted {
  padding: 0;
  display: flex;
  flex-direction: column;
}

.section-hero-grid.hero-frosted .hero-grid-overlay {
  background: rgba(0, 0, 0, 0.18) !important;
}

.section-hero-grid.hero-frosted .hero-grid-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  width: 100%;
}

.section-hero-grid.hero-frosted .container {
  display: flex;
  justify-content: center;
  padding: 0;
}

.section-hero-grid.hero-frosted .hero-frosted-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 3px;
  padding: 10px;
  max-width: 580px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.22);
}

.section-hero-grid.hero-frosted .hero-frosted-inner {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 1px;
  padding: 42px 54px;
}

.section-hero-grid.hero-frosted .hg-child > section {
  padding: 0;
}
.section-hero-grid.hero-frosted .hg-child .container {
  max-width: none;
  padding: 0;
  display: block;
}

.section-hero-grid.hero-frosted .section-headline {
  color: #7b1e2a;
  font-size: 2rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-hero-grid.hero-frosted .section-body {
  color: #2c2c2c;
  max-width: none;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.section-hero-grid.hero-frosted .btn-primary {
  background-color: transparent;
  color: #7b1e2a;
  border: 2px solid #7b1e2a;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section-hero-grid.hero-frosted .btn-primary:hover {
  background-color: #7b1e2a;
  color: #fff;
}

@media (max-width: 640px) {
  .section-hero-grid.hero-frosted .hero-frosted-card {
    margin: 0 8px;
  }
  .section-hero-grid.hero-frosted .hero-frosted-inner {
    padding: 28px 20px;
  }
  .section-hero-grid.hero-frosted .hero-grid-wrap {
    padding: 40px 16px;
  }
}

/* =============================================
   GALLERY SLIDER (expo-galerie)
   ============================================= */

.section-gallery-slider {
  padding: 60px 0;
}
.expo-slider-wrap {
  position: relative;
  border-radius: 8px;
  user-select: none;
}
.expo-slides-vp {
  /* Keine feste aspect-ratio — das Bild bestimmt die Höhe natürlich.
     max-height + aspect-ratio würden sich widersprechen und einen
     schmäleren Viewport erzeugen (schwarzer Streifen rechts). */
  position: relative;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: #111;
  line-height: 0;
}
.expo-slide {
  display: none;
  width: 100%;
  cursor: zoom-in;
  line-height: 0;
}
.expo-slide.active { display: block; }
.expo-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}
.expo-slide-ph {
  width: 100%;
  height: 300px;
  min-height: 200px;
  background: #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  line-height: 1.4;
}
.expo-slider-prev,
.expo-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.expo-slider-prev:hover,
.expo-slider-next:hover { background: rgba(0,0,0,0.8); }
.expo-slider-prev { left: 12px; }
.expo-slider-next { right: 12px; }
.expo-thumb-strip {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px;
  background: rgba(0,0,0,0.08);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-radius: 0 0 8px 8px;
  scrollbar-width: thin;
  scrollbar-color: #a5b4fc transparent;
}
.expo-thumb-strip::-webkit-scrollbar { height: 3px; }
.expo-thumb-strip::-webkit-scrollbar-thumb {
  background: #a5b4fc;
  border-radius: 2px;
}
.expo-thumb {
  width: 80px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  opacity: 0.5;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.expo-thumb:hover { opacity: 0.8; }
.expo-thumb.active {
  opacity: 1;
  border-color: #a5b4fc;
}
.expo-thumb-ph {
  width: 80px;
  height: 56px;
  background: #333;
  border-radius: 4px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 0.75rem;
}
@media (max-width: 600px) {
  .expo-slider-prev,
  .expo-slider-next { width: 36px; height: 36px; font-size: 1.2rem; }
  .expo-thumb { width: 60px; height: 42px; }
}

/* =============================================
   HTML / EMBED SECTION
   ============================================= */

.section-html {
  padding: 40px 0;
}

.section-html iframe,
.section-html video,
.section-html embed,
.section-html object {
  max-width: 100%;
  display: block;
}

/* =============================================
   ONEPAGE MODE
   ============================================= */

/* Header: fixed, transparent über Hero-Bild, solid beim Scrollen */
body.onepage header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  z-index: 1000;
}

body.onepage header.scrolled {
  background-color: #b0c762;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Hero-Section: volle Viewport-Höhe, Inhalt unter dem fixed Header */
body.onepage .section-hero {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
}

body.onepage .section-hero .hero-inner {
  width: 100%;
  align-items: center;
}

/* Scroll-Target-Offset für fixed Header */
.onepage-block {
  scroll-margin-top: 70px;
}

/* Erste Section beginnt direkt bei y=0, fixed Header liegt drüber */
body.onepage main {
  padding-top: 0;
}

/* Alternierenden Hintergrund in Onepage deaktivieren */
body.onepage section:nth-child(even) {
  background-color: inherit;
}

/* Onepage: Scroll Reveal für alle Sections außer erster */
body.onepage .onepage-block:first-child section:first-of-type {
  opacity: 1;
  transform: none;
  transition: none;
}