/* ============================================================
   BNI ZüriAmSee Landing Page — Design System & Styles
   Referenz: growwithbni.bni.com/what-to-expect-at-a-chapter-visit/
   ============================================================ */

/* --- SELF-HOSTED FONTS --- */
@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/montserrat-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('assets/fonts/opensans-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- DESIGN TOKENS --- */
:root {
  /* Farben */
  --brand-red: #CF2030;
  --brand-red-dark: #A81828;
  --brand-red-hover: #B81C2A;
  --bg-light: #F5F5F5;
  --bg-white: #FFFFFF;
  --bg-card: #F8F8F8;
  --bg-dark: #1A1A1A;
  --text-primary: #1A1A1A;
  --text-secondary: #555555;
  --text-inverse: #FFFFFF;
  --border-subtle: #E8E8E8;

  /* Typografie */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 40px;
  --space-xl: 64px;
  --space-2xl: 80px;

  /* Layout */
  --container-max: 1100px;
  --container-px: 24px;
  --section-py: 72px;
  --card-radius: 14px;
  --btn-radius: 30px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: var(--brand-red);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* --- CONTAINER --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-px);
  padding-right: var(--container-px);
}

/* --- SECTION BASE --- */
.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section__headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 36px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0;
}
.section__headline--center {
  text-align: center;
}
.section__headline--inverse {
  color: var(--text-inverse);
}

/* --- ACCENT DIVIDER (BNI-Referenz: roter Strich unter Headlines) --- */
.accent-divider {
  width: 60px;
  height: 3px;
  background: var(--brand-red);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  border: none;
}
.accent-divider--center {
  margin-left: auto;
  margin-right: auto;
}
.accent-divider--dark {
  background: rgba(0, 0, 0, 0.2);
}

/* --- BUTTON SYSTEM --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 14px 36px;
  border-radius: var(--btn-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}

/* Primär: Rot auf hellem Grund */
.btn--primary {
  background: var(--brand-red);
  color: var(--text-inverse);
  border-color: var(--brand-red);
}
.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--bg-white);
  color: var(--brand-red);
  border-color: var(--brand-red);
}

/* Inverse: Weiss auf rotem Grund */
.btn--inverse {
  background: var(--bg-white);
  color: var(--brand-red);
  border-color: var(--bg-white);
}
.btn--inverse:hover,
.btn--inverse:focus-visible {
  background: transparent;
  color: var(--text-inverse);
  border-color: var(--text-inverse);
}

/* Full-width (Mobile Sticky) */
.btn--full {
  width: 100%;
}

/* --- TOPBAR (Markenbalken) --- */
.topbar {
  background: var(--brand-red);
  height: 56px;
  display: flex;
  align-items: center;
}
.topbar__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  width: 100%;
}
.topbar__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.topbar__logo-img {
  height: 32px;
  width: auto;
  /* Rotes Original-Logo → Weiss via CSS Filter */
  filter: brightness(0) invert(1);
}
.topbar__logo-svg {
  height: 32px;
  width: auto;
}

/* ============================================================
   SEKTION 1: HERO
   ============================================================ */
.section--hero {
  background: var(--bg-light);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.hero__headline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  color: var(--text-primary);
}

.hero__subtext {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 480px;
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.hero__cta-sub {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 4px;
}

/* Trust Numbers (rechte Spalte) */
.trust-numbers {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--card-radius);
}

.trust-numbers__item {
  text-align: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.trust-numbers__item:last-child {
  border-bottom: none;
}

.trust-numbers__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--brand-red);
  line-height: 1.1;
}

.trust-numbers__label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.trust-numbers__item--highlight .trust-numbers__value {
  font-size: 42px;
}

/* ============================================================
   SEKTION 2: PROBLEM
   ============================================================ */
.section--problem {
  background: var(--bg-white);
}

.problem__stat {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-primary);
  max-width: 680px;
  margin: var(--space-lg) auto 0;
  line-height: 1.5;
}

/* ============================================================
   CARD SYSTEM (referenz-konform)
   ============================================================ */
.card-grid {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}
.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--bg-card);
  border-radius: var(--card-radius);
  padding: 32px 24px;
  text-align: center;
}

.card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-sm);
}
.card__icon .icon-line {
  width: 100%;
  height: 100%;
  color: var(--border-subtle);
}

.card__text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Process Cards */
.card--process {
  position: relative;
}

.card__step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  margin: 0 auto var(--space-sm);
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

/* ============================================================
   SEKTION 3: LÖSUNG
   ============================================================ */
.section--solution {
  background: var(--bg-light);
}

.feature-list {
  list-style: none;
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-subtle);
}
.feature-list__item:last-child {
  border-bottom: none;
}

.feature-list__number {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  margin-top: 2px;
}

.feature-list__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-list__content strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
}
.feature-list__content span {
  font-size: 15px;
  color: var(--text-secondary);
}

/* ============================================================
   SEKTION 4: PROZESS
   ============================================================ */
.section--process {
  background: var(--bg-white);
}

/* ============================================================
   SEKTION 5: SOCIAL PROOF
   ============================================================ */
.section--proof {
  background: var(--bg-light);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.testimonial {
  background: var(--bg-white);
  border-radius: var(--card-radius);
  padding: var(--space-md) var(--space-md) var(--space-sm);
}

.testimonial__quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: var(--space-sm);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}
.testimonial__info strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
.testimonial__info span {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-xl);
  padding: var(--space-md) 0;
}

.stats-row__item {
  text-align: center;
}

.stats-row__value {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 36px;
  color: var(--brand-red);
  line-height: 1.1;
}

.stats-row__label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.section__cta-wrap {
  text-align: center;
  margin-top: var(--space-lg);
}

/* ============================================================
   SEKTION 6: PRICING
   ============================================================ */
.section--pricing {
  background: var(--bg-white);
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.pricing__text {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto;
}
.pricing__text strong {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
}

/* ============================================================
   SEKTION 7: FAQ
   ============================================================ */
.section--faq {
  background: var(--bg-light);
}

.faq-list {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--border-subtle);
}

.faq-item__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-primary);
  list-style: none;
  gap: var(--space-sm);
}
.faq-item__question::-webkit-details-marker {
  display: none;
}
.faq-item__question::marker {
  content: '';
}

/* Plus/Minus Icon */
.faq-item__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  background: var(--brand-red);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.faq-item__icon::before {
  width: 16px;
  height: 2px;
  top: 11px;
  left: 4px;
}
.faq-item__icon::after {
  width: 2px;
  height: 16px;
  top: 4px;
  left: 11px;
}
.faq-item[open] .faq-item__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item__answer {
  padding: 0 0 var(--space-sm);
}
.faq-item__answer p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ============================================================
   SEKTION 8: FINAL CTA (Roter Block — Referenz-Stil)
   ============================================================ */
.section--final-cta {
  background: var(--brand-red);
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-xl);
}

.final-cta__text {
  text-align: center;
  color: var(--text-inverse);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto var(--space-md);
  line-height: 1.6;
  opacity: 0.95;
}

.final-cta__button-wrap {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.final-cta__calendly-wrap {
  background: var(--bg-white);
  border-radius: var(--card-radius);
  max-width: 680px;
  margin: 0 auto;
  overflow: hidden;
}

.final-cta__trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-inverse);
  opacity: 0.8;
  margin-top: var(--space-md);
}

/* ============================================================
   SEKTION 9: FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: var(--space-lg) 0;
}

.footer__inner {
  text-align: center;
}

.footer__legal {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-sm);
}

.footer__link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}
.footer__link:hover {
  color: var(--text-inverse);
}

.footer__sep {
  margin: 0 var(--space-xs);
  color: rgba(255, 255, 255, 0.3);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
}

.footer__contact {
  margin-bottom: var(--space-sm);
}

.footer__unsub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  max-width: 480px;
  margin: var(--space-sm) auto 0;
  line-height: 1.5;
}

/* Impressum Overlay */
.impressum {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-md) 0;
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}
.impressum h3 {
  color: var(--text-inverse);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: var(--space-xs);
}
.impressum__close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-md);
  background: none;
  border: none;
  color: var(--text-inverse);
  font-size: 24px;
  cursor: pointer;
}

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--bg-white);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
  padding: 12px var(--container-px);
  transition: transform 0.3s ease;
  transform: translateY(100%);
  pointer-events: none;
}
.sticky-cta.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

/* ============================================================
   CONSENT BANNER
   ============================================================ */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: var(--space-sm) var(--container-px);
  transition: transform 0.3s ease;
  transform: translateY(100%);
  pointer-events: none;
}
.consent-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.consent-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.consent-text {
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
  min-width: 200px;
}

.consent-actions {
  display: flex;
  gap: var(--space-xs);
  flex-shrink: 0;
}

.consent-btn {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-white);
  color: var(--text-primary);
}

.consent-btn--accept {
  background: var(--brand-red);
  color: var(--text-inverse);
  border-color: var(--brand-red);
}
.consent-btn--accept:hover {
  background: var(--brand-red-hover);
}
.consent-btn--deny:hover {
  background: var(--bg-light);
}

/* ============================================================
   RESPONSIVE: MOBILE-FIRST
   ============================================================ */

/* Mobile: <= 700px */
@media (max-width: 700px) {
  :root {
    --section-py: 48px;
    --space-2xl: 48px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .hero__headline {
    font-size: 30px;
  }

  .section__headline {
    font-size: 26px;
  }

  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

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

  .stats-row {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stats-row__value {
    font-size: 28px;
  }

  .trust-numbers__value {
    font-size: 28px;
  }
  .trust-numbers__item--highlight .trust-numbers__value {
    font-size: 32px;
  }

  .consent-inner {
    flex-direction: column;
    text-align: center;
  }

  .feature-list__item {
    gap: 12px;
  }

  .hero__cta-group .btn {
    width: 100%;
  }

  .final-cta__calendly-wrap {
    border-radius: 0;
    margin-left: calc(-1 * var(--container-px));
    margin-right: calc(-1 * var(--container-px));
    max-width: none;
  }
}

/* Tablet: 701px - 1100px */
@media (min-width: 701px) and (max-width: 1100px) {
  .hero__headline {
    font-size: 36px;
  }

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

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

  .section__headline {
    font-size: 30px;
  }
}

/* Desktop: > 1100px */
@media (min-width: 1101px) {
  :root {
    --container-px: 0px;
  }

  .sticky-cta {
    display: none !important;
  }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .topbar,
  .consent-banner,
  .sticky-cta,
  .final-cta__calendly-wrap {
    display: none !important;
  }
}
