/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.site-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.site-logo img {
  height: 42px;
  width: auto;
  display: block;
}

/* Nav Menu */
.nav-menu {
  display: none; /* Mobile first hidden */
  list-style: none;
  align-items: center;
  gap: var(--space-lg);
  margin-bottom: 0;
}

.nav-menu__link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-menu__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-menu__link:hover::after,
.nav-menu__link--active::after {
  transform: scaleX(1);
}

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

/* Nav Actions (CTA Button) */
.nav-actions {
  display: none;
  align-items: center;
}

/* Mobile Toggle (Burger) */
.mobile-toggle {
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  z-index: 110;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
}

.mobile-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.mobile-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  transform-origin: center;
}

.mobile-toggle--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle--active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 340px;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-page);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  z-index: 105;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer--active {
  right: 0;
}

/* Close button inside drawer */
.mobile-drawer__close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-bottom: var(--space-lg);
}

.mobile-drawer__close:hover {
  background-color: rgba(0, 0, 0, 0.06);
  transform: rotate(90deg);
}

.mobile-drawer__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(19, 23, 21, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 104;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-drawer__overlay--active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-nav li {
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav__link {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--text-dark);
  padding: var(--space-md) 0;
  transition: color 0.2s ease;
}

.mobile-nav__link:hover {
  color: var(--color-primary);
}

.mobile-nav__link--active {
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA at bottom of drawer */
.mobile-drawer__cta {
  margin-top: auto;
  padding-top: var(--space-lg);
}

@media (min-width: 992px) {
  .nav-menu, .nav-actions {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap; /* CTA button wrap ban */
}

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

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--bg-page);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 105, 180, 0.2);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--color-accent);
  color: var(--bg-page);
}

.btn-secondary:hover {
  background-color: var(--color-accent-hover);
  color: var(--bg-page);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(23, 166, 202, 0.2);
}

.btn-ghost {
  background-color: transparent;
  border-color: var(--border-light);
  color: var(--text-dark);
}

.btn-ghost:hover {
  background-color: var(--bg-surface-tint);
  border-color: var(--text-muted);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.btn-ghost-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--icon {
  gap: var(--space-xs);
}

.btn--icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}

/* =====================================================
   CARDS & GRIDS (ASYNCHRONOUS & RHYTHMIC)
   ===================================================== */
.card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.card__nr {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* Bento Grid */
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.bento-cell {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

/* Bento cell background diversity */
.bento-cell--tint {
  background-color: var(--bg-surface-tint);
}

.bento-cell--primary {
  background-color: var(--color-primary);
  color: var(--text-on-dark);
  border-color: var(--color-primary);
}

.bento-cell--primary h2,
.bento-cell--primary h3,
.bento-cell--primary p,
.bento-cell--primary a {
  color: var(--text-on-dark);
}

@media (min-width: 768px) {
  .bento--layout-1 {
    grid-template-columns: 3fr 2fr;
  }
  .bento--layout-2 {
    grid-template-columns: repeat(3, 1fr);
  }
  .bento-span-2 {
    grid-column: span 2;
  }
  .bento-span-3 {
    grid-column: span 3;
  }
}

/* Zielgruppen-Cards */
.zg-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.zg-card__content h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.zg-card__link {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-lg);
  gap: var(--space-xs);
}

.zg-card__link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.25s ease;
}

.zg-card__link:hover svg {
  transform: translateX(4px);
}

/* =====================================================
   TRUST & METRIC ELEMENTS
   ===================================================== */
.trust-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-xl) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.trust-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

/* =====================================================
   MEMBERSHIP & LOGO WALL
   ===================================================== */
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl) var(--space-3xl);
  padding: var(--space-lg) 0;
}

.logo-wall__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
}

.logo-wall__logo {
  height: 50px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(1);
  transition: opacity 0.3s ease, filter 0.3s ease;
  margin-bottom: var(--space-xs);
}

.logo-wall__logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

.logo-wall__text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* =====================================================
   FORMS & INPUTS
   ==================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.form-group label span {
  color: var(--color-accent);
}

.form-control {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background-color: var(--bg-surface);
  color: var(--text-dark);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(23, 166, 202, 0.15);
}

.form-control::placeholder {
  color: #8c9c94; /* Compliance contrast ratio check helper */
}

/* Checkbox alignment */
.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.checkbox-group label a {
  text-decoration: underline;
}

/* Selection / Multi options */
.fieldset-group {
  border: none;
  margin-bottom: var(--space-md);
}

.fieldset-group legend {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  cursor: pointer;
}

.checkbox-option input {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-option span {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* =====================================================
   GDPR COOKIE BANNER
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: var(--space-lg);
  right: var(--space-lg);
  max-width: 500px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@media (min-width: 768px) {
  .cookie-banner {
    left: var(--space-xl);
    bottom: var(--space-xl);
  }
}

.cookie-banner__title {
  font-size: 1.15rem;
  margin-bottom: var(--space-xs);
}

.cookie-banner__text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-md);
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: flex-end;
}

.cookie-banner__buttons .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background-color: var(--color-charcoal);
  color: var(--text-on-dark);
  padding: var(--space-3xl) 0 var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-info__logo {
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
}

.footer-info__logo svg {
  height: 36px;
  width: auto;
  margin-right: var(--space-xs);
  fill: currentColor;
}

.footer-info__desc {
  font-size: 0.9rem;
  color: rgba(247, 250, 248, 0.7);
  max-width: 320px;
  margin-bottom: var(--space-md);
}

.footer-links h4 {
  color: var(--text-on-dark);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}

.footer-links__list {
  list-style: none;
}

.footer-links__item {
  margin-bottom: var(--space-xs);
}

.footer-links__link {
  color: rgba(247, 250, 248, 0.7);
  font-size: 0.9rem;
}

.footer-links__link:hover {
  color: var(--white);
  padding-left: var(--space-xs);
}

.footer-contact__text {
  font-size: 0.9rem;
  color: rgba(247, 250, 248, 0.7);
  margin-bottom: var(--space-sm);
}

.footer-contact__link {
  color: var(--color-accent);
  font-weight: 500;
}

.footer-contact__link:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom__copy {
  font-size: 0.8rem;
  color: rgba(247, 250, 248, 0.5);
  text-align: center;
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-md);
}

.footer-bottom__link {
  font-size: 0.8rem;
  color: rgba(247, 250, 248, 0.5);
}

.footer-bottom__link:hover {
  color: var(--white);
}

/* =====================================================
   EYEBROW & BADGE CHIPS
   ===================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  display: block;
  margin-bottom: var(--space-xs);
}

.eyebrow--primary {
  color: var(--color-primary);
}

.price-label {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  margin-bottom: var(--space-sm);
}

.price-label--accent {
  color: var(--color-accent);
}

.price-label--large {
  font-size: 1.5rem;
  margin-bottom: 0;
}

/* Hero Benefits & Image Components */
.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.hero-benefits li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}

.hero-benefits svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-image-wrapper {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* Infinite Scrolling Logo Marquee */
.marquee-container {
  overflow: hidden;
  padding: var(--space-md) 0;
  position: relative;
  width: 100%;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--space-2xl);
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--space-2xl);
  animation: marquee-scroll 35s linear infinite;
}

.marquee__content:hover {
  animation-play-state: paused;
}

.marquee__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 200px;
  flex-shrink: 0;
  text-align: center;
}

.marquee__logo {
  height: 50px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.marquee__logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.marquee__text {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 100%;
  line-height: 1.2;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--space-2xl)));
  }
}
